Home
last modified time | relevance | path

Searched refs:cJSON (Results 1 – 7 of 7) sorted by relevance

/external/vulkan-validation-layers/loader/
DcJSON.h46 typedef struct cJSON { struct
47 struct cJSON *next, *prev; /* next/prev allow you to walk array/object argument
50 struct cJSON *child; /* An array or object item will have a child pointer argument
63 } cJSON; argument
75 extern cJSON *cJSON_Parse(const char *value);
78 extern char *cJSON_Print(cJSON *item);
81 extern char *cJSON_PrintUnformatted(cJSON *item);
85 extern char *cJSON_PrintBuffered(cJSON *item, int prebuffer, int fmt);
87 extern void cJSON_Delete(cJSON *c);
90 extern int cJSON_GetArraySize(cJSON *array);
[all …]
DcJSON.c68 static cJSON *cJSON_New_Item(void) { in cJSON_New_Item()
69 cJSON *node = (cJSON *)cJSON_malloc(sizeof(cJSON)); in cJSON_New_Item()
71 memset(node, 0, sizeof(cJSON)); in cJSON_New_Item()
76 void cJSON_Delete(cJSON *c) { in cJSON_Delete()
77 cJSON *next; in cJSON_Delete()
93 static const char *parse_number(cJSON *item, const char *num) { in parse_number()
182 static char *print_number(cJSON *item, printbuffer *p) { in print_number()
264 static const char *parse_string(cJSON *item, const char *str) { in parse_string()
461 static char *print_string(cJSON *item, printbuffer *p) { in print_string()
466 static const char *parse_value(cJSON *item, const char *value);
[all …]
DCMakeLists.txt27 cJSON.c
28 cJSON.h
Dloader.c1550 static cJSON *loader_get_json(const struct loader_instance *inst, in loader_get_json()
1554 cJSON *json; in loader_get_json()
1842 cJSON *json, bool is_implicit, char *filename) { in loader_add_layer_properties()
1857 cJSON *item, *layer_node, *ext_item; in loader_add_layer_properties()
1861 cJSON *disable_environment = NULL; in loader_add_layer_properties()
2031 cJSON *instance_extensions, *device_extensions, *functions, in loader_add_layer_properties()
2033 cJSON *entrypoints; in loader_add_layer_properties()
2433 cJSON *json;
2437 cJSON *item, *itemICD;
2532 cJSON *json;
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson.cc373 cJSON* ToJsonValue(const T& value);
376 inline cJSON* ToJsonValue(const T& value) { in ToJsonValue()
380 inline cJSON* ToJsonValue(const uint64_t& value) { in ToJsonValue()
388 inline cJSON* ToJsonValue(const T& value) { in ToJsonValue()
393 inline cJSON* ArrayToJsonValue(uint32_t count, const T* values) { in ArrayToJsonValue()
394 cJSON* array = cJSON_CreateArray(); in ArrayToJsonValue()
401 inline cJSON* ToJsonValue(const T (&value)[N]) { in ToJsonValue()
406 inline cJSON* ToJsonValue(const char (&value)[N]) { in ToJsonValue()
412 inline cJSON* ToJsonValue(const std::vector<T>& value) { in ToJsonValue()
418 inline cJSON* ToJsonValue(const std::pair<F, S>& value) { in ToJsonValue()
[all …]
DAndroid.mk30 ../../loader/cJSON.c
DCMakeLists.txt31 add_library(vkjson STATIC vkjson.cc vkjson_instance.cc ../../loader/cJSON.c)