Home
last modified time | relevance | path

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

/frameworks/support/renderscript/v8/rs_support/
DrsThreadIO.cpp51 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
54 hdr->bytes = dataLen; in coreHeader()
56 mSendLen = dataLen + sizeof(CoreCmdHeader); in coreHeader()
80 void ThreadIO::coreSetReturn(const void *data, size_t dataLen) { in coreSetReturn() argument
84 dataLen = sizeof(buf); in coreSetReturn()
87 mToCore.readReturn(data, dataLen); in coreSetReturn()
90 void ThreadIO::coreGetReturn(void *data, size_t dataLen) { in coreGetReturn() argument
94 dataLen = sizeof(buf); in coreGetReturn()
97 mToCore.writeWaitReturn(data, dataLen); in coreGetReturn()
212 size_t dataLen, bool waitForSpace) { in sendToClient() argument
[all …]
DrsThreadIO.h50 void * coreHeader(uint32_t, size_t dataLen);
53 void coreSetReturn(const void *data, size_t dataLen);
54 void coreGetReturn(void *data, size_t dataLen);
58 void asyncSetReturn(const void *data, size_t dataLen);
59 void asyncGetReturn(void *data, size_t dataLen);
66 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
/frameworks/rs/
DrsThreadIO.cpp51 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
54 hdr->bytes = dataLen; in coreHeader()
56 mSendLen = dataLen + sizeof(CoreCmdHeader); in coreHeader()
80 void ThreadIO::coreSetReturn(const void *data, size_t dataLen) { in coreSetReturn() argument
84 dataLen = sizeof(buf); in coreSetReturn()
87 mToCore.readReturn(data, dataLen); in coreSetReturn()
90 void ThreadIO::coreGetReturn(void *data, size_t dataLen) { in coreGetReturn() argument
94 dataLen = sizeof(buf); in coreGetReturn()
97 mToCore.writeWaitReturn(data, dataLen); in coreGetReturn()
212 size_t dataLen, bool waitForSpace) { in sendToClient() argument
[all …]
DrsThreadIO.h50 void * coreHeader(uint32_t, size_t dataLen);
53 void coreSetReturn(const void *data, size_t dataLen);
54 void coreGetReturn(void *data, size_t dataLen);
58 void asyncSetReturn(const void *data, size_t dataLen);
59 void asyncGetReturn(void *data, size_t dataLen);
66 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
DrsFont.h77 const void *data = NULL, uint32_t dataLen = 0);
121 …nit(const char *name, float fontSize, uint32_t dpi, const void *data = NULL, 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 != NULL && dataLen > 0) { in init()
49 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
295 const void *data, uint32_t dataLen) { in create() argument
307 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
/frameworks/rs/cpp/
DAllocation.cpp228 size_t dataLen) { in copy1DRangeFromUnchecked() argument
238 if((count * mType->getElement()->getSizeBytes()) > dataLen) { in copy1DRangeFromUnchecked()
243 rsAllocation1DData(mRS->mContext, getIDSafe(), off, mSelectedLOD, count, data, dataLen); in copy1DRangeFromUnchecked()
246 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int32_t *d, size_t dataLen) { in copy1DRangeFrom() argument
248 copy1DRangeFromUnchecked(off, count, d, dataLen); in copy1DRangeFrom()
251 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int16_t *d, size_t dataLen) { in copy1DRangeFrom() argument
253 copy1DRangeFromUnchecked(off, count, d, dataLen); in copy1DRangeFrom()
256 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const int8_t *d, size_t dataLen) { in copy1DRangeFrom() argument
258 copy1DRangeFromUnchecked(off, count, d, dataLen); in copy1DRangeFrom()
261 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const float *d, size_t dataLen) { in copy1DRangeFrom() argument
[all …]
DAllocation.h89 void copy1DRangeFromUnchecked(uint32_t off, size_t count, const void *data, size_t dataLen);
90 void copy1DRangeFrom(uint32_t off, size_t count, const int32_t* d, size_t dataLen);
91 void copy1DRangeFrom(uint32_t off, size_t count, const int16_t* d, size_t dataLen);
92 void copy1DRangeFrom(uint32_t off, size_t count, const int8_t* d, size_t dataLen);
93 void copy1DRangeFrom(uint32_t off, size_t count, const float* d, size_t dataLen);
97 const int32_t *data, size_t dataLen);
99 const int16_t *data, size_t dataLen);
101 const int8_t *data, size_t dataLen);
103 const float *data, size_t dataLen);
105 const Allocation *data, size_t dataLen,
/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.c354 if ((pInput->pStream == NULL) || (pInput->dataLen == 0)) in H264SwDecDecode()
383 strmLen = pInput->dataLen; in H264SwDecDecode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java1159 int dataLen = inStream.available() / 6; // 6-bit packed character encoding.
1161 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) {
1165 StringBuffer strbuf = new StringBuffer(dataLen);
1202 int dataLen = inStream.available() / 6; // 6-bit packed character encoding. local
1205 if ((numFields > 14) || (dataLen < numFields)) {
1208 StringBuffer strbuf = new StringBuffer(dataLen);
1225 int dataLen = inStream.available() / 4; // 4-bit packed DTMF digit encoding. in decodeIs91Cli() local
1227 if ((dataLen > 14) || (dataLen < 3) || (dataLen < numFields)) { in decodeIs91Cli()
/frameworks/av/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/av/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.cpp514 int32_t dataLen; in parseDrmSINF() local
522 dataLen = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF()
523 if (dataLen < 0) { in parseDrmSINF()
525 } else if (dataLen < 4) { in parseDrmSINF()
542 sinf->len = dataLen - 3; in parseDrmSINF()
550 size -= (dataLen + numOfBytes + 1); in parseDrmSINF()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/inc/
DH264SwDecApi.h80 u32 dataLen; /* Number of bytes to be decoded */ member
/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/support/renderscript/v8/rs_support/driver/
DrsdBcc.h56 uint32_t slot, void *data, size_t dataLen);
/frameworks/rs/driver/
DrsdBcc.h61 uint32_t slot, void *data, size_t dataLen);
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java383 int dataLen = data.length(); in stringToGsm7BitPacked() local
398 i < dataLen && septets < septetCount; in stringToGsm7BitPacked()