Home
last modified time | relevance | path

Searched refs:bufferLen (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_rel.c231 static int32_t drm_getRightValue(uint8_t * buffer, int32_t bufferLen, in drm_getRightValue() argument
285 ret = WBXML_DOM_getNode(buffer, bufferLen, sProperty); in drm_getRightValue()
302 ret = WBXML_DOM_getNode(buffer, bufferLen, sProperty); in drm_getRightValue()
326 WBXML_DOM_getNodeValue(buffer, bufferLen, sProperty, (uint8_t **)&pValue, in drm_getRightValue()
420 WBXML_DOM_getNodeValue(buffer, bufferLen, sProperty, (uint8_t **)&pValue, in drm_getRightValue()
462 WBXML_DOM_getNodeValue(buffer, bufferLen, sProperty, (uint8_t **)&pValue, in drm_getRightValue()
484 WBXML_DOM_getNodeValue(buffer, bufferLen, sProperty, (uint8_t **)&pValue, in drm_getRightValue()
507 int32_t drm_relParser(uint8_t* buffer, int32_t bufferLen, int32_t Format, T_DRM_Rights* pRights) in drm_relParser() argument
518 if (NULL != drm_strnstr(buffer, (uint8_t *)HEADERS_CONTENT_ID, bufferLen)) in drm_relParser()
580 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"play", 0)) in drm_relParser()
[all …]
Dparser_dm.c67 int32_t drm_parseDM(const uint8_t *buffer, int32_t bufferLen, T_DRM_DM_Info *pDmInfo) in drm_parseDM() argument
75 if (NULL == buffer || bufferLen <= 0 || NULL == pDmInfo) in drm_parseDM()
79 pBufferEnd = buffer + bufferLen; in drm_parseDM()
80 leftLen = bufferLen; in drm_parseDM()
83 pStart = drm_strnstr(buffer, (uint8_t *)"--", bufferLen); in drm_parseDM()
Dparser_dcf.c45 int32_t drm_dcfParser(uint8_t *buffer, int32_t bufferLen, T_DRM_DCF_Info *pDcfInfo, in drm_dcfParser() argument
53 if (NULL == buffer || bufferLen <= 0 || NULL == pDcfInfo) in drm_dcfParser()
/frameworks/base/media/libstagefright/codecs/aacdec/
Dsbr_crc_check.cpp159 BitBufferCRC.bufferLen = hBitBuf->bufferLen; in sbr_crc_check()
162 NrCrcBits = min(NrBits, BitBufferCRC.bufferLen - BitBufferCRC.nrBitsRead); in sbr_crc_check()
Dsbr_read_data.cpp176 bitBuf.bufferLen = (stream->sbrElement[0].Payload) << 3; in sbr_read_data()
314 if ((bitBuf.nrBitsRead + zeropadding_bits) > bitBuf.bufferLen) in sbr_read_data()
Ds_bit_buffer.h75 UInt32 bufferLen; member
Dps_decode_bs_utils.cpp141 return (hBitBuf->bufferLen - hBitBuf->nrBitsRead); in GetNrBitsAvailable()
/frameworks/base/media/libdrm/mobile1/src/xml/
Dxml_tinyparser.c476 uint8_t *WBXML_DOM_getNode(uint8_t *buffer, int32_t bufferLen, in WBXML_DOM_getNode() argument
486 while (i < bufferLen) { in WBXML_DOM_getNode()
501 while (i < bufferLen && buffer[i] != WBXML_ATTR_END) in WBXML_DOM_getNode()
503 if (i >= bufferLen) in WBXML_DOM_getNode()
511 while (i < bufferLen && buffer[i] != WBXML_END) in WBXML_DOM_getNode()
513 if (i >= bufferLen) in WBXML_DOM_getNode()
519 if (i >= bufferLen) { in WBXML_DOM_getNode()
529 uint8_t *WBXML_DOM_getNodeValue(uint8_t *buffer, int32_t bufferLen, in WBXML_DOM_getNodeValue() argument
539 pEnd = buffer + bufferLen; in WBXML_DOM_getNodeValue()
540 buffer = WBXML_DOM_getNode(buffer, bufferLen, node); in WBXML_DOM_getNodeValue()
[all …]
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_rights_manager.c450 int32_t bufferLen; in drm_updateUidTxtWhenDelete() local
465 bufferLen = DRM_file_getFileLength(nameUcs2, nameLen); in drm_updateUidTxtWhenDelete()
466 if (bufferLen <= 0) in drm_updateUidTxtWhenDelete()
469 buffer = (uint8_t *)malloc(bufferLen); in drm_updateUidTxtWhenDelete()
485 bufferLen -= strlen((char *)idStr); in drm_updateUidTxtWhenDelete()
486 fileRes = DRM_file_read(handle, buffer, bufferLen); in drm_updateUidTxtWhenDelete()
487 buffer[bufferLen] = '\0'; in drm_updateUidTxtWhenDelete()
505 movLen = bufferLen - (pEnd - buffer); in drm_updateUidTxtWhenDelete()
507 bufferLen -= (pEnd - pStart); in drm_updateUidTxtWhenDelete()
526 DRM_file_write(handle, buffer, bufferLen); in drm_updateUidTxtWhenDelete()
/frameworks/base/media/libdrm/mobile1/include/xml/
Dxml_tinyParser.h122 uint8_t *WBXML_DOM_getNode(uint8_t *buffer, int32_t bufferLen,
124 uint8_t *WBXML_DOM_getNodeValue(uint8_t *buffer, int32_t bufferLen,
131 int32_t bufferLen);
/frameworks/base/libs/rs/
DrsThreadIO.cpp181 uint32_t *usrID, size_t bufferLen) { in getClientPayload() argument
184 if (bufferLen < mLastClientHeader.bytes) { in getClientPayload()
198 if (bufferLen >= receiveLen[0]) { in getClientPayload()
DrsContext.cpp190 uint32_t bufferLen = strlen(buffer); in displayDebugStats() local
196 mStateFont.renderText(buffer, bufferLen, 5, getHeight() - 6); in displayDebugStats()
199 mStateFont.renderText(buffer, bufferLen, 4, getHeight() - 7); in displayDebugStats()
553 …pe Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen) { in getMessageToClient() argument
554 return (RsMessageToClientType)mIO.getClientPayload(data, receiveLen, subID, bufferLen); in getMessageToClient()
DrsThreadIO.h57 …geToClientType getClientPayload(void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen);
DrsContext.h141 …ToClientType getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java609 int bufferLen; in constructUserData() local
616 bufferLen = pdu.length - offset; in constructUserData()
622 bufferLen = userDataLength - (hasUserDataHeader ? (userDataHeaderLength + 1) : 0); in constructUserData()
623 if (bufferLen < 0) { in constructUserData()
624 bufferLen = 0; in constructUserData()
628 userData = new byte[bufferLen]; in constructUserData()
/frameworks/base/media/libdrm/mobile1/include/parser/
Dparser_dm.h95 int32_t drm_parseDM(const uint8_t* buffer, int32_t bufferLen, T_DRM_DM_Info* pDmInfo);
Dparser_dcf.h84 int32_t drm_dcfParser(uint8_t *buffer, int32_t bufferLen, T_DRM_DCF_Info *pDcfInfo,
Dparser_rel.h117 int32_t drm_relParser(uint8_t* buffer, int32_t bufferLen, int32_t Format, T_DRM_Rights* pRights);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Drsbench.rs661 int bufferLen = rsAllocationGetDimX(rsGetAllocation(gStringBuffer));
666 while (testNames[testIndex][charIndex] != '\0' && charIndex < bufferLen) {
/frameworks/base/drm/common/
DIDrmManagerService.cpp94 const int bufferLen = data.readInt32(); in readDecryptHandleFromParcelData() local
95 if (INVALID_BUFFER_LENGTH != bufferLen) { in readDecryptHandleFromParcelData()
97 handle->decryptInfo->decryptBufferLength = bufferLen; in readDecryptHandleFromParcelData()