Home
last modified time | relevance | path

Searched refs:cJSON_IsInt64 (Results 1 - 7 of 7) sorted by relevance

/third_party/cJSON/tests/
H A Dmisc_int64_tests.c34 TEST_ASSERT_BITS_MESSAGE(cJSON_IsInt64, cJSON_IsInt64, int64_number_item->type, "Item should be a int64 integer."); in assert_is_int64()
107 cJSON number[1] = {{NULL, NULL, NULL, cJSON_Number | cJSON_IsInt64, NULL, 0, 0, NULL}}; in cjson_set_number_value_should_set_numbers_with_int64()
136 item->type = cJSON_IsInt64; in typecheck_functions_should_check_type_with_int64()
139 item->type = cJSON_Number | cJSON_IsInt64; in typecheck_functions_should_check_type_with_int64()
H A Dparse_number.c62 TEST_ASSERT_BITS_MESSAGE(cJSON_IsInt64, cJSON_IsInt64, int64_number_item->type, "Item should be a int64 integer"); in assert_is_int64()
H A Dprint_number.c31 cJSON item[1] = {{ NULL, NULL, NULL, cJSON_Number | cJSON_IsInt64, NULL, 0, 0, NULL }}; in assert_print_int64_number()
H A Dcjson_add.c291 TEST_ASSERT_EQUAL_INT(number->type, cJSON_Number | cJSON_IsInt64); in cjson_add_int64_number_should_add_int64_number()
/third_party/cJSON/
H A DcJSON.c381 /* for int64 values, set cJSON_IsInt64 */ in parse_number()
382 item->type = cJSON_Number | cJSON_IsInt64; in parse_number()
509 if (!(object->type & cJSON_Number) || !(object->type & cJSON_IsInt64)) in cJSON_SetInt64NumberValue()
728 if (item->type & cJSON_IsInt64) in print_number()
2702 item->type = cJSON_Number | cJSON_IsInt64; in cJSON_CreateInt64Number()
3255 return cJSON_IsNumber(item) && (item->type & cJSON_IsInt64); in CJSON_PUBLIC()
3354 if ((a->type & cJSON_IsInt64) != (b->type & cJSON_IsInt64)) in CJSON_PUBLIC()
3356 /* cJSON_IsInt64 should also be considered */ in CJSON_PUBLIC()
3360 if ((a->type & cJSON_IsInt64) in CJSON_PUBLIC()
[all...]
H A DcJSON.h107 #define cJSON_IsInt64 1024 macro
H A DcJSON_Utils.c621 if ((a->type & cJSON_IsInt64) != (b->type & cJSON_IsInt64)) in compare_json()
623 /* cJSON_IsInt64 should also be considered */ in compare_json()

Completed in 10 milliseconds