Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 23 of 23) sorted by relevance

/device/linaro/poplar/wifi/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c61 size_t buf_len ) in wpa_driver_nl80211_driver_cmd() argument
97 ret = os_snprintf(buf, buf_len, in wpa_driver_nl80211_driver_cmd()
105 priv_cmd.used_len = buf_len; in wpa_driver_nl80211_driver_cmd()
106 priv_cmd.total_len = buf_len; in wpa_driver_nl80211_driver_cmd()
163 int i, buf_len; in wpa_driver_set_ap_wps_p2p_ie() local
178 buf_len = strlen(_cmd) + 3 + wpabuf_len(ap_wps_p2p_ie); in wpa_driver_set_ap_wps_p2p_ie()
179 buf = os_zalloc(buf_len); in wpa_driver_set_ap_wps_p2p_ie()
190 pbuf += snprintf(pbuf, buf_len - wpabuf_len(ap_wps_p2p_ie), in wpa_driver_set_ap_wps_p2p_ie()
194 ret = wpa_driver_nl80211_driver_cmd(priv, buf, buf, buf_len); in wpa_driver_set_ap_wps_p2p_ie()
Ddriver_cmd_wext.c126 static int wpa_driver_wext_set_cscan_params(char *buf, size_t buf_len, char *cmd) in wpa_driver_wext_set_cscan_params() argument
155 if ((size_t)(bp + 12) >= buf_len) in wpa_driver_wext_set_cscan_params()
276 int wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) in wpa_driver_wext_driver_cmd() argument
283 wpa_printf(MSG_DEBUG, "%s %s len = %d", __func__, cmd, buf_len); in wpa_driver_wext_driver_cmd()
320 iwr.u.data.length = buf_len; in wpa_driver_wext_driver_cmd()
325 iwr.u.data.length = wpa_driver_wext_set_cscan_params(buf, buf_len, cmd); in wpa_driver_wext_driver_cmd()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dminigzip.c139 off_t buf_len; /* length of the input file */ local
144 buf_len = sb.st_size;
145 if (buf_len <= 0) return Z_ERRNO;
148 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
152 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
154 if (len != (int)buf_len) error(gzerror(out, &err));
156 munmap(buf, buf_len);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dsocket.py366 buf_len = buf.tell()
367 if buf_len >= size:
377 left = size - buf_len
392 if n == size and not buf_len:
405 buf_len += n
470 buf_len = buf.tell()
471 if buf_len >= size:
487 left = size - buf_len
494 if buf_len:
502 if n == size and not buf_len:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsocket.py362 buf_len = buf.tell()
363 if buf_len >= size:
373 left = size - buf_len
388 if n == size and not buf_len:
401 buf_len += n
466 buf_len = buf.tell()
467 if buf_len >= size:
483 left = size - buf_len
490 if buf_len:
498 if n == size and not buf_len:
[all …]
/device/google/cuttlefish_common/guest/libs/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c49 void* priv, char* cmd, char* buf, size_t buf_len) { in wpa_driver_nl80211_driver_cmd() argument
69 buf, buf_len, "Macaddr = " MACSTR "\n", MAC2STR(macaddr)); in wpa_driver_nl80211_driver_cmd()
/device/google/cuttlefish_common/host/commands/kernel_log_monitor/
Dkernel_log_server.cc114 const size_t buf_len = 256; in HandleIncomingMessage() local
115 char buf[buf_len]; in HandleIncomingMessage()
116 ssize_t ret = client_fd_->Read(buf, buf_len); in HandleIncomingMessage()
/device/generic/goldfish/wifi/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c43 void* priv, char* cmd, char* buf, size_t buf_len) { in wpa_driver_nl80211_driver_cmd() argument
61 buf, buf_len, "Macaddr = " MACSTR "\n", MAC2STR(macaddr)); in wpa_driver_nl80211_driver_cmd()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dminigzip.c403 off_t buf_len; /* length of the input file */ local
408 buf_len = sb.st_size;
409 if (buf_len <= 0) return Z_ERRNO;
412 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
416 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
418 if (len != (int)buf_len) error(gzerror(out, &err));
420 munmap(buf, buf_len);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dpystrtod.h13 PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, size_t buf_len,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dpystrtod.h13 PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, size_t buf_len,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpystrtod.c579 size_t buf_len = strlen(buffer); in ensure_decimal_point() local
580 if (buf_len + insert_count + 1 >= buf_size) { in ensure_decimal_point()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpystrtod.c579 size_t buf_len = strlen(buffer); in ensure_decimal_point() local
580 if (buf_len + insert_count + 1 >= buf_size) { in ensure_decimal_point()
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_audio.h158 uint32_t buf_len; member
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_audio.h210 uint32_t buf_len; member
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_audio.h158 uint32_t buf_len; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_audio.h210 uint32_t buf_len; member
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/
DE100b.h409 UINT32 buf_len; member
DE100b.c1090 tcb_ptr->TBDArray[Index].buf_len = tx_ptr_f->FragDesc[Index].FragLen; in E100bTransmit()
1114 tcb_ptr->TBDArray[0].buf_len = tx_ptr_1->DataLen + tx_ptr_1->MediaheaderLen; in E100bTransmit()
1616 Tmp_ptr->TBDArray[0].buf_len, in CheckCBList()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dsocketmodule.c3367 int buf_len = (sizeof buf) - 1; local
3382 result = gethostbyname_r(name, &hp_allocated, buf, buf_len,
3385 h = gethostbyname_r(name, &hp_allocated, buf, buf_len, &errnop);
3443 int buf_len = (sizeof buf) - 1; local
3480 &hp_allocated, buf, buf_len,
3484 &hp_allocated, buf, buf_len, &errnop);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dsocketmodule.c3449 int buf_len = (sizeof buf) - 1; local
3464 result = gethostbyname_r(name, &hp_allocated, buf, buf_len,
3467 h = gethostbyname_r(name, &hp_allocated, buf, buf_len, &errnop);
3525 int buf_len = (sizeof buf) - 1; local
3562 &hp_allocated, buf, buf_len,
3566 &hp_allocated, buf, buf_len, &errnop);
/device/google/marlin/camera/
DQCamera_Intf.h866 uint32_t buf_len; member
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp2878 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.buf_len = in encodeJpeg()