/third_party/NuttX/drivers/usbdev/gadget/ |
D | composite_desc.c | 181 int16_t config_len; in composite_mkcfgdesc() local 199 config_len = total; in composite_mkcfgdesc() 200 total = composite_mkcfgdesc_sub(buf, config_len); in composite_mkcfgdesc() 206 config_len = total; in composite_mkcfgdesc() 208 USETW(config_desc->wTotalLength, config_len); in composite_mkcfgdesc()
|
D | composite.c | 258 uint32_t config_len = req->len; in modify_config_descriptor_byspeed() local 276 config_tmp_buf = malloc(config_len); in modify_config_descriptor_byspeed() 283 ret = memset_s(config_tmp_buf, config_len, 0, config_len); in modify_config_descriptor_byspeed() 293 while (i < config_len) in modify_config_descriptor_byspeed() 298 ret = memcpy_s(config_tmp_buf + new_config_len, config_len - new_config_len, in modify_config_descriptor_byspeed() 309 ret = memset_s(req->buf, USB_COMP_EP0_BUFSIZ, 0, config_len); in modify_config_descriptor_byspeed()
|
/third_party/libusb/libusb/ |
D | descriptor.c | 559 uint16_t config_len; in libusb_get_active_config_descriptor() local 567 config_len = libusb_le16_to_cpu(_config.desc.wTotalLength); in libusb_get_active_config_descriptor() 568 buf = malloc(config_len); in libusb_get_active_config_descriptor() 572 r = get_active_config_descriptor(dev, buf, config_len); in libusb_get_active_config_descriptor() 600 uint16_t config_len; in libusb_get_config_descriptor() local 612 config_len = libusb_le16_to_cpu(_config.desc.wTotalLength); in libusb_get_config_descriptor() 613 buf = malloc(config_len); in libusb_get_config_descriptor() 617 r = get_config_descriptor(dev, config_index, buf, config_len); in libusb_get_config_descriptor()
|
/third_party/ffmpeg/libavformat/ |
D | sdp.c | 353 int headers_len, header_len[3], config_len; in xiph_extradata2config() local 376 config_len = 4 + // count in xiph_extradata2config() 383 config = av_malloc(config_len); in xiph_extradata2config() 387 encoded_config = av_malloc(AV_BASE64_SIZE(config_len)); in xiph_extradata2config() 406 av_base64_encode(encoded_config, AV_BASE64_SIZE(config_len), in xiph_extradata2config() 407 config, config_len); in xiph_extradata2config()
|
/third_party/gstreamer/gstplugins_bad/ext/faac/ |
D | gstfaac.c | 569 gulong config_len = 0; in gst_faac_configure_source_pad() local 573 faacEncGetDecoderSpecificInfo (faac->handle, &config, &config_len); in gst_faac_configure_source_pad() 576 config_len)) { in gst_faac_configure_source_pad() 586 codec_data = gst_buffer_new_and_alloc (config_len); in gst_faac_configure_source_pad() 587 gst_buffer_fill (codec_data, 0, config, config_len); in gst_faac_configure_source_pad()
|
/third_party/libusb/libusb/os/ |
D | linux_usbfs.c | 695 uint16_t config_len; in parse_config_descriptors() local 714 config_len = libusb_le16_to_cpu(config_desc->wTotalLength); in parse_config_descriptors() 715 if (config_len < LIBUSB_DT_CONFIG_SIZE) { in parse_config_descriptors() 716 usbi_err(ctx, "invalid wTotalLength %u", config_len); in parse_config_descriptors() 739 if (config_len != sysfs_config_len) { in parse_config_descriptors() 741 config_len, sysfs_config_len); in parse_config_descriptors() 742 config_len = sysfs_config_len; in parse_config_descriptors() 749 if (config_len > remaining) { in parse_config_descriptors() 750 usbi_warn(ctx, "short descriptor read %zu/%u", remaining, config_len); in parse_config_descriptors() 751 config_len = (uint16_t)remaining; in parse_config_descriptors() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | tncs.c | 1019 size_t config_len; in tncs_read_config() local 1025 config = os_readfile(TNC_CONFIG_FILE, &config_len); in tncs_read_config() 1032 end = config + config_len; in tncs_read_config()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | tncs.c | 1020 size_t config_len; in tncs_read_config() local 1026 config = os_readfile(TNC_CONFIG_FILE, &config_len); in tncs_read_config() 1033 end = config + config_len; in tncs_read_config()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | tncc.c | 1071 size_t config_len; in tncc_read_config() local 1076 config = os_readfile(TNC_CONFIG_FILE, &config_len); in tncc_read_config() 1083 end = config + config_len; in tncc_read_config()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | tncc.c | 1072 size_t config_len; in tncc_read_config() local 1077 config = os_readfile(TNC_CONFIG_FILE, &config_len); in tncc_read_config() 1084 end = config + config_len; in tncc_read_config()
|