Home
last modified time | relevance | path

Searched refs:cJSON_CreateIntArray (Results 1 – 6 of 6) sorted by relevance

/third_party/cJSON/
Dtest.c197 cJSON_AddItemToArray(root, cJSON_CreateIntArray(numbers[i], 3)); in create_objects()
218 cJSON_AddItemToObject(img, "IDs", cJSON_CreateIntArray(ids, 4)); in create_objects()
DcJSON.h238 CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count);
DcJSON.c2856 CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count) in cJSON_CreateIntArray() function
/third_party/cJSON/tests/
Dold_utils_tests.c103 nums = cJSON_CreateIntArray(numbers, 10); in misc_tests()
Dcjson_add.c126 TEST_ASSERT_NULL(cJSON_CreateIntArray(numbers, 3)); in cjson_create_int_array_should_fail_on_allocation_failure()
Dmisc_tests.c408 TEST_ASSERT_NULL(cJSON_CreateIntArray(NULL, 10)); in cjson_functions_should_not_crash_with_null_pointers()