Searched refs:cJSON_AddNumberToObject (Results 1 – 6 of 6) sorted by relevance
/third_party/cJSON/ |
D | test.c | 172 cJSON_AddNumberToObject(fmt, "width", 1920); in create_objects() 173 cJSON_AddNumberToObject(fmt, "height", 1080); in create_objects() 175 cJSON_AddNumberToObject(fmt, "frame rate", 24); in create_objects() 211 cJSON_AddNumberToObject(img, "Width", 800); in create_objects() 212 cJSON_AddNumberToObject(img, "Height", 600); in create_objects() 216 cJSON_AddNumberToObject(thm, "Height", 125); in create_objects() 232 cJSON_AddNumberToObject(fld, "Latitude", fields[i].lat); in create_objects() 233 cJSON_AddNumberToObject(fld, "Longitude", fields[i].lon); in create_objects() 250 cJSON_AddNumberToObject(root, "number", 1.0 / zero); in create_objects()
|
D | cJSON.h | 268 CJSON_PUBLIC(cJSON*) cJSON_AddNumberToObject(cJSON * const object, const char * const name, const d…
|
D | README.md | 460 if (cJSON_AddNumberToObject(resolution, "width", resolution_numbers[index][0]) == NULL) 465 if (cJSON_AddNumberToObject(resolution, "height", resolution_numbers[index][1]) == NULL)
|
D | cJSON.c | 2132 CJSON_PUBLIC(cJSON*) cJSON_AddNumberToObject(cJSON * const object, const char * const name, const d… in cJSON_AddNumberToObject() function
|
/third_party/cJSON/tests/ |
D | cjson_add.c | 247 cJSON_AddNumberToObject(root, "number", 42); in cjson_add_number_should_add_number() 262 TEST_ASSERT_NULL(cJSON_AddNumberToObject(NULL, "number", 42)); in cjson_add_number_should_fail_with_null_pointers() 263 TEST_ASSERT_NULL(cJSON_AddNumberToObject(root, NULL, 42)); in cjson_add_number_should_fail_with_null_pointers() 274 TEST_ASSERT_NULL(cJSON_AddNumberToObject(root, "number", 42)); in cjson_add_number_should_fail_on_allocation_failure()
|
D | readme_examples.c | 145 if (cJSON_AddNumberToObject(resolution, "width", resolution_numbers[index][0]) == NULL) in create_monitor_with_helpers() 150 if(cJSON_AddNumberToObject(resolution, "height", resolution_numbers[index][1]) == NULL) in create_monitor_with_helpers()
|