Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 55) 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/libprofile/profile/
Dprofile_helpers.h29 inline bool WriteBuffer(int fd, const uint8_t* buffer, size_t byte_count) { in WriteBuffer()
42 inline void AddStringToBuffer(std::vector<uint8_t>* buffer, const std::string& value) { in AddStringToBuffer()
48 inline void AddUintToBuffer(std::vector<uint8_t>* buffer, T value) { in AddUintToBuffer()
Dprofile_compilation_info.cc338 static bool WriteBuffer(int fd, const uint8_t* buffer, size_t byte_count) { in WriteBuffer()
351 static void AddStringToBuffer(std::vector<uint8_t>* buffer, const std::string& value) { in AddStringToBuffer()
357 static void AddUintToBuffer(std::vector<uint8_t>* buffer, T value) { in AddUintToBuffer()
395 std::vector<uint8_t> buffer; in Save() local
521 void ProfileCompilationInfo::AddInlineCacheToBuffer(std::vector<uint8_t>* buffer, in AddInlineCacheToBuffer()
758 #define READ_UINT(type, buffer, dest, error) \ argument
768 SafeBuffer& buffer, in ReadInlineCache()
820 SafeBuffer& buffer, in ReadMethods()
861 bool ProfileCompilationInfo::ReadClasses(SafeBuffer& buffer, in ReadClasses()
900 uint8_t buffer[1]; in testEOF() local
[all …]
Dprofile_boot_info.cc42 std::vector<uint8_t> buffer; in Save() local
/art/test/2036-jni-filechannel/src/
DMain.java28 MappedByteBuffer buffer = channel.map(FileChannel.MapMode.READ_ONLY, 0, 0); in main() local
32 static native void checkBufferCapacity(Buffer buffer, int expectedCapacity); in checkBufferCapacity()
/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
/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/test/2036-jni-filechannel/
Djni_filechannel.cc22 jobject buffer, in Java_Main_checkBufferCapacity()
/art/compiler/debug/
Delf_debug_frame_writer.h38 static void WriteCIE(InstructionSet isa, /*inout*/ std::vector<uint8_t>* buffer) { in WriteCIE()
188 std::vector<uint8_t> buffer; // Small temporary buffer. in WriteCFISection() local
Delf_debug_writer.cc122 std::vector<uint8_t> buffer; in MakeMiniDebugInfoInternal() local
185 std::vector<uint8_t> buffer; in MakeElfFileForJIT() local
355 std::vector<uint8_t> buffer; in WriteDebugElfFileForClasses() local
/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/libelffile/dwarf/
Dheaders.h44 std::vector<uint8_t>* buffer) { in WriteCIE()
74 /*inout*/ std::vector<uint8_t>* buffer) { in WriteFDE()
Ddebug_abbrev_writer.h44 explicit DebugAbbrevWriter(Vector* buffer) in DebugAbbrevWriter()
Dwriter.h127 void PushData(const Vector* buffer) { in PushData()
173 explicit Writer(Vector* buffer) : data_(buffer) { } in Writer()
Dexpression.h114 explicit Expression(std::vector<uint8_t>* buffer) : Writer<>(buffer) { in Expression()
/art/compiler/utils/
Dassembler.h182 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity()
223 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity()
296 explicit DebugFrameOpCodeWriterForAssembler(Assembler* buffer) in DebugFrameOpCodeWriterForAssembler()
/art/libdexfile/dex/
Dcompact_dex_file_test.cc54 uint16_t buffer[sizeof(CompactDexFile::CodeItem) + in TEST() local
/art/compiler/optimizing/
Dliveness_test.cc36 std::ostream& buffer, in DumpBitVector()
57 std::ostringstream buffer; in TestCode() local
/art/runtime/
Dclass_table_test.cc150 std::unique_ptr<uint8_t[]> buffer(new uint8_t[count]()); in TEST_F() local

123