Searched refs:pStart (Results 1 - 7 of 7) 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/compile/mclinker/lib/Support/
H A DSpace.cpp66 size_t pStart, size_t pSize)
72 switch(type = policy(pStart, pSize)) {
75 total_offset = pStart + pSize;
76 start = pStart;
103 total_offset = page_boundary(pStart + pSize);
104 start = page_offset(pStart);
107 size = page_boundary((pStart - start) + pSize);
120 size = page_boundary((pStart - start) + pSize);
65 createSpace(FileHandle& pHandler, size_t pStart, size_t pSize) argument
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
H A DLVM_Buffers.c61 LVM_INT16 *pStart; local
88 pStart = pInstance->pInputSamples; /* Pointer to the input samples */
149 Copy_16(pStart, /* Source */
152 pStart += NumChannels * NumSamples; /* Update the input pointer */
165 pInstance->pInputSamples = pStart; /* Update input sample pointer */
175 pStart = pBuffer->pScratch; /* Start of the buffer */
176 pStart += NumChannels*SampleCount; /* Offset by the number of processed samples */
179 Copy_16(pStart, /* Source */
535 LVM_INT16 *pStart; local
543 pStart
[all...]
/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 3388 milliseconds