| /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_boot_info.cc | 42 std::vector<uint8_t> buffer; in Save() local
|
| D | profile_compilation_info.cc | 932 static bool WriteBuffer(int fd, const void* buffer, size_t byte_count) { in WriteBuffer() 1081 SafeBuffer buffer(dex_files_section_size); in Save() local 1100 SafeBuffer buffer(extra_descriptors_section_size); in Save() local 1118 SafeBuffer buffer(classes_section_size); in Save() local 1133 SafeBuffer buffer(methods_section_size); in Save() local 1502 void* buffer, in Read() 1546 /*out*/ SafeBuffer* buffer, in ReadSectionData() 1575 SafeBuffer buffer; in ReadDexFilesSection() local 1641 SafeBuffer buffer; in ReadExtraDescriptorsSection() local 1693 SafeBuffer buffer; in ReadClassesSection() local [all …]
|
| /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 | 33 static size_t EncodeIntValue(int32_t value, uint8_t* buffer) { in EncodeIntValue() 50 static size_t EncodeUIntValue(uint32_t value, uint8_t* buffer) { in EncodeUIntValue() 59 static size_t EncodeLongValue(int64_t value, uint8_t* buffer) { in EncodeLongValue() 81 static size_t EncodeFloatValue(float value, uint8_t* buffer) { in EncodeFloatValue() 98 static size_t EncodeDoubleValue(double value, uint8_t* buffer) { in EncodeDoubleValue() 118 uint8_t buffer[8]; in WriteEncodedValue() local 185 uint8_t buffer[1] = { static_cast<uint8_t>((value_arg << 5) | value_type) }; in WriteEncodedValueHeader() local 299 uint32_t buffer[3]; in WriteProtoIds() local 319 uint16_t buffer[4]; in WriteFieldIds() local 336 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/test/2036-jni-filechannel/ |
| D | jni_filechannel.cc | 22 jobject buffer, in Java_Main_checkBufferCapacity()
|
| /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/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/debug/ |
| D | elf_debug_frame_writer.h | 39 static void WriteCIE(InstructionSet isa, /*inout*/ std::vector<uint8_t>* buffer) { in WriteCIE() 192 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 356 std::vector<uint8_t> buffer; in WriteDebugElfFileForClasses() local
|
| /art/libelffile/dwarf/ |
| D | headers.h | 44 std::vector<uint8_t>* buffer) { in WriteCIE() 70 /*inout*/ std::vector<uint8_t>* buffer) { in WriteFDE()
|
| D | debug_abbrev_writer.h | 44 explicit DebugAbbrevWriter(Vector* buffer) in DebugAbbrevWriter()
|
| D | writer.h | 127 void PushData(const Vector* buffer) { in PushData() 173 explicit Writer(Vector* buffer) : data_(buffer) { } in Writer()
|
| D | expression.h | 114 explicit Expression(std::vector<uint8_t>* buffer) : Writer<>(buffer) { in Expression()
|
| /art/test/2040-huge-native-alloc/ |
| D | huge_native_buf.cc | 30 char* buffer = new char[HUGE_SIZE]; in Java_Main_getHugeNativeBuffer() local
|
| /art/runtime/native/ |
| D | java_lang_String.cc | 84 jcharArray buffer, jint index) { in String_getCharsNoCheck() 92 jbyteArray buffer, jint byteIndex) { in String_fillBytesLatin1() 100 jbyteArray buffer, jint byteIndex) { in String_fillBytesUTF16()
|
| /art/dex2oat/ |
| D | verifier_deps_test.cc | 313 bool RunValidation(Fn fn, const std::vector<uint8_t>& buffer, std::string* error_msg) { in RunValidation() 481 std::vector<uint8_t> buffer; in TEST_F() local 495 std::vector<uint8_t> buffer; in TEST_F() local 577 std::vector<uint8_t> buffer; in TEST_F() local 600 std::vector<uint8_t> buffer; in TEST_F() local 630 std::vector<uint8_t> buffer; in TEST_F() local
|
| /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()
|