/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/trusted/service_runtime/ |
H A D | sel_mem.c | 64 entry->page_num = page_num; in NaClVmmapEntryMake() 353 ent->npages = page_num - ent->page_num; in NaClVmmapUpdate() 355 } else if (ent->page_num < page_num && page_num < ent_end_page) { in NaClVmmapUpdate() 357 ent->npages = page_num - ent->page_num; in NaClVmmapUpdate() 365 } else if (page_num <= ent->page_num && in NaClVmmapUpdate() 444 } else if (ent->page_num <= page_num && page_num < ent_end_page) { in NaClVmmapCheckExistingMapping() 451 } else if (page_num < ent->page_num) { in NaClVmmapCheckExistingMapping() 505 ent->npages = page_num - ent->page_num; in NaClVmmapChangeProt() 516 } else if (ent->page_num < page_num && page_num < ent_end_page) { in NaClVmmapChangeProt() 518 ent->npages = page_num - ent->page_num; in NaClVmmapChangeProt() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/dom_distiller/core/ |
H A D | distiller.cc | 94 waiting_pages_[page_num] = url; in AddToDistillationQueue() 128 int page_num = front->first; in DistillNextPage() local 149 int page_num, in OnPageDistillationFinished() argument 155 started_pages_index_.erase(page_num); in OnPageDistillationFinished() 170 << "started_pages_index_[" << page_num in OnPageDistillationFinished() 179 page_data->page_num = page_num; in OnPageDistillationFinished() 286 MaybeFetchImage(page_num, image_id, in OnPageDistillationFinished() 290 AddPageIfDone(page_num); in OnPageDistillationFinished() 351 AddPageIfDone(page_num); in OnFetchImageDone() 359 finished_pages_index_[page_num] = started_pages_index_[page_num]; in AddPageIfDone() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/dom_distiller/core/ |
H A D | distiller.cc | 95 waiting_pages_[page_num] = url; in AddToDistillationQueue() 129 int page_num = front->first; in DistillNextPage() local 150 int page_num, in OnPageDistillationFinished() argument 156 started_pages_index_.erase(page_num); in OnPageDistillationFinished() 171 << "started_pages_index_[" << page_num in OnPageDistillationFinished() 180 page_data->page_num = page_num; in OnPageDistillationFinished() 287 MaybeFetchImage(page_num, image_id, in OnPageDistillationFinished() 291 AddPageIfDone(page_num); in OnPageDistillationFinished() 352 AddPageIfDone(page_num); in OnFetchImageDone() 360 finished_pages_index_[page_num] = started_pages_index_[page_num]; in AddPageIfDone() [all …]
|
/dports/www/py-lektor/Lektor-3.2.2/tests/ |
H A D | test_pagination.py | 5 page1 = pad.get("/projects", page_num=1) 14 assert page1.page_num == 1 32 assert page2.page_num == 2 52 assert page_all.page_num is None 105 assert page1.page_num == 1 108 assert page2.page_num == 2 118 assert page2.page_num == 2 180 assert page1.page_num == 1 184 assert page2.page_num == 2 216 assert blog.page_num is None [all …]
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/machines/ |
H A D | spec_se.c | 139 int page_num = i * MEMORY_PAGES_IN_8K + j; in spec_se_reset() local 142 timex_dock[page_num].offset = j * MEMORY_PAGE_SIZE; in spec_se_reset() 143 timex_dock[page_num].page_num = i; in spec_se_reset() 144 timex_dock[page_num].contended = 0; in spec_se_reset() 145 timex_dock[page_num].writable = 1; in spec_se_reset() 146 timex_dock[page_num].save_to_snapshot = 1; in spec_se_reset() 147 timex_dock[page_num].source = memory_source_dock; in spec_se_reset() 151 timex_exrom[page_num].page_num = i; in spec_se_reset() 152 timex_exrom[page_num].contended = 0; in spec_se_reset() 153 timex_exrom[page_num].writable = 1; in spec_se_reset() [all …]
|
/dports/emulators/fuse/fuse-1.6.0/machines/ |
H A D | spec_se.c | 137 int page_num = i * MEMORY_PAGES_IN_8K + j; in spec_se_reset() local 140 timex_dock[page_num].offset = j * MEMORY_PAGE_SIZE; in spec_se_reset() 141 timex_dock[page_num].page_num = i; in spec_se_reset() 142 timex_dock[page_num].contended = 0; in spec_se_reset() 143 timex_dock[page_num].writable = 1; in spec_se_reset() 144 timex_dock[page_num].save_to_snapshot = 1; in spec_se_reset() 145 timex_dock[page_num].source = memory_source_dock; in spec_se_reset() 149 timex_exrom[page_num].page_num = i; in spec_se_reset() 150 timex_exrom[page_num].contended = 0; in spec_se_reset() 151 timex_exrom[page_num].writable = 1; in spec_se_reset() [all …]
|
/dports/sysutils/xfburn/xfburn-0.6.2/xfburn/ |
H A D | xfburn-compositions-notebook.c | 78 guint page_num; in cb_move_focus_out() local 80 page_num = gtk_notebook_get_current_page (notebook); in cb_move_focus_out() 81 DBG ("%d", page_num); in cb_move_focus_out() 110 guint page_num; in cb_composition_close() local 113 page_num = gtk_notebook_page_num (notebook, composition); in cb_composition_close() 114 gtk_notebook_remove_page (notebook, page_num); in cb_composition_close() 155 guint page_num; in add_composition_with_data() local 219 gint page_num; in xfburn_compositions_notebook_close_composition() local 222 if (page_num > 0) in xfburn_compositions_notebook_close_composition() 224 gtk_notebook_remove_page (GTK_NOTEBOOK (notebook), page_num); in xfburn_compositions_notebook_close_composition() [all …]
|
/dports/www/p5-HTML-FormHandler/HTML-FormHandler-0.40068/t/wizard/ |
H A D | basic.t | 52 like( $wizard->render, qr/\<input type="hidden" name="page_num" id="page_num" value="1" \/\>/, 'ren… 53 is( $wizard->field('page_num')->value, 1, 'wizard is on first page' ); 55 $wizard->process( params => { foo => 'test123', page_num => 1 } ); 56 is( $wizard->field('page_num')->value, 2, 'wizard is on second page' ); 57 like( $wizard->render, qr/\<input type="hidden" name="page_num" id="page_num" value="2" \/\>/, 'ren… 58 is_deeply( $stash, { foo => 'test123', page_num => 1 }, 'values saved' ); 60 $wizard->process( params => { bar => 'xxxxx', page_num => 2 } ); 61 is( $wizard->field('page_num')->value, 3, 'wizard is on third page' ); 62 like( $wizard->render, qr/\<input type="hidden" name="page_num" id="page_num" value="3" \/\>/, 'ren… 63 is_deeply( $stash, { foo => 'test123', page_num => 2, bar => 'xxxxx' }, 'values saved' ); [all …]
|
/dports/mail/py-django-mailman3/django-mailman3-1.3.7/django_mailman3/lib/ |
H A D | paginator.py | 59 def paginate(objects=None, page_num=None, results_per_page=None, argument 62 page_num = int(page_num) 64 page_num = 1 71 objects = paginator.page(page_num) 81 subrange_lower = page_num - int(max_page_range / 2 - 2) 87 list(range(subrange_lower, page_num))) 88 if page_num != 1 and page_num != paginator.num_pages: 89 paginator.page_range_ellipsis.append(page_num) 90 subrange_upper = page_num + int(max_page_range / 2 - 2) 94 list(range(page_num+1, subrange_upper+1)))
|
/dports/www/py-django-mezzanine-filebrowser/filebrowser_safe-0.5.0/filebrowser_safe/templatetags/ |
H A D | fb_pagination.py | 14 page_num = context['page'].number - 1 32 if page_num > (ON_EACH_SIDE + ON_ENDS): 35 page_range.extend(list(range(page_num - ON_EACH_SIDE, page_num + 1))) 37 page_range.extend(list(range(0, page_num + 1))) 38 if page_num < (paginator.num_pages - ON_EACH_SIDE - ON_ENDS - 1): 39 page_range.extend(list(range(page_num + 1, page_num + ON_EACH_SIDE + 1))) 43 page_range.extend(list(range(page_num + 1, paginator.num_pages))) 47 'page_num': page_num,
|
/dports/graphics/djvulibre/djvulibre-3.5.28/libdjvu/ |
H A D | DjVuDocEditor.cpp | 203 for(int page_num=0;page_num<pages_num;page_num++) in init() local 343 if (page_num<0 || page_num>=get_pages_num()) in page_to_id() 836 for(int page_num=0;page_num<pages_num;page_num++) in insert_group() 1039 for(int page_num=0;page_num<pages_num;page_num++) in remove_file() local 1158 if (page_num<0 || page_num>=pages_num) in move_page() 1302 if (page_num<0 || page_num>=get_pages_num()) in set_page_name() 1356 for(int page_num=0;page_num<pages_num;page_num++) in simplify_anno() local 1454 for(int page_num=0;page_num<pages_num;page_num++) in create_shared_anno_file() local 1517 for(int page_num=0;page_num<pages_num;page_num++) in get_thumbnails_num() local 1534 for(int page_num=0;page_num<pages_num;page_num++) in get_thumbnails_size() local [all …]
|
/dports/deskutils/gnome-documents/gnome-documents-3.34.0/src/lib/ |
H A D | gd-bookmark.c | 36 guint page_num; member 49 if (a->page_num < b->page_num) { in G_DEFINE_TYPE() 52 if (a->page_num > b->page_num) { in G_DEFINE_TYPE() 81 return bookmark->page_num; in gd_bookmark_get_page_number() 86 guint page_num) in gd_bookmark_set_page_number() argument 88 if (page_num == bookmark->page_num) { in gd_bookmark_set_page_number() 92 bookmark->page_num = page_num; in gd_bookmark_set_page_number() 124 g_value_set_uint (value, self->page_num); in gd_bookmark_get_property()
|
/dports/devel/allegro/allegro-4.4.3.1/examples/ |
H A D | exaccel.c | 69 int page_num = 1; local 122 acquire_bitmap(page[page_num]); 125 clear_bitmap(page[page_num]); 129 blit(vimage, page[page_num], 0, 0, images[i].x, images[i].y, 132 textprintf_ex(page[page_num], font, 0, 0, 255, -1, 137 textout_ex(page[page_num], font, "Clear: hardware accelerated", 140 textout_ex(page[page_num], font, "Clear: software (urgh, this " 144 textout_ex(page[page_num], font, "Blit: hardware accelerated", 151 release_bitmap(page[page_num]); 154 show_video_bitmap(page[page_num]); [all …]
|
/dports/textproc/meld/meld-3.20.4/meld/ui/ |
H A D | notebook.py | 111 def do_tab_switch(self, page_num): argument 112 self.set_current_page(page_num) 139 page_num = self.get_current_page() 140 child = self.get_nth_page(page_num) 141 page_num = page_num - 1 if page_num > 0 else 0 142 self.reorder_child(child, page_num) 145 page_num = self.get_current_page() 146 child = self.get_nth_page(page_num) 147 self.reorder_child(child, page_num + 1) 149 def on_page_added(self, notebook, child, page_num, *args): argument [all …]
|
/dports/devel/devhelp/devhelp-41.2/devhelp/ |
H A D | dh-notebook.c | 120 guint page_num) in dh_notebook_page_added() argument 131 guint page_num) in dh_notebook_page_removed() argument 242 gint page_num; in dh_notebook_open_new_tab() local 260 page_num = gtk_notebook_append_page (GTK_NOTEBOOK (notebook), in dh_notebook_open_new_tab() 271 gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), page_num); in dh_notebook_open_new_tab() 289 gint page_num; in dh_notebook_get_active_tab() local 293 page_num = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook)); in dh_notebook_get_active_tab() 294 if (page_num == -1) in dh_notebook_get_active_tab() 297 return DH_TAB (gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), page_num)); in dh_notebook_get_active_tab() 330 gint page_num; in dh_notebook_get_all_web_views() local [all …]
|
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/xetexdir/ |
H A D | pdfimage.cpp | 53 pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) in pdf_get_rect() argument 72 if (page_num > pages) in pdf_get_rect() 73 page_num = pages; in pdf_get_rect() 74 if (page_num < 0) in pdf_get_rect() 75 page_num = pages + 1 + page_num; in pdf_get_rect() 76 if (page_num < 1) in pdf_get_rect() 77 page_num = 1; in pdf_get_rect() 79 Page* page = doc->getCatalog()->getPage(page_num); in pdf_get_rect()
|
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/xetexdir/ |
H A D | pdfimage.cpp | 53 pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) in pdf_get_rect() argument 72 if (page_num > pages) in pdf_get_rect() 73 page_num = pages; in pdf_get_rect() 74 if (page_num < 0) in pdf_get_rect() 75 page_num = pages + 1 + page_num; in pdf_get_rect() 76 if (page_num < 1) in pdf_get_rect() 77 page_num = 1; in pdf_get_rect() 79 Page* page = doc->getCatalog()->getPage(page_num); in pdf_get_rect()
|
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/xetexdir/ |
H A D | pdfimage.cpp | 53 pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) in pdf_get_rect() argument 72 if (page_num > pages) in pdf_get_rect() 73 page_num = pages; in pdf_get_rect() 74 if (page_num < 0) in pdf_get_rect() 75 page_num = pages + 1 + page_num; in pdf_get_rect() 76 if (page_num < 1) in pdf_get_rect() 77 page_num = 1; in pdf_get_rect() 79 Page* page = doc->getCatalog()->getPage(page_num); in pdf_get_rect()
|
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/xetexdir/ |
H A D | pdfimage.cpp | 53 pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) in pdf_get_rect() argument 72 if (page_num > pages) in pdf_get_rect() 73 page_num = pages; in pdf_get_rect() 74 if (page_num < 0) in pdf_get_rect() 75 page_num = pages + 1 + page_num; in pdf_get_rect() 76 if (page_num < 1) in pdf_get_rect() 77 page_num = 1; in pdf_get_rect() 79 Page* page = doc->getCatalog()->getPage(page_num); in pdf_get_rect()
|
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/xetexdir/ |
H A D | pdfimage.cpp | 53 pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) in pdf_get_rect() argument 72 if (page_num > pages) in pdf_get_rect() 73 page_num = pages; in pdf_get_rect() 74 if (page_num < 0) in pdf_get_rect() 75 page_num = pages + 1 + page_num; in pdf_get_rect() 76 if (page_num < 1) in pdf_get_rect() 77 page_num = 1; in pdf_get_rect() 79 Page* page = doc->getCatalog()->getPage(page_num); in pdf_get_rect()
|
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/xetexdir/ |
H A D | pdfimage.cpp | 53 pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) in pdf_get_rect() argument 72 if (page_num > pages) in pdf_get_rect() 73 page_num = pages; in pdf_get_rect() 74 if (page_num < 0) in pdf_get_rect() 75 page_num = pages + 1 + page_num; in pdf_get_rect() 76 if (page_num < 1) in pdf_get_rect() 77 page_num = 1; in pdf_get_rect() 79 Page* page = doc->getCatalog()->getPage(page_num); in pdf_get_rect()
|
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/xetexdir/ |
H A D | pdfimage.cpp | 53 pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box) in pdf_get_rect() argument 72 if (page_num > pages) in pdf_get_rect() 73 page_num = pages; in pdf_get_rect() 74 if (page_num < 0) in pdf_get_rect() 75 page_num = pages + 1 + page_num; in pdf_get_rect() 76 if (page_num < 1) in pdf_get_rect() 77 page_num = 1; in pdf_get_rect() 79 Page* page = doc->getCatalog()->getPage(page_num); in pdf_get_rect()
|
/dports/emulators/fuse/fuse-1.6.0/ |
H A D | memory_pages.c | 134 page->page_num = i; in memory_init() 287 int page_num, int map_read, int map_write ) in memory_map_16k_read_write() argument 305 int page_num, int map_read, int map_write ) in memory_map_8k_read_write() argument 315 int page_num, int map_read, int map_write ) in memory_map_4k_read_write() argument 325 int page_num, int map_read, int map_write ) in memory_map_2k_read_write() argument 339 memory_map_page( memory_page *source[], int page_num ) in memory_map_page() argument 341 memory_map_read[ page_num ] = memory_map_write[ page_num ] = in memory_map_page() 342 *source[ page_num ]; in memory_map_page() 445 ( mapping->page_num == 5 || mapping->page_num == 4 ) ) || in memory_display_dirty_pentagon_16_col() 447 ( mapping->page_num == 7 || mapping->page_num == 6 ) ) ) && in memory_display_dirty_pentagon_16_col() [all …]
|
/dports/x11/guake/Guake-3.4.0/guake/ |
H A D | notebook.py | 128 for page_num in range(self.get_n_pages()): 132 for page_num in range(self.get_n_pages()): 133 yield self.get_nth_page(page_num) 136 if page_num >= self.get_n_pages() or page_num < 0: 154 def remove_page(self, page_num): argument 155 super().remove_page(page_num) 175 page_num = self.append_page(root_terminal_box, None) 181 return root_terminal_box, page_num, terminal 204 box, page_num, terminal = self.new_page() 205 self.set_current_page(page_num) [all …]
|
/dports/devel/openocd/openocd-0.11.0/contrib/loaders/flash/at91sam7x/ |
H A D | samflash.c | 74 int flash_page_program(uint32 *data, int page_num) in flash_page_program() argument 83 if (page_num >= 1024) efc_ofs = 0x10; in flash_page_program() 91 flash_ptr = (uint32 *)(FLASH_AREA_ADDR + (page_num*flash_page_size)); in flash_page_program() 101 outr(MC_FCR + efc_ofs, ((page_num&0x3ff) << 8) | MC_KEY | MC_FCMD_WP); in flash_page_program() 112 flash_ptr = (uint32 *)(FLASH_AREA_ADDR + (page_num*flash_page_size)); in flash_page_program() 127 int page_num; in flash_erase_plane() local 129 page_num = 0; in flash_erase_plane() 137 outr(MC_FCR + efc_ofs, ((page_num&0x3ff) << 8) | 0x5a000004); in flash_erase_plane() 147 if ((page_num += flash_lock_pages) > flash_page_count) break; in flash_erase_plane()
|