Lines Matching refs:IDLOptions
45 IDLOptions::Language language;
73 const LanguageParameters& GetLangParams(IDLOptions::Language lang) { in GetLangParams()
76 IDLOptions::kJava, in GetLangParams()
108 IDLOptions::kCSharp, in GetLangParams()
140 if (lang == IDLOptions::kJava) { in GetLangParams()
143 assert(lang == IDLOptions::kCSharp); in GetLangParams()
223 return std::string() + (lang_.language == IDLOptions::kJava in FunctionStart()
248 if (lang_.language == IDLOptions::kCSharp) { in GenTypeBasic()
256 if (lang_.language == IDLOptions::kJava) { in GenTypeBasic()
259 assert(lang_.language == IDLOptions::kCSharp); in GenTypeBasic()
278 if (lang_.language == IDLOptions::kCSharp) return "TTable"; in GenTypePointer()
294 if (lang_.language != IDLOptions::kJava) return type; in DestinationType()
310 if(lang_.language == IDLOptions::kCSharp) { in GenOffsetType()
320 if(lang_.language == IDLOptions::kCSharp) { in GenOffsetConstruct()
328 if(lang_.language == IDLOptions::kCSharp) { in GenVectorOffsetType()
343 if (lang_.language != IDLOptions::kJava) return ""; in DestinationMask()
362 case IDLOptions::kJava: in DestinationCast()
367 case IDLOptions::kCSharp: in DestinationCast()
390 case IDLOptions::kJava: in SourceCast()
397 case IDLOptions::kCSharp: in SourceCast()
440 if (lang_.language == IDLOptions::kCSharp && in GenDefaultValue()
447 auto longSuffix = lang_.language == IDLOptions::kJava ? "L" : ""; in GenDefaultValue()
453 if (lang_.language != IDLOptions::kJava) in GenDefaultValue()
472 if (lang_.language == IDLOptions::kCSharp) { in GenDefaultValueBasic()
506 if (lang_.language == IDLOptions::kCSharp) { in GenEnum()
511 if (lang_.language == IDLOptions::kJava) { in GenEnum()
519 if (lang_.language != IDLOptions::kCSharp) { in GenEnum()
531 if (lang_.language != IDLOptions::kCSharp) { in GenEnum()
566 code += (lang_.language != IDLOptions::kJava) ? ";" : ""; in GenEnum()
670 if (lang_.language == IDLOptions::kCSharp) bb_len += ".Length"; in GenByteBufferLength()
682 key_offset += (lang_.language == IDLOptions::kCSharp ? in GenOffsetGetter()
704 if (lang_.language == IDLOptions::kCSharp) { in GenLookupKeyGetter()
718 auto data_buffer = (lang_.language == IDLOptions::kCSharp) ? in GenKeyGetter()
721 if (lang_.language == IDLOptions::kJava) in GenKeyGetter()
727 if (lang_.language == IDLOptions::kJava) in GenKeyGetter()
733 if (lang_.language == IDLOptions::kCSharp) { in GenKeyGetter()
764 if (lang_.language == IDLOptions::kCSharp && in GenStruct()
772 if (lang_.language == IDLOptions::kCSharp) { in GenStruct()
779 if (lang_.language == IDLOptions::kCSharp) { in GenStruct()
836 if (lang_.language == IDLOptions::kCSharp && in GenStruct()
850 std::string obj = lang_.language == IDLOptions::kCSharp in GenStruct()
862 if (lang_.language != IDLOptions::kCSharp) { in GenStruct()
872 if (lang_.language != IDLOptions::kCSharp) { in GenStruct()
878 if (lang_.language == IDLOptions::kCSharp) { in GenStruct()
889 if (lang_.language == IDLOptions::kCSharp && in GenStruct()
921 if (lang_.language != IDLOptions::kCSharp) { in GenStruct()
951 if (lang_.language != IDLOptions::kCSharp) in GenStruct()
973 if (lang_.language == IDLOptions::kCSharp) { in GenStruct()
1002 case IDLOptions::kJava: in GenStruct()
1013 case IDLOptions::kCSharp: in GenStruct()
1035 if (lang_.language == IDLOptions::kCSharp) { in GenStruct()
1039 if (lang_.language != IDLOptions::kCSharp) { in GenStruct()
1048 if (lang_.language != IDLOptions::kCSharp) in GenStruct()
1148 if (lang_.language != IDLOptions::kJava) { in GenStruct()
1205 lang_.language == IDLOptions::kCSharp) { in GenStruct()
1209 if (lang_.language == IDLOptions::kJava) in GenStruct()
1235 if (lang_.language == IDLOptions::kCSharp && in GenStruct()
1273 if (lang_.language == IDLOptions::kCSharp) { in GenStruct()
1283 if (lang_.language == IDLOptions::kJava) { in GenStruct()
1306 if (lang_.language == IDLOptions::kJava) in GenStruct()
1313 if (lang_.language == IDLOptions::kCSharp) code += ".Value"; in GenStruct()
1336 code += (lang_.language != IDLOptions::kJava) ? ";" : ""; in GenStruct()
1353 assert(parser.opts.lang <= IDLOptions::kMAX); in GeneralMakeRule()