Searched defs:buf_size (Results 1 - 4 of 4) sorted by relevance

/art/runtime/base/unix_file/
H A Drandom_access_file_test.h82 const int buf_size = content.size() + 10; local
83 std::unique_ptr<char> buf(new char[buf_size]);
88 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0)));
107 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength()));
108 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1));
/art/compiler/dex/quick/arm/
H A Dtarget_arm.cc297 static char* DecodeRegList(int opcode, int vector, char* buf, size_t buf_size) { argument
310 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", r%d", reg_id);
313 snprintf(buf, buf_size, "r%d", reg_id);
320 static char* DecodeFPCSRegList(int count, int base, char* buf, size_t buf_size) { argument
321 snprintf(buf, buf_size, "s%d", base);
323 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", s%d", base + i);
/art/runtime/
H A Dtrace.cc483 static void DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source)
486 uint8_t* end = buf + buf_size;
679 void Trace::GetVisitedMethods(size_t buf_size, argument
682 uint8_t* end = buf_.get() + buf_size;
/art/compiler/dex/quick/arm64/
H A Dtarget_arm64.cc235 static void DecodeRegExtendOrShift(int operand, char *buf, size_t buf_size) { argument
239 snprintf(buf, buf_size, ", %s #%d", shift_name, amount);
244 snprintf(buf, buf_size, ", %s", extend_name);
246 snprintf(buf, buf_size, ", %s #%d", extend_name, amount);

Completed in 101 milliseconds