Lines Matching defs:type
24 * Fills token type and boundaries.
26 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type,
28 token->type = type;
162 jsmntype_t type;
180 token->type = (c == '{' ? JSMN_OBJECT : JSMN_ARRAY);
187 type = (c == '}' ? JSMN_OBJECT : JSMN_ARRAY);
195 if (token->type != type) {
211 if (token->type != type) {
244 tokens[parser->toksuper].type != JSMN_ARRAY &&
245 tokens[parser->toksuper].type != JSMN_OBJECT) {
250 if (tokens[i].type == JSMN_ARRAY || tokens[i].type == JSMN_OBJECT) {
268 if (t->type == JSMN_OBJECT ||
269 (t->type == JSMN_STRING && t->size != 0)) {