Lines Matching refs:it
362 struct json_value *it; in json_get_child() local
367 for (it = object->u.value; it; it = it->next) { in json_get_child()
368 if (!strcmp(it->key, key)) in json_get_child()
369 return it; in json_get_child()
377 struct json_value *it; in json_count_children() local
383 for (it = array->u.value; it; it = it->next) in json_count_children()
391 struct json_value *it; in json_get_number() local
396 for (it = object->u.value; it; it = it->next) { in json_get_number()
397 if (!strcmp(it->key, key)) { in json_get_number()
398 if (it->type != JSON_TYPE_NUMBER) in json_get_number()
401 *number = it->u.number; in json_get_number()
411 struct json_value *it; in json_get_string() local
416 for (it = object->u.value; it; it = it->next) { in json_get_string()
417 if (!strcmp(it->key, key)) { in json_get_string()
418 if (it->type != JSON_TYPE_STRING) in json_get_string()
421 return it->u.string; in json_get_string()
431 struct json_value *it; in json_free() local
438 it = value->u.value; in json_free()
439 while (it) { in json_free()
440 next = it->next; in json_free()
441 json_free(it); in json_free()
442 it = next; in json_free()