Lines Matching refs:number
269 double number = 0; in parse_number() local
315 number = strtod((const char*)number_c_string, (char**)&after_end); in parse_number()
321 item->valuedouble = number; in parse_number()
324 if (number >= INT_MAX) in parse_number()
328 else if (number <= INT_MIN) in parse_number()
334 item->valueint = (int)number; in parse_number()
344 CJSON_PUBLIC(double) cJSON_SetNumberHelper(cJSON *object, double number) in cJSON_SetNumberHelper() argument
346 if (number >= INT_MAX) in cJSON_SetNumberHelper()
350 else if (number <= INT_MIN) in cJSON_SetNumberHelper()
356 object->valueint = (int)number; in cJSON_SetNumberHelper()
359 return object->valuedouble = number; in cJSON_SetNumberHelper()
2012 …cJSON*) cJSON_AddNumberToObject(cJSON * const object, const char * const name, const double number) in cJSON_AddNumberToObject() argument
2014 cJSON *number_item = cJSON_CreateNumber(number); in cJSON_AddNumberToObject()