Searched refs:type1 (Results 1 – 1 of 1) sorted by relevance
497 static bool equivalent_types(enum json_tokens type1, enum json_tokens type2) in equivalent_types() argument499 if (type1 == JSON_TOK_TRUE || type1 == JSON_TOK_FALSE) { in equivalent_types()503 if (type1 == JSON_TOK_NUMBER && type2 == JSON_TOK_FLOAT) { in equivalent_types()507 if (type1 == JSON_TOK_NUMBER && type2 == JSON_TOK_INT64) { in equivalent_types()511 if (type1 == JSON_TOK_NUMBER && type2 == JSON_TOK_UINT64) { in equivalent_types()515 if (type1 == JSON_TOK_STRING && type2 == JSON_TOK_OPAQUE) { in equivalent_types()519 if (type1 == JSON_TOK_ARRAY_START && type2 == JSON_TOK_OBJ_ARRAY) { in equivalent_types()523 return type1 == type2; in equivalent_types()