Searched defs:buffer (Results 1 - 10 of 10) sorted by relevance
/art/compiler/utils/x86/ |
H A D | assembler_x86_test.cc | 24 AssemblerBuffer buffer; local 25 AssemblerBuffer::EnsureCapacity ensured(&buffer); 26 buffer.Emit<uint8_t>(0x42); 27 ASSERT_EQ(static_cast<size_t>(1), buffer.Size()); 28 buffer.Emit<int32_t>(42); 29 ASSERT_EQ(static_cast<size_t>(5), buffer.Size());
|
/art/compiler/ |
H A D | file_output_stream.cc | 28 bool FileOutputStream::WriteFully(const void* buffer, int64_t byte_count) { argument 29 return file_->WriteFully(buffer, byte_count);
|
H A D | buffered_output_stream.cc | 26 bool BufferedOutputStream::WriteFully(const void* buffer, int64_t byte_count) { argument 29 return out_->WriteFully(buffer, byte_count); 37 const uint8_t* src = reinterpret_cast<const uint8_t*>(buffer);
|
H A D | vector_output_stream.h | 34 bool WriteFully(const void* buffer, int64_t byte_count) { argument 36 const uint8_t* start = reinterpret_cast<const uint8_t*>(buffer); 42 memcpy(&vector_[offset_], buffer, byte_count);
|
/art/runtime/base/unix_file/ |
H A D | mapped_file_test.cc | 123 StringFile buffer; local 124 ASSERT_TRUE(CopyFile(new_file, &buffer)); 125 EXPECT_EQ(kContent, buffer.ToStringPiece());
|
H A D | fd_file.cc | 109 bool FdFile::ReadFully(void* buffer, int64_t byte_count) { argument 110 char* ptr = static_cast<char*>(buffer); 117 ptr += bytes_read; // Move the buffer forward. 122 bool FdFile::WriteFully(const void* buffer, int64_t byte_count) { argument 123 const char* ptr = static_cast<const char*>(buffer); 130 ptr += bytes_read; // Move the buffer forward.
|
/art/runtime/jdwp/ |
H A D | jdwp_adb.cc | 140 char buffer[CMSG_SPACE(sizeof(int))]; member in union:art::JDWP::__anon30 153 msg.msg_control = cm_un.buffer; 154 msg.msg_controllen = sizeof(cm_un.buffer);
|
/art/compiler/utils/ |
H A D | assembler.h | 207 // To emit an instruction to the assembler buffer, the EnsureCapacity helper 211 // AssemblerBuffer buffer; 212 // AssemblerBuffer::EnsureCapacity ensured(&buffer); 219 explicit EnsureCapacity(AssemblerBuffer* buffer) { argument 220 if (buffer->cursor() >= buffer->limit()) { 221 buffer->ExtendCapacity(); 223 // In debug mode, we save the assembler buffer along with the gap 224 // size before we start emitting to the buffer. This allows us to 227 buffer_ = buffer; 260 EnsureCapacity(AssemblerBuffer* buffer) argument [all...] |
/art/runtime/base/ |
H A D | logging.h | 179 std::ostringstream buffer; member in struct:art::LogMessageData 198 return data_->buffer;
|
/art/runtime/ |
H A D | jni_internal_test.cc | 1030 /* AIOOBE for buffer overrun. */ \ 1847 jobject buffer = env_->NewDirectByteBuffer(bytes, sizeof(bytes)); local 1848 ASSERT_TRUE(buffer != NULL); 1849 ASSERT_TRUE(env_->IsInstanceOf(buffer, buffer_class)); 1850 ASSERT_TRUE(env_->GetDirectBufferAddress(buffer) == bytes); 1851 ASSERT_TRUE(env_->GetDirectBufferCapacity(buffer) == sizeof(bytes));
|
Completed in 3824 milliseconds