/external/flatbuffers/src/ |
D | idl_gen_go.cpp | 51 if (name == g_golang_keywords[i]) { return MakeCamel(name + "_", false); } in GoIdentity() 54 return MakeCamel(name, false); in GoIdentity() 305 code += " " + MakeCamel(field.name) + "Length("; in GetVectorLen() 317 code += " " + MakeCamel(field.name) + "Bytes("; in GetUByteSlice() 329 code += " " + MakeCamel(field.name); in GetScalarFieldOfStruct() 344 code += " " + MakeCamel(field.name); in GetScalarFieldOfTable() 359 code += " " + MakeCamel(field.name); in GetStructFieldOfStruct() 378 code += " " + MakeCamel(field.name); in GetStructFieldOfTable() 400 code += " " + MakeCamel(field.name); in GetStringField() 412 code += " " + MakeCamel(field.name) + "("; in GetUnionField() [all …]
|
D | idl_gen_dart.cpp | 161 if (name == keywords[i]) { return MakeCamel(name + "_", false); } in EscapeKeyword() 164 return MakeCamel(name, false); in EscapeKeyword() 515 std::string field_name = MakeCamel(field.name, false); in GenImplementationGetters() 600 MakeCamel(field.name, false) + ": $" + MakeCamel(field.name, false); in GenImplementationGetters() 717 code += " int add" + MakeCamel(field.name) + "("; in TableBuilderBody() 720 code += " " + MakeCamel(field.name, false) + ") {\n"; in TableBuilderBody() 723 code += MakeCamel(field.name, false); in TableBuilderBody() 727 code += " int add" + MakeCamel(field.name) + "(int offset) {\n"; in TableBuilderBody() 731 code += " int add" + MakeCamel(field.name) + "Offset(int offset) {\n"; in TableBuilderBody() 761 " _" + MakeCamel(field.name, false) + ";\n"; in GenObjectBuilder() [all …]
|
D | idl_gen_php.cpp | 184 code += MakeCamel(field.name) + "Length()\n"; in GetVectorLen() 201 code += MakeCamel(field.name) + "Bytes()\n"; in GetUByte() 219 code += MakeCamel(field.name) + "()\n"; in GetScalarFieldOfStruct() 224 code += MakeCamel(GenTypeGet(field.value.type)); in GetScalarFieldOfStruct() 240 code += MakeCamel(field.name); in GetScalarFieldOfTable() 247 code += MakeCamel(GenTypeGet(field.value.type)) + "($o + $this->bb_pos)"; in GetScalarFieldOfTable() 261 code += MakeCamel(field.name) + "()\n"; in GetStructFieldOfStruct() 277 code += MakeCamel(field.name); in GetStructFieldOfTable() 281 code += MakeCamel(GenTypeGet(field.value.type)) + "();\n"; in GetStructFieldOfTable() 299 code += MakeCamel(field.name); in GetStringField() [all …]
|
D | idl_gen_java.cpp | 349 code += " " + MakeCamel("name", false); in GenEnum() 376 getter += MakeCamel(GenTypeBasic(type)); in GenGetter() 392 getter += MakeCamel(GenTypeBasic(type)); in GenGetterForLookupByKey() 405 setter += MakeCamel(GenTypeBasic(type)); in GenSetter() 415 return IsScalar(type.base_type) ? MakeCamel(GenTypeBasic(type)) in GenMethod() 444 code += MakeCamel(field.name, false); in GenStructArgs() 491 auto argname = nameprefix + MakeCamel(field.name, false); in GenStructBody() 655 " " + MakeCamel(field.name, false); in GenStruct() 669 code += MakeCamel(field.name, false); in GenStruct() 677 code += MakeCamel(field.name, false); in GenStruct() [all …]
|
D | idl_gen_js_ts.cpp | 404 GenBBAccess() + ".read" + MakeCamel(GenType(type)) + arguments; in GenGetter() 496 return IsScalar(type.base_type) ? MakeCamel(GenType(type)) in GenWriteMethod() 794 std::string prefix = MakeCamel(field.name, false) + "("; in GenStruct() 817 code += object_name + ".prototype." + MakeCamel(field.name, false); in GenStruct() 855 code += MakeCamel(field.name, false); in GenStruct() 859 object_name + ".prototype." + MakeCamel(field.name, false); in GenStruct() 916 std::string prefix = MakeCamel(field.name, false); in GenStruct() 941 object_name + ".prototype." + MakeCamel(field.name, false); in GenStruct() 997 code += MakeCamel(field.name, false); in GenStruct() 1001 object_name + ".prototype." + MakeCamel(field.name, false); in GenStruct() [all …]
|
D | idl_gen_lua.cpp | 153 code += MakeCamel(NormalizedName(field)) + "Length()\n"; in GetVectorLen() 168 code += MakeCamel(NormalizedName(field)); in GetScalarFieldOfStruct() 182 code += MakeCamel(NormalizedName(field)); in GetScalarFieldOfTable() 206 code += MakeCamel(NormalizedName(field)); in GetStructFieldOfStruct() 221 code += MakeCamel(NormalizedName(field)); in GetStructFieldOfTable() 245 code += MakeCamel(NormalizedName(field)); in GetStringField() 260 code += MakeCamel(NormalizedName(field)) + "()\n"; in GetUnionField() 291 code += MakeCamel(NormalizedName(field)); in GetMemberOfVectorOfStruct() 320 code += MakeCamel(NormalizedName(field)); in GetMemberOfVectorOfNonStruct() 364 code += MakeCamel(NormalizedName(field), false); in StructBuilderArgs() [all …]
|
D | idl_gen_csharp.cpp | 329 getter += MakeCamel(GenTypeBasic(type, false)); in GenGetter() 345 getter += MakeCamel(GenTypeBasic(type, false)); in GenGetterForLookupByKey() 359 setter += MakeCamel(GenTypeBasic(type, false)); in GenSetter() 369 return IsScalar(type.base_type) ? MakeCamel(GenTypeBasic(type, false)) in GenMethod() 401 code += MakeCamel(field.name, true); in GenStructArgs() 448 auto argname = nameprefix + MakeCamel(field.name, true); in GenStructBody() 612 MakeCamel(field.name, true); in GenStruct() 735 code += " public string " + MakeCamel(field.name, true) + in GenStruct() 749 code += " public string " + MakeCamel(field.name, true) + in GenStruct() 761 code += " public int " + MakeCamel(field.name, true); in GenStruct() [all …]
|
D | idl_gen_kotlin.cpp | 52 if (name == keywords[i]) { return MakeCamel(name + "_", false); } in Esc() 55 return MakeCamel(name, false); in Esc() 309 return bb_var_name + ".get" + MakeCamel(GenTypeBasic(type.base_type)); in ByteBufferGetter() 329 default: return "bb.put" + MakeCamel(GenTypeBasic(type.base_type)); in ByteBufferSetter() 366 writer += MakeCamel(field.name) + ": \\"; in GenStructArgs() 393 writer.SetValue("argname", nameprefix + MakeCamel(field.name, false)); in GenStructBody() 615 auto method_name = "create" + MakeCamel(Esc(field.name)) + "Vector"; in GenerateCreateVectorField() 643 writer, "start" + MakeCamel(Esc(field.name) + "Vector", true), params, in GenerateStartVectorField() 652 auto secondArg = MakeCamel(Esc(field.name), false) + ": " + field_type; in GenerateAddField() 653 GenerateFunOneLine(writer, "add" + MakeCamel(Esc(field.name), true), in GenerateAddField() [all …]
|
D | idl_gen_python.cpp | 91 return MakeCamel(NormalizedName(definition), true); in MakeUpperCamel() 96 auto name = MakeCamel(NormalizedName(definition), false); in MakeLowerCamel() 157 code += MakeCamel(NormalizedName(field)) + "Length(self"; in GetVectorLen() 169 code += MakeCamel(NormalizedName(field)) + "IsNone(self"; in GetVectorIsNone() 184 code += MakeCamel(NormalizedName(field)); in GetScalarFieldOfStruct() 196 code += MakeCamel(NormalizedName(field)); in GetScalarFieldOfTable() 220 code += MakeCamel(NormalizedName(field)); in GetStructFieldOfStruct() 233 code += MakeCamel(NormalizedName(field)); in GetArrayOfStruct() 257 code += MakeCamel(NormalizedName(field)); in GetStructFieldOfTable() 282 code += MakeCamel(NormalizedName(field)); in GetStringField() [all …]
|
D | idl_gen_lobster.cpp | 81 ? MakeCamel(GenTypeBasic(type)) in GenMethod() 212 MakeCamel(NormalizedName(field)) + in GenTableBuilders() 222 MakeCamel(NormalizedName(field)) + in GenTableBuilders()
|
D | idl_gen_swift.cpp | 436 MakeCamel(name, true); in GenTableWriterFields() 843 return EscapeKeyword(MakeCamel(def.name, false)); in Name()
|
D | idl_parser.cpp | 87 std::string MakeCamel(const std::string &in, bool first) { in MakeCamel() function 2536 auto name = MakeCamel(attribute_, true) + "Union"; in ParseProtoFields()
|
/external/flatbuffers/include/flatbuffers/ |
D | idl.h | 975 extern std::string MakeCamel(const std::string &in, bool first = true);
|