Home
last modified time | relevance | path

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

/art/runtime/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/runtime/base/
Dlogging.cc286 size_t buf_size = 0u; in LogLineLowStack() local
290 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<typeof(line)>::max_digits10 + in LogLineLowStack()
292 buf = reinterpret_cast<char*>(malloc(buf_size)); in LogLineLowStack()
295 snprintf(buf, buf_size, "%s:%u] %s", file, line, message); in LogLineLowStack()
/art/runtime/
Dtrace.cc635 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf() argument
637 uint8_t* end = buf + buf_size; in DumpBuf()
1002 void Trace::GetVisitedMethods(size_t buf_size, in GetVisitedMethods() argument
1005 uint8_t* end = buf_.get() + buf_size; in GetVisitedMethods()
Dtrace.h238 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)