Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/wifi/
Dwifi.c680 int wifi_wait_on_socket(char *buf, size_t buflen) in wifi_wait_on_socket() argument
682 size_t nread = buflen - 1; in wifi_wait_on_socket()
687 return snprintf(buf, buflen, "IFNAME=%s %s - connection closed", in wifi_wait_on_socket()
695 return snprintf(buf, buflen, "IFNAME=%s %s - connection closed", in wifi_wait_on_socket()
701 return snprintf(buf, buflen, "IFNAME=%s %s - recv error", in wifi_wait_on_socket()
709 return snprintf(buf, buflen, "IFNAME=%s %s - signal 0 received", in wifi_wait_on_socket()
735 return snprintf(buf, buflen, "%s", WPA_EVENT_IGNORE); in wifi_wait_on_socket()
752 int wifi_wait_for_event(char *buf, size_t buflen) in wifi_wait_for_event() argument
754 return wifi_wait_on_socket(buf, buflen); in wifi_wait_for_event()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1553 bcm_next_tlv(bcm_tlv_t *elt, int *buflen) in bcm_next_tlv() argument
1558 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1564 *buflen -= (TLV_HDR_LEN + len); in bcm_next_tlv()
1567 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1579 bcm_parse_tlvs(void *buf, int buflen, uint key) in bcm_parse_tlvs() argument
1585 totlen = buflen; in bcm_parse_tlvs()
1610 bcm_parse_ordered_tlvs(void *buf, int buflen, uint key) in bcm_parse_ordered_tlvs() argument
1616 totlen = buflen; in bcm_parse_ordered_tlvs()
1871 bcm_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen) in bcm_mkiovar() argument
1877 if ((len + datalen) > buflen) in bcm_mkiovar()
[all …]
Ddhdu.c92 char *buf, uint buflen, int *perr);
2959 dhd_iovar_mkbuf(char *name, char *data, uint datalen, char *buf, uint buflen, int *perr) in dhd_iovar_mkbuf() argument
2966 if ((len + datalen) > buflen) { in dhd_iovar_mkbuf()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h754 #define bcm_valid_tlv(elt, buflen) ((buflen) >= 2 && (int)(buflen) >= (int)(2 + (elt)->len)) argument
810 extern bcm_tlv_t *bcm_next_tlv(bcm_tlv_t *elt, int *buflen);
811 extern bcm_tlv_t *bcm_parse_tlvs(void *buf, int buflen, uint key);
812 extern bcm_tlv_t *bcm_parse_ordered_tlvs(void *buf, int buflen, uint key);
Dwlioctl.h427 uint32 buflen; member
460 uint32 buflen; member
750 uint32 buflen; member
758 uint32 buflen; member
2699 uint32 buflen; /* ppr buffer length */ member
4829 uint32 buflen; member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.cpp1493 u32 buflen, u8 logtype) in parse_tx_stats() argument
1508 if (buflen < sizeof (wh_pktlog_txctl)) { in parse_tx_stats()
1509 ALOGE("Unexpected tx_ctrl event length: %d", buflen); in parse_tx_stats()
1535 if (buflen < sizeof(struct tx_ppdu_end)) { in parse_tx_stats()
1536 ALOGE("Unexpected tx_stat event length: %d", buflen); in parse_tx_stats()
1691 static wifi_error parse_stats(hal_info *info, u8 *data, u32 buflen) in parse_stats() argument
1697 if (buflen < sizeof(wh_pktlog_hdr_t)) { in parse_stats()
1704 if (buflen < (sizeof(wh_pktlog_hdr_t) + pkt_stats_header->size)) { in parse_stats()
1715 buflen -= (sizeof(wh_pktlog_hdr_t) + pkt_stats_header->size); in parse_stats()
1716 } while (buflen > 0); in parse_stats()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
Dmkvparser.cpp420 size_t& buflen) in Match() argument
462 buflen = buflen_; in Match()
5326 const size_t buflen = static_cast<size_t>(size); in ParseCompressionEntry() local
5328 const buf_t buf = new (std::nothrow) unsigned char[buflen]; in ParseCompressionEntry()
5332 const int read_status = pReader->Read(pos, buflen, buf); in ParseCompressionEntry()
5339 compression->settings_len = buflen; in ParseCompressionEntry()
5388 const size_t buflen = static_cast<size_t>(size); in ParseEncryptionEntry() local
5390 const buf_t buf = new (std::nothrow) unsigned char[buflen]; in ParseEncryptionEntry()
5394 const int read_status = pReader->Read(pos, buflen, buf); in ParseEncryptionEntry()
5401 encryption->key_id_len = buflen; in ParseEncryptionEntry()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dlog.h332 int _MLWriteLog(const char *buf, int buflen);
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dlog.h386 int _MLWriteLog(const char *buf, int buflen);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/
Dmkvparser.cpp413 size_t& buflen) in Match() argument
453 buflen = buflen_; in Match()
5873 const size_t buflen = static_cast<size_t>(size); in ParseTrackEntry() local
5877 const buf_t buf = new (std::nothrow) unsigned char[buflen]; in ParseTrackEntry()
5882 const int status = pReader->Read(pos, buflen, buf); in ParseTrackEntry()
5891 i.codecPrivateSize = buflen; in ParseTrackEntry()
/hardware/ril/libril/
Dril.cpp473 processCommandBuffer(void *buffer, size_t buflen, RIL_SOCKET_ID socket_id) { in processCommandBuffer() argument
486 p.setData((uint8_t *) buffer, buflen); in processCommandBuffer()