Home
last modified time | relevance | path

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

/art/libartbase/base/unix_file/
Drandom_access_file_test.h84 const int buf_size = content.size() + 10; in TestReadContent() local
85 std::unique_ptr<char[]> buf(new char[buf_size]); in TestReadContent()
90 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0))); in TestReadContent()
109 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength())); in TestReadContent()
110 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1)); in TestReadContent()
/art/libartbase/base/
Dlogging.cc134 size_t buf_size = 0u; in LogLineLowStack() local
138 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<decltype(line)>::max_digits10 + in LogLineLowStack()
140 buf = reinterpret_cast<char*>(malloc(buf_size)); in LogLineLowStack()
143 snprintf(buf, buf_size, "%s:%u] %s", file, line, message); in LogLineLowStack()
/art/runtime/
Dtrace.cc1127 size_t buf_size = (output_mode == TraceOutputMode::kStreaming) ? in Trace() local
1133 buf_size, in Trace()
/art/compiler/utils/riscv64/
Dassembler_riscv64.cc7438 size_t buf_size = buffer_.Size(); in PromoteBranches() local
7440 CHECK_EQ(first_literal_location + lit_size, buf_size); in PromoteBranches()
7443 buffer_.Resize(buf_size + sizeof(uint32_t)); in PromoteBranches()