Lines Matching refs:code_ptr
101 std::string *code_ptr) { in GenStructAccessor() argument
102 GenComment(field.doc_comment, code_ptr, nullptr, " "); in GenStructAccessor()
103 std::string &code = *code_ptr; in GenStructAccessor()
188 void GenTableBuilders(const StructDef &struct_def, std::string *code_ptr) { in GenTableBuilders() argument
189 std::string &code = *code_ptr; in GenTableBuilders()
238 void GenStructPreDecl(const StructDef &struct_def, std::string *code_ptr) { in GenStructPreDecl() argument
240 std::string &code = *code_ptr; in GenStructPreDecl()
246 void GenStruct(const StructDef &struct_def, std::string *code_ptr) { in GenStruct() argument
248 std::string &code = *code_ptr; in GenStruct()
250 GenComment(struct_def.doc_comment, code_ptr, nullptr, ""); in GenStruct()
256 GenStructAccessor(struct_def, field, code_ptr); in GenStruct()
268 GenStructBuilder(struct_def, code_ptr); in GenStruct()
271 GenTableBuilders(struct_def, code_ptr); in GenStruct()
276 void GenEnum(const EnumDef &enum_def, std::string *code_ptr) { in GenEnum() argument
278 std::string &code = *code_ptr; in GenEnum()
280 GenComment(enum_def.doc_comment, code_ptr, nullptr, ""); in GenEnum()
284 GenComment(ev.doc_comment, code_ptr, nullptr, " "); in GenEnum()
294 std::string *code_ptr) { in StructBuilderArgs() argument
304 code_ptr); in StructBuilderArgs()
306 std::string &code = *code_ptr; in StructBuilderArgs()
316 std::string *code_ptr) { in StructBuilderBody() argument
317 std::string &code = *code_ptr; in StructBuilderBody()
328 code_ptr); in StructBuilderBody()
337 void GenStructBuilder(const StructDef &struct_def, std::string *code_ptr) { in GenStructBuilder() argument
338 std::string &code = *code_ptr; in GenStructBuilder()
341 StructBuilderArgs(struct_def, "", code_ptr); in GenStructBuilder()
343 StructBuilderBody(struct_def, "", code_ptr); in GenStructBuilder()
347 void CheckNameSpace(const Definition &def, std::string *code_ptr) { in CheckNameSpace() argument
351 std::string &code = *code_ptr; in CheckNameSpace()