Searched refs:kBufSize (Results 1 – 4 of 4) sorted by relevance
/art/libartbase/base/ |
D | logging.cc | 176 constexpr size_t kBufSize = 256; // Small buffer. Avoid stack overflow and stack size warnings. in PrintFileToLog() local 177 char buf[kBufSize + 1]; // +1 for terminator. in PrintFileToLog() 180 DCHECK_LT(filled_to, kBufSize); in PrintFileToLog() 181 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog() 214 if (filled_to == kBufSize) { in PrintFileToLog() 215 buf[kBufSize] = 0; in PrintFileToLog()
|
D | zip_archive_test.cc | 55 const size_t kBufSize = 32768; in TEST_F() local 56 uint8_t buf[kBufSize]; in TEST_F() 58 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); in TEST_F()
|
/art/runtime/gc/ |
D | reference_processor.cc | 176 static constexpr size_t kBufSize = 80; in ForwardSoftReferences() local 177 char buf[kBufSize]; in ForwardSoftReferences() 178 snprintf(buf, kBufSize, "Marking for %" PRIu32 " SoftReferences", non_null_refs); in ForwardSoftReferences() 257 static constexpr size_t kBufSize = 80; in ProcessReferences() local 258 char buf[kBufSize]; in ProcessReferences() 259 snprintf(buf, kBufSize, "Marking from %" PRIu32 " / %" PRIu32 " finalizers", in ProcessReferences()
|
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 304 constexpr int kBufSize = 8192; in ComputeFileBuildId() local 305 std::vector<char> buffer(kBufSize); in ComputeFileBuildId() 310 int64_t bytes_read = elf_file_->Read(buffer.data(), kBufSize, offset); in ComputeFileBuildId()
|