Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DZipFile.cpp648 unsigned char tmpBuf[32768]; in copyFpToFp() local
654 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); in copyFpToFp()
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
662 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyFpToFp()
702 unsigned char tmpBuf[32768]; in copyPartialFpToFp() local
711 readSize = sizeof(tmpBuf); in copyPartialFpToFp()
715 count = fread(tmpBuf, 1, readSize, srcFp); in copyPartialFpToFp()
722 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyPartialFpToFp()
724 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyPartialFpToFp()
/frameworks/base/tools/aapt2/
DZipFile.cpp658 unsigned char tmpBuf[32768]; in copyFpToFp() local
664 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); in copyFpToFp()
670 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
672 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyFpToFp()
712 unsigned char tmpBuf[32768]; in copyPartialFpToFp() local
721 readSize = sizeof(tmpBuf); in copyPartialFpToFp()
725 count = fread(tmpBuf, 1, readSize, srcFp); in copyPartialFpToFp()
732 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyPartialFpToFp()
734 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyPartialFpToFp()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp271 char tmpBuf[5]; in getTimeString_l() local
272 snprintf(tmpBuf, sizeof(tmpBuf), ".%03d", msec); in getTimeString_l()
273 strlcat(buf, tmpBuf, bufLen); in getTimeString_l()