Searched defs:buf_size (Results 1 - 5 of 5) sorted by relevance
/art/runtime/base/unix_file/ |
H A D | random_access_file_test.h | 84 const int buf_size = content.size() + 10; local 85 std::unique_ptr<char> buf(new char[buf_size]); 90 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0))); 109 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength())); 110 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1));
|
/art/runtime/base/ |
H A D | logging.cc | 272 size_t buf_size = 0u; local 274 // Allocate buffer for snprintf(buf, buf_size, "%s:%u] %s", file, line, message) below. 276 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<typeof(line)>::max_digits10 + 278 buf = reinterpret_cast<char*>(malloc(buf_size)); 281 snprintf(buf, buf_size, "%s:%u] %s", file, line, message);
|
/art/compiler/dex/quick/arm/ |
H A D | target_arm.cc | 298 static char* DecodeRegList(int opcode, int vector, char* buf, size_t buf_size) { argument 311 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", r%d", reg_id); 314 snprintf(buf, buf_size, "r%d", reg_id); 321 static char* DecodeFPCSRegList(int count, int base, char* buf, size_t buf_size) { argument 322 snprintf(buf, buf_size, "s%d", base); 324 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", s%d", base + i);
|
/art/compiler/dex/quick/arm64/ |
H A D | target_arm64.cc | 237 static void DecodeRegExtendOrShift(int operand, char *buf, size_t buf_size) { argument 241 snprintf(buf, buf_size, ", %s #%d", shift_name, amount); 246 snprintf(buf, buf_size, ", %s", extend_name); 248 snprintf(buf, buf_size, ", %s #%d", extend_name, amount);
|
/art/runtime/ |
H A D | trace.cc | 624 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { argument 626 uint8_t* end = buf + buf_size; 975 void Trace::GetVisitedMethods(size_t buf_size, argument 978 uint8_t* end = buf_.get() + buf_size;
|
Completed in 112 milliseconds