Lines Matching refs:current_element
303 cJSON *current_element = object;
311 while ((pointer[0] == '/') && (current_element != NULL))
314 if (cJSON_IsArray(current_element))
322 current_element = get_array_item(current_element, index);
324 else if (cJSON_IsObject(current_element))
326 current_element = current_element->child;
328 while ((current_element != NULL) && !compare_pointers((unsigned char*)current_element->string, (const unsigned char*)pointer, case_sensitive))
330 current_element = current_element->next;
345 return current_element;