Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 16 of 16) sorted by relevance

/frameworks/rs/
DrsThreadIO.cpp49 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
52 hdr->bytes = dataLen; in coreHeader()
54 mSendLen = dataLen + sizeof(CoreCmdHeader); in coreHeader()
78 void ThreadIO::coreSetReturn(const void *data, size_t dataLen) { in coreSetReturn() argument
82 dataLen = sizeof(buf); in coreSetReturn()
85 mToCore.readReturn(data, dataLen); in coreSetReturn()
88 void ThreadIO::coreGetReturn(void *data, size_t dataLen) { in coreGetReturn() argument
92 dataLen = sizeof(buf); in coreGetReturn()
95 mToCore.writeWaitReturn(data, dataLen); in coreGetReturn()
200 size_t dataLen, bool waitForSpace) { in sendToClient() argument
[all …]
DrsThreadIO.h47 void * coreHeader(uint32_t, size_t dataLen);
50 void coreSetReturn(const void *data, size_t dataLen);
51 void coreGetReturn(void *data, size_t dataLen);
55 void asyncSetReturn(const void *data, size_t dataLen);
56 void asyncGetReturn(void *data, size_t dataLen);
63 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
DrsFont.h76 const void *data = nullptr, uint32_t dataLen = 0);
120 …(const char *name, float fontSize, uint32_t dpi, const void *data = nullptr, uint32_t dataLen = 0);
DrsFont.cpp40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument
48 if (data != nullptr && dataLen > 0) { in init()
49 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
296 const void *data, uint32_t dataLen) { in create() argument
308 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Decoder.java113 int dataLen; in nextNode() local
117 dataLen = b; in nextNode()
127 dataLen = IccUtils.bytesToInt(mSrc, offset, lenLen); in nextNode()
135 if (offset + dataLen > mEnd) { in nextNode()
142 + dataLen in nextNode()
147 Asn1Node root = new Asn1Node(tag, mSrc, offset, dataLen); in nextNode()
148 mPosition = offset + dataLen; in nextNode()
/frameworks/av/media/libdatasource/
DDataURISource.cpp71 size_t dataLen = strlen(uri) - tmp.size() - 6; in Create()
72 buffer = new ABuffer(dataLen); in Create()
73 memcpy(buffer->data(), commaPos + 1, dataLen); in Create()
/frameworks/native/libs/binder/
DOS_unix_base.cpp137 size_t dataLen = cmsg->cmsg_len - CMSG_LEN(0); in receiveMessageFromSocket() local
138 LOG_ALWAYS_FATAL_IF(dataLen > sizeof(fdBuffer)); // validity check in receiveMessageFromSocket()
139 memcpy(fdBuffer, CMSG_DATA(cmsg), dataLen); in receiveMessageFromSocket()
140 size_t fdCount = dataLen / sizeof(int); in receiveMessageFromSocket()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptor.java205 int dataLen = mLength - numRead; in parseRawDescriptors() local
206 if (dataLen > 0) { in parseRawDescriptors()
207 mRawData = new byte[dataLen]; in parseRawDescriptors()
208 for (int index = 0; index < dataLen; index++) { in parseRawDescriptors()
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp412 uint32_t dataLen; in extractAlbumArt() local
462 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
465 if (flacSize - 32 - typeLen - descLen < dataLen) { in extractAlbumArt()
471 flacSize - 32 - typeLen - descLen - dataLen); in extractAlbumArt()
474 &flac[8 + typeLen + 4 + descLen + 20], dataLen); in extractAlbumArt()
/frameworks/rs/driver/
DrsdBcc.h73 uint32_t slot, void *data, size_t dataLen);
76 uint32_t slot, void *data, size_t dataLen);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java1360 int dataLen = inStream.available() / 6; // 6-bit packed character encoding.
1362 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) {
1366 StringBuffer strbuf = new StringBuffer(dataLen);
1403 int dataLen = inStream.available() / 6; // 6-bit packed character encoding. local
1406 if ((numFields > 14) || (dataLen < numFields)) {
1409 StringBuffer strbuf = new StringBuffer(dataLen);
1426 int dataLen = inStream.available() / 4; // 4-bit packed DTMF digit encoding. in decodeIs91Cli() local
1428 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) { in decodeIs91Cli()
/frameworks/base/core/java/android/content/res/
DTypedArray.java140 final int dataLen = len * STYLE_NUM_ENTRIES; in resize() local
143 if (mDataAddress == 0 || mData.length < dataLen) { in resize()
144 mData = (int[]) runtime.newNonMovableArray(int.class, dataLen); in resize()
/frameworks/base/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java400 int dataLen = data.length(); in stringToGsm7BitPacked() local
416 i < dataLen && septets < septetCount; in stringToGsm7BitPacked()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp438 size_t dataLen = msg.msg_iov[0].iov_len; in AHardwareBuffer_recvHandleFromUnixSocket() local
459 status_t err = gBuffer->unflatten(data, dataLen, fdData, fdCount); in AHardwareBuffer_recvHandleFromUnixSocket()
/frameworks/native/libs/binder/include/binder/
DParcel.h1239 size_t dataLen;
1240 if (__builtin_mul_overflow(size, sizeof(T), &dataLen)) {
1243 auto data = reinterpret_cast<const T*>(readInplace(dataLen));
1252 memcpy(c->data(), data, dataLen);
/frameworks/native/include/binder/
DParcel.h1239 size_t dataLen;
1240 if (__builtin_mul_overflow(size, sizeof(T), &dataLen)) {
1243 auto data = reinterpret_cast<const T*>(readInplace(dataLen));
1252 memcpy(c->data(), data, dataLen);