Searched refs:cJSON_CreateIntArray (Results 1 – 6 of 6) sorted by relevance
| /third_party/cJSON/ |
| D | test.c | 197 cJSON_AddItemToArray(root, cJSON_CreateIntArray(numbers[i], 3)); in create_objects() 218 cJSON_AddItemToObject(img, "IDs", cJSON_CreateIntArray(ids, 4)); in create_objects()
|
| D | cJSON.h | 238 CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count);
|
| D | cJSON.c | 2856 CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count) in cJSON_CreateIntArray() function
|
| /third_party/cJSON/tests/ |
| D | old_utils_tests.c | 103 nums = cJSON_CreateIntArray(numbers, 10); in misc_tests()
|
| D | cjson_add.c | 126 TEST_ASSERT_NULL(cJSON_CreateIntArray(numbers, 3)); in cjson_create_int_array_should_fail_on_allocation_failure()
|
| D | misc_tests.c | 408 TEST_ASSERT_NULL(cJSON_CreateIntArray(NULL, 10)); in cjson_functions_should_not_crash_with_null_pointers()
|