Searched refs:valueint (Results 1 – 8 of 8) sorted by relevance
/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() 1334 item->valueint = 1; in parse_value() 2431 item->valueint = INT_MAX; in cJSON_CreateNumber() 2435 item->valueint = INT_MIN; in cJSON_CreateNumber() 2439 item->valueint = (int)num; 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 | 181 /* writing to valueint is DEPRECATED, use cJSON_SetNumberValue instead */ 182 int valueint; 198 …edouble` and also in `valueint`. If the number is outside of the range of an integer, `INT_MAX` or… 221 …th `valuedouble` and `valueint`. If the number is outside of the range of an integer, `INT_MAX` or…
|
D | CHANGELOG.md | 264 * Making clear that `valueint` should not be written to 356 * fix potentially undefined behavior when assigning big numbers to `valueint` ([41e2837](https://gi… 357 …* 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()
|