/dports/devel/sdl12/SDL-1.2.15/src/video/photon/ |
H A D | SDL_ph_modes.c | 27 static PgVideoModes_t mode_list; variable 69 if (PgGetVideoModeList(&mode_list) < 0) in ph_ListModes() 77 for (i=0; i < mode_list.num_modes; i++) in ph_ListModes() 121 if (PgGetVideoModeList(&mode_list) < 0) in ph_GetVideoMode() 133 for (i=0; i<mode_list.num_modes; i++) in ph_GetVideoMode() 143 return mode_list.modes[i]; in ph_GetVideoMode() 162 return (i == mode_list.num_modes) ? 0 : mode_list.modes[i]; in ph_GetVideoMode() 176 SDL_qsort(mode_list.modes, mode_list.num_modes, sizeof(unsigned short), compare_modes_by_res); in get_mode_any_format() 178 for(i=0;i<mode_list.num_modes;i++) in get_mode_any_format() 190 if (i<mode_list.num_modes) in get_mode_any_format() [all …]
|
/dports/graphics/svgalib/svgalib-1.4.3/src/ |
H A D | vesa.c | 364 short int *mode_list; in vesa_init() local 429 while (*mode_list != -1) { in vesa_init() 433 vesa_r.ecx = *mode_list; in vesa_init() 456 SVGALIB_VESA[i]=*mode_list; in vesa_init() 518 case 5:SVGALIB_VESA[i]=*mode_list; break; in vesa_init() 519 case 6:SVGALIB_VESA[i+1]=*mode_list; break; in vesa_init() 527 SVGALIB_VESA[G320x200x256]=*mode_list; break; in vesa_init() 530 SVGALIB_VESA[G320x240x256]=*mode_list; in vesa_init() 535 SVGALIB_VESA[G400x300x256]=*mode_list; break; in vesa_init() 537 SVGALIB_VESA[G512x384x256]=*mode_list; break; in vesa_init() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/qnx/ |
H A D | qphfull.c | 179 PgVideoModes_t mode_list; in find_video_mode() local 192 return mode_list.modes[i]; in find_video_mode() 207 GFX_MODE_LIST *mode_list; in qnx_ph_fetch_mode_list() local 216 if (!mode_list) in qnx_ph_fetch_mode_list() 220 if (!mode_list->mode) { in qnx_ph_fetch_mode_list() 221 _AL_FREE(mode_list); in qnx_ph_fetch_mode_list() 235 mode_list->mode[count].width = 0; in qnx_ph_fetch_mode_list() 236 mode_list->mode[count].height = 0; in qnx_ph_fetch_mode_list() 237 mode_list->mode[count].bpp = 0; in qnx_ph_fetch_mode_list() 239 mode_list->num_modes = count; in qnx_ph_fetch_mode_list() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/beos/ |
H A D | bwscreen.cpp | 189 GFX_MODE_LIST *mode_list; in be_gfx_bwindowscreen_fetch_mode_list() local 196 if (!mode_list) { in be_gfx_bwindowscreen_fetch_mode_list() 200 mode_list->mode = NULL; in be_gfx_bwindowscreen_fetch_mode_list() 224 mode_list->mode = (GFX_MODE *)realloc(mode_list->mode, sizeof(GFX_MODE) * (num_modes + 1)); in be_gfx_bwindowscreen_fetch_mode_list() 225 if (!mode_list->mode) { in be_gfx_bwindowscreen_fetch_mode_list() 235 mode_list->mode = (GFX_MODE *)realloc(mode_list->mode, sizeof(GFX_MODE) * (num_modes + 1)); in be_gfx_bwindowscreen_fetch_mode_list() 236 if (!mode_list->mode) { in be_gfx_bwindowscreen_fetch_mode_list() 240 mode_list->mode[num_modes].width = 0; in be_gfx_bwindowscreen_fetch_mode_list() 242 mode_list->mode[num_modes].bpp = 0; in be_gfx_bwindowscreen_fetch_mode_list() 243 mode_list->num_modes = num_modes; in be_gfx_bwindowscreen_fetch_mode_list() [all …]
|
/dports/graphics/svgalib/svgalib-1.4.3/lrmi-0.6m/ |
H A D | vbetest.c | 230 short int *mode_list; in main() local 279 mode_list = (short int *)(vbe.info->video_mode_list_seg * 16 + vbe.info->video_mode_list_off); in main() 281 while (*mode_list != -1) in main() 286 r.ecx = *mode_list; in main() 298 *mode_list, in main() 306 *mode_list, in main() 311 *mode_list, in main() 317 *mode_list, in main() 321 *mode_list, in main() 325 mode_list++; in main()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/iio/adc/ |
H A D | max1363.c | 1060 .mode_list = max1363_mode_list, 1070 .mode_list = max1363_mode_list, 1080 .mode_list = max1363_mode_list, 1090 .mode_list = max1363_mode_list, 1100 .mode_list = max1236_mode_list, 1110 .mode_list = max1236_mode_list, 1120 .mode_list = max1238_mode_list, 1130 .mode_list = max1238_mode_list, 1140 .mode_list = max1236_mode_list, 1150 .mode_list = max1236_mode_list, [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/iio/adc/ |
H A D | max1363.c | 1060 .mode_list = max1363_mode_list, 1070 .mode_list = max1363_mode_list, 1080 .mode_list = max1363_mode_list, 1090 .mode_list = max1363_mode_list, 1100 .mode_list = max1236_mode_list, 1110 .mode_list = max1236_mode_list, 1120 .mode_list = max1238_mode_list, 1130 .mode_list = max1238_mode_list, 1140 .mode_list = max1236_mode_list, 1150 .mode_list = max1236_mode_list, [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/iio/adc/ |
H A D | max1363.c | 1060 .mode_list = max1363_mode_list, 1070 .mode_list = max1363_mode_list, 1080 .mode_list = max1363_mode_list, 1090 .mode_list = max1363_mode_list, 1100 .mode_list = max1236_mode_list, 1110 .mode_list = max1236_mode_list, 1120 .mode_list = max1238_mode_list, 1130 .mode_list = max1238_mode_list, 1140 .mode_list = max1236_mode_list, 1150 .mode_list = max1236_mode_list, [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/linux/ |
H A D | svgalib.c | 625 GFX_MODE_LIST *mode_list; 640 mode_list = _AL_MALLOC(sizeof(GFX_MODE_LIST)); 641 if (!mode_list) 645 if (!mode_list->mode) { 646 _AL_FREE(mode_list); 661 mode_list->mode[count].bpp = bpp; 665 mode_list->mode[count].width = 0; 666 mode_list->mode[count].height = 0; 667 mode_list->mode[count].bpp = 0; 669 mode_list->num_modes = count; [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/ |
H A D | modesel.c | 59 MODE_LIST *mode_list; member 239 int width = driver_list[d->d1].mode_list[d->d2].w; in change_proc() 240 int height = driver_list[d->d1].mode_list[d->d2].h; in change_proc() 257 if (driver_list[d->d1].mode_list[i].w == width && in change_proc() 376 driver_list_entry->mode_list = default_mode_list; in create_mode_list() 405 driver_list_entry->mode_list = temp_mode_list; in create_mode_list() 431 driver_list_entry->mode_list = temp_mode_list; in create_mode_list() 491 ASSERT(driver_list[list_pos].mode_list == NULL); in create_driver_list() 512 _AL_FREE(driver_list[driver].mode_list); in destroy_driver_list() 556 driver_list[entry].mode_list[index].w, driver_list[entry].mode_list[index].h); in gfx_mode_getter() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/misc/ |
H A D | vga.c | 350 GFX_MODE_LIST *mode_list; in vga_fetch_mode_list() local 352 mode_list = _AL_MALLOC(sizeof(GFX_MODE_LIST)); in vga_fetch_mode_list() 353 if (!mode_list) return NULL; in vga_fetch_mode_list() 355 mode_list->mode = _AL_MALLOC(sizeof(vga_gfx_modes)); in vga_fetch_mode_list() 356 if (!mode_list->mode) return NULL; in vga_fetch_mode_list() 358 memcpy(mode_list->mode, vga_gfx_modes, sizeof(vga_gfx_modes)); in vga_fetch_mode_list() 359 mode_list->num_modes = sizeof(vga_gfx_modes) / sizeof(GFX_MODE) - 1; in vga_fetch_mode_list() 361 return mode_list; in vga_fetch_mode_list()
|
/dports/devel/allegro/allegro-4.4.3.1/addons/allegrogl/src/ |
H A D | win.c | 1756 GFX_MODE_LIST *mode_list; in allegro_gl_win_fetch_mode_list() local 1763 if (!mode_list) { in allegro_gl_win_fetch_mode_list() 1771 if (!mode_list->mode) { in allegro_gl_win_fetch_mode_list() 1772 free(mode_list); in allegro_gl_win_fetch_mode_list() 1775 mode_list->mode[0].width = 0; in allegro_gl_win_fetch_mode_list() 1777 mode_list->mode[0].bpp = 0; in allegro_gl_win_fetch_mode_list() 1778 mode_list->num_modes = 0; in allegro_gl_win_fetch_mode_list() 1783 mode_list->mode = realloc(mode_list->mode, in allegro_gl_win_fetch_mode_list() 1785 if (!mode_list->mode) { in allegro_gl_win_fetch_mode_list() 1786 free(mode_list); in allegro_gl_win_fetch_mode_list() [all …]
|
/dports/www/luakit/luakit-2.3/build-utils/docgen/ |
H A D | process.lua | 22 local mode_list = modes.get_modes() 23 for mode_name in pairs(mode_list) do 37 local mode_list = modes.get_modes() 38 for mode_name in pairs(mode_list) do
|
/dports/www/luakit-devel/luakit-2.3-20-g4b10e55/build-utils/docgen/ |
H A D | process.lua | 22 local mode_list = modes.get_modes() 23 for mode_name in pairs(mode_list) do 37 local mode_list = modes.get_modes() 38 for mode_name in pairs(mode_list) do
|
/dports/www/luakit/luakit-2.3/tests/async/ |
H A D | test_module_binds_have_descriptions.lua | 13 local mode_list = modes.get_modes() 14 for mode_name in pairs(mode_list) do 30 local mode_list = modes.get_modes() 31 for mode_name in pairs(mode_list) do
|
/dports/www/luakit-devel/luakit-2.3-20-g4b10e55/tests/async/ |
H A D | test_module_binds_have_descriptions.lua | 13 local mode_list = modes.get_modes() 14 for mode_name in pairs(mode_list) do 30 local mode_list = modes.get_modes() 31 for mode_name in pairs(mode_list) do
|
/dports/devel/allegro/allegro-4.4.3.1/src/x/ |
H A D | xdga2.c | 147 GFX_MODE_LIST *mode_list; in _xdga2_private_fetch_mode_list() local 155 if (!mode_list) in _xdga2_private_fetch_mode_list() 157 mode_list->mode = NULL; in _xdga2_private_fetch_mode_list() 175 mode_list->mode = tmp; in _xdga2_private_fetch_mode_list() 186 mode_list->mode = tmp; in _xdga2_private_fetch_mode_list() 189 mode_list->mode[stored_modes].bpp = 0; in _xdga2_private_fetch_mode_list() 190 mode_list->num_modes = stored_modes; in _xdga2_private_fetch_mode_list() 193 return mode_list; in _xdga2_private_fetch_mode_list() 196 if (mode_list) { in _xdga2_private_fetch_mode_list() 197 _AL_FREE(mode_list->mode); in _xdga2_private_fetch_mode_list() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/dos/ |
H A D | vesa.c | 613 GFX_MODE_LIST *mode_list; in vesa_fetch_mode_list() local 619 if (!mode_list) return NULL; in vesa_fetch_mode_list() 628 for (mode_list->num_modes = 0; _farnspeekw(mode_ptr) != 0xFFFF; mode_list->num_modes++) in vesa_fetch_mode_list() 641 vesa_list_length = mode_list->num_modes; in vesa_fetch_mode_list() 648 mode_list->num_modes--; in vesa_fetch_mode_list() 653 mode_list->mode = _AL_MALLOC(sizeof(GFX_MODE) * (mode_list->num_modes + 1)); in vesa_fetch_mode_list() 654 if (!mode_list->mode) return NULL; in vesa_fetch_mode_list() 668 mode_list->mode[mode_list->num_modes].width = 0; in vesa_fetch_mode_list() 669 mode_list->mode[mode_list->num_modes].height = 0; in vesa_fetch_mode_list() 670 mode_list->mode[mode_list->num_modes].bpp = 0; in vesa_fetch_mode_list() [all …]
|
/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/BIKPlayer/ |
H A D | BIKPlayer.cpp | 687 int mode_list[128]; in read_dct_coeffs() local 695 mode_list[list_end++] = ( 4 << 2) | 0; in read_dct_coeffs() 711 ccoef = mode_list[list_pos] >> 2; in read_dct_coeffs() 712 mode = mode_list[list_pos] & 3; in read_dct_coeffs() 719 mode_list[list_pos++] = 0; in read_dct_coeffs() 756 mode_list[list_pos++] = 0; in read_dct_coeffs() 785 int mode_list[128]; in read_residue() local 814 ccoef = mode_list[list_pos] >> 2; in read_residue() 815 mode = mode_list[list_pos] & 3; in read_residue() 822 mode_list[list_pos++] = 0; in read_residue() [all …]
|
/dports/misc/e2fsprogs-libblkid/e2fsprogs-1.46.5/lib/e2p/ |
H A D | crypto_mode.c | 27 static struct mode mode_list[] = { variable 40 for (p = mode_list; p->string; p++) { in e2p_encmode2string() 57 for (p = mode_list; p->string; p++) { in e2p_string2encmode()
|
/dports/misc/e2fsprogs-libuuid/e2fsprogs-1.46.5/lib/e2p/ |
H A D | crypto_mode.c | 27 static struct mode mode_list[] = { variable 40 for (p = mode_list; p->string; p++) { in e2p_encmode2string() 57 for (p = mode_list; p->string; p++) { in e2p_string2encmode()
|
/dports/sysutils/e2fsprogs/e2fsprogs-1.46.5/lib/e2p/ |
H A D | crypto_mode.c | 27 static struct mode mode_list[] = { variable 40 for (p = mode_list; p->string; p++) { in e2p_encmode2string() 57 for (p = mode_list; p->string; p++) { in e2p_string2encmode()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | bink.c | 608 int mode_list[128]; in read_dct_coeffs() local 631 mode = mode_list[list_pos]; in read_dct_coeffs() 635 mode_list[list_pos] = 1; in read_dct_coeffs() 639 mode_list[list_pos++] = 0; in read_dct_coeffs() 659 mode_list[list_pos] = 2; in read_dct_coeffs() 677 mode_list[list_pos++] = 0; in read_dct_coeffs() 715 int mode_list[128]; in read_residue() local 745 mode = mode_list[list_pos]; in read_residue() 749 mode_list[list_pos] = 1; in read_residue() 770 mode_list[list_pos] = 2; in read_residue() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | bink.c | 617 int mode_list[128]; in read_dct_coeffs() local 638 mode = mode_list[list_pos]; in read_dct_coeffs() 642 mode_list[list_pos] = 1; in read_dct_coeffs() 646 mode_list[list_pos++] = 0; in read_dct_coeffs() 666 mode_list[list_pos] = 2; in read_dct_coeffs() 684 mode_list[list_pos++] = 0; in read_dct_coeffs() 728 int mode_list[128]; in read_residue() local 758 mode = mode_list[list_pos]; in read_residue() 762 mode_list[list_pos] = 1; in read_residue() 783 mode_list[list_pos] = 2; in read_residue() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | bink.c | 608 int mode_list[128]; in read_dct_coeffs() local 631 mode = mode_list[list_pos]; in read_dct_coeffs() 635 mode_list[list_pos] = 1; in read_dct_coeffs() 639 mode_list[list_pos++] = 0; in read_dct_coeffs() 659 mode_list[list_pos] = 2; in read_dct_coeffs() 677 mode_list[list_pos++] = 0; in read_dct_coeffs() 715 int mode_list[128]; in read_residue() local 745 mode = mode_list[list_pos]; in read_residue() 749 mode_list[list_pos] = 1; in read_residue() 770 mode_list[list_pos] = 2; in read_residue() [all …]
|