/frameworks/base/media/libdrm/mobile1/src/parser/ |
D | parser_rel.c | 231 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 …]
|
D | parser_dm.c | 67 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()
|
D | parser_dcf.c | 45 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/ |
D | sbr_crc_check.cpp | 159 BitBufferCRC.bufferLen = hBitBuf->bufferLen; in sbr_crc_check() 162 NrCrcBits = min(NrBits, BitBufferCRC.bufferLen - BitBufferCRC.nrBitsRead); in sbr_crc_check()
|
D | sbr_read_data.cpp | 176 bitBuf.bufferLen = (stream->sbrElement[0].Payload) << 3; in sbr_read_data() 314 if ((bitBuf.nrBitsRead + zeropadding_bits) > bitBuf.bufferLen) in sbr_read_data()
|
D | s_bit_buffer.h | 75 UInt32 bufferLen; member
|
D | ps_decode_bs_utils.cpp | 141 return (hBitBuf->bufferLen - hBitBuf->nrBitsRead); in GetNrBitsAvailable()
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
D | xml_tinyparser.c | 476 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/ |
D | drm_rights_manager.c | 450 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/ |
D | xml_tinyParser.h | 122 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/ |
D | rsThreadIO.cpp | 181 uint32_t *usrID, size_t bufferLen) { in getClientPayload() argument 184 if (bufferLen < mLastClientHeader.bytes) { in getClientPayload() 198 if (bufferLen >= receiveLen[0]) { in getClientPayload()
|
D | rsContext.cpp | 190 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()
|
D | rsThreadIO.h | 57 …geToClientType getClientPayload(void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen);
|
D | rsContext.h | 141 …ToClientType getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsMessage.java | 609 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/ |
D | parser_dm.h | 95 int32_t drm_parseDM(const uint8_t* buffer, int32_t bufferLen, T_DRM_DM_Info* pDmInfo);
|
D | parser_dcf.h | 84 int32_t drm_dcfParser(uint8_t *buffer, int32_t bufferLen, T_DRM_DCF_Info *pDcfInfo,
|
D | parser_rel.h | 117 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/ |
D | rsbench.rs | 661 int bufferLen = rsAllocationGetDimX(rsGetAllocation(gStringBuffer)); 666 while (testNames[testIndex][charIndex] != '\0' && charIndex < bufferLen) {
|
/frameworks/base/drm/common/ |
D | IDrmManagerService.cpp | 94 const int bufferLen = data.readInt32(); in readDecryptHandleFromParcelData() local 95 if (INVALID_BUFFER_LENGTH != bufferLen) { in readDecryptHandleFromParcelData() 97 handle->decryptInfo->decryptBufferLength = bufferLen; in readDecryptHandleFromParcelData()
|