Searched refs:compare_double (Results 1 – 3 of 3) sorted by relevance
/third_party/cJSON/tests/ |
D | readme_examples.c | 205 if (compare_double(width->valuedouble, 1920) && compare_double(height->valuedouble, 1080)) in supports_full_hd()
|
/third_party/cJSON/ |
D | cJSON_Utils.c | 112 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()
|
D | cJSON.c | 543 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()
|