Home
last modified time | relevance | path

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

12

/art/libartbase/base/unix_file/
Drandom_access_file_test.h56 char buf[256]; in ReadString() local
67 char buf[256]; in TestRead() local
159 char buf[256]; in TestWrite() local
Drandom_access_file_utils.cc28 std::vector<char> buf(4096); in CopyFile() local
Dfd_file.cc99 static ssize_t pwrite(int fd, const void* buf, size_t count, off64_t offset) { in pwrite()
362 int64_t FdFile::Read(char* buf, int64_t byte_count, int64_t offset) const { in Read()
388 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
415 static ssize_t ReadIgnoreOffset(int fd, void *buf, size_t count, off_t offset) { in ReadIgnoreOffset()
/art/runtime/jdwp/
Djdwp_bits.h79 static inline void Set1(uint8_t* buf, uint8_t val) { in Set1()
84 static inline void Set2BE(uint8_t* buf, uint16_t val) { in Set2BE()
90 static inline void Set4BE(uint8_t* buf, uint32_t val) { in Set4BE()
98 static inline void Set8BE(uint8_t* buf, uint64_t val) { in Set8BE()
Djdwp.h67 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set8BE(buf, val); } in SetFieldId()
68 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set8BE(buf, val); } in SetMethodId()
69 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId()
70 static inline void SetRefTypeId(uint8_t* buf, RefTypeId val) { return Set8BE(buf, val); } in SetRefTypeId()
71 static inline void SetFrameId(uint8_t* buf, FrameId val) { return Set8BE(buf, val); } in SetFrameId()
Djdwp_expand_buf.cc154 static void SetUtf8String(uint8_t* buf, const char* str, size_t strLen) { in SetUtf8String()
182 void expandBufAddLocation(ExpandBuf* buf, const JdwpLocation& location) { in expandBufAddLocation()
/art/libartbase/base/
Dbit_vector_test.cc218 uint32_t buf; in TEST() local
228 uint32_t buf; in TEST() local
243 uint8_t buf[5]; in TEST() local
260 uint32_t buf[2]; in TEST() local
Dlogging.cc108 char* buf = nullptr; in LogLineLowStack() local
152 char buf[kBufSize + 1]; // +1 for terminator. in PrintFileToLog() local
Dzip_archive_test.cc56 uint8_t buf[kBufSize]; in TEST_F() local
Dsafe_copy_test.cc53 char buf[kPageSize]; in TEST() local
Dzip_archive.cc157 char buf; in MapDirectlyFromFile() local
Dutils.cc250 char buf[16]; // MAX_TASK_COMM_LEN=16 is hard-coded in the kernel. in SetThreadName() local
Dfile_utils.cc84 std::vector<char> buf(8 * KB); in ReadFileToString() local
/art/test/580-crc32/src/
DMain.java348 ByteBuffer buf = ByteBuffer.wrap(bytes, 0, off + len); in CRC32ByteBuffer() local
416 ByteBuffer buf = ByteBuffer.allocateDirect(total_len).put(bytes, 0, total_len); in CRC32DirectByteBuffer() local
424 ByteBuffer buf = ByteBuffer.allocateDirect(bytes.length).put(bytes); in CRC32ByteAndDirectByteBuffer() local
433 ByteBuffer buf = ByteBuffer.allocateDirect(bytes.length).put(bytes); in CRC32DirectByteBufferAndByte() local
/art/test/070-nio-buffer/src/
DMain.java30 ByteBuffer buf = ByteBuffer.allocateDirect(16); in main() local
/art/runtime/
Dtrace.cc181 static void Append2LE(uint8_t* buf, uint16_t val) { in Append2LE()
187 static void Append4LE(uint8_t* buf, uint32_t val) { in Append4LE()
195 static void Append8LE(uint8_t* buf, uint64_t val) { in Append8LE()
593 static uint64_t ReadBytes(uint8_t* buf, size_t bytes) { in ReadBytes()
601 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf()
668 uint8_t buf[7]; in FinishTracing() local
Druntime_common.cc462 char buf[] = { ' ', in HandleUnexpectedSignalCommon() local
/art/openjdkjvm/
DOpenjdkJvm.cc101 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read()
106 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write()
159 JNIEXPORT jint JVM_GetLastErrorString(char* buf, int len) { in JVM_GetLastErrorString()
266 JNIEXPORT jint JVM_Send(jint fd, char* buf, jint nBytes, jint flags) { in JVM_Send()
/art/libdexfile/dex/
Dutf_test.cc316 static void testConversions(uint16_t *buf, int char_count) { in testConversions()
354 uint16_t buf[4] = { 0 }; in TEST_F() local
/art/compiler/linker/
Doutput_stream_test.cc45 uint8_t buf[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; in GenerateTestOutput() local
/art/runtime/jni/
Djni_internal.cc1994 jchar* buf) { in GetStringRegion()
2014 char* buf) { in GetStringUTFRegion()
2372 jboolean* buf) { in GetBooleanArrayRegion()
2378 jbyte* buf) { in GetByteArrayRegion()
2383 jchar* buf) { in GetCharArrayRegion()
2388 jdouble* buf) { in GetDoubleArrayRegion()
2394 jfloat* buf) { in GetFloatArrayRegion()
2400 jint* buf) { in GetIntArrayRegion()
2405 jlong* buf) { in GetLongArrayRegion()
2410 jshort* buf) { in GetShortArrayRegion()
[all …]
Dcheck_jni.cc1615 static void DebugFree(void* buf, size_t len) { in DebugFree()
1651 uint8_t buf[4]; in CheckHeader() local
1708 const uint8_t* buf = reinterpret_cast<const uint8_t*>(this); in StartRedZone() local
1720 const uint8_t* buf = reinterpret_cast<const uint8_t*>(this); in EndRedZone() local
1826 static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, in DefineClass()
2472 static void GetStringRegion(JNIEnv* env, jstring string, jsize start, jsize len, jchar* buf) { in GetStringRegion()
2487 static void GetStringUTFRegion(JNIEnv* env, jstring string, jsize start, jsize len, char* buf) { in GetStringUTFRegion()
2725 static void* GetDirectBufferAddress(JNIEnv* env, jobject buf) { in GetDirectBufferAddress()
2742 static jlong GetDirectBufferCapacity(JNIEnv* env, jobject buf) { in GetDirectBufferCapacity()
3668 jarray array, jsize start, jsize len, void* buf) { in GetPrimitiveArrayRegion()
[all …]
/art/tools/dmtracedump/
Dtracedump.cc1250 char buf[80]; in printInclusiveMethod() local
1518 char buf[40]; in printInclusiveProfile() local
1647 void printHtmlField(char* buf, int32_t width) { in printHtmlField()
1739 char buf[80]; in printClassProfiles() local
1783 char buf[80]; in printClassProfiles() local
1949 char buf[80]; in printMethodProfiles() local
1993 char buf[80]; in printMethodProfiles() local
Dcreatetesttrace.cc75 char buf[BUF_SIZE]; variable
/art/runtime/arch/x86/
Dfault_handler_x86.cc82 char buf[15]; // x86/x86-64 have a maximum instruction length of 15 bytes. in GetInstructionSize() local

12