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/compiler/dex/quick/arm/
Dtarget_arm.cc297 static char* DecodeRegList(int opcode, int vector, char* buf, size_t buf_size) { in DecodeRegList() argument
310 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", r%d", reg_id); in DecodeRegList()
313 snprintf(buf, buf_size, "r%d", reg_id); in DecodeRegList()
320 static char* DecodeFPCSRegList(int count, int base, char* buf, size_t buf_size) { in DecodeFPCSRegList() argument
321 snprintf(buf, buf_size, "s%d", base); in DecodeFPCSRegList()
323 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", s%d", base + i); in DecodeFPCSRegList()
/art/runtime/
Dtrace.cc492 static void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) in DumpBuf() argument
495 uint8_t* end = buf + buf_size; in DumpBuf()
688 void Trace::GetVisitedMethods(size_t buf_size, in GetVisitedMethods() argument
691 uint8_t* end = buf_.get() + buf_size; in GetVisitedMethods()
/art/compiler/dex/quick/arm64/
Dtarget_arm64.cc235 static void DecodeRegExtendOrShift(int operand, char *buf, size_t buf_size) { in DecodeRegExtendOrShift() argument
239 snprintf(buf, buf_size, ", %s #%d", shift_name, amount); in DecodeRegExtendOrShift()
244 snprintf(buf, buf_size, ", %s", extend_name); in DecodeRegExtendOrShift()
246 snprintf(buf, buf_size, ", %s #%d", extend_name, amount); in DecodeRegExtendOrShift()