Lines Matching defs:struct_decl
387 char *struct_decl = NULL;
586 /* Append the line to struct_decl. */
587 size_t old_len = (struct_decl ? strlen (struct_decl) : 0);
592 memcpy (new_struct_decl, struct_decl, old_len);
595 if (struct_decl)
596 delete[] struct_decl;
597 struct_decl = new_struct_decl;
624 if (struct_decl)
628 char *p = struct_decl;
678 if (p != struct_decl)
683 delete[] struct_decl;
684 struct_decl = new_struct_decl;
689 for (char *p = struct_decl + strlen (struct_decl); p > struct_decl;)
695 if (struct_decl == NULL || struct_decl[0] == '\0')
704 size_t old_len = strlen (struct_decl);
705 if (struct_decl[old_len - 1] != ';')
708 memcpy (new_struct_decl, struct_decl, old_len);
711 delete[] struct_decl;
712 struct_decl = new_struct_decl;
716 _struct_decl = struct_decl;
719 for (p = struct_decl; *p && *p != '{' && *p != ';' && *p != '\n'; p++)
721 for (; p > struct_decl;)
726 size_t struct_tag_length = p - struct_decl;
728 memcpy (struct_tag, struct_decl, struct_tag_length);
735 memcpy (return_type, struct_decl, struct_tag_length);