Home
last modified time | relevance | path

Searched refs:number_item (Results 1 – 2 of 2) sorted by relevance

/third_party/cJSON/tests/
Dparse_number.c33 static void assert_is_number(cJSON *number_item) in assert_is_number() argument
35 TEST_ASSERT_NOT_NULL_MESSAGE(number_item, "Item is NULL."); in assert_is_number()
37 assert_not_in_list(number_item); in assert_is_number()
38 assert_has_no_child(number_item); in assert_is_number()
39 assert_has_type(number_item, cJSON_Number); in assert_is_number()
40 assert_has_no_reference(number_item); in assert_is_number()
41 assert_has_no_const_string(number_item); in assert_is_number()
42 assert_has_no_valuestring(number_item); in assert_is_number()
43 assert_has_no_string(number_item); in assert_is_number()
/third_party/cJSON/
DcJSON.c2130 cJSON *number_item = cJSON_CreateNumber(number); in cJSON_AddNumberToObject() local
2131 if (add_item_to_object(object, name, number_item, &global_hooks, false)) in cJSON_AddNumberToObject()
2133 return number_item; in cJSON_AddNumberToObject()
2136 cJSON_Delete(number_item); in cJSON_AddNumberToObject()