Searched refs:tmpBuf (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dcf.c48 uint8_t *tmpBuf; local
56 tmpBuf = buffer;
58 pDcfInfo->Version = *(tmpBuf++);
61 pDcfInfo->ContentTypeLen = *(tmpBuf++);
62 pDcfInfo->ContentURILen = *(tmpBuf++);
63 strncpy((char *)pDcfInfo->ContentType, (char *)tmpBuf, pDcfInfo->ContentTypeLen);
64 tmpBuf += pDcfInfo->ContentTypeLen;
65 strncpy((char *)pDcfInfo->ContentURI, (char *)tmpBuf, pDcfInfo->ContentURILen);
66 tmpBuf += pDcfInfo->ContentURILen;
69 pDcfInfo->HeadersLen = drm_parseUintVar(tmpBuf,
[all...]
H A Dparser_dm.c133 uint8_t tmpBuf[MAX_CONTENT_ID] = {0}; local
149 strncpy((char *)tmpBuf, (char *)(pTmp + 1), pEnd - pTmp - 1);
151 if (NULL != (pTmp = (uint8_t *)memchr((char *)tmpBuf, '>', pEnd - pTmp - 1))) {
155 sprintf((char *)pDmInfo->contentID, "%s%s", "cid:", (int8_t *)tmpBuf);
/frameworks/base/tools/aapt/
H A DZipFile.cpp648 unsigned char tmpBuf[32768]; local
654 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp);
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count);
662 if (fwrite(tmpBuf, 1, count, dstFp) != count) {
704 unsigned char tmpBuf[32768]; local
713 readSize = sizeof(tmpBuf);
717 count = fread(tmpBuf, 1, readSize, srcFp);
724 *pCRC32 = crc32(*pCRC32, tmpBuf, count);
726 if (fwrite(tmpBuf,
[all...]

Completed in 114 milliseconds