Home
last modified time | relevance | path

Searched refs:nmodes (Results 1 – 5 of 5) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxmodes.c104 int nmodes=0; in CGX_GetVideoModes() local
124 for(i=0;i<nmodes;i++) in CGX_GetVideoModes()
133 nmodes++; in CGX_GetVideoModes()
135 SDL_modelist = (SDL_Rect **)SDL_realloc(SDL_modelist,(nmodes+1)*sizeof(SDL_Rect *)); in CGX_GetVideoModes()
136 SDL_modelist[nmodes]=NULL; in CGX_GetVideoModes()
140 SDL_modelist[nmodes-1] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in CGX_GetVideoModes()
142 if ( SDL_modelist[nmodes-1] == NULL ) in CGX_GetVideoModes()
145 SDL_modelist[nmodes-1]->x = 0; in CGX_GetVideoModes()
146 SDL_modelist[nmodes-1]->y = 0; in CGX_GetVideoModes()
147 SDL_modelist[nmodes-1]->w = info.Nominal.MaxX+1; in CGX_GetVideoModes()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_sysvideo.cc264 uint32 i, nmodes; in BE_VideoInit() local
290 bscreen.GetModeList(&modes, &nmodes); in BE_VideoInit()
291 SDL_qsort(modes, nmodes, sizeof *modes, CompareModes); in BE_VideoInit()
292 for ( i=0; i<nmodes; ++i ) { in BE_VideoInit()
351 uint32 i, nmodes; in BE_FindClosestFSMode() local
372 bscreen.GetModeList(&dmodes, &nmodes); in BE_FindClosestFSMode()
373 for ( i = 0; i < nmodes; ++i ) { in BE_FindClosestFSMode()
380 if ( i != nmodes ) { in BE_FindClosestFSMode()
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11modes.c108 int nmodes; in set_best_resolution() local
112 SDL_NAME(XF86VidModeGetAllModeLines)(SDL_Display,SDL_Screen,&nmodes,&modes) ) { in set_best_resolution()
113 for ( i = 0; i < nmodes ; i++ ) { in set_best_resolution()
489 int nmodes; in X11_GetVideoModes() local
636 SDL_NAME(XF86VidModeGetAllModeLines)(SDL_Display, SDL_Screen,&nmodes,&modes) ) in X11_GetVideoModes()
640 for ( i = 0; i < nmodes; ++i ) { in X11_GetVideoModes()
652 SDL_modelist = (SDL_Rect **)SDL_malloc((nmodes+2)*sizeof(SDL_Rect *)); in X11_GetVideoModes()
657 SDL_qsort(modes, nmodes, sizeof *modes, cmpmodes); in X11_GetVideoModes()
659 for ( i=0; i<nmodes; ++i ) { in X11_GetVideoModes()
/external/blktrace/btt/
Doutput.c394 int i, nmodes; in do_output_dip_seek_info() local
405 nmodes = seeki_mode(handle, &m); in do_output_dip_seek_info()
409 median, nmodes > 0 ? m.modes[0] : 0, m.most_seeks); in do_output_dip_seek_info()
410 if (nmodes > 2) in do_output_dip_seek_info()
411 fprintf(ofp, "\n%10s %15s %15s %15s ...(%d more)\n", "", "", "", "", nmodes-1); in do_output_dip_seek_info()
413 for (i = 1; i < nmodes; i++) in do_output_dip_seek_info()
424 nmodes > 0 ? m.modes[0] : 0, m.most_seeks); in do_output_dip_seek_info()
425 for (i = 1; i < nmodes; i++) in do_output_dip_seek_info()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c4833 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_add_11b() local
4849 nmodes = os_realloc(modes, (*num_modes + 1) * sizeof(*nmodes)); in wpa_driver_nl80211_add_11b()
4850 if (nmodes == NULL) in wpa_driver_nl80211_add_11b()
4853 mode = &nmodes[*num_modes]; in wpa_driver_nl80211_add_11b()
4856 modes = nmodes; in wpa_driver_nl80211_add_11b()