/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/libretro/libretro-common/queues/ |
H A D | generic_queue.c | 62 while (queue->first_item) in generic_queue_free() 68 free(queue->first_item); in generic_queue_free() 69 queue->first_item = next_item; in generic_queue_free() 87 if (!queue->first_item) in generic_queue_push() 88 queue->first_item = new_item; in generic_queue_push() 106 queue->first_item = NULL; in generic_queue_pop() 127 return queue->first_item->value; in generic_queue_peek_first() 142 queue->first_item = new_item; in generic_queue_shift() 159 item = queue->first_item; in generic_queue_unshift() 160 queue->first_item = queue->first_item->next; in generic_queue_unshift() [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/libretro-common/queues/ |
H A D | generic_queue.c | 62 while (queue->first_item) in generic_queue_free() 68 free(queue->first_item); in generic_queue_free() 69 queue->first_item = next_item; in generic_queue_free() 87 if (!queue->first_item) in generic_queue_push() 88 queue->first_item = new_item; in generic_queue_push() 106 queue->first_item = NULL; in generic_queue_pop() 127 return queue->first_item->value; in generic_queue_peek_first() 142 queue->first_item = new_item; in generic_queue_shift() 159 item = queue->first_item; in generic_queue_unshift() 160 queue->first_item = queue->first_item->next; in generic_queue_unshift() [all …]
|
/dports/cad/freehdl/freehdl-0.0.7/freehdl/ |
H A D | kernel-list.hh | 20 _item *first_item, *last_item; member in simple_list 94 first_item = new_item; in insert() 121 _item *pos = first_item; in reset() 135 _item *pos = first_item; in size() 232 first_item = new_item; in insert() 261 first_item = new_item; in insert() 292 _item *pos = first_item; in inqueue() 318 _item *pos = first_item; in size() 342 _item *first_item; member in fqueue 512 if (first_item) in ~fqueue() [all …]
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/ui/ |
H A D | listbox.cpp | 131 listbox->first_item = 0; in ui_add_gadget_listbox() 162 first_item = 0; in event_handler() 164 old_first_item = first_item; in event_handler() 175 old_first_item = first_item; in event_handler() 184 if (current_item<first_item) in event_handler() 185 current_item = first_item; in event_handler() 251 first_item = current_item; in event_handler() 257 first_item = 0; in event_handler() 324 first_item = 0; in event_handler() 370 listbox->first_item = 0; in ui_listbox_change() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ui/ |
H A D | listbox.cpp | 71 first_item = 0; in create() 240 first_item = 0; in process() 242 old_first_item = first_item; in process() 252 old_first_item = first_item; in process() 259 Assert(first_item >= 0); in process() 262 current_item = first_item; in process() 360 first_item = current_item; in process() 366 first_item = 0; in process() 423 first_item = 0; in process() 488 first_item = _index; in set_first_item() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ui/ |
H A D | listbox.cpp | 72 first_item = 0; in create() 241 first_item = 0; in process() 243 old_first_item = first_item; in process() 253 old_first_item = first_item; in process() 260 Assert(first_item >= 0); in process() 263 current_item = first_item; in process() 361 first_item = current_item; in process() 367 first_item = 0; in process() 424 first_item = 0; in process() 489 first_item = _index; in set_first_item() [all …]
|
/dports/games/d2x/d2x-0.2.5/unused/ui/ |
H A D | listbox.c | 53 for (i= listbox->first_item; i< stop; i++ ) in ui_draw_listbox() 128 listbox->first_item = 0; in ui_add_gadget_listbox() 160 listbox->first_item = 0; in ui_listbox_do() 162 listbox->old_first_item = listbox->first_item; in ui_listbox_do() 174 listbox->old_first_item = listbox->first_item; in ui_listbox_do() 185 if (listbox->current_item<listbox->first_item) in ui_listbox_do() 186 listbox->current_item = listbox->first_item; in ui_listbox_do() 252 listbox->first_item = 0; in ui_listbox_do() 321 listbox->first_item = 0; in ui_listbox_do() 367 listbox->first_item = 0; in ui_listbox_change() [all …]
|
/dports/games/angband/Angband-4.2.2/src/ |
H A D | ui-history.c | 43 static size_t first_item = 0; in history_display() local 64 for (i = first_item; row <= page_size && i < max_item; i++) in history_display() 86 size_t scroll_to = first_item + page_size; in history_display() 87 first_item = (scroll_to < max_item ? scroll_to : max_item); in history_display() 93 int scroll_to = first_item - page_size; in history_display() 94 first_item = (scroll_to >= 0 ? scroll_to : 0); in history_display() 99 size_t scroll_to = first_item + 1; in history_display() 100 first_item = (scroll_to < max_item ? scroll_to : max_item); in history_display() 105 int scroll_to = first_item - 1; in history_display() 106 first_item = (scroll_to >= 0 ? scroll_to : 0); in history_display()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/libretro/libretro-common/lists/ |
H A D | linked_list.c | 65 while (list->first_item) in linked_list_free() 69 next = list->first_item->next; in linked_list_free() 72 free(list->first_item); in linked_list_free() 74 list->first_item = next; in linked_list_free() 93 list->first_item = new_item; in linked_list_add() 112 next_item = list->first_item; in linked_list_insert() 125 list->first_item = new_item; in linked_list_insert() 148 item = list->first_item; in linked_list_get() 200 list->first_item = next_item; in _linked_list_remove_item() 217 item = list->first_item; in linked_list_remove_at() [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/libretro-common/lists/ |
H A D | linked_list.c | 65 while (list->first_item) in linked_list_free() 69 next = list->first_item->next; in linked_list_free() 72 free(list->first_item); in linked_list_free() 74 list->first_item = next; in linked_list_free() 93 list->first_item = new_item; in linked_list_add() 112 next_item = list->first_item; in linked_list_insert() 125 list->first_item = new_item; in linked_list_insert() 148 item = list->first_item; in linked_list_get() 200 list->first_item = next_item; in _linked_list_remove_item() 217 item = list->first_item; in linked_list_remove_at() [all …]
|
/dports/audio/spectmorph/spectmorph-0.5.2/glui/ |
H A D | smlistbox.hh | 15 int first_item = 0; member in SpectMorph::ListBox 28 first_item = lrint (pos * items.size()); in ListBox() 29 if (first_item < 0) in ListBox() 30 first_item = 0; in ListBox() 31 if (first_item > int (items.size()) - items_per_page) in ListBox() 32 first_item = items.size() - items_per_page; in ListBox() 52 first_item = 0; in update_item_count() 78 for (int i = first_item; i < first_item + items_per_page; i++) in draw() 105 … int new_highlight_item = sm_bound<int> (0, first_item + (event.y - px_starty) / 16, items.size()); in highlight_item_from_event()
|
H A D | smcombobox.hh | 34 int first_item; member 56 first_item = 0; in ComboBoxMenu() 61 … first_item = std::min (selected_item - items_per_page / 2, int (items.size()) - items_per_page); in ComboBoxMenu() 62 first_item = std::max (0, first_item); in ComboBoxMenu() 78 scroll_bar->set_pos (double (first_item) / items.size()); in ComboBoxMenu() 82 first_item = lrint (pos * items.size()); in ComboBoxMenu() 83 if (first_item < 0) in ComboBoxMenu() 84 first_item = 0; in ComboBoxMenu() 85 if (first_item > int (items.size()) - items_per_page) in ComboBoxMenu() 86 first_item = items.size() - items_per_page; in ComboBoxMenu() [all …]
|
/dports/chinese/libpinyin/libpinyin-2.3.0/utils/training/ |
H A D | merge_k_mixture_model.cpp | 46 KMixtureModelArrayItemWithToken * first_item, in merge_two_phrase_array() local 47 * second_item = first_item = NULL; in merge_two_phrase_array() 49 first_item = &g_array_index(first, KMixtureModelArrayItemWithToken, in merge_two_phrase_array() 53 if ( first_item->m_token > second_item->m_token ) { in merge_two_phrase_array() 56 } else if ( first_item->m_token < second_item->m_token ) { in merge_two_phrase_array() 57 g_array_append_val(merged, *first_item); in merge_two_phrase_array() 63 merged_item.m_item.m_WC = first_item->m_item.m_WC + in merge_two_phrase_array() 67 merged_item.m_item.m_N_n_0 = first_item->m_item.m_N_n_0 + in merge_two_phrase_array() 69 merged_item.m_item.m_n_1 = first_item->m_item.m_n_1 + in merge_two_phrase_array() 80 first_item = &g_array_index(first, KMixtureModelArrayItemWithToken, in merge_two_phrase_array() [all …]
|
/dports/dns/idnkit/idnkit-1.0-src/lib/ |
H A D | aliaslist.c | 99 (*listp)->first_item = NULL; in idn__aliaslist_create() 113 current = list->first_item; in idn__aliaslist_destroy() 173 int first_item) { in idn__aliaslist_additem() argument 174 if (first_item) { in idn__aliaslist_additem() 199 new_item->next = list->first_item; in additem_to_top() 200 list->first_item = new_item; in additem_to_top() 227 if (list->first_item == NULL) { in additem_to_bottom() 228 list->first_item = new_item; in additem_to_bottom() 230 aliasitem_t cur_item = list->first_item; in additem_to_bottom() 256 current = list->first_item; in idn__aliaslist_find() [all …]
|
/dports/dns/bind911/bind-9.11.37/contrib/idn/idnkit-1.0-src/lib/ |
H A D | aliaslist.c | 99 (*listp)->first_item = NULL; in idn__aliaslist_create() 113 current = list->first_item; in idn__aliaslist_destroy() 173 int first_item) { in idn__aliaslist_additem() argument 174 if (first_item) { in idn__aliaslist_additem() 199 new_item->next = list->first_item; in additem_to_top() 200 list->first_item = new_item; in additem_to_top() 227 if (list->first_item == NULL) { in additem_to_bottom() 228 list->first_item = new_item; in additem_to_bottom() 230 aliasitem_t cur_item = list->first_item; in additem_to_bottom() 256 current = list->first_item; in idn__aliaslist_find() [all …]
|
/dports/www/libwww/w3c-libwww-5.4.2/modules/idn/ |
H A D | aliaslist.c | 99 (*listp)->first_item = NULL; in idn__aliaslist_create() 113 current = list->first_item; in idn__aliaslist_destroy() 173 int first_item) { in idn__aliaslist_additem() argument 174 if (first_item) { in idn__aliaslist_additem() 199 new_item->next = list->first_item; in additem_to_top() 200 list->first_item = new_item; in additem_to_top() 227 if (list->first_item == NULL) { in additem_to_bottom() 228 list->first_item = new_item; in additem_to_bottom() 230 aliasitem_t cur_item = list->first_item; in additem_to_bottom() 256 current = list->first_item; in idn__aliaslist_find() [all …]
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/PMP/ |
H A D | Corefinement_plugin.cpp | 174 if(! CGAL::is_triangle_mesh(*first_item->face_graph())) { in apply_corefine_and_bool_op() 176 .arg(first_item->name())); in apply_corefine_and_bool_op() 193 P = *first_item->face_graph(), Q = *item->face_graph(); in apply_corefine_and_bool_op() 205 P = *first_item->polyhedron(), Q = *item->polyhedron(); in apply_corefine_and_bool_op() 217 std::swap(first_item, item); in apply_corefine_and_bool_op() 220 P = *first_item->polyhedron(), Q = *item->polyhedron(); in apply_corefine_and_bool_op() 238 first_item->invalidateOpenGLBuffers(); in apply_corefine_and_bool_op() 241 scene->itemChanged(first_item); in apply_corefine_and_bool_op() 245 new_item->setColor(first_item->color()); in apply_corefine_and_bool_op() 246 new_item->setRenderingMode(first_item->renderingMode()); in apply_corefine_and_bool_op() [all …]
|
/dports/games/quadra/quadra-1.3.0/skelton/common/ |
H A D | listbox.cpp | 46 first_item = 0; in Zone_listbox() 193 Listable *li = elements[i + first_item]; in sync_list() 214 first_item = 0; in clear() 223 if (*val >= first_item && *val < first_item + static_cast<int>(list.size())) { in unselect() 227 list[*val-first_item]->set_font(f); in unselect() 236 if (*val >= first_item && *val < first_item + static_cast<int>(list.size())) { in select() 237 list[*val-first_item]->set_font(font2); in select() 274 if(parent->first_item > 0) { in clicked() 275 parent->first_item--; in clicked() 287 parent->first_item++; in clicked() [all …]
|
/dports/games/alephone/alephone-release-20190331/changelogs/ |
H A D | Changes_(Ben_Thompson) | 23 preferences->input_device= GLOBAL_TO_LOCAL_DITL(item_hit, first_item)==iMOUSE_CONTROL ? 27 preferences->input_device= GLOBAL_TO_LOCAL_DITL(item_hit, first_item)==iMOUSE_CONTROL ? 28 _mouse_yaw_pitch : (GLOBAL_TO_LOCAL_DITL(item_hit, first_item)==iINPUT_SPROCKET_CONTROL ? 35 modify_radio_button_family(dialog, LOCAL_TO_GLOBAL_DITL(iMOUSE_CONTROL, first_item), 36 LOCAL_TO_GLOBAL_DITL(iKEYBOARD_CONTROL, first_item), 37 LOCAL_TO_GLOBAL_DITL(which, first_item)); 41 modify_radio_button_family(dialog, LOCAL_TO_GLOBAL_DITL(iMOUSE_CONTROL, first_item), 42 LOCAL_TO_GLOBAL_DITL(iINPUT_SPROCKET_CONTROL, first_item), 43 LOCAL_TO_GLOBAL_DITL(which, first_item));
|
/dports/x11/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.8/src/ |
H A D | greetermenubar.c | 145 GList *first_item = NULL; in greeter_menu_bar_size_allocate() local 152 first_item = expand_nums; in greeter_menu_bar_size_allocate() 153 max_size = requested_sizes[GPOINTER_TO_INT(first_item->data)].natural_size; in greeter_menu_bar_size_allocate() 163 while(first_item) in greeter_menu_bar_size_allocate() 172 … total_needed_size -= max_size - requested_sizes[GPOINTER_TO_INT(first_item->data)].natural_size; in greeter_menu_bar_size_allocate() 173 first_item = g_list_next(first_item); in greeter_menu_bar_size_allocate() 174 if(first_item) in greeter_menu_bar_size_allocate() 175 max_size = requested_sizes[GPOINTER_TO_INT(first_item->data)].natural_size; in greeter_menu_bar_size_allocate() 178 for(item = first_item; item; item = g_list_next(item)) in greeter_menu_bar_size_allocate()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/webui/downloads/ |
H A D | downloads_list_tracker_unittest.cc | 159 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 165 std::vector<uint64_t> expected = {first_item->GetId()}; in TEST_F() 187 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 188 tracker()->OnDownloadCreated(manager(), first_item); in TEST_F() 190 std::vector<uint64_t> expected = {first_item->GetId()}; in TEST_F() 195 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 202 tracker()->OnDownloadRemoved(manager(), first_item); in TEST_F() 209 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 217 DownloadItemModel(first_item).SetShouldShowInShelf(false); in TEST_F() 218 tracker()->OnDownloadUpdated(manager(), first_item); in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/downloads/ |
H A D | downloads_list_tracker_unittest.cc | 159 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 165 std::vector<uint64_t> expected = {first_item->GetId()}; in TEST_F() 187 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 188 tracker()->OnDownloadCreated(manager(), first_item); in TEST_F() 190 std::vector<uint64_t> expected = {first_item->GetId()}; in TEST_F() 195 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 202 tracker()->OnDownloadRemoved(manager(), first_item); in TEST_F() 209 DownloadItem* first_item = CreateNextItem(); in TEST_F() local 217 DownloadItemModel(first_item).SetShouldShowInShelf(false); in TEST_F() 218 tracker()->OnDownloadUpdated(manager(), first_item); in TEST_F() [all …]
|
/dports/ftp/bbftp-server/bbftp-server-3.2.1/gfw/ |
H A D | gfw-misc.c | 262 gfw_msgs_list *first_item; local 266 first_item = NULL; 279 if ( first_item == NULL ) { 280 first_item = new_msg ; 282 used_item = first_item ; 302 if ( first_item == NULL ) { 303 first_item = new_msg ; 305 used_item = first_item ; 312 *msgs = first_item;
|
/dports/ftp/bbftp-client/bbftp-client-3.2.1/gfw/ |
H A D | gfw-misc.c | 262 gfw_msgs_list *first_item; local 266 first_item = NULL; 279 if ( first_item == NULL ) { 280 first_item = new_msg ; 282 used_item = first_item ; 302 if ( first_item == NULL ) { 303 first_item = new_msg ; 305 used_item = first_item ; 312 *msgs = first_item;
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/lalrpop-0.17.2/src/parser/ |
H A D | test.rs | 20 let first_item = parsed.items.first().expect("has item"); in match_block() localVariable 21 match *first_item { in match_block() 23 _ => panic!("expected MatchToken, but was {:?}", first_item), in match_block() 47 let first_item = parsed.items.first().expect("has item"); in match_complex() localVariable 48 match *first_item { in match_complex() 98 _ => panic!("expected MatchToken, but was: {:?}", first_item), in match_complex()
|