Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 52) sorted by relevance

123

/art/test/712-varhandle-invocations/src/
DVarHandleUnitTestHelpers.java88 public static boolean getBytesAs_boolean(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_boolean()
92 public static byte getBytesAs_byte(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_byte()
96 public static char getBytesAs_char(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_char()
100 public static short getBytesAs_short(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_short()
104 public static int getBytesAs_int(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_int()
108 public static long getBytesAs_long(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_long()
112 public static float getBytesAs_float(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_float()
116 public static double getBytesAs_double(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_double()
153 ByteBuffer buffer, int index, boolean value, ByteOrder order) { in setBytesAs_boolean()
157 public static void setBytesAs_byte(ByteBuffer buffer, int index, byte value, ByteOrder order) { in setBytesAs_byte()
[all …]
/art/libartbase/base/
Dbit_table_test.cc34 std::vector<uint8_t> buffer; in TEST() local
51 std::vector<uint8_t> buffer; in TEST() local
77 std::vector<uint8_t> buffer; in TEST() local
97 std::vector<uint8_t> buffer; in TEST() local
142 std::vector<uint8_t> buffer; in TEST() local
Dbit_memory_region_test.cc40 std::vector<uint8_t> buffer; in TEST() local
/art/dexlayout/
Ddex_writer.cc35 static size_t EncodeIntValue(int32_t value, uint8_t* buffer) { in EncodeIntValue()
52 static size_t EncodeUIntValue(uint32_t value, uint8_t* buffer) { in EncodeUIntValue()
61 static size_t EncodeLongValue(int64_t value, uint8_t* buffer) { in EncodeLongValue()
83 static size_t EncodeFloatValue(float value, uint8_t* buffer) { in EncodeFloatValue()
100 static size_t EncodeDoubleValue(double value, uint8_t* buffer) { in EncodeDoubleValue()
120 uint8_t buffer[8]; in WriteEncodedValue() local
187 uint8_t buffer[1] = { static_cast<uint8_t>((value_arg << 5) | value_type) }; in WriteEncodedValueHeader() local
301 uint32_t buffer[3]; in WriteProtoIds() local
321 uint16_t buffer[4]; in WriteFieldIds() local
338 uint16_t buffer[4]; in WriteMethodIds() local
Ddex_writer.h91 ALWAYS_INLINE size_t Write(const void* buffer, size_t length) { in Write()
101 ALWAYS_INLINE size_t Overwrite(const void* buffer, size_t length) { in Overwrite()
/art/libartbase/base/unix_file/
Dfd_file.cc421 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric()
437 bool FdFile::ReadFully(void* buffer, size_t byte_count) { in ReadFully()
441 bool FdFile::PreadFully(void* buffer, size_t byte_count, size_t offset) { in PreadFully()
446 bool FdFile::WriteFullyGeneric(const void* buffer, size_t byte_count, size_t offset) { in WriteFullyGeneric()
465 bool FdFile::PwriteFully(const void* buffer, size_t byte_count, size_t offset) { in PwriteFully()
469 bool FdFile::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
503 art::UniqueCPtr<void> buffer(malloc(buffer_size)); in Copy() local
Dfd_file_test.cc81 uint8_t buffer[16]; in TEST_F() local
112 char buffer[sizeof(read_suffix)]; in TEST_F() local
216 uint8_t buffer[16] = { 0 }; in TEST_F() local
228 std::vector<uint8_t> buffer; in TEST_F() local
/art/libelffile/dwarf/
Dheaders.h44 std::vector<uint8_t>* buffer) { in WriteCIE()
74 /*inout*/ std::vector<uint8_t>* buffer) { in WriteFDE()
Dwriter.h127 void PushData(const Vector* buffer) { in PushData()
173 explicit Writer(Vector* buffer) : data_(buffer) { } in Writer()
Ddebug_abbrev_writer.h44 explicit DebugAbbrevWriter(Vector* buffer) in DebugAbbrevWriter()
Dexpression.h114 explicit Expression(std::vector<uint8_t>* buffer) : Writer<>(buffer) { in Expression()
/art/libelffile/stream/
Dfile_output_stream.cc28 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
Dvector_output_stream.h34 bool WriteFully(const void* buffer, size_t byte_count) override { in WriteFully()
Dbuffered_output_stream.cc32 bool BufferedOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
Derror_delaying_output_stream.h39 bool WriteFully(const void* buffer, size_t byte_count) override { in WriteFully()
/art/compiler/debug/
Delf_debug_frame_writer.h34 static void WriteCIE(InstructionSet isa, /*inout*/ std::vector<uint8_t>* buffer) { in WriteCIE()
208 std::vector<uint8_t> buffer; // Small temporary buffer. in WriteCFISection() local
Delf_debug_writer.cc121 std::vector<uint8_t> buffer; in MakeMiniDebugInfoInternal() local
184 std::vector<uint8_t> buffer; in MakeElfFileForJIT() local
349 std::vector<uint8_t> buffer; in WriteDebugElfFileForClasses() local
Delf_debug_line_writer.h264 std::vector<uint8_t> buffer; in WriteCompilationUnit() local
/art/libprofile/profile/
Dprofile_compilation_info.cc327 static bool WriteBuffer(int fd, const uint8_t* buffer, size_t byte_count) { in WriteBuffer()
340 static void AddStringToBuffer(std::vector<uint8_t>* buffer, const std::string& value) { in AddStringToBuffer()
346 static void AddUintToBuffer(std::vector<uint8_t>* buffer, T value) { in AddUintToBuffer()
386 std::vector<uint8_t> buffer; in Save() local
536 void ProfileCompilationInfo::AddInlineCacheToBuffer(std::vector<uint8_t>* buffer, in AddInlineCacheToBuffer()
811 #define READ_UINT(type, buffer, dest, error) \ argument
821 SafeBuffer& buffer, in ReadInlineCache()
869 bool ProfileCompilationInfo::ReadMethods(SafeBuffer& buffer, in ReadMethods()
910 bool ProfileCompilationInfo::ReadClasses(SafeBuffer& buffer, in ReadClasses()
947 uint8_t buffer[1]; in testEOF() local
[all …]
/art/compiler/utils/
Dassembler.h183 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity()
224 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity()
297 explicit DebugFrameOpCodeWriterForAssembler(Assembler* buffer) in DebugFrameOpCodeWriterForAssembler()
/art/compiler/optimizing/
Dliveness_test.cc36 std::ostream& buffer, in DumpBitVector()
55 std::ostringstream buffer; in TestCode() local
/art/libdexfile/dex/
Dcompact_dex_file_test.cc54 uint16_t buffer[sizeof(CompactDexFile::CodeItem) + in TEST() local
/art/runtime/
Dclass_table_test.cc150 std::unique_ptr<uint8_t[]> buffer(new uint8_t[count]()); in TEST_F() local
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatClassInstance.java242 public final byte[] buffer; field in AhatClassInstance.BitmapInfo
244 public BitmapInfo(int width, int height, byte[] buffer) { in BitmapInfo()
/art/compiler/debug/dwarf/
Ddwarf_test.h92 char buffer[1024]; in Objdump() local

123