Searched refs:buf_size (Results 1 – 6 of 6) sorted by relevance
/art/libartbase/base/unix_file/ |
D | random_access_file_test.h | 84 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/ |
D | logging.cc | 109 size_t buf_size = 0u; in LogLineLowStack() local 113 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<decltype(line)>::max_digits10 + in LogLineLowStack() 115 buf = reinterpret_cast<char*>(malloc(buf_size)); in LogLineLowStack() 118 snprintf(buf, buf_size, "%s:%u] %s", file, line, message); in LogLineLowStack()
|
/art/dexlayout/ |
D | dexlayout.cc | 354 size_t buf_size) { in IndexString() argument 355 std::unique_ptr<char[]> buf(new char[buf_size]); in IndexString() 398 outSize = snprintf(buf.get(), buf_size, "<unknown-index>"); in IndexString() 403 outSize = snprintf(buf.get(), buf_size, "<no-index>"); in IndexString() 408 outSize = snprintf(buf.get(), buf_size, "%s // type@%0*x", tp, width, index); in IndexString() 410 outSize = snprintf(buf.get(), buf_size, "<type?> // type@%0*x", width, index); in IndexString() 416 outSize = snprintf(buf.get(), buf_size, "\"%s\" // string@%0*x", st, width, index); in IndexString() 418 outSize = snprintf(buf.get(), buf_size, "<string?> // string@%0*x", width, index); in IndexString() 427 outSize = snprintf(buf.get(), buf_size, "%s.%s:%s // method@%0*x", in IndexString() 430 outSize = snprintf(buf.get(), buf_size, "<method?> // method@%0*x", width, index); in IndexString() [all …]
|
/art/runtime/ |
D | trace.cc | 601 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf() argument 603 uint8_t* end = buf + buf_size; in DumpBuf() 984 void Trace::GetVisitedMethods(size_t buf_size, in GetVisitedMethods() argument 987 uint8_t* end = buf_.get() + buf_size; in GetVisitedMethods()
|
D | trace.h | 298 void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.cc | 3104 size_t buf_size = buffer_.Size(); in PromoteBranches() local 3106 CHECK_EQ(first_literal_location + lit_size, buf_size); in PromoteBranches() 3110 buffer_.Resize(buf_size - sizeof(uint32_t)); in PromoteBranches()
|