Lines Matching refs:IsIdent
488 bool Parser::IsIdent(const char *id) const { in IsIdent() function in flatbuffers::Parser
548 if (IsIdent("bool")) { in ParseType()
551 } else if (IsIdent("byte") || IsIdent("int8")) { in ParseType()
554 } else if (IsIdent("ubyte") || IsIdent("uint8")) { in ParseType()
557 } else if (IsIdent("short") || IsIdent("int16")) { in ParseType()
560 } else if (IsIdent("ushort") || IsIdent("uint16")) { in ParseType()
563 } else if (IsIdent("int") || IsIdent("int32")) { in ParseType()
566 } else if (IsIdent("uint") || IsIdent("uint32")) { in ParseType()
569 } else if (IsIdent("long") || IsIdent("int64")) { in ParseType()
572 } else if (IsIdent("ulong") || IsIdent("uint64")) { in ParseType()
575 } else if (IsIdent("float") || IsIdent("float32")) { in ParseType()
578 } else if (IsIdent("double") || IsIdent("float64")) { in ParseType()
581 } else if (IsIdent("string")) { in ParseType()
1010 if (IsIdent("null") && !IsScalar(field->value.type.base_type)) { in ParseTable()
1801 bool fixed = IsIdent("struct"); in ParseDecl()
1802 if (!fixed && !IsIdent("table")) return Error("declaration expected"); in ParseDecl()
1961 bool isextend = IsIdent("extend"); in ParseProtoDecl()
1962 if (IsIdent("package")) { in ParseProtoDecl()
1965 } else if (IsIdent("message") || isextend) { in ParseProtoDecl()
1996 } else if (IsIdent("enum")) { in ParseProtoDecl()
2012 } else if (IsIdent("syntax")) { // Skip these. in ParseProtoDecl()
2017 } else if (IsIdent("option")) { // Skip these. in ParseProtoDecl()
2020 } else if (IsIdent("service")) { // Skip these. in ParseProtoDecl()
2053 if (IsIdent("message") || IsIdent("extend") || IsIdent("enum")) { in ParseProtoFields()
2056 } else if (IsIdent("extensions")) { // Skip these. in ParseProtoFields()
2064 } else if (IsIdent("option")) { // Skip these. in ParseProtoFields()
2067 } else if (IsIdent("reserved")) { // Skip these. in ParseProtoFields()
2078 if (IsIdent("optional")) { in ParseProtoFields()
2081 } else if (IsIdent("required")) { in ParseProtoFields()
2084 } else if (IsIdent("repeated")) { in ParseProtoFields()
2087 } else if (IsIdent("oneof")) { in ParseProtoFields()
2097 if (IsIdent("group") || oneof) { in ParseProtoFields()
2296 if (IsIdent("true") || IsIdent("false") || IsIdent("null")) { in SkipAnyJsonValue()
2344 if (IsIdent("true")) { in ParseFlexBufferValue()
2347 } else if (IsIdent("false")) { in ParseFlexBufferValue()
2350 } else if (IsIdent("null")) { in ParseFlexBufferValue()
2497 } else if (IsIdent("native_include")) { in DoParse()
2502 } else if (IsIdent("include") || (opts.proto_mode && IsIdent("import"))) { in DoParse()
2554 } else if (IsIdent("namespace")) { in DoParse()
2576 } else if (IsIdent("enum")) { in DoParse()
2578 } else if (IsIdent("union")) { in DoParse()
2580 } else if (IsIdent("root_type")) { in DoParse()
2592 } else if (IsIdent("file_identifier")) { in DoParse()
2601 } else if (IsIdent("file_extension")) { in DoParse()
2606 } else if (IsIdent("include")) { in DoParse()
2608 } else if (IsIdent("attribute")) { in DoParse()
2618 } else if (IsIdent("rpc_service")) { in DoParse()