Home
last modified time | relevance | path

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

/art/runtime/
Dzip_archive_test.cc54 const size_t kBufSize = 32768; in TEST_F() local
55 uint8_t buf[kBufSize]; in TEST_F()
57 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); in TEST_F()
/art/runtime/base/
Dfile_utils.cc92 constexpr size_t kBufSize = 256; // Small buffer. Avoid stack overflow and stack size warnings. in PrintFileToLog() local
93 char buf[kBufSize + 1]; // +1 for terminator. in PrintFileToLog()
96 DCHECK_LT(filled_to, kBufSize); in PrintFileToLog()
97 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog()
130 if (filled_to == kBufSize) { in PrintFileToLog()
131 buf[kBufSize] = 0; in PrintFileToLog()
/art/dex2oat/linker/
Delf_writer_quick.cc302 constexpr int kBufSize = 8192; in ComputeFileBuildId() local
303 std::vector<char> buffer(kBufSize); in ComputeFileBuildId()
308 int64_t bytes_read = elf_file_->Read(buffer.data(), kBufSize, offset); in ComputeFileBuildId()