Cal. Penal Code § 948
All the forms of pleading in criminal actions, and the rules by which the sufficiency of pleadings is to be determined, are those prescribed by this Code.