Lines Matching defs:key2
828 struct spdk_json_val *values, *key, *val, *key2, *val2;
855 key2 = val2 = NULL;
856 rc = spdk_json_find(val, "array name with space", &key2, &val2, SPDK_JSON_VAL_ANY);
858 CU_ASSERT(key2 != NULL && spdk_json_strequal(key2, "array name with space") == true);
862 key2 = val2 = NULL;
863 rc = spdk_json_find(val, "array name with space", &key2, &val2, SPDK_JSON_VAL_ARRAY_BEGIN);
865 CU_ASSERT(key2 != NULL && spdk_json_strequal(key2, "array name with space") == true);
869 key2 = val2 = NULL;
870 rc = spdk_json_find(val, "this_key_does_not_exist", &key2, &val2, SPDK_JSON_VAL_ANY);
874 key2 = val2 = NULL;
875 rc = spdk_json_find(val, "another_string", &key2, &val2, SPDK_JSON_VAL_ARRAY_BEGIN);