Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 4 of 4) sorted by relevance

/system/extras/ANRdaemon/
DANRdaemon.cpp299 const size_t bufSize = 64*1024; in dump_trace() local
300 in = (uint8_t*)malloc(bufSize); in dump_trace()
301 out = (uint8_t*)malloc(bufSize); in dump_trace()
305 zs.avail_out = bufSize; in dump_trace()
309 result = read(trace_fd, in, bufSize); in dump_trace()
323 result = write(output_fd, out, bufSize); in dump_trace()
324 if ((size_t)result < bufSize) { in dump_trace()
327 zs.avail_out = bufSize; in dump_trace()
331 zs.avail_out = bufSize; in dump_trace()
340 if (zs.avail_out < bufSize) { in dump_trace()
[all …]
/system/incremental_delivery/incfs/
Dpath.cpp131 auto bufSize = st.st_size; in fromFd() local
133 res.resize(bufSize + 1, '\0'); in fromFd()
139 if (size > bufSize) { in fromFd()
141 bufSize *= 2; in fromFd()
/system/incremental_delivery/libdataloader/
DDataLoaderConnector.cpp593 auto bufSize = st.st_size; in pathFromFd() local
595 res.resize(bufSize + 1, '\0'); in pathFromFd()
600 if (size > bufSize) { in pathFromFd()
602 bufSize *= 2; in pathFromFd()
/system/libziparchive/
Dzip_archive.cc144 size_t bufSize) { in TryConsumeUnaligned() argument
145 if (bufSize < sizeof(T) || *readPtr - bufStart > bufSize - sizeof(T)) { in TryConsumeUnaligned()
147 sizeof(T), *readPtr - bufStart, bufSize); in TryConsumeUnaligned()