Lines Matching refs:object
518 json_first(struct spdk_json_val *object, enum spdk_json_val_type type) in json_first() argument
523 assert(object != NULL); in json_first()
525 if ((object->type & type) == 0) { in json_first()
529 object++; in json_first()
530 if (object->len == 0) { in json_first()
534 return object; in json_first()
544 spdk_json_find(struct spdk_json_val *object, const char *key_name, struct spdk_json_val **key, in spdk_json_find() argument
551 assert(object != NULL); in spdk_json_find()
553 it_first = json_first(object, SPDK_JSON_VAL_OBJECT_BEGIN); in spdk_json_find()
596 spdk_json_find_string(struct spdk_json_val *object, const char *key_name, in spdk_json_find_string() argument
599 return spdk_json_find(object, key_name, key, val, SPDK_JSON_VAL_STRING); in spdk_json_find_string()
603 spdk_json_find_array(struct spdk_json_val *object, const char *key_name, in spdk_json_find_array() argument
606 return spdk_json_find(object, key_name, key, val, SPDK_JSON_VAL_ARRAY_BEGIN); in spdk_json_find_array()
610 spdk_json_object_first(struct spdk_json_val *object) in spdk_json_object_first() argument
612 struct spdk_json_val *first = json_first(object, SPDK_JSON_VAL_OBJECT_BEGIN); in spdk_json_object_first()