Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
H A Dreadme_examples.c205 if (compare_double(width->valuedouble, 1920) && compare_double(height->valuedouble, 1080)) in supports_full_hd()
/third_party/cJSON/
H A DcJSON_Utils.c112 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 DcJSON.c704 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