Home
last modified time | relevance | path

Searched refs:leftLen (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_dm.c71 int32_t contentLen, leftLen; in drm_parseDM() local
80 leftLen = bufferLen; in drm_parseDM()
89 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen); in drm_parseDM()
98 leftLen = pBufferEnd - pStart; in drm_parseDM()
105 pEnd = drm_strnstr(pStart, (uint8_t *)DRM_NEW_LINE_CRLF, leftLen); in drm_parseDM()
185 leftLen = pBufferEnd - pStart; in drm_parseDM()
191 while (leftLen > 0) { in drm_parseDM()
192 if (NULL == (pEnd = memchr(pEnd, '\r', leftLen))) { in drm_parseDM()
197 leftLen = pBufferEnd - pEnd; in drm_parseDM()
198 if (leftLen < boundaryLen) { in drm_parseDM()
[all …]
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c191 int32_t leftLen; in drm_scanEndBoundary() local
199 leftLen = len - (p - pBuf); in drm_scanEndBoundary()
200 while (leftLen > 0) { in drm_scanEndBoundary()
201 if (NULL == (p = memchr(p, '\r', leftLen))) in drm_scanEndBoundary()
204 leftLen = len - (p - pBuf); in drm_scanEndBoundary()
205 if (leftLen < boundaryLen) in drm_scanEndBoundary()
212 leftLen--; in drm_scanEndBoundary()
931 int32_t boundaryLen, leftLen, readBytes; in SVC_drm_openSession() local
988 int32_t boundaryLen, leftLen, readBytes; in SVC_drm_openSession() local
1338 int32_t i, j, piece, leftLen, firstBytes; in drm_readB64ContentFromInputStream() local
[all …]