Home
last modified time | relevance | path

Searched refs:spdk_json_find (Results 1 – 5 of 5) sorted by relevance

/spdk/lib/json/
H A Dspdk_json.map77 spdk_json_find;
H A Djson_util.c544 spdk_json_find(struct spdk_json_val *object, const char *key_name, struct spdk_json_val **key, in spdk_json_find() function
599 return spdk_json_find(object, key_name, key, val, SPDK_JSON_VAL_STRING); in spdk_json_find_string()
606 return spdk_json_find(object, key_name, key, val, SPDK_JSON_VAL_ARRAY_BEGIN); in spdk_json_find_array()
/spdk/test/unit/lib/json/json_util.c/
H A Djson_util_ut.c842 rc = spdk_json_find(values, "string", &key, &val, SPDK_JSON_VAL_STRING); in test_find()
849 rc = spdk_json_find(values, "object", &key, &val, SPDK_JSON_VAL_OBJECT_BEGIN); in test_find()
856 rc = spdk_json_find(val, "array name with space", &key2, &val2, SPDK_JSON_VAL_ANY); in test_find()
863 rc = spdk_json_find(val, "array name with space", &key2, &val2, SPDK_JSON_VAL_ARRAY_BEGIN); in test_find()
870 rc = spdk_json_find(val, "this_key_does_not_exist", &key2, &val2, SPDK_JSON_VAL_ANY); in test_find()
875 rc = spdk_json_find(val, "another_string", &key2, &val2, SPDK_JSON_VAL_ARRAY_BEGIN); in test_find()
898 /* spdk_json_find cannot be used on arrays. The element "Text" does exist in the array, in test_find_array()
899 * but spdk_json_find can only be used for finding keys in an object. So this in test_find_array()
903 rc = spdk_json_find(values, "Text", &key, NULL, SPDK_JSON_VAL_STRING); in test_find_array()
/spdk/include/spdk/
H A Djson.h293 int spdk_json_find(struct spdk_json_val *object, const char *key_name, struct spdk_json_val **key,
/spdk/app/spdk_top/
H A Dspdk_top.c444 rc = spdk_json_find(thread, poller_typenames[i], NULL, &poller, in rpc_decode_pollers_threads_array()