Home
last modified time | relevance | path

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

/hardware/ril/mock-ril/src/cpp/
Dnode_util.cpp97 size_t buflen, in DecodeWrite() argument
118 str->WriteUtf8(buf, buflen, NULL, v8::String::HINT_MANY_WRITES_EXPECTED); in DecodeWrite()
119 return buflen; in DecodeWrite()
123 str->WriteAscii(buf, 0, buflen, v8::String::HINT_MANY_WRITES_EXPECTED); in DecodeWrite()
124 return buflen; in DecodeWrite()
131 uint16_t * twobytebuf = new uint16_t[buflen]; in DecodeWrite()
133 str->Write(twobytebuf, 0, buflen, v8::String::HINT_MANY_WRITES_EXPECTED); in DecodeWrite()
135 for (size_t i = 0; i < buflen; i++) { in DecodeWrite()
143 return buflen; in DecodeWrite()
Dnode_util.h34 size_t buflen,
/hardware/libhardware_legacy/wifi/
Dwifi.c751 int wifi_wait_on_socket(int index, char *buf, size_t buflen) in wifi_wait_on_socket() argument
753 size_t nread = buflen - 1; in wifi_wait_on_socket()
762 strncpy(buf, WPA_EVENT_TERMINATING " - connection closed", buflen-1); in wifi_wait_on_socket()
763 buf[buflen-1] = '\0'; in wifi_wait_on_socket()
771 strncpy(buf, WPA_EVENT_TERMINATING " - connection closed", buflen-1); in wifi_wait_on_socket()
772 buf[buflen-1] = '\0'; in wifi_wait_on_socket()
778 strncpy(buf, WPA_EVENT_TERMINATING " - recv error", buflen-1); in wifi_wait_on_socket()
779 buf[buflen-1] = '\0'; in wifi_wait_on_socket()
787 strncpy(buf, WPA_EVENT_TERMINATING " - signal 0 received", buflen-1); in wifi_wait_on_socket()
788 buf[buflen-1] = '\0'; in wifi_wait_on_socket()
[all …]
/hardware/invensense/mlsdk/platform/linux/
Dlog_printf_linux.c35 int _MLWriteLog (const char * buf, int buflen) in _MLWriteLog() argument
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dbcmutils.c1384 bcm_next_tlv(bcm_tlv_t *elt, int *buflen) in bcm_next_tlv() argument
1389 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1395 *buflen -= (2 + len); in bcm_next_tlv()
1398 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1410 bcm_parse_tlvs(void *buf, int buflen, uint key) in bcm_parse_tlvs() argument
1416 totlen = buflen; in bcm_parse_tlvs()
1440 bcm_parse_ordered_tlvs(void *buf, int buflen, uint key) in bcm_parse_ordered_tlvs() argument
1446 totlen = buflen; in bcm_parse_ordered_tlvs()
1678 bcm_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen) in bcm_mkiovar() argument
1684 if ((len + datalen) > buflen) in bcm_mkiovar()
[all …]
Ddhdu.c83 char *buf, uint buflen, int *perr);
2452 dhd_iovar_mkbuf(char *name, char *data, uint datalen, char *buf, uint buflen, int *perr) in dhd_iovar_mkbuf() argument
2459 if ((len + datalen) > buflen) { in dhd_iovar_mkbuf()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h668 #define bcm_valid_tlv(elt, buflen) ((buflen) >= 2 && (int)(buflen) >= (int)(2 + (elt)->len)) argument
720 extern bcm_tlv_t *bcm_next_tlv(bcm_tlv_t *elt, int *buflen);
721 extern bcm_tlv_t *bcm_parse_tlvs(void *buf, int buflen, uint key);
722 extern bcm_tlv_t *bcm_parse_ordered_tlvs(void *buf, int buflen, uint key);
726 extern bcm_tlv_t *bcm_parse_tlvs(void *buf, int buflen, uint key);
Dwlioctl.h364 uint32 buflen; member
409 uint32 buflen; member
612 uint32 buflen; member
620 uint32 buflen; member
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmutils.h602 #define bcm_valid_tlv(elt, buflen) ((buflen) >= 2 && (int)(buflen) >= (int)(2 + (elt)->len)) argument
654 extern bcm_tlv_t *bcm_next_tlv(bcm_tlv_t *elt, int *buflen);
655 extern bcm_tlv_t *bcm_parse_tlvs(void *buf, int buflen, uint key);
656 extern bcm_tlv_t *bcm_parse_ordered_tlvs(void *buf, int buflen, uint key);
Dwlioctl.h219 uint32 buflen; member
264 uint32 buflen; member
440 uint32 buflen; member
448 uint32 buflen; member
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1493 bcm_next_tlv(bcm_tlv_t *elt, int *buflen) in bcm_next_tlv() argument
1498 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1504 *buflen -= (TLV_HDR_LEN + len); in bcm_next_tlv()
1507 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1519 bcm_parse_tlvs(void *buf, int buflen, uint key) in bcm_parse_tlvs() argument
1525 totlen = buflen; in bcm_parse_tlvs()
1550 bcm_parse_ordered_tlvs(void *buf, int buflen, uint key) in bcm_parse_ordered_tlvs() argument
1556 totlen = buflen; in bcm_parse_ordered_tlvs()
1788 bcm_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen) in bcm_mkiovar() argument
1794 if ((len + datalen) > buflen) in bcm_mkiovar()
[all …]
Ddhdu.c94 char *buf, uint buflen, int *perr);
2585 dhd_iovar_mkbuf(char *name, char *data, uint datalen, char *buf, uint buflen, int *perr) in dhd_iovar_mkbuf() argument
2592 if ((len + datalen) > buflen) { in dhd_iovar_mkbuf()
/hardware/invensense/mlsdk/platform/include/
Dlog.h324 int _MLWriteLog(const char *buf, int buflen);
/hardware/invensense/libsensors_iio/software/core/driver/include/
Dlog.h327 int _MLWriteLog(const char *buf, int buflen);
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211.c1178 size_t buflen; in wpa_driver_wext_get_range() local
1184 buflen = sizeof(struct iw_range) + 500; in wpa_driver_wext_get_range()
1185 range = os_zalloc(buflen); in wpa_driver_wext_get_range()
1193 iwr.u.data.length = buflen; in wpa_driver_wext_get_range()
/hardware/ril/libril/
Dril.cpp349 processCommandBuffer(void *buffer, size_t buflen) { in processCommandBuffer() argument
357 p.setData((uint8_t *) buffer, buflen); in processCommandBuffer()