Home
last modified time | relevance | path

Searched refs:cJSON_IsNumber (Results 1 – 5 of 5) sorted by relevance

/third_party/cJSON/tests/
Dmisc_tests.c183 TEST_ASSERT_FALSE(cJSON_IsNumber(NULL)); in typecheck_functions_should_check_type()
184 TEST_ASSERT_FALSE(cJSON_IsNumber(invalid)); in typecheck_functions_should_check_type()
185 TEST_ASSERT_TRUE(cJSON_IsNumber(item)); in typecheck_functions_should_check_type()
392 TEST_ASSERT_FALSE(cJSON_IsNumber(NULL)); in cjson_functions_should_not_crash_with_null_pointers()
541 TEST_ASSERT_TRUE(cJSON_IsNumber(number)); in cjson_create_object_reference_should_create_an_object_reference()
558 TEST_ASSERT_TRUE(cJSON_IsNumber(number)); in cjson_create_array_reference_should_create_an_array_reference()
Dreadme_examples.c199 if (!cJSON_IsNumber(width) || !cJSON_IsNumber(height)) in supports_full_hd()
/third_party/cJSON/
DcJSON.h188 CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item);
DREADME.md198 * `cJSON_Number` (check with `cJSON_IsNumber`): Represents a number value. The value is stored as a…
502 if (!cJSON_IsNumber(width) || !cJSON_IsNumber(height))
521 …for `NULL` inputs already, so a `NULL` value is just propagated and `cJSON_IsNumber` and `cJSON_Is…
DcJSON.c111 if (!cJSON_IsNumber(item)) in cJSON_GetNumberValue()
2937 CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item) in cJSON_IsNumber() function