Searched refs:pStart (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/libdrm/mobile1/src/parser/ |
D | parser_dm.c | 69 const uint8_t *pStart = NULL, *pEnd = NULL; in drm_parseDM() local 83 pStart = drm_strnstr(buffer, (uint8_t *)"--", bufferLen); in drm_parseDM() 84 if (NULL == pStart) in drm_parseDM() 86 pEnd = pStart; in drm_parseDM() 89 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen); in drm_parseDM() 93 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart); in drm_parseDM() 97 pStart = pEnd; in drm_parseDM() 98 leftLen = pBufferEnd - pStart; in drm_parseDM() 104 while ((('\r' != *pStart) || ('\n' != *(pStart + 1))) && pStart < pBufferEnd) { in drm_parseDM() 105 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen); in drm_parseDM() [all …]
|
D | parser_dcf.c | 49 uint8_t *pStart, *pEnd; in drm_dcfParser() local 83 pStart = pHeader; in drm_dcfParser() 84 while (pStart < pData) { in drm_dcfParser() 85 pEnd = pStart; in drm_dcfParser() 89 if (0 == strncmp((char *)pStart, HEADER_ENCRYPTION_METHOD, HEADER_ENCRYPTION_METHOD_LEN)) in drm_dcfParser() 91 (char *)(pStart + HEADER_ENCRYPTION_METHOD_LEN), in drm_dcfParser() 92 pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN); in drm_dcfParser() 93 else if (0 == strncmp((char *)pStart, HEADER_RIGHTS_ISSUER, HEADER_RIGHTS_ISSUER_LEN)) in drm_dcfParser() 95 (char *)(pStart + HEADER_RIGHTS_ISSUER_LEN), in drm_dcfParser() 96 pEnd - pStart - HEADER_RIGHTS_ISSUER_LEN); in drm_dcfParser() [all …]
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
D | xml_tinyparser.c | 266 uint8_t *pStart; in XML_DOM_getTag() local 296 pStart = buffer - 1; in XML_DOM_getTag() 303 uint8_t *pCheck = xml_goto_tagend(pStart); in XML_DOM_getTag() 327 *tagLen = buffer - pStart - 2; in XML_DOM_getTag() 329 *tagLen = buffer - pStart - 1; in XML_DOM_getTag() 333 return pStart; in XML_DOM_getTag() 338 uint8_t *pStart; in XML_DOM_getNode() local 352 pStart = (uint8_t *)strchr((char *)nodeStr, '\\'); in XML_DOM_getNode() 354 while (pStart != NULL) { in XML_DOM_getNode() 355 *pStart = '\0'; in XML_DOM_getNode() [all …]
|
/frameworks/base/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Buffers.c | 61 LVM_INT16 *pStart; in LVM_BufferManagedIn() local 88 pStart = pInstance->pInputSamples; /* Pointer to the input samples */ in LVM_BufferManagedIn() 149 Copy_16(pStart, /* Source */ in LVM_BufferManagedIn() 152 pStart += NumChannels * NumSamples; /* Update the input pointer */ in LVM_BufferManagedIn() 165 …pInstance->pInputSamples = pStart; /* Upd… in LVM_BufferManagedIn() 175 pStart = pBuffer->pScratch; /* Start of the buffer */ in LVM_BufferManagedIn() 176 …pStart += NumChannels*SampleCount; /* Offset by the number of processed s… in LVM_BufferManagedIn() 179 Copy_16(pStart, /* Source */ in LVM_BufferManagedIn() 535 LVM_INT16 *pStart; in LVM_BufferManagedOut() local 543 pStart = pBuffer->pScratch; in LVM_BufferManagedOut() [all …]
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | deinterleave.cpp | 233 Int16 *pStart; in deinterleave() local 256 pStart = pInterleaved; in deinterleave() 283 pGroup += (pInterleaved - pStart); in deinterleave()
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_rights_manager.c | 492 uint8_t *pStart, *pEnd; in drm_updateUidTxtWhenDelete() local 495 pStart = buffer; in drm_updateUidTxtWhenDelete() 496 pEnd = pStart; in drm_updateUidTxtWhenDelete() 498 if (pEnd != pStart) in drm_updateUidTxtWhenDelete() 499 pStart = ++pEnd; in drm_updateUidTxtWhenDelete() 502 if (pStart == pEnd) in drm_updateUidTxtWhenDelete() 503 pStart--; in drm_updateUidTxtWhenDelete() 506 memmove(pStart, pEnd, movLen); in drm_updateUidTxtWhenDelete() 507 bufferLen -= (pEnd - pStart); in drm_updateUidTxtWhenDelete()
|
D | drm_api.c | 896 uint8_t *pStart; in SVC_drm_openSession() local 899 pStart = s->rawContent + s->contentOffset; in SVC_drm_openSession() 900 if (-1 == (skipLen = drm_skipCRLFinB64(pStart, encLen))) { in SVC_drm_openSession() 925 … res = drm_scanEndBoundary(pStart, encLen, ((T_DRM_DM_Base64_Node *)(s->infoStruct))->boundary); in SVC_drm_openSession() 932 char* pTmp = memrchr(pStart, '\r', encLen); in SVC_drm_openSession() 944 s->readBufOff = encLen - ((uint8_t *)pTmp - pStart); in SVC_drm_openSession() 954 encLen = (uint8_t *)pTmp - pStart; /* yes, it is the end boundary */ in SVC_drm_openSession() 975 uint8_t* pStart; in SVC_drm_openSession() local 978 pStart = s->rawContent + s->contentOffset; in SVC_drm_openSession() 980 …res = drm_scanEndBoundary(pStart, binContentLen, ((T_DRM_DM_Binary_Node *)(s->infoStruct))->bounda… in SVC_drm_openSession() [all …]
|