Home
last modified time | relevance | path

Searched refs:compare_double (Results 1 – 3 of 3) sorted by relevance

/third_party/cJSON/tests/
Dreadme_examples.c205 if (compare_double(width->valuedouble, 1920) && compare_double(height->valuedouble, 1080)) in supports_full_hd()
/third_party/cJSON/
DcJSON_Utils.c112 static cJSON_bool compare_double(double a, double b) in compare_double() function
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()
DcJSON.c543 static cJSON_bool compare_double(double a, double b) in compare_double() function
580 if ((sscanf((char*)number_buffer, "%lg", &test) != 1) || !compare_double((double)test, d)) in print_number()
3035 if (compare_double(a->valuedouble, b->valuedouble)) in cJSON_Compare()