Home
last modified time | relevance | path

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

123

/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/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.cc936 static bool WriteBuffer(int fd, const void* buffer, size_t byte_count) { in WriteBuffer()
1085 SafeBuffer buffer(dex_files_section_size); in Save() local
1104 SafeBuffer buffer(extra_descriptors_section_size); in Save() local
1122 SafeBuffer buffer(classes_section_size); in Save() local
1137 SafeBuffer buffer(methods_section_size); in Save() local
1537 void* buffer, in Read()
1581 /*out*/ SafeBuffer* buffer, in ReadSectionData()
1610 SafeBuffer buffer; in ReadDexFilesSection() local
1676 SafeBuffer buffer; in ReadExtraDescriptorsSection() local
1728 SafeBuffer buffer; in ReadClassesSection() local
[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/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatBitmapInstance.java164 AhatInstance buffer = bufferVal.asAhatInstance(); in toBitmapDumpData() local
201 private final byte[] buffer; field in AhatBitmapInstance.BitmapInfo
204 public BitmapInfo(int width, int height, int format, byte[] buffer) { in BitmapInfo()
300 public byte[] buffer; field in AhatBitmapInstance.Bitmap
312 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/test/2036-jni-filechannel/
Djni_filechannel.cc22 jobject buffer, in Java_Main_checkBufferCapacity()
/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()
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
Delf_debug_writer.cc122 std::vector<uint8_t> buffer; in MakeMiniDebugInfoInternal() local
184 std::vector<uint8_t> buffer; in MakeElfFileForJIT() local
355 std::vector<uint8_t> buffer; in WriteDebugElfFileForClasses() local
/art/libartbase/base/unix_file/
Dfd_file.cc430 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric()
446 bool FdFile::ReadFully(void* buffer, size_t byte_count) { in ReadFully()
450 bool FdFile::PreadFully(void* buffer, size_t byte_count, size_t offset) { in PreadFully()
455 bool FdFile::WriteFullyGeneric(const void* buffer, size_t byte_count, size_t offset) { in WriteFullyGeneric()
474 bool FdFile::PwriteFully(const void* buffer, size_t byte_count, size_t offset) { in PwriteFully()
478 bool FdFile::WriteFully(const void* buffer, size_t byte_count) { in WriteFully()
649 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.cc313 bool RunValidation(Fn fn, const std::vector<uint8_t>& buffer) { in RunValidation()
480 std::vector<uint8_t> buffer; in TEST_F() local
494 std::vector<uint8_t> buffer; in TEST_F() local
574 std::vector<uint8_t> buffer; in TEST_F() local
596 std::vector<uint8_t> buffer; in TEST_F() local
626 std::vector<uint8_t> buffer; in TEST_F() 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()
/art/runtime/
Dtrace.cc297 TraceWriter* trace_writer, int index, uintptr_t* buffer, size_t cur_offset, size_t thread_id) in TraceWriterTask()
330 TraceWriter* trace_writer, int index, uintptr_t* buffer, size_t cur_offset, size_t tid) in TraceEntriesWriterTask()
333 void ProcessBuffer(uintptr_t* buffer, size_t cur_offset, size_t thread_id) override { in ProcessBuffer()
346 MethodInfoWriterTask(TraceWriter* trace_writer, int index, uintptr_t* buffer, size_t cur_offset) in MethodInfoWriterTask()
349 void ProcessBuffer(uintptr_t* buffer, in ProcessBuffer()
612 uint8_t* buffer = nullptr; in ClassPrepare() local
618 uint8_t* TraceWriter::AddMethodInfoWriteTask(uint8_t* buffer, in AddMethodInfoWriteTask()
633 void TraceWriter::WriteToFile(uint8_t* buffer, size_t offset) { in WriteToFile()
640 void TraceWriter::RecordMethodInfoV2(mirror::Class* klass, uint8_t** buffer, size_t* offset) { in RecordMethodInfoV2()
1520 uintptr_t* buffer = nullptr; in AcquireTraceBuffer() local
[all …]

123