The Chemistry of Cosmic Dust Analogs from C, C2, and C2H2 in C-rich Circumstellar Envelopes