Searched refs:pStart (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dm.c69 const uint8_t *pStart = NULL, *pEnd = NULL; local
83 pStart = drm_strnstr(buffer, (uint8_t *)"--", bufferLen);
84 if (NULL == pStart)
86 pEnd = pStart;
89 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen);
93 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart);
97 pStart = pEnd;
98 leftLen = pBufferEnd - pStart;
104 while ((('\r' != *pStart) || ('\
[all...]
H A Dparser_dcf.c49 uint8_t *pStart, *pEnd; local
83 pStart = pHeader;
84 while (pStart < pData) {
85 pEnd = pStart;
89 if (0 == strncmp((char *)pStart, HEADER_ENCRYPTION_METHOD, HEADER_ENCRYPTION_METHOD_LEN))
91 (char *)(pStart + HEADER_ENCRYPTION_METHOD_LEN),
92 pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN);
93 else if (0 == strncmp((char *)pStart, HEADER_RIGHTS_ISSUER, HEADER_RIGHTS_ISSUER_LEN))
95 (char *)(pStart + HEADER_RIGHTS_ISSUER_LEN),
96 pEnd - pStart
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Ddeinterleave.cpp126 pStart = pInterleaved;
151 pGroup += (pInterleaved - pStart);
233 Int16 *pStart; local
256 pStart = pInterleaved;
283 pGroup += (pInterleaved - pStart);
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_rights_manager.c492 uint8_t *pStart, *pEnd; local
495 pStart = buffer;
496 pEnd = pStart;
498 if (pEnd != pStart)
499 pStart = ++pEnd;
502 if (pStart == pEnd)
503 pStart--;
506 memmove(pStart, pEnd, movLen);
507 bufferLen -= (pEnd - pStart);
H A Ddrm_api.c896 uint8_t *pStart; local
899 pStart = s->rawContent + s->contentOffset;
900 if (-1 == (skipLen = drm_skipCRLFinB64(pStart, encLen))) {
925 res = drm_scanEndBoundary(pStart, encLen, ((T_DRM_DM_Base64_Node *)(s->infoStruct))->boundary);
932 char* pTmp = memrchr(pStart, '\r', encLen);
944 s->readBufOff = encLen - ((uint8_t *)pTmp - pStart);
954 encLen = (uint8_t *)pTmp - pStart; /* yes, it is the end boundary */
975 uint8_t* pStart; local
978 pStart = s->rawContent + s->contentOffset;
980 res = drm_scanEndBoundary(pStart, binContentLe
[all...]
/frameworks/base/media/libdrm/mobile1/src/xml/
H A Dxml_tinyparser.c266 uint8_t *pStart; local
296 pStart = buffer - 1;
303 uint8_t *pCheck = xml_goto_tagend(pStart);
327 *tagLen = buffer - pStart - 2;
329 *tagLen = buffer - pStart - 1;
333 return pStart;
338 uint8_t *pStart; local
352 pStart = (uint8_t *)strchr((char *)nodeStr, '\\');
354 while (pStart != NULL) {
355 *pStart
407 uint8_t *pStart; local
[all...]

Completed in 83 milliseconds