Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoder.cpp69 size_t buflen[3]; in setInBuf() local
74 if (!m_hwjpeg.GetImageBufferSizes(buflen, &bufnum)) return -1; in setInBuf()
76 for (unsigned int i = 0; i < bufnum; i++) buflen[i] = static_cast<size_t>(iSize[i]); in setInBuf()
78 if (!m_hwjpeg.SetImageBuffer(piBuf, buflen, bufnum)) return -1; in setInBuf()
116 size_t buflen[3]; in setInBuf() local
121 if (!m_hwjpeg.GetImageBufferSizes(buflen, &bufnum)) return -1; in setInBuf()
123 for (unsigned int i = 0; i < bufnum; i++) buflen[i] = static_cast<size_t>(iSize[i]); in setInBuf()
125 if (!m_hwjpeg.SetImageBuffer(pcBuf, buflen, bufnum)) return -1; in setInBuf()
DExynosJpegEncoderForCamera.cpp845 size_t ExynosJpegEncoderForCamera::GetThumbnailImage(char *buffer, size_t buflen) { in GetThumbnailImage() argument
852 if (buflen < thumbbufsize) { in GetThumbnailImage()
853 ALOGE("Too small buffer %zu (thumbnail image size %zu)", buflen, thumbbufsize); in GetThumbnailImage()
/hardware/google/aemu/base/include/aemu/base/files/
DInplaceStream.h28 InplaceStream(Buffer buf, uint32_t buflen) : in InplaceStream() argument
29 mData(buf), mDataLen(buflen) { } in InplaceStream()
/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/sm8150/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/google/graphics/common/libhwjpeg/include/
DExynosJpegEncoderForCamera.h134 size_t GetThumbnailImage(char *buffer, size_t buflen);
/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/legacy/qcwcn/wifi_hal/
Dwifilogger_diag.cpp2001 u32 buflen, u8 logtype) in parse_tx_stats() argument
2016 if (buflen < sizeof (wh_pktlog_txctl)) { in parse_tx_stats()
2017 ALOGE("Unexpected tx_ctrl event length: %d", buflen); in parse_tx_stats()
2043 if (buflen < sizeof(struct tx_ppdu_end)) { in parse_tx_stats()
2044 ALOGE("Unexpected tx_stat event length: %d", buflen); in parse_tx_stats()
2545 static wifi_error parse_stats(hal_info *info, u8 *data, u32 buflen) in parse_stats() argument
2554 if (buflen < sizeof(wh_pktlog_hdr_t)) { in parse_stats()
2563 if (buflen < sizeof(wh_pktlog_hdr_v2_t)) { in parse_stats()
2570 if (buflen < sizeof(wh_pktlog_hdr_v2_t)) { in parse_stats()
2580 if (buflen < record_len) { in parse_stats()
[all …]
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwifilogger_diag.cpp2012 u32 buflen, u8 logtype) in parse_tx_stats() argument
2027 if (buflen < sizeof (wh_pktlog_txctl)) { in parse_tx_stats()
2028 ALOGE("Unexpected tx_ctrl event length: %d", buflen); in parse_tx_stats()
2054 if (buflen < sizeof(struct tx_ppdu_end)) { in parse_tx_stats()
2055 ALOGE("Unexpected tx_stat event length: %d", buflen); in parse_tx_stats()
2568 static wifi_error parse_stats(hal_info *info, u8 *data, u32 buflen) in parse_stats() argument
2577 if (buflen < sizeof(wh_pktlog_hdr_t)) { in parse_stats()
2586 if (buflen < sizeof(wh_pktlog_hdr_v2_t)) { in parse_stats()
2593 if (buflen < sizeof(wh_pktlog_hdr_v2_t)) { in parse_stats()
2603 if (buflen < record_len) { in parse_stats()
[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);