Home
last modified time | relevance | path

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

/hardware/google/av/media/sfplugin/
DSkipCutBuffer.cpp66 int32_t buflen = buffer->range_length(); in submit() local
71 int32_t to_drop = (buflen < mFrontPadding) ? buflen : mFrontPadding; in submit()
73 buflen -= to_drop; in submit()
74 buffer->set_range(offset, buflen); in submit()
81 write(src, buflen); in submit()
99 int32_t buflen = buffer->size(); in submitInternal() local
104 int32_t to_drop = (buflen < mFrontPadding) ? buflen : mFrontPadding; in submitInternal()
106 buflen -= to_drop; in submitInternal()
107 buffer->setRange(offset, buflen); in submitInternal()
114 write(src, buflen); in submitInternal()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Netlink.cpp423 unsigned int buflen, in ipa_nl_decode_rtm_link() argument
433 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_link()
442 unsigned int buflen, in ipa_nl_decode_rtm_addr() argument
451 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_addr()
458 while(RTA_OK(rtah, buflen)) in ipa_nl_decode_rtm_addr()
473 rtah = RTA_NEXT(rtah, buflen); in ipa_nl_decode_rtm_addr()
483 unsigned int buflen, in ipa_nl_decode_rtm_neigh() argument
492 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_neigh()
499 while(RTA_OK(rtah, buflen)) in ipa_nl_decode_rtm_neigh()
521 rtah = RTA_NEXT(rtah, buflen); in ipa_nl_decode_rtm_neigh()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp423 unsigned int buflen, in ipa_nl_decode_rtm_link() argument
433 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_link()
442 unsigned int buflen, in ipa_nl_decode_rtm_addr() argument
451 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_addr()
458 while(RTA_OK(rtah, buflen)) in ipa_nl_decode_rtm_addr()
473 rtah = RTA_NEXT(rtah, buflen); in ipa_nl_decode_rtm_addr()
483 unsigned int buflen, in ipa_nl_decode_rtm_neigh() argument
492 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_neigh()
499 while(RTA_OK(rtah, buflen)) in ipa_nl_decode_rtm_neigh()
521 rtah = RTA_NEXT(rtah, buflen); in ipa_nl_decode_rtm_neigh()
[all …]
/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.cpp1923 u32 buflen, u8 logtype) in parse_tx_stats() argument
1938 if (buflen < sizeof (wh_pktlog_txctl)) { in parse_tx_stats()
1939 ALOGE("Unexpected tx_ctrl event length: %d", buflen); in parse_tx_stats()
1965 if (buflen < sizeof(struct tx_ppdu_end)) { in parse_tx_stats()
1966 ALOGE("Unexpected tx_stat event length: %d", buflen); in parse_tx_stats()
2463 static wifi_error parse_stats(hal_info *info, u8 *data, u32 buflen) in parse_stats() argument
2470 if (buflen < sizeof(wh_pktlog_hdr_t)) { in parse_stats()
2477 if (buflen < (sizeof(wh_pktlog_hdr_t) + pkt_stats_header->size)) { in parse_stats()
2502 buflen -= (sizeof(wh_pktlog_hdr_v2_t) + pkt_stats_header->size); in parse_stats()
2506 buflen -= (sizeof(wh_pktlog_hdr_v2_t) + pkt_stats_header->size); in parse_stats()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dlog.h332 int _MLWriteLog(const char *buf, int buflen);
/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp1058 size_t buflen) in get_dev_path_from_partition_name() argument
1062 if (!partname || !buf || buflen < ((PATH_TRUNCATE_LOC) + 1)) { in get_dev_path_from_partition_name()
1075 if (readlink(path, buf, buflen) < 0) in get_dev_path_from_partition_name()
1082 snprintf(buf, buflen, "/dev/mmcblk0"); in get_dev_path_from_partition_name()
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dlog.h386 int _MLWriteLog(const char *buf, int buflen);