Searched refs:number_item (Results 1 – 2 of 2) sorted by relevance
33 static void assert_is_number(cJSON *number_item) in assert_is_number() argument35 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()
2130 cJSON *number_item = cJSON_CreateNumber(number); in cJSON_AddNumberToObject() local2131 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()