Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 29) sorted by relevance

12

/art/runtime/base/unix_file/
Drandom_access_file_test.h54 char buf[256]; in ReadString() local
65 char buf[256]; in TestRead() local
153 char buf[256]; in TestWrite() local
Dnull_file.cc36 int64_t NullFile::Read(char* buf, int64_t byte_count, int64_t offset) const { in Read()
54 int64_t NullFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
Dstring_file.cc38 int64_t StringFile::Read(char *buf, int64_t byte_count, int64_t offset) const { in Read()
66 int64_t StringFile::Write(const char *buf, int64_t byte_count, int64_t offset) { in Write()
Dmapped_file.cc98 int64_t MappedFile::Read(char* buf, int64_t byte_count, int64_t offset) const { in Read()
132 int64_t MappedFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
Drandom_access_file_utils.cc26 std::vector<char> buf(4096); in CopyFile() local
Dfd_file.cc76 int64_t FdFile::Read(char* buf, int64_t byte_count, int64_t offset) const { in Read()
92 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
Dnull_file_test.cc29 char buf[256]; in TEST_F() local
/art/runtime/jdwp/
Djdwp_bits.h70 static inline void Set1(uint8_t* buf, uint8_t val) { in Set1()
75 static inline void Set2BE(uint8_t* buf, uint16_t val) { in Set2BE()
81 static inline void Set4BE(uint8_t* buf, uint32_t val) { in Set4BE()
89 static inline void Set8BE(uint8_t* buf, uint64_t val) { in Set8BE()
Djdwp.h54 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set4BE(buf, val); } in SetFieldId()
55 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set4BE(buf, val); } in SetMethodId()
56 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId()
57 static inline void SetRefTypeId(uint8_t* buf, RefTypeId val) { return Set8BE(buf, val); } in SetRefTypeId()
58 static inline void SetFrameId(uint8_t* buf, FrameId val) { return Set8BE(buf, val); } in SetFrameId()
Djdwp_expand_buf.cc153 static void SetUtf8String(uint8_t* buf, const char* str, size_t strLen) { in SetUtf8String()
179 void expandBufAddLocation(ExpandBuf* buf, const JdwpLocation& location) { in expandBufAddLocation()
/art/runtime/
Dzip_archive_test.cc49 uint8_t buf[kBufSize]; in TEST_F() local
Dmonitor_android.cc30 static void Set4LE(uint8_t* buf, uint32_t val) { in Set4LE()
Dtrace.cc216 static void Append2LE(uint8_t* buf, uint16_t val) { in Append2LE()
222 static void Append4LE(uint8_t* buf, uint32_t val) { in Append4LE()
230 static void Append8LE(uint8_t* buf, uint64_t val) { in Append8LE()
466 static void DumpBuf(uint8_t* buf, size_t buf_size, ProfilerClockSource clock_source) in DumpBuf()
Djni_internal.cc1974 jchar* buf) { in GetStringRegion()
1988 char* buf) { in GetStringUTFRegion()
2244 jboolean* buf) { in GetBooleanArrayRegion()
2250 jbyte* buf) { in GetByteArrayRegion()
2256 jchar* buf) { in GetCharArrayRegion()
2262 jdouble* buf) { in GetDoubleArrayRegion()
2268 jfloat* buf) { in GetFloatArrayRegion()
2274 jint* buf) { in GetIntArrayRegion()
2280 jlong* buf) { in GetLongArrayRegion()
2286 jshort* buf) { in GetShortArrayRegion()
[all …]
Dcheck_jni.cc993 uint8_t buf[4]; in Check() local
1132 …static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, jsize b… in DefineClass()
1689 static void GetStringRegion(JNIEnv* env, jstring str, jsize start, jsize len, jchar* buf) { in GetStringRegion()
1695 static void GetStringUTFRegion(JNIEnv* env, jstring str, jsize start, jsize len, char* buf) { in GetStringUTFRegion()
1774 static void* GetDirectBufferAddress(JNIEnv* env, jobject buf) { in GetDirectBufferAddress()
1780 static jlong GetDirectBufferCapacity(JNIEnv* env, jobject buf) { in GetDirectBufferCapacity()
/art/runtime/base/
Dstringprintf.cc51 char* buf = new char[length]; in StringAppendV() local
Dstringpiece.cc28 int StringPiece::copy(char* buf, size_type n, size_type pos) const { in copy()
/art/compiler/dex/quick/arm/
Dtarget_arm.cc249 static char* DecodeRegList(int opcode, int vector, char* buf) { in DecodeRegList()
272 static char* DecodeFPCSRegList(int count, int base, char* buf) { in DecodeFPCSRegList()
306 std::string buf; in BuildInsnString() local
444 char buf[256]; in DumpResourceMask() local
/art/test/070-nio-buffer/src/
DMain.java29 ByteBuffer buf = ByteBuffer.allocateDirect(16); in main() local
/art/compiler/
Doutput_stream_test.cc41 uint8_t buf[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; in GenerateTestOutput() local
/art/jdwpspy/
DNet.cpp472 const unsigned char* buf = packetBuf; in dumpPacket() local
527 const unsigned char* buf = pSrc->inputBuffer; in handlePacket() local
/art/compiler/dex/quick/mips/
Dtarget_mips.cc156 std::string buf; in BuildInsnString() local
248 char buf[256]; in DumpResourceMask() local
/art/compiler/dex/quick/x86/
Dtarget_x86.cc199 std::string buf; in BuildInsnString() local
257 char buf[256]; in DumpResourceMask() local
/art/runtime/hprof/
Dhprof.cc71 #define U2_TO_BUF_BE(buf, offset, value) \ argument
80 #define U4_TO_BUF_BE(buf, offset, value) \ argument
91 #define U8_TO_BUF_BE(buf, offset, value) \ argument
618 unsigned char buf[4]; in WriteFixedHeader() local
/art/compiler/dex/quick/
Dcodegen_util.cc205 std::string buf; in DumpPromotionMap() local
339 static void PushWord(std::vector<uint8_t>&buf, int data) { in PushWord()
346 static void AlignBuffer(std::vector<uint8_t>&buf, size_t offset) { in AlignBuffer()

12