Home
last modified time | relevance | path

Searched refs:bufLen (Results 1 – 25 of 39) sorted by relevance

12

/aosp12/system/chre/chpp/platform/linux/
H A Dlink.c60 params->bufLen)) { in linkSendThread()
68 params->bufLen = 0; in linkSendThread()
79 params->bufLen = 0; in chppPlatformLinkInit()
90 params->bufLen = 0; in chppPlatformLinkDeinit()
101 if (params->bufLen != 0) { in chppPlatformLinkSend()
106 params->bufLen = len; in chppPlatformLinkSend()
/aosp12/frameworks/base/core/java/android/security/net/config/
H A DDirectoryCertificateSource.java200 int bufLen = 8; // Max number of hex digits in an int
201 char[] buf = new char[bufLen];
202 int cursor = bufLen;
206 } while ((i >>>= 4) != 0 || (bufLen - cursor < minWidth));
208 return new String(buf, cursor, bufLen - cursor);
/aosp12/system/bt/embdrv/sbc/decoder/include/
H A Doi_utils.h225 int32_t OI_SNPrintf(OI_CHAR* buffer, uint16_t bufLen, const OI_CHAR* format,
241 int32_t OI_VSNPrintf(OI_CHAR* buffer, uint16_t bufLen, const OI_CHAR* format,
/aosp12/packages/modules/Connectivity/tests/cts/net/native/dns/
H A DNativeDnsAsyncTest.cpp37 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() argument
46 int n = android_res_nresult(fd, rcode, buf, bufLen); in getAsyncResponse()
57 std::vector<std::string> extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int ipType) { in extractIpAddressAnswers() argument
59 if (ns_initparse((const uint8_t*) buf, bufLen, &handle) < 0) { in extractIpAddressAnswers()
/aosp12/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp255 void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { in getTimeString_l() argument
261 snprintf(buf, bufLen, "%" PRId64, monotonicNsec); in getTimeString_l()
271 strftime(buf, bufLen, format, &tm); in getTimeString_l()
276 strlcat(buf, tmpBuf, bufLen); in getTimeString_l()
H A DOverlay.h100 void getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen);
/aosp12/packages/apps/Nfc/nci/jni/
H A DNativeNfcManager.cpp976 size_t bufLen = bytes.size(); in nfcManager_sendRawFrame() local
977 tNFA_STATUS status = NFA_SendRawFrame(buf, bufLen, 0); in nfcManager_sendRawFrame()
998 size_t bufLen; in nfcManager_routeAid() local
1002 bufLen = 0; in nfcManager_routeAid()
1008 bufLen = bytes.size(); in nfcManager_routeAid()
1026 size_t bufLen; in nfcManager_unrouteAid() local
1030 bufLen = 0; in nfcManager_unrouteAid()
1031 return RoutingManager::getInstance().removeAidRouting(buf, bufLen); in nfcManager_unrouteAid()
1035 bufLen = bytes.size(); in nfcManager_unrouteAid()
1036 return RoutingManager::getInstance().removeAidRouting(buf, bufLen); in nfcManager_unrouteAid()
[all …]
H A DNativeNfcTag.cpp896 uint32_t bufLen) { in nativeNfcTag_doTransceiveStatus() argument
899 << StringPrintf("%s: data len=%d", __func__, bufLen); in nativeNfcTag_doTransceiveStatus()
903 EXTNS_MfcCallBack(buf, bufLen); in nativeNfcTag_doTransceiveStatus()
914 sRxDataBuffer.append(buf, bufLen); in nativeNfcTag_doTransceiveStatus()
974 size_t bufLen = bytes.size(); in nativeNfcTag_doTransceive() local
992 status = EXTNS_MfcTransceive(buf, bufLen); in nativeNfcTag_doTransceive()
994 status = NFA_SendRawFrame(buf, bufLen, in nativeNfcTag_doTransceive()
/aosp12/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
H A DBuffer.h59 Buffer(const T* data, size_t bufLen) : mData(data), mBufferEnd(pointerAdd(data, bufLen)) {} in Buffer() argument
/aosp12/system/core/libstats/push_compat/
H A Dstatsd_writer.c94 socklen_t bufLen = sizeof(sndbuf); in statsdOpen() local
97 setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, bufLen); in statsdOpen()
/aosp12/system/chre/chpp/platform/linux/include/chpp/platform/
H A Dplatform_link.h59 size_t bufLen; member
/aosp12/packages/modules/Connectivity/tests/cts/net/jni/
H A DNativeMultinetworkJni.cpp80 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() argument
85 int n = android_res_nresult(fd, rcode, buf, bufLen); in getAsyncResponse()
96 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() argument
98 if (ns_initparse((const uint8_t*) buf, bufLen, &handle) < 0) { in extractIpAddressAnswers()
/aosp12/packages/modules/StatsD/lib/libstatssocket/
H A Dstatsd_writer.c111 socklen_t bufLen = sizeof(sndbuf); in statsdOpen() local
114 setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, bufLen); in statsdOpen()
/aosp12/hardware/qcom/media/msm8974/libc2dcolorconvert/
H A DC2DColorConverter.cpp73 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
502 void * C2DColorConverter::getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen) in getMappedGPUAddr() argument
507 status = mC2DMapAddr(bufFD, bufPtr, bufLen, 0, KGSL_USER_MEM_TYPE_ION, in getMappedGPUAddr()
511 status, bufFD, bufPtr, bufLen, KGSL_USER_MEM_TYPE_ION); in getMappedGPUAddr()
515 gpuaddr, bufFD, bufPtr, bufLen); in getMappedGPUAddr()
/aosp12/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp193 int ZipFileRO::getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) in getEntryFileName()
199 if (bufLen < requiredSize) { in getEntryFileName()
/aosp12/hardware/qcom/media/msm8996/libc2dcolorconvert/
H A DC2DColorConverter.cpp75 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
559 void * C2DColorConverter::getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen) in getMappedGPUAddr() argument
564 status = mC2DMapAddr(bufFD, bufPtr, bufLen, 0, KGSL_USER_MEM_TYPE_ION, in getMappedGPUAddr()
568 status, bufFD, bufPtr, bufLen, KGSL_USER_MEM_TYPE_ION); in getMappedGPUAddr()
572 gpuaddr, bufFD, bufPtr, bufLen); in getMappedGPUAddr()
/aosp12/hardware/qcom/media/msm8998/libc2dcolorconvert/
H A DC2DColorConverter.cpp74 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
562 void * C2DColorConverter::getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen) in getMappedGPUAddr() argument
567 status = mC2DMapAddr(bufFD, bufPtr, bufLen, 0, KGSL_USER_MEM_TYPE_ION, in getMappedGPUAddr()
571 status, bufFD, bufPtr, bufLen, KGSL_USER_MEM_TYPE_ION); in getMappedGPUAddr()
575 gpuaddr, bufFD, bufPtr, bufLen); in getMappedGPUAddr()
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DZipFileRO.h126 int getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) const;
/aosp12/system/chre/platform/slpi/see/
H A Dsee_helper.cc81 size_t bufLen; member
153 data->bufLen)) { in copyPayload()
218 .bufLen = strlen(dataType), in encodeSnsSuidReq()
378 data->buf = payload, data->bufLen = payloadLen, in prepSnsClientReq()
405 data->bufLen = stream->bytes_left; in decodeStringField()
464 std::min(data.bufLen, kSeeAttrStrValLen)) != 0) { in decodeSnsSuidEvent()
967 if (data.bufLen > 0) { in decodeSnsStdSensorPhysicalConfigEvent()
971 std::min(data.bufLen, sizeof(kOpModeOff))) != 0); in decodeSnsStdSensorPhysicalConfigEvent()
974 if (event.has_sample_rate || data.bufLen > 0) { in decodeSnsStdSensorPhysicalConfigEvent()
/aosp12/frameworks/minikin/libs/minikin/
H A DLocale.cpp51 static bool isSubtag(const char* buf, size_t bufLen, const char* subtag, size_t subtagLen) { in isSubtag() argument
52 if (bufLen < subtagLen) { in isSubtag()
58 return (bufLen == subtagLen || buf[subtagLen] == '\0' || buf[subtagLen] == '-' || in isSubtag()
/aosp12/hardware/qcom/sdm845/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp639 void * C2DColorConverter::getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen) in getMappedGPUAddr() argument
644 status = mC2DMapAddr(bufFD, bufPtr, bufLen, 0, KGSL_USER_MEM_TYPE_ION, in getMappedGPUAddr()
648 __FUNCTION__, status, bufFD, bufPtr, bufLen, KGSL_USER_MEM_TYPE_ION); in getMappedGPUAddr()
652 __FUNCTION__, gpuaddr, bufFD, bufPtr, bufLen); in getMappedGPUAddr()
/aosp12/hardware/qcom/sm8150/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp685 void * C2DColorConverter::getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen) argument
690 status = mC2DMapAddr(bufFD, bufPtr, bufLen, 0, KGSL_USER_MEM_TYPE_ION,
694 __FUNCTION__, status, bufFD, bufPtr, bufLen, KGSL_USER_MEM_TYPE_ION);
698 __FUNCTION__, gpuaddr, bufFD, bufPtr, bufLen);
H A DC2DColorConverter.h213 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);
/aosp12/hardware/qcom/sm7250/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp748 void * C2DColorConverter::getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen) in getMappedGPUAddr() argument
752 status = mC2DMapAddr(bufFD, bufPtr, bufLen, 0, KGSL_USER_MEM_TYPE_ION, in getMappedGPUAddr()
756 __FUNCTION__, status, bufFD, bufPtr, bufLen, KGSL_USER_MEM_TYPE_ION); in getMappedGPUAddr()
760 __FUNCTION__, gpuaddr, bufFD, bufPtr, bufLen); in getMappedGPUAddr()
H A DC2DColorConverter.h217 void *getMappedGPUAddr(int bufFD, void *bufPtr, size_t bufLen);

12