Searched refs:compare_double (Results 1 - 3 of 3) sorted by relevance
/third_party/cJSON/tests/ |
H A D | readme_examples.c | 205 if (compare_double(width->valuedouble, 1920) && compare_double(height->valuedouble, 1080)) in supports_full_hd()
|
/third_party/cJSON/ |
H A D | cJSON_Utils.c | 112 static cJSON_bool compare_double(double a, double b) in compare_double() function 616 if ((a->valueint != b->valueint) || (!compare_double(a->valuedouble, b->valuedouble))) in compare_json() 631 if ((a->valueint != b->valueint) || (!compare_double(a->valuedouble, b->valuedouble))) in compare_json() 1174 if ((from->valueint != to->valueint) || !compare_double(from->valuedouble, to->valuedouble)) in create_patches()
|
H A D | cJSON.c | 704 static cJSON_bool compare_double(double a, double b) in compare_double() function 746 if ((sscanf((char*)number_buffer, "%lg", &test) != 1) || !compare_double((double)test, d)) in print_number() 817 if ((sscanf((char*)number_buffer, "%lg", &test) != 1) || !compare_double((double)test, d)) in print_number() 3349 if (!compare_double(a->valuedouble, b->valuedouble)) in CJSON_PUBLIC() 3369 if (compare_double(a->valuedouble, b->valuedouble)) in CJSON_PUBLIC()
|
Completed in 7 milliseconds