• Home
  • Raw
  • Download

Lines Matching refs:IsIdent

578 bool Parser::IsIdent(const char *id) const {  in IsIdent()  function in flatbuffers::Parser
639 if (IsIdent("bool")) { in ParseType()
642 } else if (IsIdent("byte") || IsIdent("int8")) { in ParseType()
645 } else if (IsIdent("ubyte") || IsIdent("uint8")) { in ParseType()
648 } else if (IsIdent("short") || IsIdent("int16")) { in ParseType()
651 } else if (IsIdent("ushort") || IsIdent("uint16")) { in ParseType()
654 } else if (IsIdent("int") || IsIdent("int32")) { in ParseType()
657 } else if (IsIdent("uint") || IsIdent("uint32")) { in ParseType()
660 } else if (IsIdent("long") || IsIdent("int64")) { in ParseType()
663 } else if (IsIdent("ulong") || IsIdent("uint64")) { in ParseType()
666 } else if (IsIdent("float") || IsIdent("float32")) { in ParseType()
669 } else if (IsIdent("double") || IsIdent("float64")) { in ParseType()
672 } else if (IsIdent("string")) { in ParseType()
1258 if (IsIdent("null") && !IsScalar(field->value.type.base_type)) { in ParseTable()
2517 bool fixed = IsIdent("struct"); in ParseDecl()
2518 if (!fixed && !IsIdent("table")) return Error("declaration expected"); in ParseDecl()
2689 bool isextend = IsIdent("extend"); in ParseProtoDecl()
2690 if (IsIdent("package")) { in ParseProtoDecl()
2693 } else if (IsIdent("message") || isextend) { in ParseProtoDecl()
2724 } else if (IsIdent("enum")) { in ParseProtoDecl()
2731 } else if (IsIdent("syntax")) { // Skip these. in ParseProtoDecl()
2736 } else if (IsIdent("option")) { // Skip these. in ParseProtoDecl()
2739 } else if (IsIdent("service")) { // Skip these. in ParseProtoDecl()
2772 if (IsIdent("message") || IsIdent("extend") || IsIdent("enum")) { in ParseProtoFields()
2775 } else if (IsIdent("extensions")) { // Skip these. in ParseProtoFields()
2783 } else if (IsIdent("option")) { // Skip these. in ParseProtoFields()
2786 } else if (IsIdent("reserved")) { // Skip these. in ParseProtoFields()
2797 if (IsIdent("optional")) { in ParseProtoFields()
2800 } else if (IsIdent("required")) { in ParseProtoFields()
2803 } else if (IsIdent("repeated")) { in ParseProtoFields()
2806 } else if (IsIdent("oneof")) { in ParseProtoFields()
2816 if (IsIdent("group") || oneof) { in ParseProtoFields()
3022 if (IsIdent("true") || IsIdent("false") || IsIdent("null")) { in SkipAnyJsonValue()
3099 if (IsIdent("true")) { in ParseFlexBufferValue()
3102 } else if (IsIdent("false")) { in ParseFlexBufferValue()
3105 } else if (IsIdent("null")) { in ParseFlexBufferValue()
3108 } else if (IsIdent("inf") || IsIdent("infinity") || IsIdent("nan")) { in ParseFlexBufferValue()
3297 } else if (IsIdent("native_include")) { in DoParse()
3302 } else if (IsIdent("include") || (opts.proto_mode && IsIdent("import"))) { in DoParse()
3362 } else if (IsIdent("namespace")) { in DoParse()
3366 } else if (IsIdent("enum")) { in DoParse()
3368 } else if (IsIdent("union")) { in DoParse()
3370 } else if (IsIdent("root_type")) { in DoParse()
3381 } else if (IsIdent("file_identifier")) { in DoParse()
3390 } else if (IsIdent("file_extension")) { in DoParse()
3395 } else if (IsIdent("include")) { in DoParse()
3397 } else if (IsIdent("attribute")) { in DoParse()
3407 } else if (IsIdent("rpc_service")) { in DoParse()