Searched refs:valueint (Results 1 – 2 of 2) sorted by relevance
57 int valueint; /* The item's number, if type==cJSON_Number */ member181 ((object) ? (object)->valueint = (object)->valuedouble = (val) : (val))183 ((object) ? (object)->valueint = (object)->valuedouble = (val) : (val))
128 item->valueint = (int)n; in parse_number()192 } else if (fabs(((double)item->valueint) - d) <= DBL_EPSILON && in print_number()200 sprintf(str, "%d", item->valueint); in print_number()540 item->valueint = 1; in parse_value()1191 item->valueint = (int)num; in cJSON_CreateNumber()1282 newitem->valueint = item->valueint, in cJSON_Duplicate()