Searched refs:pEnd (Results 1 – 5 of 5) 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 86 pEnd = pStart; in drm_parseDM() 89 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen); in drm_parseDM() 91 if (NULL == pEnd) in drm_parseDM() 93 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart); in drm_parseDM() 96 pEnd += 2; /* skip the '\r' and '\n' */ in drm_parseDM() 97 pStart = pEnd; in drm_parseDM() 105 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen); in drm_parseDM() 106 if (NULL == pEnd) in drm_parseDM() 114 if (0 == strncmp((char *)pStart, TRANSFER_CODING_TYPE_7BIT, pEnd - pStart)) in drm_parseDM() [all …]
|
D | parser_rel.c | 72 uint8_t * pEnd = NULL; in drm_getStartEndTime() local 76 pEnd = (uint8_t *)strstr((char *)pHead, "-"); in drm_getStartEndTime() 77 if(NULL == pEnd) in drm_getStartEndTime() 79 tmpByte = *pEnd; in drm_getStartEndTime() 80 *pEnd = '\0'; in drm_getStartEndTime() 82 pHead = pEnd + 1; in drm_getStartEndTime() 83 *pEnd = tmpByte; in drm_getStartEndTime() 86 pEnd = (uint8_t *)strstr((char *)pHead, "-"); in drm_getStartEndTime() 87 if(NULL == pEnd) in drm_getStartEndTime() 89 tmpByte = *pEnd; in drm_getStartEndTime() [all …]
|
D | parser_dcf.c | 49 uint8_t *pStart, *pEnd; in drm_dcfParser() local 85 pEnd = pStart; in drm_dcfParser() 86 while ('\r' != *pEnd && pEnd < pData) in drm_dcfParser() 87 pEnd++; in drm_dcfParser() 92 pEnd - pStart - HEADER_ENCRYPTION_METHOD_LEN); in drm_dcfParser() 96 pEnd - pStart - HEADER_RIGHTS_ISSUER_LEN); in drm_dcfParser() 100 pEnd - pStart - HEADER_CONTENT_NAME_LEN); in drm_dcfParser() 104 pEnd - pStart - HEADER_CONTENT_DESCRIPTION_LEN); in drm_dcfParser() 108 pEnd - pStart - HEADER_CONTENT_VENDOR_LEN); in drm_dcfParser() 112 pEnd - pStart - HEADER_ICON_URI_LEN); in drm_dcfParser() [all …]
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_rights_manager.c | 492 uint8_t *pStart, *pEnd; in drm_updateUidTxtWhenDelete() local 496 pEnd = pStart; in drm_updateUidTxtWhenDelete() 498 if (pEnd != pStart) in drm_updateUidTxtWhenDelete() 499 pStart = ++pEnd; in drm_updateUidTxtWhenDelete() 500 while ('\n' != *pEnd) in drm_updateUidTxtWhenDelete() 501 pEnd++; in drm_updateUidTxtWhenDelete() 502 if (pStart == pEnd) in drm_updateUidTxtWhenDelete() 505 movLen = bufferLen - (pEnd - buffer); in drm_updateUidTxtWhenDelete() 506 memmove(pStart, pEnd, movLen); in drm_updateUidTxtWhenDelete() 507 bufferLen -= (pEnd - pStart); in drm_updateUidTxtWhenDelete()
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
D | xml_tinyparser.c | 178 uint8_t *pEnd; in XML_DOM_getValue() local 240 pEnd = NULL; in XML_DOM_getValue() 243 pEnd = buffer; in XML_DOM_getValue() 246 if (*buffer != '<' || pEnd == NULL) { in XML_DOM_getValue() 251 *valueLen = pEnd - *pValue + 1; in XML_DOM_getValue() 534 uint8_t *pEnd; in WBXML_DOM_getNodeValue() local 539 pEnd = buffer + bufferLen; in WBXML_DOM_getNodeValue() 566 while ((buffer + i) < pEnd && buffer[i] != WBXML_END) in WBXML_DOM_getNodeValue()
|