Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsThreadIO.cpp57 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
61 hdr.bytes = dataLen; in coreHeader()
65 mCoreCommandSize = dataLen; in coreHeader()
67 mCoreDataPtr = (uint8_t *)mToCore.reserve(dataLen); in coreHeader()
74 void ThreadIO::coreData(const void *data, size_t dataLen) { in coreData() argument
76 mToCoreSocket.writeAsync(data, dataLen); in coreData()
106 void ThreadIO::coreSetReturn(const void *data, size_t dataLen) { in coreSetReturn() argument
107 rsAssert(dataLen <= sizeof(mToCoreRet)); in coreSetReturn()
108 memcpy(&mToCoreRet, data, dataLen); in coreSetReturn()
111 void ThreadIO::coreGetReturn(void *data, size_t dataLen) { in coreGetReturn() argument
[all …]
DrsThreadIO.h48 void * coreHeader(uint32_t, size_t dataLen);
49 void coreData(const void *data, size_t dataLen);
52 void coreSetReturn(const void *data, size_t dataLen);
53 void coreGetReturn(void *data, size_t dataLen);
58 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
DrsFont.h78 const void *data = NULL, uint32_t dataLen = 0);
122 …nit(const char *name, float fontSize, uint32_t dpi, const void *data = NULL, uint32_t dataLen = 0);
DrsFont.cpp39 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument
47 if (data != NULL && dataLen > 0) { in init()
48 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
294 const void *data, uint32_t dataLen) { in create() argument
306 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
DrsAllocation.cpp412 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t dataLen) { in rsi_AllocationCopyToBitmap() argument
417 if (s != dataLen) { in rsi_AllocationCopyToBitmap()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
DEvaluationTestBench.c109 decInput.dataLen = strmLen; in main()
153 decInput.dataLen -= in main()
164 decInput.dataLen -= in main()
202 } while (decInput.dataLen > 0); in main()
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()
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.c354 if ((pInput->pStream == NULL) || (pInput->dataLen == 0)) in H264SwDecDecode()
383 strmLen = pInput->dataLen; in H264SwDecDecode()
/frameworks/base/opengl/libs/GLES2_dbg/test/
Dtest_socket.cpp378 uint32_t dataLen = 0; in TEST_F() local
380 read.data().length(), &dataLen); in TEST_F()
381 EXPECT_EQ(sizeof(_pixels), dataLen); in TEST_F()
382 if (sizeof(_pixels) == dataLen) in TEST_F()
455 uint32_t dataLen = 0; in TEST_F() local
457 read.data().length(), &dataLen); in TEST_F()
458 ASSERT_EQ(sizeof(_pixels), dataLen); in TEST_F()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java1072 int dataLen = inStream.available() / 6; // 6-bit packed character encoding.
1074 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) {
1078 StringBuffer strbuf = new StringBuffer(dataLen);
1115 int dataLen = inStream.available() / 6; // 6-bit packed character encoding. local
1117 if ((dataLen > 14) || (dataLen < numFields)) {
1120 StringBuffer strbuf = new StringBuffer(dataLen);
1137 int dataLen = inStream.available() / 4; // 4-bit packed DTMF digit encoding. in decodeIs91Cli() local
1139 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) { in decodeIs91Cli()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp332 inPicture.dataLen = inHeader->nFilledLen; in onQueueFilled()
338 while (inPicture.dataLen > 0) { in onQueueFilled()
342 inPicture.dataLen -= (u32)(outPicture.pStrmCurrPos - inPicture.pStream); in onQueueFilled()
372 inPicture.dataLen = 0; in onQueueFilled()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/inc/
DH264SwDecApi.h80 u32 dataLen; /* Number of bytes to be decoded */ member
/frameworks/base/media/libstagefright/
DOggExtractor.cpp911 uint32_t dataLen; in extractAlbumArt() local
950 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
952 if (flacSize < 32 + typeLen + descLen + dataLen) { in extractAlbumArt()
957 flacSize - 32 - typeLen - descLen - dataLen); in extractAlbumArt()
960 kKeyAlbumArt, 0, &flac[8 + typeLen + 4 + descLen + 20], dataLen); in extractAlbumArt()
DMPEG4Extractor.cpp511 int32_t dataLen; in parseDrmSINF() local
519 dataLen = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF()
520 if (dataLen < 0) { in parseDrmSINF()
522 } else if (dataLen < 4) { in parseDrmSINF()
539 sinf->len = dataLen - 3; in parseDrmSINF()
547 size -= (dataLen + numOfBytes + 1); in parseDrmSINF()
/frameworks/base/libs/rs/driver/
DrsdBcc.h51 uint32_t slot, void *data, size_t dataLen);
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c711 int32_t dataLen, bufLen; in SVC_drm_installRights() local
718 dataLen = data.getInputDataLength(data.inputHandle); in SVC_drm_installRights()
719 if (dataLen <= 0) in SVC_drm_installRights()
723 if (dataLen > DRM_MAX_MALLOC_LEN) in SVC_drm_installRights()
726 bufLen = dataLen; in SVC_drm_installRights()
797 int32_t dataLen; in SVC_drm_openSession() local
804 dataLen = data.getInputDataLength(data.inputHandle); in SVC_drm_openSession()
805 if (dataLen <= 0) in SVC_drm_openSession()
813 if (dataLen > DRM_MAX_MALLOC_LEN) in SVC_drm_openSession()
816 s->rawContentLen = dataLen; in SVC_drm_openSession()
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java334 int dataLen = data.length(); in stringToGsm7BitPacked() local
349 i < dataLen && septets < septetCount; in stringToGsm7BitPacked()