Home
last modified time | relevance | path

Searched refs:nports (Results 1 – 16 of 16) sorted by relevance

/third_party/ffmpeg/libavdevice/
Djack.c51 int nports; member
96 for (i = 0; i < self->nports; i++) { in process_callback()
102 pkt_data[j * self->nports + i] = buffer[j]; in process_callback()
106 pkt.pts = (cycle_time - (double) latency / (self->nports * self->sample_rate)) * 1000000.0; in process_callback()
132 int test, pkt_size = self->buffer_size * self->nports * sizeof(float); in supply_new_packets()
163 self->ports = av_malloc_array(self->nports, sizeof(*self->ports)); in start_jack()
169 for (i = 0; i < self->nports; i++) { in start_jack()
258 stream->codecpar->channels = self->nports; in audio_read_header()
333 …{ "channels", "Number of audio channels.", OFFSET(nports), AV_OPT_TYPE_INT, { .i64 = 2 }, 1, INT_M…
/third_party/FreeBSD/sys/dev/usb/
Dusb_hub.c339 for (x = 0; x != udev->hub->nports; x++) { in uhub_reset_tt_callback()
396 for (x = 0; x != hub->nports; x++) { in uhub_count_active_host_ports()
519 if (hub->nports == 1) in uhub_explore_sub()
1087 for (x = 0; x != hub->nports; x++) { in uhub_explore()
1201 uint8_t nports; in uhub_query_info() local
1207 nports = 0; in uhub_query_info()
1221 nports = hubdesc20.bNbrPorts; in uhub_query_info()
1222 if (nports > 127) in uhub_query_info()
1223 nports = 127; in uhub_query_info()
1236 nports = hubdesc30.bNbrPorts; in uhub_query_info()
[all …]
Dusb_request.h60 uint8_t nports);
63 uint8_t nports);
Dusb_hub.h58 uint8_t nports; member
Dusb_request.c1436 struct usb_hub_descriptor *hd, uint8_t nports) in usbd_req_get_hub_descriptor() argument
1439 uint16_t len = (nports + 7 + (8 * 8)) / 8; in usbd_req_get_hub_descriptor()
1458 struct usb_hub_ss_descriptor *hd, uint8_t nports) in usbd_req_get_ss_hub_descriptor() argument
1461 uint16_t len = sizeof(*hd) - 32 + 1 + ((nports + 7) / 8); in usbd_req_get_ss_hub_descriptor()
Dusb_generic.c1942 if (port_no > hub->nports) { in ugen_do_port_feature()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/haiku/
DSDL_haikujoystick.cc63 int32 nports; in SDL_SYS_JoystickInit() local
67 nports = joystick.CountDevices(); in SDL_SYS_JoystickInit()
71 for (i = 0; (SDL_SYS_numjoysticks < MAX_JOYSTICKS) && (i < nports); ++i) in SDL_SYS_JoystickInit()
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/
Dentrypoint.c107 h264d_role.nports = 2; in OMX_ComponentInit()
114 h264e_role.nports = 2; in OMX_ComponentInit()
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c679 int error, type, nports; in u3g_attach() local
716 nports = 0; /* number of ports */ in u3g_attach()
729 sc->sc_xfer[nports], u3g_config_tmp, U3G_N_TRANSFER, in u3g_attach()
730 &sc->sc_ucom[nports], &sc->sc_mtx); in u3g_attach()
740 sc->sc_iface[nports] = id->bInterfaceNumber; in u3g_attach()
742 nports++; /* found one port */ in u3g_attach()
744 if (nports == U3G_MAXPORTS) in u3g_attach()
747 if (nports == 0) { in u3g_attach()
751 sc->sc_numports = nports; in u3g_attach()
/third_party/grpc/src/core/lib/iomgr/
Dtcp_server_posix.cc102 s->nports = 0; in tcp_server_create()
136 if (s->destroyed_ports == s->nports) { in destroyed_port()
140 GPR_ASSERT(s->destroyed_ports < s->nports); in destroyed_port()
368 listener->server->nports++; in clone_port()
Dtcp_server_utils_posix.h77 unsigned nports; member
Dtcp_server_utils_posix_common.cc97 s->nports++; in add_socket_to_server()
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.h422 uint8_t nports; member
Dxhci.c2586 if ((sc->sc_hw.devs[index].nports != 0) && in xhci_configure_device()
2606 is_hub = sc->sc_hw.devs[index].nports != 0 && in xhci_configure_device()
2619 sc->sc_hw.devs[index].nports); in xhci_configure_device()
4214 err = uhub_query_info(udev, &sc->sc_hw.devs[index].nports, in xhci_device_state_change()
4217 sc->sc_hw.devs[index].nports = 0; in xhci_device_state_change()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig.c3164 int *ports, *nports; in wpa_config_set_cred_req_conn_capab() local
3194 nports = os_realloc_array(ports, num_ports + 1, sizeof(int)); in wpa_config_set_cred_req_conn_capab()
3195 if (nports == NULL) { in wpa_config_set_cred_req_conn_capab()
3199 ports = nports; in wpa_config_set_cred_req_conn_capab()
3208 nports = os_realloc_array(ports, num_ports + 1, sizeof(int)); in wpa_config_set_cred_req_conn_capab()
3209 if (nports == NULL) { in wpa_config_set_cred_req_conn_capab()
3213 ports = nports; in wpa_config_set_cred_req_conn_capab()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig.c3417 int *ports, *nports; in wpa_config_set_cred_req_conn_capab() local
3447 nports = os_realloc_array(ports, num_ports + 1, sizeof(int)); in wpa_config_set_cred_req_conn_capab()
3448 if (nports == NULL) { in wpa_config_set_cred_req_conn_capab()
3452 ports = nports; in wpa_config_set_cred_req_conn_capab()
3461 nports = os_realloc_array(ports, num_ports + 1, sizeof(int)); in wpa_config_set_cred_req_conn_capab()
3462 if (nports == NULL) { in wpa_config_set_cred_req_conn_capab()
3466 ports = nports; in wpa_config_set_cred_req_conn_capab()