Searched refs:readBuf (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 48 unsigned char* readBuf = NULL; in inflateToBuffer() local 56 readBuf = new unsigned char[kReadBufSize]; in inflateToBuffer() 57 if (readBuf == NULL) in inflateToBuffer() 102 int cc = TEMP_FAILURE_RETRY(read(fd, readBuf, getSize)); in inflateToBuffer() 112 zstream.next_in = readBuf; in inflateToBuffer() 141 delete[] readBuf; in inflateToBuffer() 161 unsigned char* readBuf = NULL; in inflateToBuffer() local 169 readBuf = new unsigned char[kReadBufSize]; in inflateToBuffer() 170 if (readBuf == NULL) in inflateToBuffer() 215 int cc = fread(readBuf, 1, getSize, fp); in inflateToBuffer() [all …]
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 267 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir() 1054 unsigned char readBuf[32768]; in filemove() local 1059 size_t getSize = sizeof(readBuf); in filemove() 1068 if (fread(readBuf, 1, getSize, fp) != getSize) { in filemove() 1079 if (fwrite(readBuf, 1, getSize, fp) != getSize) { in filemove() 1220 status_t ZipFile::EndOfCentralDir::readBuf(const unsigned char* buf, int len) in readBuf() function in ZipFile::EndOfCentralDir
|
D | ZipFile.h | 188 status_t readBuf(const unsigned char* buf, int len);
|