Searched defs:pEnd (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dcf.c49 uint8_t *pStart, *pEnd; local
94 pEnd = pStart;
95 while ('\r' != *pEnd && pEnd < pData)
96 pEnd++;
99 if ((pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN) >= MAX_ENCRYPTION_METHOD_LEN)
103 pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN);
106 if ((pEnd - pStart - HEADER_RIGHTS_ISSUER_LEN) >= MAX_RIGHTS_ISSUER_LEN)
110 pEnd - pStart - HEADER_RIGHTS_ISSUER_LEN);
113 if ((pEnd
[all...]
H A Dparser_dm.c69 const uint8_t *pStart = NULL, *pEnd = NULL; local
86 pEnd = pStart;
89 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen);
91 if (NULL == pEnd)
93 if ((pEnd - pStart) >= MAX_CONTENT_BOUNDARY_LEN)
95 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart);
99 pEnd += 2; /* skip the '\r' and '\n' */
100 pStart = pEnd;
108 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen);
109 if (NULL == pEnd)
[all...]
H A Dparser_rel.c72 uint8_t * pEnd = NULL; local
76 pEnd = (uint8_t *)strstr((char *)pHead, "-");
77 if(NULL == pEnd)
79 tmpByte = *pEnd;
80 *pEnd = '\0';
82 pHead = pEnd + 1;
83 *pEnd = tmpByte;
86 pEnd = (uint8_t *)strstr((char *)pHead, "-");
87 if(NULL == pEnd)
89 tmpByte = *pEnd;
341 uint8_t * pEnd = NULL; local
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp39 const char* pBegin, const char* pEnd ) const
42 for (; pBegin != pEnd; ++pBegin) {
50 if (pBegin == pEnd)
55 while (pBegin != pEnd && !isdigit(*pBegin) && *pBegin != '{')
58 if (pBegin == pEnd)
65 return pEnd;
70 void Diagnostic::format(const char* pBegin, const char* pEnd, argument
74 while (cur_char != pEnd) {
76 const char* new_end = std::find(cur_char, pEnd, '%');
103 cur_char = findMatch('}', cur_char, pEnd);
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMToARMStub.cpp53 const_fixup_iterator pEnd)
56 for (const_fixup_iterator it = pBegin, ie = pEnd; it != ie; ++it)
50 ARMToARMStub(const uint32_t* pData, size_t pSize, const_fixup_iterator pBegin, const_fixup_iterator pEnd) argument
H A DARMToTHMStub.cpp55 const_fixup_iterator pEnd)
58 for (const_fixup_iterator it = pBegin, ie = pEnd; it != ie; ++it)
52 ARMToTHMStub(const uint32_t* pData, size_t pSize, const_fixup_iterator pBegin, const_fixup_iterator pEnd) argument
H A DTHMToARMStub.cpp55 const_fixup_iterator pEnd)
58 for (const_fixup_iterator it = pBegin, ie = pEnd; it != ie; ++it)
52 THMToARMStub(const uint32_t* pData, size_t pSize, const_fixup_iterator pBegin, const_fixup_iterator pEnd) argument
H A DTHMToTHMStub.cpp57 const_fixup_iterator pEnd)
60 for (const_fixup_iterator it = pBegin, ie = pEnd; it != ie; ++it)
54 THMToTHMStub(const uint32_t* pData, size_t pSize, const_fixup_iterator pBegin, const_fixup_iterator pEnd) argument
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_rights_manager.c492 uint8_t *pStart, *pEnd; local
496 pEnd = pStart;
498 if (pEnd != pStart)
499 pStart = ++pEnd;
500 while ('\n' != *pEnd)
501 pEnd++;
502 if (pStart == pEnd)
505 movLen = bufferLen - (pEnd - buffer);
506 memmove(pStart, pEnd, movLen);
507 bufferLen -= (pEnd
[all...]
/frameworks/base/media/libdrm/mobile1/src/xml/
H A Dxml_tinyparser.c178 uint8_t *pEnd; local
240 pEnd = NULL;
243 pEnd = buffer;
246 if (*buffer != '<' || pEnd == NULL) {
251 *valueLen = pEnd - *pValue + 1;
534 uint8_t *pEnd; local
539 pEnd = buffer + bufferLen;
566 while ((buffer + i) < pEnd && buffer[i] != WBXML_END)

Completed in 143 milliseconds