| /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 | 958 static bool WriteBuffer(int fd, const void* buffer, size_t byte_count) { in WriteBuffer() 1107 SafeBuffer buffer(dex_files_section_size); in Save() local 1126 SafeBuffer buffer(extra_descriptors_section_size); in Save() local 1144 SafeBuffer buffer(classes_section_size); in Save() local 1159 SafeBuffer buffer(methods_section_size); in Save() local 1569 void* buffer, in Read() 1613 /*out*/ SafeBuffer* buffer, in ReadSectionData() 1642 SafeBuffer buffer; in ReadDexFilesSection() local 1708 SafeBuffer buffer; in ReadExtraDescriptorsSection() local 1760 SafeBuffer buffer; in ReadClassesSection() local [all …]
|
| /art/test/712-varhandle-invocations/src/ |
| D | VarHandleUnitTestHelpers.java | 96 public static boolean getBytesAs_boolean(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_boolean() 100 public static byte getBytesAs_byte(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_byte() 104 public static char getBytesAs_char(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_char() 108 public static short getBytesAs_short(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_short() 112 public static int getBytesAs_int(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_int() 116 public static long getBytesAs_long(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_long() 120 public static float getBytesAs_float(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_float() 124 public static double getBytesAs_double(ByteBuffer buffer, int index, ByteOrder order) { in getBytesAs_double() 161 ByteBuffer buffer, int index, boolean value, ByteOrder order) { in setBytesAs_boolean() 165 public static void setBytesAs_byte(ByteBuffer buffer, int index, byte value, ByteOrder order) { in setBytesAs_byte() [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/libelffile/stream/ |
| D | file_output_stream.cc | 30 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() 72 static const std::array<uint8_t, 1024> buffer{}; in Seek() local
|
| 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/tools/ahat/src/main/com/android/ahat/heapdump/ |
| D | AhatBitmapInstance.java | 168 AhatInstance buffer = bufferVal.asAhatInstance(); in toBitmapDumpData() local 198 private final byte[] buffer; field in AhatBitmapInstance.BitmapInfo 201 public BitmapInfo(int width, int height, int format, byte[] buffer) { in BitmapInfo() 318 public byte[] buffer; field in AhatBitmapInstance.Bitmap 330 public Bitmap(String format, byte[] buffer, BufferedImage image) { in Bitmap()
|
| /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/tools/ahat/src/test-dump/android/graphics/ |
| D | Bitmap.java | 29 public Bitmap(int width, int height, long nativePtr, byte[] buffer) { in Bitmap() 51 public void add(long nativePtr, byte[] buffer) { in add()
|
| /art/runtime/ |
| D | trace_profile.cc | 93 void TraceData::AppendToLongRunningMethods(const uint8_t* buffer, size_t size) { in AppendToLongRunningMethods() 124 auto buffer = new uintptr_t[kAlwaysOnTraceBufSize]; in AllocateBuffer() local 244 auto buffer = new uintptr_t[kAlwaysOnTraceBufSize]; in Run() local 254 auto buffer = new uintptr_t[kAlwaysOnTraceBufSize]; in Run() local 345 auto buffer = thread->GetMethodTraceBuffer(); in StopLocked() local 362 uint8_t* buffer, in DumpBuffer() 483 auto buffer = self->GetMethodTraceBuffer(); in ReleaseThreadBuffer() local 509 uint8_t* buffer, in DumpLongRunningMethodBuffer()
|
| /art/test/2036-jni-filechannel/ |
| D | jni_filechannel.cc | 22 jobject buffer, in Java_Main_checkBufferCapacity()
|
| /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/compiler/debug/ |
| D | elf_debug_frame_writer.h | 39 static void WriteCIE(InstructionSet isa, /*inout*/ std::vector<uint8_t>* buffer) { in WriteCIE() 211 std::vector<uint8_t> buffer; // Small temporary buffer. in WriteCFISection() local
|
| /art/libartbase/base/unix_file/ |
| D | fd_file.cc | 449 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric() 465 bool FdFile::ReadFully(void* buffer, size_t byte_count) { in ReadFully() 469 bool FdFile::PreadFully(void* buffer, size_t byte_count, size_t offset) { in PreadFully() 474 bool FdFile::WriteFullyGeneric(const void* buffer, size_t byte_count, size_t offset) { in WriteFullyGeneric() 493 bool FdFile::PwriteFully(const void* buffer, size_t byte_count, size_t offset) { in PwriteFully() 497 bool FdFile::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() 668 art::UniqueCPtr<void> buffer(malloc(buffer_size)); in Copy() local
|
| /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 | 318 bool RunValidation(Fn fn, const std::vector<uint8_t>& buffer) { in RunValidation() 485 std::vector<uint8_t> buffer; in TEST_F() local 499 std::vector<uint8_t> buffer; in TEST_F() local 579 std::vector<uint8_t> buffer; in TEST_F() local 601 std::vector<uint8_t> buffer; in TEST_F() local 631 std::vector<uint8_t> buffer; in TEST_F() local
|
| /art/tools/trace_parser/ |
| D | long_running_method_trace_parser.cc | 113 std::unique_ptr<uint8_t[]> buffer(new uint8_t[total_size]); in SkipTraceEntries() local 138 std::unique_ptr<uint8_t[]> buffer(new uint8_t[total_size]); in ProcessLongRunningMethodTraceEntries() local
|
| /art/compiler/utils/ |
| D | assembler.h | 181 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity() 222 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity() 297 explicit DebugFrameOpCodeWriterForAssembler(Assembler* buffer) in DebugFrameOpCodeWriterForAssembler()
|