Home
last modified time | relevance | path

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

/third_party/libinput/src/
Devdev-tablet-pad-leds.c279 int nleds, nmodes; in pad_init_led_groups() local
301 nmodes = libwacom_get_ring_num_modes(wacom); in pad_init_led_groups()
302 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups()
308 nmodes = libwacom_get_ring2_num_modes(wacom); in pad_init_led_groups()
309 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups()
315 nmodes = libwacom_get_strips_num_modes(wacom); in pad_init_led_groups()
316 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups()
323 nmodes = libwacom_get_strips_num_modes(wacom); in pad_init_led_groups()
324 group = pad_group_new(pad, i, nmodes, syspath); in pad_init_led_groups()
/third_party/libinput/tools/
Dlibinput-list-devices.c248 int nbuttons, nrings, nstrips, ngroups, nmodes; in print_pad_info() local
257 nmodes = libinput_tablet_pad_mode_group_get_num_modes(group); in print_pad_info()
263 printf(" Mode groups: %d (%d modes)\n", ngroups, nmodes); in print_pad_info()
/third_party/ffmpeg/libavcodec/
Dvorbisenc.c133 int nmodes; member
442 venc->nmodes = 2; in create_vorbis_context()
443 venc->modes = av_malloc(sizeof(vorbis_enc_mode) * venc->nmodes); in create_vorbis_context()
717 put_bits(&pb, 6, venc->nmodes - 1); in put_main_header()
718 for (i = 0; i < venc->nmodes; i++) { in put_main_header()
1138 if (pb.size_in_bits - put_bits_count(&pb) < 1 + ilog(venc->nmodes - 1)) { in vorbis_encode_frame()
1145 put_bits(&pb, ilog(venc->nmodes - 1), 1); // Mode for current frame in vorbis_encode_frame()
/third_party/libinput/test/
Dtest-pad.c764 unsigned int nmodes, mode; in START_TEST() local
771 nmodes = libinput_tablet_pad_mode_group_get_num_modes(group); in START_TEST()
772 ck_assert_int_eq(nmodes, 1); in START_TEST()
775 ck_assert_int_lt(mode, nmodes); in START_TEST()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11modes.c824 int nmodes; in X11_GetDisplayModes() local
917 X11_XF86VidModeGetAllModeLines(display, data->vidmode_screen, &nmodes, &modes)) { in X11_GetDisplayModes()
923 for (i = 0; i < nmodes; ++i) { in X11_GetDisplayModes()
929 for (i = 0; i < nmodes; ++i) { in X11_GetDisplayModes()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_capa.c1756 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local
1790 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_nl80211_postprocess_modes()
1791 if (nmodes == NULL) in wpa_driver_nl80211_postprocess_modes()
1794 mode = &nmodes[*num_modes]; in wpa_driver_nl80211_postprocess_modes()
1797 modes = nmodes; in wpa_driver_nl80211_postprocess_modes()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_capa.c1984 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local
2039 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_nl80211_postprocess_modes()
2040 if (nmodes == NULL) in wpa_driver_nl80211_postprocess_modes()
2043 mode = &nmodes[*num_modes]; in wpa_driver_nl80211_postprocess_modes()
2046 modes = nmodes; in wpa_driver_nl80211_postprocess_modes()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_video.c731 int i, nmodes; in SDL_AddDisplayMode() local
735 nmodes = display->num_display_modes; in SDL_AddDisplayMode()
736 for (i = 0; i < nmodes; ++i) { in SDL_AddDisplayMode()
743 if (nmodes == display->max_display_modes) { in SDL_AddDisplayMode()
753 modes[nmodes] = *mode; in SDL_AddDisplayMode()