Home
last modified time | relevance | path

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

123

/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_boot_info.cc42 std::vector<uint8_t> buffer; in Save() local
Dprofile_compilation_info.cc958 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/
DVarHandleUnitTestHelpers.java96 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/
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/libelffile/stream/
Dfile_output_stream.cc30 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
72 static const std::array<uint8_t, 1024> buffer{}; in Seek() local
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/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatBitmapInstance.java168 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/
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/tools/ahat/src/test-dump/android/graphics/
DBitmap.java29 public Bitmap(int width, int height, long nativePtr, byte[] buffer) { in Bitmap()
51 public void add(long nativePtr, byte[] buffer) { in add()
/art/runtime/
Dtrace_profile.cc93 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/
Djni_filechannel.cc22 jobject buffer, in Java_Main_checkBufferCapacity()
/art/libelffile/dwarf/
Dheaders.h44 std::vector<uint8_t>* buffer) { in WriteCIE()
70 /*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/debug/
Delf_debug_frame_writer.h39 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/
Dfd_file.cc449 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/
Dhuge_native_buf.cc30 char* buffer = new char[HUGE_SIZE]; in Java_Main_getHugeNativeBuffer() local
/art/runtime/native/
Djava_lang_String.cc84 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/
Dverifier_deps_test.cc318 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/
Dlong_running_method_trace_parser.cc113 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/
Dassembler.h181 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity()
222 explicit EnsureCapacity(AssemblerBuffer* buffer) { in EnsureCapacity()
297 explicit DebugFrameOpCodeWriterForAssembler(Assembler* buffer) in DebugFrameOpCodeWriterForAssembler()

123