Home
last modified time | relevance | path

Searched refs:nameprefix (Results 1 – 12 of 12) sorted by relevance

/external/flatbuffers/src/
Didl_gen_lobster.cpp290 void StructBuilderArgs(const StructDef &struct_def, const char *nameprefix, in StructBuilderArgs() argument
300 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderArgs()
304 code += ", " + (nameprefix + NormalizedName(field)) + ":" + in StructBuilderArgs()
312 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
324 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderBody()
328 nameprefix + NormalizedName(field) + ")\n"; in StructBuilderBody()
Didl_gen_lua.cpp349 void StructBuilderArgs(const StructDef &struct_def, const char *nameprefix, in StructBuilderArgs() argument
359 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderArgs()
363 code += std::string(", ") + nameprefix; in StructBuilderArgs()
377 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
391 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderBody()
396 code += nameprefix + MakeCamel(NormalizedName(field), false) + ")\n"; in StructBuilderBody()
Didl_gen_swift.cpp215 const std::string &nameprefix, int offset = 0) { in GenerateStructBody() argument
220 auto name = nameprefix + Name(field); in GenerateStructBody()
224 GenerateStructBody(*field_type.struct_def, (nameprefix + field.name), in GenerateStructBody()
236 const std::string &nameprefix) { in GenerateStructArgs() argument
245 (nameprefix + field.name)); in GenerateStructArgs()
249 code += nameprefix + name + ": " + type; in GenerateStructArgs()
Didl_gen_go.cpp485 void StructBuilderArgs(const StructDef &struct_def, const char *nameprefix, in StructBuilderArgs() argument
495 (nameprefix + (field.name + "_")).c_str(), code_ptr); in StructBuilderArgs()
498 code += std::string(", ") + nameprefix; in StructBuilderArgs()
513 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
525 (nameprefix + (field.name + "_")).c_str(), code_ptr); in StructBuilderBody()
529 nameprefix + GoIdentity(field.name)) + in StructBuilderBody()
1056 void StructPackArgs(const StructDef &struct_def, const char *nameprefix, in StructPackArgs() argument
1064 (nameprefix + MakeCamel(field.name) + ".").c_str(), in StructPackArgs()
1067 code += std::string(", t.") + nameprefix + MakeCamel(field.name); in StructPackArgs()
Didl_gen_js_ts.cpp546 std::string *arguments, const std::string &nameprefix) { in GenStructArgs() argument
555 nameprefix + field.name + "_"); in GenStructArgs()
559 nameprefix + field.name); in GenStructArgs()
561 *arguments += ", " + nameprefix + field.name + ": " + in GenStructArgs()
564 *arguments += ", " + nameprefix + field.name; in GenStructArgs()
571 const std::string &nameprefix) { in GenStructBody() argument
587 nameprefix + field.name + "_"); in GenStructBody()
591 *body += nameprefix + field.name + ");\n"; in GenStructBody()
Didl_gen_php.cpp444 const char *nameprefix, std::string *code_ptr) { in StructBuilderArgs() argument
454 (nameprefix + (field.name + "_")).c_str(), code_ptr); in StructBuilderArgs()
457 code += std::string(", $") + nameprefix; in StructBuilderArgs()
466 const char *nameprefix, std::string *code_ptr) { in StructBuilderBody() argument
480 (nameprefix + (field.name + "_")).c_str(), code_ptr); in StructBuilderBody()
483 code += nameprefix + MakeCamel(field.name, false) + ");\n"; in StructBuilderBody()
Didl_gen_java.cpp422 const char *nameprefix, size_t array_count = 0) const { in GenStructArgs() argument
437 (nameprefix + (field.name + "_")).c_str(), array_cnt); in GenStructArgs()
443 code += nameprefix; in GenStructArgs()
453 const char *nameprefix, size_t index = 0, in GenStructBody() argument
470 (nameprefix + (field.name + "_")).c_str(), index, in GenStructBody()
484 (nameprefix + (field.name + "_")).c_str(), index + 1, in GenStructBody()
491 auto argname = nameprefix + MakeCamel(field.name, false); in GenStructBody()
Didl_gen_kotlin.cpp353 const char *nameprefix) { in GenStructArgs() argument
363 (nameprefix + (field.name + "_")).c_str()); in GenStructArgs()
365 writer += std::string(", ") + nameprefix + "\\"; in GenStructArgs()
376 const char *nameprefix) { in GenStructBody() argument
390 (nameprefix + (field.name + "_")).c_str()); in GenStructBody()
393 writer.SetValue("argname", nameprefix + MakeCamel(field.name, false)); in GenStructBody()
Didl_gen_python.cpp423 const std::string nameprefix, in StructBuilderArgs() argument
437 auto subprefix = nameprefix; in StructBuilderArgs()
445 code += std::string(", ") + nameprefix; in StructBuilderArgs()
460 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
479 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderBody()
492 (nameprefix + (NormalizedName(field) + "_")).c_str(), code_ptr, in StructBuilderBody()
497 code += nameprefix + MakeCamel(NormalizedName(field), false); in StructBuilderBody()
Didl_gen_csharp.cpp376 const char *nameprefix, size_t array_count = 0) const { in GenStructArgs() argument
390 (nameprefix + (field.name + "_")).c_str(), array_cnt); in GenStructArgs()
400 code += nameprefix; in GenStructArgs()
410 const char *nameprefix, size_t index = 0, in GenStructBody() argument
427 (nameprefix + (field.name + "_")).c_str(), index, in GenStructBody()
441 (nameprefix + (field.name + "_")).c_str(), index + 1, in GenStructBody()
448 auto argname = nameprefix + MakeCamel(field.name, true); in GenStructBody()
/external/python/cpython2/Tools/unicode/
Dgencodec.py369 def convertdir(dir, dirprefix='', nameprefix='', comments=1): argument
380 name = nameprefix + name
/external/python/cpython3/Tools/unicode/
Dgencodec.py372 def convertdir(dir, dirprefix='', nameprefix='', comments=1): argument
383 name = nameprefix + name