Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 25 of 29) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_common.c462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin()
467 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin()
472 if (hexstr2bin(pos, &dev_type[2], 4)) in wps_dev_type_str2bin()
478 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin()
485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str()
491 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]), in wps_dev_type_bin2str()
492 WPA_GET_BE16(&dev_type[6])); in wps_dev_type_bin2str()
Dwps_dev_attr.c341 const u8 *dev_type) in wps_process_primary_dev_type() argument
347 if (dev_type == NULL) { in wps_process_primary_dev_type()
352 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
Dwps.h911 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]);
912 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_common.c462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin()
467 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin()
472 if (hexstr2bin(pos, &dev_type[2], 4)) in wps_dev_type_str2bin()
478 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin()
485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str()
491 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]), in wps_dev_type_bin2str()
492 WPA_GET_BE16(&dev_type[6])); in wps_dev_type_bin2str()
Dwps_dev_attr.c356 const u8 *dev_type) in wps_process_primary_dev_type() argument
362 if (dev_type == NULL) { in wps_process_primary_dev_type()
367 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
Dwps.h924 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]);
925 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
/third_party/ffmpeg/libavcodec/
Ddecode.h78 enum AVHWDeviceType dev_type);
Ddxva2.c659 enum AVHWDeviceType dev_type = avctx->hwaccel->pix_fmt == AV_PIX_FMT_DXVA2_VLD in ff_dxva2_decode_init()
670 ret = ff_decode_get_hw_frames_ctx(avctx, dev_type); in ff_dxva2_decode_init()
Ddecode.c1178 enum AVHWDeviceType dev_type) in ff_decode_get_hw_frames_ctx() argument
1196 if (device_ctx->type != dev_type) { in ff_decode_get_hw_frames_ctx()
1198 "decoding, but got %s.\n", av_hwdevice_get_type_name(dev_type), in ff_decode_get_hw_frames_ctx()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c782 u8 *dev_type; in wpas_dbus_setter_wps_device_device_type() local
794 dbus_message_iter_get_fixed_array(&array_iter, &dev_type, &dev_len); in wpas_dbus_setter_wps_device_device_type()
799 os_memcpy(wpa_s->conf->device_type, dev_type, WPS_DEV_TYPE_LEN); in wpas_dbus_setter_wps_device_device_type()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c782 u8 *dev_type; in wpas_dbus_setter_wps_device_device_type() local
794 dbus_message_iter_get_fixed_array(&array_iter, &dev_type, &dev_len); in wpas_dbus_setter_wps_device_device_type()
799 os_memcpy(wpa_s->conf->device_type, dev_type, WPS_DEV_TYPE_LEN); in wpas_dbus_setter_wps_device_device_type()
/third_party/alsa-lib/include/
Daserver.h147 unsigned char dev_type; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwps_supplicant.c738 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local
742 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add()
743 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add()
745 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add()
749 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
772 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local
776 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
777 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add()
779 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add()
785 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
DREADME-P2P75 [dev_id=<addr>] [dev_type=<device type>] \
93 The optional dev_type option can be used to specify a single device type
95 "p2p_find dev_type=1-0050F204-1".
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwps_supplicant.c746 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local
750 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add()
751 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add()
753 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add()
757 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
780 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local
784 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
785 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add()
787 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add()
793 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
DREADME-P2P75 [dev_id=<addr>] [dev_type=<device type>] \
93 The optional dev_type option can be used to specify a single device type
95 "p2p_find dev_type=1-0050F204-1".
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp525 QString dev_type; in add_p2p_group_client() local
537 else if (str.startsWith("dev_type=") && dev_type.isEmpty()) in add_p2p_group_client()
538 dev_type = str.mid(pos); in add_p2p_group_client()
552 if (!dev_type.isEmpty()) in add_p2p_group_client()
553 item->setData(dev_type, peer_role_pri_dev_type); in add_p2p_group_client()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp523 QString dev_type; in add_p2p_group_client() local
535 else if (str.startsWith("dev_type=") && dev_type.isEmpty()) in add_p2p_group_client()
536 dev_type = str.mid(pos); in add_p2p_group_client()
550 if (!dev_type.isEmpty()) in add_p2p_group_client()
551 item->setData(dev_type, peer_role_pri_dev_type); in add_p2p_group_client()
/third_party/alsa-lib/aserver/
Daserver.c167 int dev_type; member
757 switch (req.dev_type) { in snd_client_open()
/third_party/alsa-lib/src/control/
Dcontrol_shm.c459 req->dev_type = SND_DEV_TYPE_CONTROL; in snd_ctl_shm_open()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_i.h878 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
Dp2p.c2137 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) in dev_type_match() argument
2139 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) in dev_type_match()
2141 if (os_memcmp(dev_type, req_dev_type, 2) == 0 && in dev_type_match()
2149 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], in dev_type_list_match() argument
2154 if (dev_type_match(dev_type, req_dev_type[i])) in dev_type_list_match()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_i.h872 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
Dp2p.c2117 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) in dev_type_match() argument
2119 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) in dev_type_match()
2121 if (os_memcmp(dev_type, req_dev_type, 2) == 0 && in dev_type_match()
2129 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], in dev_type_list_match() argument
2134 if (dev_type_match(dev_type, req_dev_type[i])) in dev_type_list_match()
/third_party/alsa-lib/src/pcm/
Dpcm_shm.c697 req->dev_type = SND_DEV_TYPE_PCM; in snd_pcm_shm_open()

12