Home
last modified time | relevance | path

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

/third_party/flatbuffers/src/
Didl_gen_lobster.cpp293 void StructBuilderArgs(const StructDef &struct_def, const char *nameprefix, in StructBuilderArgs() argument
303 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderArgs()
307 code += ", " + (nameprefix + NormalizedName(field)) + ":" + in StructBuilderArgs()
315 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
327 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderBody()
331 nameprefix + NormalizedName(field) + ")\n"; in StructBuilderBody()
Didl_gen_lua.cpp365 void StructBuilderArgs(const StructDef &struct_def, const char *nameprefix, in StructBuilderArgs() argument
375 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderArgs()
379 code += std::string(", ") + nameprefix; in StructBuilderArgs()
393 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
407 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderBody()
412 code += nameprefix + MakeCamel(NormalizedName(field), false) + ")\n"; in StructBuilderBody()
Didl_gen_go.cpp498 void StructBuilderArgs(const StructDef &struct_def, const char *nameprefix, in StructBuilderArgs() argument
508 (nameprefix + (field.name + "_")).c_str(), code_ptr); in StructBuilderArgs()
511 code += std::string(", ") + nameprefix; in StructBuilderArgs()
526 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
538 (nameprefix + (field.name + "_")).c_str(), code_ptr); in StructBuilderBody()
542 nameprefix + GoIdentity(field.name)) + in StructBuilderBody()
1071 void StructPackArgs(const StructDef &struct_def, const char *nameprefix, in StructPackArgs() argument
1079 (nameprefix + MakeCamel(field.name) + ".").c_str(), in StructPackArgs()
1082 code += std::string(", t.") + nameprefix + MakeCamel(field.name); in StructPackArgs()
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.cpp418 const char *nameprefix, size_t array_count = 0) const { in GenStructArgs() argument
433 (nameprefix + (field.name + "_")).c_str(), array_cnt); in GenStructArgs()
439 code += nameprefix; in GenStructArgs()
449 const char *nameprefix, size_t index = 0, in GenStructBody() argument
466 (nameprefix + (field.name + "_")).c_str(), index, in GenStructBody()
480 (nameprefix + (field.name + "_")).c_str(), index + 1, in GenStructBody()
487 auto argname = nameprefix + MakeCamel(field.name, false); in GenStructBody()
Didl_gen_kotlin.cpp388 const char *nameprefix) { in GenStructArgs() argument
398 (nameprefix + (field.name + "_")).c_str()); in GenStructArgs()
400 writer += std::string(", ") + nameprefix + "\\"; in GenStructArgs()
411 const char *nameprefix) { in GenStructBody() argument
425 (nameprefix + (field.name + "_")).c_str()); in GenStructBody()
428 writer.SetValue("argname", nameprefix + MakeCamel(field.name, false)); in GenStructBody()
Didl_gen_python.cpp463 const std::string nameprefix, in StructBuilderArgs() argument
477 auto subprefix = nameprefix; in StructBuilderArgs()
485 code += std::string(", ") + nameprefix; in StructBuilderArgs()
500 void StructBuilderBody(const StructDef &struct_def, const char *nameprefix, in StructBuilderBody() argument
519 (nameprefix + (NormalizedName(field) + "_")).c_str(), in StructBuilderBody()
532 (nameprefix + (NormalizedName(field) + "_")).c_str(), code_ptr, in StructBuilderBody()
537 code += nameprefix + MakeCamel(NormalizedName(field), false); in StructBuilderBody()
Didl_gen_ts.cpp308 std::string *arguments, const std::string &nameprefix) { in GenStructArgs() argument
317 nameprefix + field.name + "_"); in GenStructArgs()
320 ", " + nameprefix + field.name + ": " + in GenStructArgs()
327 const std::string &nameprefix) { in GenStructBody() argument
343 nameprefix + field.name + "_"); in GenStructBody()
347 *body += nameprefix + field.name + ");\n"; in GenStructBody()
Didl_gen_csharp.cpp384 const char *nameprefix, size_t array_count = 0) const { in GenStructArgs() argument
398 (nameprefix + (field.name + "_")).c_str(), array_cnt); in GenStructArgs()
409 code += nameprefix; in GenStructArgs()
419 const char *nameprefix, size_t index = 0, in GenStructBody() argument
436 (nameprefix + (field.name + "_")).c_str(), index, in GenStructBody()
450 (nameprefix + (field.name + "_")).c_str(), index + 1, in GenStructBody()
457 auto argname = nameprefix + MakeCamel(field.name, true); in GenStructBody()
Didl_gen_swift.cpp328 const std::string &nameprefix, in GenerateStructArgs() argument
340 *field_type.struct_def, code_ptr, (nameprefix + field.name), in GenerateStructArgs()
346 code += nameprefix + name + ": " + type; in GenerateStructArgs()
359 nameprefix + name + ": " + obj_api_named + object_name + "." + name; in GenerateStructArgs()
/third_party/python/Tools/unicode/
Dgencodec.py372 def convertdir(dir, dirprefix='', nameprefix='', comments=1): argument
383 name = nameprefix + name