Searched refs:IDLOptions (Results 1 – 14 of 14) sorted by relevance
/external/flatbuffers/src/ |
D | flatc_main.cpp | 41 flatbuffers::IDLOptions::kBinary, in main() 45 flatbuffers::IDLOptions::kJson, in main() 49 flatbuffers::GenerateCppGRPC, flatbuffers::IDLOptions::kCpp, in main() 52 flatbuffers::GenerateGoGRPC, flatbuffers::IDLOptions::kGo, in main() 55 flatbuffers::GenerateJavaGRPC, flatbuffers::IDLOptions::kJava, in main() 59 flatbuffers::IDLOptions::kJs, in main() 62 flatbuffers::IDLOptions::kDart, in main() 65 flatbuffers::IDLOptions::kTs, in main() 68 flatbuffers::IDLOptions::kCSharp, in main() 71 flatbuffers::IDLOptions::kPython, in main() [all …]
|
D | idl_gen_general.cpp | 33 IDLOptions::Language language; 64 const LanguageParameters &GetLangParams(IDLOptions::Language lang) { in GetLangParams() 73 IDLOptions::kJava, in GetLangParams() 108 IDLOptions::kCSharp, in GetLangParams() 143 if (lang == IDLOptions::kJava) { in GetLangParams() 146 FLATBUFFERS_ASSERT(lang == IDLOptions::kCSharp); in GetLangParams() 210 if (lang_.language == IDLOptions::kCSharp) { in SaveType() 245 return std::string() + (lang_.language == IDLOptions::kJava in FunctionStart() 251 return lang_.language == IDLOptions::kJava && parser_.opts.gen_nullable && in GenNullableAnnotation() 281 if (lang_.language == IDLOptions::kCSharp) { in GenTypeBasic() [all …]
|
D | idl_gen_js_ts.cpp | 32 IDLOptions::Language language; 44 const JsTsLanguageParameters &GetJsLangParams(IDLOptions::Language lang) { in GetJsLangParams() 47 IDLOptions::kJs, in GetJsLangParams() 51 IDLOptions::kTs, in GetJsLangParams() 56 if (lang == IDLOptions::kJs) { in GetJsLangParams() 59 FLATBUFFERS_ASSERT(lang == IDLOptions::kTs); in GetJsLangParams() 106 if (lang_.language == IDLOptions::kJs && !exports_code.empty() && in generate() 141 lang_.language != IDLOptions::kTs) { in generateReexports() 188 if (lang_.language == IDLOptions::kTs && in GenNamespaces() 218 if (lang_.language == IDLOptions::kTs) { in GenNamespaces() [all …]
|
D | idl_gen_text.cpp | 27 int indent, const IDLOptions &opts, std::string *_text); 31 const char *NewLine(const IDLOptions &opts) { in NewLine() 35 int Indent(const IDLOptions &opts) { return std::max(opts.indent_step, 0); } in Indent() 38 void OutputIdentifier(const std::string &name, const IDLOptions &opts, in OutputIdentifier() 51 const IDLOptions &opts, std::string *_text) { in Print() 75 const IDLOptions &opts, std::string *_text) { in PrintVector() 105 Type *union_type, const IDLOptions &opts, in Print() 163 const IDLOptions &opts, int indent, std::string *_text) { in GenField() 172 int indent, const IDLOptions &opts, std::string *_text); 176 int indent, Type *union_type, const IDLOptions &opts, in GenFieldOffset() [all …]
|
D | flatc.cpp | 165 flatbuffers::IDLOptions opts; in Compile() 308 opts.mini_reflect = IDLOptions::kTypes; in Compile() 310 opts.mini_reflect = IDLOptions::kTypesAndNames; in Compile()
|
D | idl_gen_cpp.cpp | 261 if (parser_.opts.mini_reflect != IDLOptions::kNone) { in generate() 320 if (parser_.opts.mini_reflect != IDLOptions::kNone) { in generate() 569 const IDLOptions &opts) { in NativeName() 671 const IDLOptions &opts = parser_.opts; in GenEnumDecl() 677 const IDLOptions &opts = parser_.opts; in GenEnumValDecl() 683 const IDLOptions &opts = parser_.opts; in GetEnumValUse() 742 const IDLOptions &opts) { in TableCreateSignature() 751 const IDLOptions &opts) { in TablePackSignature() 761 const IDLOptions &opts) { in TableUnPackSignature() 769 const IDLOptions &opts) { in TableUnPackToSignature() [all …]
|
D | idl_parser.cpp | 1794 (opts.lang_to_generate & ~(IDLOptions::kCpp | IDLOptions::kJs | in SupportsAdvancedUnionFeatures() 1795 IDLOptions::kTs | IDLOptions::kPhp | in SupportsAdvancedUnionFeatures() 1796 IDLOptions::kJava | IDLOptions::kCSharp | in SupportsAdvancedUnionFeatures() 1797 IDLOptions::kBinary)) == 0; in SupportsAdvancedUnionFeatures()
|
D | idl_gen_dart.cpp | 902 assert(parser.opts.lang <= IDLOptions::kMAX); in DartMakeRule()
|
/external/flatbuffers/include/flatbuffers/ |
D | registry.h | 79 void SetOptions(const IDLOptions &opts) { opts_ = opts; } in SetOptions() 120 IDLOptions opts_;
|
D | idl.h | 399 struct IDLOptions { struct 477 IDLOptions() in IDLOptions() argument 514 lang(IDLOptions::kJava), in IDLOptions() 515 mini_reflect(IDLOptions::kNone), in IDLOptions() 607 explicit Parser(const IDLOptions &options = IDLOptions()) 817 IDLOptions opts;
|
D | flatc.h | 47 flatbuffers::IDLOptions::Language lang;
|
/external/flatbuffers/tests/fuzzer/ |
D | flatbuffers_parser_fuzzer.cc | 37 flatbuffers::IDLOptions opts; in LLVMFuzzerTestOneInput()
|
D | flatbuffers_scalar_fuzzer.cc | 247 flatbuffers::IDLOptions opts; in LLVMFuzzerTestOneInput()
|
/external/flatbuffers/tests/ |
D | test.cpp | 930 flatbuffers::IDLOptions opts; in ParseProtoTest() 1235 flatbuffers::IDLOptions opts; in TestError_() 1753 flatbuffers::IDLOptions opt; in GenerateTableTextTest() 2060 flatbuffers::IDLOptions opts; in UnknownFieldsTest() 2135 flatbuffers::IDLOptions idl_opts; in UnionVectorTest() 2136 idl_opts.lang_to_generate |= flatbuffers::IDLOptions::kBinary; in UnionVectorTest()
|