Home
last modified time | relevance | path

Searched refs:current_item (Results 1 – 25 of 30) sorted by relevance

12

/third_party/jerryscript/tests/jerry/es2015/
Darray-prototype-values.js30 var current_item = iterator.next (); variable
34 assert (current_item.value === array[i]);
35 assert (current_item.done === false);
37 assert (current_item.value === symbol_current_item.value);
38 assert (current_item.done === symbol_current_item.done);
40 current_item = iterator.next ();
44 assert (current_item.value === undefined);
45 assert (current_item.done === true);
46 assert (current_item.value === symbol_current_item.value);
47 assert (current_item.done === symbol_current_item.done);
[all …]
Darray-prototype-entries.js26 var current_item = iterator.next (); variable
29 assert (current_item.value[0] === i);
30 assert (current_item.value[1] === array[i]);
31 assert (current_item.done === false);
33 current_item = iterator.next ();
36 assert (current_item.value === undefined);
37 assert (current_item.done === true);
57 current_item = iterator.next ();
58 assert (current_item.value[0] === expected_indices[expected_values_idx]);
59 assert (current_item.value[1] === expected_values[expected_values_idx]);
[all …]
Darray-prototype-keys.js26 var current_item = iterator.next (); variable
29 assert (current_item.value === i);
30 assert (current_item.done === false);
32 current_item = iterator.next ();
35 assert (current_item.value === undefined);
36 assert (current_item.done === true);
52 current_item = iterator.next ();
53 assert (current_item.value === i);
54 assert (current_item.done === false);
61 current_item = iterator.next ();
[all …]
Dtypedarray-prototype-values.js40 var current_item = iterator.next ();
44 assert (current_item.value === e[i]);
45 assert (current_item.done === false);
47 assert (current_item.value === symbol_current_item.value);
48 assert (current_item.done === symbol_current_item.done);
50 current_item = iterator.next ();
54 assert (current_item.value === undefined);
55 assert (current_item.done === true);
56 assert (current_item.value === symbol_current_item.value);
57 assert (current_item.done === symbol_current_item.done)
[all …]
Dtypedarray-prototype-entires.js38 var current_item = iterator.next ();
41 assert (current_item.value[0] === i);
42 assert (current_item.value[1] === e[i]);
43 assert (current_item.done === false);
45 current_item = iterator.next ();
48 assert (current_item.value === undefined);
49 assert (current_item.done === true);
65 current_item = iterator.next ();
67 assert (current_item.value === undefined);
68 assert (current_item.done === true);
Dtypedarray-prototype-keys.js38 var current_item = iterator.next ();
41 assert (current_item.value === i);
42 assert (current_item.done === false);
44 current_item = iterator.next ();
47 assert (current_item.value === undefined);
48 assert (current_item.done === true);
64 current_item = iterator.next ();
66 assert (current_item.value === undefined);
67 assert (current_item.done === true);
/third_party/spirv-tools/source/opt/
Dvector_dce.cpp67 WorkListItem current_item = work_list[i]; in FindLiveComponents() local
68 Instruction* current_inst = current_item.instruction; in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
76 MarkInsertUsesAsLive(current_item, live_components, &work_list); in FindLiveComponents()
79 MarkVectorShuffleUsesAsLive(current_item, live_components, &work_list); in FindLiveComponents()
82 MarkCompositeContructUsesAsLive(current_item, live_components, in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
120 const VectorDCE::WorkListItem& current_item, in MarkInsertUsesAsLive() argument
125 if (current_item.instruction->NumInOperands() > 2) { in MarkInsertUsesAsLive()
127 current_item.instruction->GetSingleWordInOperand(2); in MarkInsertUsesAsLive()
[all …]
Dvector_dce.h122 void MarkVectorShuffleUsesAsLive(const WorkListItem& current_item,
130 void MarkInsertUsesAsLive(const WorkListItem& current_item,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.cpp67 WorkListItem current_item = work_list[i]; in FindLiveComponents() local
68 Instruction* current_inst = current_item.instruction; in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
76 MarkInsertUsesAsLive(current_item, live_components, &work_list); in FindLiveComponents()
79 MarkVectorShuffleUsesAsLive(current_item, live_components, &work_list); in FindLiveComponents()
82 MarkCompositeContructUsesAsLive(current_item, live_components, in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
124 const VectorDCE::WorkListItem& current_item, in MarkInsertUsesAsLive() argument
129 if (current_item.instruction->NumInOperands() > 2) { in MarkInsertUsesAsLive()
131 current_item.instruction->GetSingleWordInOperand(2); in MarkInsertUsesAsLive()
[all …]
Dvector_dce.h125 void MarkVectorShuffleUsesAsLive(const WorkListItem& current_item,
133 void MarkInsertUsesAsLive(const WorkListItem& current_item,
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dvector_dce.cpp67 WorkListItem current_item = work_list[i]; in FindLiveComponents() local
68 Instruction* current_inst = current_item.instruction; in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
76 MarkInsertUsesAsLive(current_item, live_components, &work_list); in FindLiveComponents()
79 MarkVectorShuffleUsesAsLive(current_item, live_components, &work_list); in FindLiveComponents()
82 MarkCompositeContructUsesAsLive(current_item, live_components, in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
124 const VectorDCE::WorkListItem& current_item, in MarkInsertUsesAsLive() argument
129 if (current_item.instruction->NumInOperands() > 2) { in MarkInsertUsesAsLive()
131 current_item.instruction->GetSingleWordInOperand(2); in MarkInsertUsesAsLive()
[all …]
Dvector_dce.h125 void MarkVectorShuffleUsesAsLive(const WorkListItem& current_item,
133 void MarkInsertUsesAsLive(const WorkListItem& current_item,
/third_party/cJSON/
DcJSON_Utils.c488 cJSON *current_item = list; in sort_list() local
498 …ile ((current_item != NULL) && (current_item->next != NULL) && (compare_strings((unsigned char*)cu… in sort_list()
501 current_item = current_item->next; in sort_list()
503 if ((current_item == NULL) || (current_item->next == NULL)) in sort_list()
510 current_item = list; in sort_list()
511 while (current_item != NULL) in sort_list()
515 current_item = current_item->next; in sort_list()
517 if (current_item != NULL) in sort_list()
519 current_item = current_item->next; in sort_list()
DcJSON.c1440 cJSON *current_item = NULL; in parse_array() local
1485 current_item = head = new_item; in parse_array()
1490 current_item->next = new_item; in parse_array()
1491 new_item->prev = current_item; in parse_array()
1492 current_item = new_item; in parse_array()
1498 if (!parse_value(current_item, input_buffer)) in parse_array()
1515 head->prev = current_item; in parse_array()
1600 cJSON *current_item = NULL; in parse_object() local
1643 current_item = head = new_item; in parse_object()
1648 current_item->next = new_item; in parse_object()
[all …]
/third_party/glib/gio/
Dgnetworkaddress.c640 GList *current_item; /* (unowned) (nullable) */ member
771 GList *current_item, in list_concat_interleaved() argument
777 if (current_item) in list_concat_interleaved()
779 last_family = get_address_family (current_item->data); in list_concat_interleaved()
782 trailing = g_list_next (current_item); in list_concat_interleaved()
783 current_item->next = NULL; in list_concat_interleaved()
829 …addr_enum->addresses = list_concat_interleaved (addr_enum->addresses, addr_enum->current_item, g_s… in g_network_address_address_enumerator_add_addresses()
853 if (addr_enum->current_item == NULL) in init_and_query_next_address()
854 next_item = addr_enum->current_item = addr_enum->addresses; in init_and_query_next_address()
856 next_item = g_list_next (addr_enum->current_item); in init_and_query_next_address()
[all …]
/third_party/glib/glib/
Dgbookmarkfile.c703 BookmarkItem *current_item; member
718 retval->current_item = NULL; in parse_data_new()
785 g_warn_if_fail (parse_data->current_item == NULL); in parse_bookmark_element()
820 parse_data->current_item = item; in parse_bookmark_element()
875 g_warn_if_fail (parse_data->current_item != NULL); in parse_application_element()
876 item = parse_data->current_item; in parse_application_element()
941 g_warn_if_fail (parse_data->current_item != NULL); in parse_mime_type_element()
942 item = parse_data->current_item; in parse_mime_type_element()
991 g_warn_if_fail (parse_data->current_item != NULL); in parse_icon_element()
992 item = parse_data->current_item; in parse_icon_element()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/
Dplayout.c309 PlayoutItem *current_item; in playout_item_pad_probe_video_pad_eos_on_buffer() local
311 current_item = playout_app_get_current_item (prev_item->app); in playout_item_pad_probe_video_pad_eos_on_buffer()
313 if (!current_item) in playout_item_pad_probe_video_pad_eos_on_buffer()
320 switch (current_item->state) { in playout_item_pad_probe_video_pad_eos_on_buffer()
323 GST_DEBUG ("%s: new/prepared", current_item->fn); in playout_item_pad_probe_video_pad_eos_on_buffer()
326 GST_DEBUG ("%s: activated -> first vbuffer", current_item->fn); in playout_item_pad_probe_video_pad_eos_on_buffer()
327 current_item->state = PLAYOUT_ITEM_STATE_FIRST_VBUFFER; in playout_item_pad_probe_video_pad_eos_on_buffer()
330 GST_DEBUG ("%s: first vbuffer -> aggregating", current_item->fn); in playout_item_pad_probe_video_pad_eos_on_buffer()
331 current_item->state = PLAYOUT_ITEM_STATE_AGGREGATING; in playout_item_pad_probe_video_pad_eos_on_buffer()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderSubroutineTests.cpp8302 _item& current_item = items[n_item]; in initTest() local
8304 current_item.stage.function1_index = in initTest()
8305 gl.getSubroutineIndex(current_item.po_id, current_item.so_type, "function1"); in initTest()
8306 current_item.stage.function2_index = in initTest()
8307 gl.getSubroutineIndex(current_item.po_id, current_item.so_type, "function2"); in initTest()
8308 current_item.stage.function3_index = in initTest()
8309 gl.getSubroutineIndex(current_item.po_id, current_item.so_type, "function3"); in initTest()
8310 current_item.stage.function4_index = in initTest()
8311 gl.getSubroutineIndex(current_item.po_id, current_item.so_type, "function4"); in initTest()
8314 if (current_item.stage.function1_index == GL_INVALID_INDEX || in initTest()
[all …]
/third_party/alsa-utils/alsamixer/
Dproc_files.c44 item = current_item(menu); in on_handle_key()
Dcard_select.c51 ITEM *item = current_item(menu); in on_key_enter()
/third_party/json/include/nlohmann/
Djson.hpp1145 basic_json current_item(std::move(stack.back())); in destroy() local
1150 if (current_item.is_array()) in destroy()
1152 … std::move(current_item.m_value.array->begin(), current_item.m_value.array->end(), in destroy()
1155 current_item.m_value.array->clear(); in destroy()
1157 else if (current_item.is_object()) in destroy()
1159 for (auto&& it : *current_item.m_value.object) in destroy()
1164 current_item.m_value.object->clear(); in destroy()
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui.h398 …IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int…
399 …IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by…
400 …IMGUI_API bool Combo(const char* label, int* current_item, bool(*items_getter)(void* data…
493 …IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], i…
494 …IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* d…
Dimgui_widgets.cpp1412 bool ImGui::Combo(const char* label, int* current_item, bool (*items_getter)(void*, int, const char… in Combo() argument
1418 if (*current_item >= 0 && *current_item < items_count) in Combo()
1419 items_getter(data, *current_item, &preview_value); in Combo()
1434 const bool item_selected = (i == *current_item); in Combo()
1441 *current_item = i; in Combo()
1453 bool ImGui::Combo(const char* label, int* current_item, const char* const items[], int items_count,… in Combo() argument
1455 …const bool value_changed = Combo(label, current_item, Items_ArrayGetter, (void*)items, items_count… in Combo()
1460 bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int h… in Combo() argument
1469 …bool value_changed = Combo(label, current_item, Items_SingleStringGetter, (void*)items_separated_b… in Combo()
5177 bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_coun… in ListBox() argument
[all …]
/third_party/mesa3d/src/imgui/
Dimgui.h404 …IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int…
405 …IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by…
406 …IMGUI_API bool Combo(const char* label, int* current_item, bool(*items_getter)(void* data…
499 …IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], i…
500 …IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* d…
/third_party/skia/third_party/externals/imgui/
Dimgui.h521 …IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int…
522 …IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by…
523 …IMGUI_API bool Combo(const char* label, int* current_item, bool(*items_getter)(void* data…
632 …IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], i…
633 …IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* d…

12