Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 20 of 20) 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/av/media/libstagefright/
DDataURISource.cpp60 size_t dataLen = strlen(uri) - tmp.size() - 6; in Create()
61 buffer = new ABuffer(dataLen); in Create()
62 memcpy(buffer->data(), commaPos + 1, dataLen); in Create()
DOggExtractor.cpp1253 uint32_t dataLen; in extractAlbumArt() local
1296 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
1299 if (flacSize - 32 - typeLen - descLen < dataLen) { in extractAlbumArt()
1304 flacSize - 32 - typeLen - descLen - dataLen); in extractAlbumArt()
1307 kKeyAlbumArt, 0, &flac[8 + typeLen + 4 + descLen + 20], dataLen); in extractAlbumArt()
DMPEG4Extractor.cpp701 int32_t dataLen; in parseDrmSINF() local
709 dataLen = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF()
710 if (dataLen < 0) { in parseDrmSINF()
712 } else if (dataLen < 4) { in parseDrmSINF()
729 sinf->len = dataLen - 3; in parseDrmSINF()
741 size -= (dataLen + numOfBytes + 1); in parseDrmSINF()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DDecTestBench.c210 decInput.dataLen = strmLen; in main()
216 decInput.dataLen = tmp; in main()
273 decInput.dataLen -= in main()
288 decInput.dataLen -= in main()
299 decInput.dataLen = NextPacket(&decInput.pStream); in main()
304 decInput.dataLen = 0; in main()
358 decInput.dataLen = NextPacket(&decInput.pStream); in main()
367 } while (decInput.dataLen > 0); in main()
DEvaluationTestBench.c109 decInput.dataLen = strmLen; in main()
153 decInput.dataLen -= in main()
164 decInput.dataLen -= in main()
202 } while (decInput.dataLen > 0); in main()
DTestBenchMultipleInstance.c196 decoder[i]->decInput.dataLen = strmLen; in main()
238 decoder[i]->decInput.dataLen -= in main()
246 decoder[i]->decInput.dataLen -= in main()
254 decoder[i]->decInput.dataLen = 0; in main()
281 decoder[i]->decInput.dataLen = 0; in main()
287 decoder[i]->decInput.dataLen = 0; in main()
302 if (decoder[i]->decInput.dataLen == 0) in main()
DH264SwDecApi.c367 if ((pInput->pStream == NULL) || (pInput->dataLen == 0)) in H264SwDecDecode()
396 strmLen = pInput->dataLen; in H264SwDecDecode()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptor.java203 int dataLen = mLength - numRead; in parseRawDescriptors() local
204 if (dataLen > 0) { in parseRawDescriptors()
205 mRawData = new byte[dataLen]; in parseRawDescriptors()
206 for (int index = 0; index < dataLen; index++) { in parseRawDescriptors()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp148 inPicture.dataLen = inHeader->nFilledLen; in onQueueFilled()
154 while (inPicture.dataLen > 0) { in onQueueFilled()
158 inPicture.dataLen -= (u32)(outPicture.pStrmCurrPos - inPicture.pStream); in onQueueFilled()
185 inPicture.dataLen = 0; in onQueueFilled()
/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/
DBearerData.java1219 int dataLen = inStream.available() / 6; // 6-bit packed character encoding.
1221 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) {
1225 StringBuffer strbuf = new StringBuffer(dataLen);
1262 int dataLen = inStream.available() / 6; // 6-bit packed character encoding. local
1265 if ((numFields > 14) || (dataLen < numFields)) {
1268 StringBuffer strbuf = new StringBuffer(dataLen);
1285 int dataLen = inStream.available() / 4; // 4-bit packed DTMF digit encoding. in decodeIs91Cli() local
1287 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) { in decodeIs91Cli()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/inc/
DH264SwDecApi.h80 u32 dataLen; /* Number of bytes to be decoded */ member
/frameworks/rs/rsov/driver/
DrsovScript.h199 uint32_t slot, void *data, size_t dataLen);
203 uint32_t slot, void *data, size_t dataLen);
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp238 size_t dataLen = msg.msg_iov[0].iov_len; in AHardwareBuffer_recvHandleFromUnixSocket() local
259 status_t err = gBuffer->unflatten(data, dataLen, fdData, fdCount); in AHardwareBuffer_recvHandleFromUnixSocket()
/frameworks/base/core/java/android/content/res/
DTypedArray.java81 final int dataLen = len * AssetManager.STYLE_NUM_ENTRIES; in resize() local
84 if (mDataAddress == 0 || mData.length < dataLen) { in resize()
85 mData = (int[]) runtime.newNonMovableArray(int.class, dataLen); in resize()
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java383 int dataLen = data.length(); in stringToGsm7BitPacked() local
398 i < dataLen && septets < septetCount; in stringToGsm7BitPacked()