Home
last modified time | relevance | path

Searched refs:resolution_numbers (Results 1 – 2 of 2) sorted by relevance

/third_party/cJSON/tests/
Dreadme_examples.c47 const unsigned int resolution_numbers[3][2] = { in create_monitor() local
82 for (index = 0; index < (sizeof(resolution_numbers) / (2 * sizeof(int))); ++index) in create_monitor()
91 width = cJSON_CreateNumber(resolution_numbers[index][0]); in create_monitor()
98 height = cJSON_CreateNumber(resolution_numbers[index][1]); in create_monitor()
119 const unsigned int resolution_numbers[3][2] = { in create_monitor_with_helpers() local
141 for (index = 0; index < (sizeof(resolution_numbers) / (2 * sizeof(int))); ++index) in create_monitor_with_helpers()
145 if (cJSON_AddNumberToObject(resolution, "width", resolution_numbers[index][0]) == NULL) in create_monitor_with_helpers()
150 if(cJSON_AddNumberToObject(resolution, "height", resolution_numbers[index][1]) == NULL) in create_monitor_with_helpers()
/third_party/cJSON/
DREADME.md357 const unsigned int resolution_numbers[3][2] = {
392 for (index = 0; index < (sizeof(resolution_numbers) / (2 * sizeof(int))); ++index)
401 width = cJSON_CreateNumber(resolution_numbers[index][0]);
408 height = cJSON_CreateNumber(resolution_numbers[index][1]);
434 const unsigned int resolution_numbers[3][2] = {
456 for (index = 0; index < (sizeof(resolution_numbers) / (2 * sizeof(int))); ++index)
460 if (cJSON_AddNumberToObject(resolution, "width", resolution_numbers[index][0]) == NULL)
465 if (cJSON_AddNumberToObject(resolution, "height", resolution_numbers[index][1]) == NULL)