Home
last modified time | relevance | path

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

12

/art/libartbase/base/
Dendian_utils.h66 inline void SetBytes(uint8_t* buf, T val) { in SetBytes()
70 inline void Set1(uint8_t* buf, uint8_t val) { in Set1()
74 inline void Set2BE(uint8_t* buf, uint16_t val) { in Set2BE()
78 inline void Set4BE(uint8_t* buf, uint32_t val) { in Set4BE()
82 inline void Set8BE(uint8_t* buf, uint64_t val) { in Set8BE()
Dbit_vector_test.cc247 uint32_t buf; in TEST() local
257 uint32_t buf; in TEST() local
272 uint8_t buf[5]; in TEST() local
289 uint32_t buf[2]; in TEST() local
Dlogging.cc133 char* buf = nullptr; in LogLineLowStack() local
177 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.cc165 char buf; in MapDirectlyFromFile() local
Dutils.cc294 char buf[16]; // MAX_TASK_COMM_LEN=16 is hard-coded in the kernel. in SetThreadName() local
Dcommon_art_test.cc672 auto string_collect_fn = [output](char* buf, size_t len) { in ForkAndExec()
/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/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/libnativebridge/tests/
DPreInitializeNativeBridge_test.cpp52 char buf[1024]; in TEST_F() local
/art/test/070-nio-buffer/src/
DMain.java29 ByteBuffer buf = ByteBuffer.allocateDirect(16); in main() local
/art/runtime/
Dtrace.cc182 static void Append2LE(uint8_t* buf, uint16_t val) { in Append2LE()
188 static void Append4LE(uint8_t* buf, uint32_t val) { in Append4LE()
196 static void Append8LE(uint8_t* buf, uint64_t val) { in Append8LE()
594 static uint64_t ReadBytes(uint8_t* buf, size_t bytes) { in ReadBytes()
602 void Trace::DumpBuf(uint8_t* buf, size_t buf_size, TraceClockSource clock_source) { in DumpBuf()
669 uint8_t buf[7]; in FinishTracing() local
Druntime_common.cc472 char buf[] = { ' ', in HandleUnexpectedSignalCommon() local
/art/openjdkjvm/
DOpenjdkJvm.cc102 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read()
107 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write()
160 JNIEXPORT jint JVM_GetLastErrorString(char* buf, int len) { in JVM_GetLastErrorString()
267 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.cc1985 jchar* buf) { in GetStringRegion()
2006 char* buf) { in GetStringUTFRegion()
2376 jboolean* buf) { in GetBooleanArrayRegion()
2382 jbyte* buf) { in GetByteArrayRegion()
2387 jchar* buf) { in GetCharArrayRegion()
2392 jdouble* buf) { in GetDoubleArrayRegion()
2398 jfloat* buf) { in GetFloatArrayRegion()
2404 jint* buf) { in GetIntArrayRegion()
2409 jlong* buf) { in GetLongArrayRegion()
2414 jshort* buf) { in GetShortArrayRegion()
[all …]
Dcheck_jni.cc1665 static void DebugFree(void* buf, size_t len) { in DebugFree()
1701 uint8_t buf[4]; in CheckHeader() local
1758 const uint8_t* buf = reinterpret_cast<const uint8_t*>(this); in StartRedZone() local
1770 const uint8_t* buf = reinterpret_cast<const uint8_t*>(this); in EndRedZone() local
1876 static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, in DefineClass()
2522 static void GetStringRegion(JNIEnv* env, jstring string, jsize start, jsize len, jchar* buf) { in GetStringRegion()
2537 static void GetStringUTFRegion(JNIEnv* env, jstring string, jsize start, jsize len, char* buf) { in GetStringUTFRegion()
2775 static void* GetDirectBufferAddress(JNIEnv* env, jobject buf) { in GetDirectBufferAddress()
2792 static jlong GetDirectBufferCapacity(JNIEnv* env, jobject buf) { in GetDirectBufferCapacity()
3718 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
/art/adbconnection/
Dadbconnection.cc569 char buf[257]; in RunPollLoop() local

12