Searched refs:cJSON_SetNumberValue (Results 1 – 6 of 6) sorted by relevance
43 cJSON_SetNumberValue(item, input); in assert_print_number()
226 cJSON_SetNumberValue(number, 1.5); in cjson_set_number_value_should_set_numbers()230 cJSON_SetNumberValue(number, -1.5); in cjson_set_number_value_should_set_numbers()234 cJSON_SetNumberValue(number, 1 + (double)INT_MAX); in cjson_set_number_value_should_set_numbers()238 cJSON_SetNumberValue(number, -1 + (double)INT_MIN); in cjson_set_number_value_should_set_numbers()
155 #define cJSON_SetNumberValue(object, val) ((object) ? (object)->valueint = (object)->valuedouble = … macro
278 #define cJSON_SetNumberValue(object, number) ((object != NULL) ? cJSON_SetNumberHelper(object, (dou… macro
377 …* fix the `cJSON_SetNumberValue` macro ([87f7727](https://github.com/DaveGamble/cJSON/commit/87f77…
200 /* writing to valueint is DEPRECATED, use cJSON_SetNumberValue instead */