Searched refs:pEnd (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
86 pEnd = pStart;
89 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen);
91 if (NULL == pEnd)
93 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart);
96 pEnd += 2; /* skip the '\r' and '\n' */
97 pStart = pEnd;
105 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen);
106 if (NULL == pEnd)
114 if (0 == strncmp((char *)pStart, TRANSFER_CODING_TYPE_7BIT, 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...]
H A Dparser_dcf.c49 uint8_t *pStart, *pEnd; local
85 pEnd = pStart;
86 while ('\r' != *pEnd && pEnd < pData)
87 pEnd++;
92 pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN);
96 pEnd - pStart - HEADER_RIGHTS_ISSUER_LEN);
100 pEnd - pStart - HEADER_CONTENT_NAME_LEN);
104 pEnd - pStart - HEADER_CONTENT_DESCRIPTION_LEN);
108 pEnd
[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, '%');
104 cur_char = findMatch('}', cur_char, 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)
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnostic.h85 void format(const char* pBegin, const char* pEnd, std::string& pOutStr) const;
88 const char* findMatch(char pVal, const char* pBegin, const char* pEnd ) const;
/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...]

Completed in 91 milliseconds