Searched refs:valueint (Results 1 – 11 of 11) sorted by relevance
/third_party/vulkan-loader/loader/ |
D | cJSON.h | 58 int valueint; /* The item's number, if type==cJSON_Number */ member 154 #define cJSON_SetIntValue(object, val) ((object) ? (object)->valueint = (object)->valuedouble = (va… 155 #define cJSON_SetNumberValue(object, val) ((object) ? (object)->valueint = (object)->valuedouble = …
|
D | cJSON.c | 116 item->valueint = (int)n; in parse_number() 175 } else if (fabs(((double)item->valueint) - d) <= DBL_EPSILON && d <= INT_MAX && d >= INT_MIN) { in print_number() 180 if (str) sprintf(str, "%d", item->valueint); in print_number() 503 item->valueint = 1; in parse_value() 1064 item->valueint = (int)num; in cJSON_CreateNumber() 1150 …newitem->type = item->type & (~cJSON_IsReference), newitem->valueint = item->valueint, newitem->va… in cJSON_Duplicate()
|
/third_party/cJSON/ |
D | cJSON.c | 364 item->valueint = INT_MAX; in parse_number() 368 item->valueint = INT_MIN; in parse_number() 372 item->valueint = (int)number; in parse_number() 386 object->valueint = INT_MAX; in cJSON_SetNumberHelper() 390 object->valueint = INT_MIN; in cJSON_SetNumberHelper() 394 object->valueint = (int)number; in cJSON_SetNumberHelper() 570 else if(d == (double)item->valueint) in print_number() 572 length = sprintf((char*)number_buffer, "%d", item->valueint); in print_number() 1343 item->valueint = 1; in parse_value() 2450 item->valueint = INT_MAX; in cJSON_CreateNumber() [all …]
|
D | cJSON.h | 117 int valueint; member 275 #define cJSON_SetIntValue(object, number) ((object) ? (object)->valueint = (object)->valuedouble = …
|
D | cJSON_Utils.c | 615 if ((a->valueint != b->valueint) || (!compare_double(a->valuedouble, b->valuedouble))) in compare_json() 1157 … if ((from->valueint != to->valueint) || !compare_double(from->valuedouble, to->valuedouble)) in create_patches()
|
D | README.md | 200 /* writing to valueint is DEPRECATED, use cJSON_SetNumberValue instead */ 201 int valueint; 217 …edouble` and also in `valueint`. If the number is outside of the range of an integer, `INT_MAX` or… 240 …th `valuedouble` and `valueint`. If the number is outside of the range of an integer, `INT_MAX` or…
|
D | CHANGELOG.md | 283 * Making clear that `valueint` should not be written to 375 * fix potentially undefined behavior when assigning big numbers to `valueint` ([41e2837](https://gi… 376 …* Numbers exceeding `INT_MAX` or lower than `INT_MIN` will be explicitly assigned to `valueint` as…
|
/third_party/cJSON/tests/ |
D | parse_number.c | 54 TEST_ASSERT_EQUAL_INT(integer, item->valueint); in assert_parse_number()
|
D | misc_tests.c | 227 TEST_ASSERT_EQUAL(1, number->valueint); in cjson_set_number_value_should_set_numbers() 231 TEST_ASSERT_EQUAL(-1, number->valueint); in cjson_set_number_value_should_set_numbers() 235 TEST_ASSERT_EQUAL(INT_MAX, number->valueint); in cjson_set_number_value_should_set_numbers() 239 TEST_ASSERT_EQUAL(INT_MIN, number->valueint); in cjson_set_number_value_should_set_numbers()
|
D | cjson_add.c | 253 TEST_ASSERT_EQUAL_INT(number->valueint, 42); in cjson_add_number_should_add_number()
|
/third_party/musl/Benchmark/musl/ |
D | benchmark_framework.cpp | 368 jsonOpts.iterNum = obj->valueint; in RegisterJsonBenchmarks() 373 jsonOpts.cpuNum = obj->valueint; in RegisterJsonBenchmarks()
|