/hardware/ril/mock-ril/src/cpp/ |
D | node_util.cpp | 97 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()
|
D | node_util.h | 34 size_t buflen,
|
/hardware/libhardware_legacy/wifi/ |
D | wifi.c | 751 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/ |
D | log_printf_linux.c | 35 int _MLWriteLog (const char * buf, int buflen) in _MLWriteLog() argument
|
/hardware/broadcom/wlan/bcm4329/dhdutil/ |
D | bcmutils.c | 1384 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 …]
|
D | dhdu.c | 83 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/ |
D | bcmutils.h | 668 #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);
|
D | wlioctl.h | 364 uint32 buflen; member 409 uint32 buflen; member 612 uint32 buflen; member 620 uint32 buflen; member
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/ |
D | bcmutils.h | 602 #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);
|
D | wlioctl.h | 219 uint32 buflen; member 264 uint32 buflen; member 440 uint32 buflen; member 448 uint32 buflen; member
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 1493 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 …]
|
D | dhdu.c | 94 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/ |
D | log.h | 324 int _MLWriteLog(const char *buf, int buflen);
|
/hardware/invensense/libsensors_iio/software/core/driver/include/ |
D | log.h | 327 int _MLWriteLog(const char *buf, int buflen);
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
D | driver_mac80211.c | 1178 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/ |
D | ril.cpp | 349 processCommandBuffer(void *buffer, size_t buflen) { in processCommandBuffer() argument 357 p.setData((uint8_t *) buffer, buflen); in processCommandBuffer()
|