Home
last modified time | relevance | path

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

/frameworks/rs/
DrsThreadIO.cpp50 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
53 hdr->bytes = dataLen; in coreHeader()
55 mSendLen = dataLen + sizeof(CoreCmdHeader); in coreHeader()
79 void ThreadIO::coreSetReturn(const void *data, size_t dataLen) { in coreSetReturn() argument
83 dataLen = sizeof(buf); in coreSetReturn()
86 mToCore.readReturn(data, dataLen); in coreSetReturn()
89 void ThreadIO::coreGetReturn(void *data, size_t dataLen) { in coreGetReturn() argument
93 dataLen = sizeof(buf); in coreGetReturn()
96 mToCore.writeWaitReturn(data, dataLen); in coreGetReturn()
201 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.cpp42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument
50 if (data != nullptr && dataLen > 0) { in init()
51 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
297 const void *data, uint32_t dataLen) { in create() argument
309 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.cpp1235 uint32_t dataLen; in extractAlbumArt() local
1278 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
1281 if (flacSize - 32 - typeLen - descLen < dataLen) { in extractAlbumArt()
1286 flacSize - 32 - typeLen - descLen - dataLen); in extractAlbumArt()
1289 kKeyAlbumArt, 0, &flac[8 + typeLen + 4 + descLen + 20], dataLen); in extractAlbumArt()
DMPEG4Extractor.cpp703 int32_t dataLen; in parseDrmSINF() local
711 dataLen = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF()
712 if (dataLen < 0) { in parseDrmSINF()
714 } else if (dataLen < 4) { in parseDrmSINF()
731 sinf->len = dataLen - 3; in parseDrmSINF()
743 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.c365 if ((pInput->pStream == NULL) || (pInput->dataLen == 0)) in H264SwDecDecode()
394 strmLen = pInput->dataLen; in H264SwDecDecode()
/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/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java1194 int dataLen = inStream.available() / 6; // 6-bit packed character encoding.
1196 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) {
1200 StringBuffer strbuf = new StringBuffer(dataLen);
1237 int dataLen = inStream.available() / 6; // 6-bit packed character encoding. local
1240 if ((numFields > 14) || (dataLen < numFields)) {
1243 StringBuffer strbuf = new StringBuffer(dataLen);
1260 int dataLen = inStream.available() / 4; // 4-bit packed DTMF digit encoding. in decodeIs91Cli() local
1262 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/base/tools/aapt2/unflatten/
DBinaryResourceParser.h48 const void* data, size_t dataLen);
/frameworks/base/tools/aapt2/xml/
DXmlDom.h129 std::unique_ptr<XmlResource> inflate(const void* data, size_t dataLen, IDiagnostics* diag,
DXmlDom.cpp229 std::unique_ptr<XmlResource> inflate(const void* data, size_t dataLen, IDiagnostics* diag, in inflate() argument
239 if (tree.setTo(data, dataLen) != NO_ERROR) { in inflate()
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java383 int dataLen = data.length(); in stringToGsm7BitPacked() local
398 i < dataLen && septets < septetCount; in stringToGsm7BitPacked()