Home
last modified time | relevance | path

Searched refs:cJSON_CreateNumber (Results 1 – 8 of 8) sorted by relevance

/third_party/cJSON/tests/
Dmisc_tests.c337 child = cJSON_CreateNumber(1); in cjson_replace_item_in_object_should_preserve_name()
339 replacement = cJSON_CreateNumber(2); in cjson_replace_item_in_object_should_preserve_name()
502 cJSON *number = cJSON_CreateNumber(1); in cjson_get_string_value_should_get_a_string()
515 cJSON *number = cJSON_CreateNumber(1); in cjson_get_number_value_should_get_a_number()
538 cJSON *number = cJSON_CreateNumber(42); in cjson_create_object_reference_should_create_an_object_reference()
556 cJSON *number = cJSON_CreateNumber(42); in cjson_create_array_reference_should_create_an_array_reference()
589 cJSON *number = cJSON_CreateNumber(42); in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased()
Dreadme_examples.c91 width = cJSON_CreateNumber(resolution_numbers[index][0]); in create_monitor()
98 height = cJSON_CreateNumber(resolution_numbers[index][1]); in create_monitor()
Dold_utils_tests.c152 cJSON_AddItemToObject(sortme, buf, cJSON_CreateNumber(1)); in sort_tests()
/third_party/vulkan-loader/loader/
DcJSON.h103 cJSON *cJSON_CreateNumber(const VkAllocationCallbacks *pAllocator, double num);
DcJSON.c1059 cJSON *cJSON_CreateNumber(const VkAllocationCallbacks *pAllocator, double num) { in cJSON_CreateNumber() function
1092 n = cJSON_CreateNumber(pAllocator, numbers[i]); in cJSON_CreateIntArray()
1105 n = cJSON_CreateNumber(pAllocator, numbers[i]); in cJSON_CreateFloatArray()
1118 n = cJSON_CreateNumber(pAllocator, numbers[i]); in cJSON_CreateDoubleArray()
/third_party/cJSON/
DcJSON.c2130 cJSON *number_item = cJSON_CreateNumber(number); in cJSON_AddNumberToObject()
2430 CJSON_PUBLIC(cJSON *) cJSON_CreateNumber(double num) in cJSON_CreateNumber() function
2562 n = cJSON_CreateNumber(numbers[i]); in cJSON_CreateIntArray()
2602 n = cJSON_CreateNumber((double)numbers[i]); in cJSON_CreateFloatArray()
2642 n = cJSON_CreateNumber(numbers[i]); in cJSON_CreateDoubleArray()
DcJSON.h199 CJSON_PUBLIC(cJSON *) cJSON_CreateNumber(double num);
DREADME.md221 * **numbers** are created with `cJSON_CreateNumber`. This will set both `valuedouble` and `valueint…
382 width = cJSON_CreateNumber(resolution_numbers[index][0]);
389 height = cJSON_CreateNumber(resolution_numbers[index][1]);