/art/test/712-varhandle-invocations/src/ |
D | VarHandleUnitTestHelpers.java | 88 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/ |
D | profile_helpers.h | 29 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()
|
D | profile_compilation_info.cc | 849 static bool WriteBuffer(int fd, const void* buffer, size_t byte_count) { in WriteBuffer() 997 SafeBuffer buffer(dex_files_section_size); in Save() local 1016 SafeBuffer buffer(extra_descriptors_section_size); in Save() local 1034 SafeBuffer buffer(classes_section_size); in Save() local 1049 SafeBuffer buffer(methods_section_size); in Save() local 1418 void* buffer, in Read() 1462 /*out*/ SafeBuffer* buffer, in ReadSectionData() 1491 SafeBuffer buffer; in ReadDexFilesSection() local 1557 SafeBuffer buffer; in ReadExtraDescriptorsSection() local 1609 SafeBuffer buffer; in ReadClassesSection() local [all …]
|
D | profile_boot_info.cc | 42 std::vector<uint8_t> buffer; in Save() local
|
/art/test/2036-jni-filechannel/src/ |
D | Main.java | 28 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/ |
D | bit_table_test.cc | 34 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/ |
D | dex_writer.cc | 35 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
|
D | dex_writer.h | 91 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/ |
D | fd_file.cc | 421 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
|
D | fd_file_test.cc | 95 uint8_t buffer[16]; in TEST_F() local 126 char buffer[sizeof(read_suffix)]; in TEST_F() local 230 uint8_t buffer[16] = { 0 }; in TEST_F() local 242 std::vector<uint8_t> buffer; in TEST_F() local
|
/art/test/2036-jni-filechannel/ |
D | jni_filechannel.cc | 22 jobject buffer, in Java_Main_checkBufferCapacity()
|
/art/compiler/debug/ |
D | elf_debug_frame_writer.h | 38 static void WriteCIE(InstructionSet isa, /*inout*/ std::vector<uint8_t>* buffer) { in WriteCIE() 187 std::vector<uint8_t> buffer; // Small temporary buffer. in WriteCFISection() local
|
D | elf_debug_writer.cc | 122 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/dwarf/ |
D | headers.h | 44 std::vector<uint8_t>* buffer) { in WriteCIE() 74 /*inout*/ std::vector<uint8_t>* buffer) { in WriteFDE()
|
D | writer.h | 127 void PushData(const Vector* buffer) { in PushData() 173 explicit Writer(Vector* buffer) : data_(buffer) { } in Writer()
|
D | debug_abbrev_writer.h | 44 explicit DebugAbbrevWriter(Vector* buffer) in DebugAbbrevWriter()
|
D | expression.h | 114 explicit Expression(std::vector<uint8_t>* buffer) : Writer<>(buffer) { in Expression()
|
/art/libelffile/stream/ |
D | file_output_stream.cc | 28 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
|
D | vector_output_stream.h | 34 bool WriteFully(const void* buffer, size_t byte_count) override { in WriteFully()
|
D | buffered_output_stream.cc | 32 bool BufferedOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
|
D | error_delaying_output_stream.h | 39 bool WriteFully(const void* buffer, size_t byte_count) override { in WriteFully()
|
/art/compiler/utils/ |
D | assembler.h | 182 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity() 223 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity() 296 explicit DebugFrameOpCodeWriterForAssembler(Assembler* buffer) in DebugFrameOpCodeWriterForAssembler()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 323 bool RunValidation(Fn fn, const std::vector<uint8_t>& buffer, std::string* error_msg) { in RunValidation() 490 std::vector<uint8_t> buffer; in TEST_F() local 504 std::vector<uint8_t> buffer; in TEST_F() local 585 std::vector<uint8_t> buffer; in TEST_F() local 608 std::vector<uint8_t> buffer; in TEST_F() local 638 std::vector<uint8_t> buffer; in TEST_F() local
|
/art/compiler/optimizing/ |
D | liveness_test.cc | 36 std::ostream& buffer, in DumpBitVector() 57 std::ostringstream buffer; in TestCode() local
|
/art/libdexfile/dex/ |
D | compact_dex_file_test.cc | 54 uint16_t buffer[sizeof(CompactDexFile::CodeItem) + in TEST() local
|