Lines Matching refs:cJSON_InitHooks
75 cJSON_InitHooks(&failing_hooks); in cjson_add_null_should_fail_on_allocation_failure()
79 cJSON_InitHooks(NULL); in cjson_add_null_should_fail_on_allocation_failure()
111 cJSON_InitHooks(&failing_hooks); in cjson_add_true_should_fail_on_allocation_failure()
115 cJSON_InitHooks(NULL); in cjson_add_true_should_fail_on_allocation_failure()
124 cJSON_InitHooks(&failing_hooks); in cjson_create_int_array_should_fail_on_allocation_failure()
128 cJSON_InitHooks(NULL); in cjson_create_int_array_should_fail_on_allocation_failure()
135 cJSON_InitHooks(&failing_hooks); in cjson_create_float_array_should_fail_on_allocation_failure()
139 cJSON_InitHooks(NULL); in cjson_create_float_array_should_fail_on_allocation_failure()
146 cJSON_InitHooks(&failing_hooks); in cjson_create_double_array_should_fail_on_allocation_failure()
150 cJSON_InitHooks(NULL); in cjson_create_double_array_should_fail_on_allocation_failure()
157 cJSON_InitHooks(&failing_hooks); in cjson_create_string_array_should_fail_on_allocation_failure()
161 cJSON_InitHooks(NULL); in cjson_create_string_array_should_fail_on_allocation_failure()
191 cJSON_InitHooks(&failing_hooks); in cjson_add_false_should_fail_on_allocation_failure()
195 cJSON_InitHooks(NULL); in cjson_add_false_should_fail_on_allocation_failure()
233 cJSON_InitHooks(&failing_hooks); in cjson_add_bool_should_fail_on_allocation_failure()
237 cJSON_InitHooks(NULL); in cjson_add_bool_should_fail_on_allocation_failure()
272 cJSON_InitHooks(&failing_hooks); in cjson_add_number_should_fail_on_allocation_failure()
276 cJSON_InitHooks(NULL); in cjson_add_number_should_fail_on_allocation_failure()
309 cJSON_InitHooks(&failing_hooks); in cjson_add_string_should_fail_on_allocation_failure()
313 cJSON_InitHooks(NULL); in cjson_add_string_should_fail_on_allocation_failure()
346 cJSON_InitHooks(&failing_hooks); in cjson_add_raw_should_fail_on_allocation_failure()
350 cJSON_InitHooks(NULL); in cjson_add_raw_should_fail_on_allocation_failure()
381 cJSON_InitHooks(&failing_hooks); in cjson_add_object_should_fail_on_allocation_failure()
385 cJSON_InitHooks(NULL); in cjson_add_object_should_fail_on_allocation_failure()
416 cJSON_InitHooks(&failing_hooks); in cjson_add_array_should_fail_on_allocation_failure()
420 cJSON_InitHooks(NULL); in cjson_add_array_should_fail_on_allocation_failure()