Home
last modified time | relevance | path

Searched refs:current_element (Results 1 – 5 of 5) sorted by relevance

/third_party/cJSON/tests/
Dold_utils_tests.c145 cJSON *current_element = NULL; in sort_tests() local
158 current_element = sortme->child->next; in sort_tests()
159 for (i = 1; (i < 26) && (current_element != NULL) && (current_element->prev != NULL); i++) in sort_tests()
161 TEST_ASSERT_TRUE(current_element->string[0] >= current_element->prev->string[0]); in sort_tests()
162 current_element = current_element->next; in sort_tests()
/third_party/curl/lib/
Dhash.c302 iter->current_element = NULL; in Curl_hash_start_iterate()
314 if(iter->current_element) in Curl_hash_next_element()
315 iter->current_element = iter->current_element->next; in Curl_hash_next_element()
318 if(!iter->current_element) { in Curl_hash_next_element()
322 iter->current_element = h->table[i].head; in Curl_hash_next_element()
329 if(iter->current_element) { in Curl_hash_next_element()
330 struct Curl_hash_element *he = iter->current_element->ptr; in Curl_hash_next_element()
Dhash.h71 struct Curl_llist_element *current_element; member
/third_party/cJSON/
DcJSON_Utils.c303 cJSON *current_element = object; in get_item_from_pointer() local
311 while ((pointer[0] == '/') && (current_element != NULL)) in get_item_from_pointer()
314 if (cJSON_IsArray(current_element)) in get_item_from_pointer()
322 current_element = get_array_item(current_element, index); in get_item_from_pointer()
324 else if (cJSON_IsObject(current_element)) in get_item_from_pointer()
326 current_element = current_element->child; in get_item_from_pointer()
328 …while ((current_element != NULL) && !compare_pointers((unsigned char*)current_element->string, (co… in get_item_from_pointer()
330 current_element = current_element->next; in get_item_from_pointer()
345 return current_element; in get_item_from_pointer()
DcJSON.c1548 cJSON *current_element = item->child; in print_array() local
1567 while (current_element != NULL) in print_array()
1569 if (!print_value(current_element, output_buffer)) in print_array()
1574 if (current_element->next) in print_array()
1590 current_element = current_element->next; in print_array()
1887 cJSON *current_element = NULL; in get_object_item() local
1894 current_element = object->child; in get_object_item()
1897 …while ((current_element != NULL) && (current_element->string != NULL) && (strcmp(name, current_ele… in get_object_item()
1899 current_element = current_element->next; in get_object_item()
1904 …while ((current_element != NULL) && (case_insensitive_strcmp((const unsigned char*)name, (const un… in get_object_item()
[all …]