Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 37) 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.cc248 uint32_t buf; in TEST() local
258 uint32_t buf; in TEST() local
273 uint8_t buf[5]; in TEST() local
290 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
Dutils.cc306 char buf[16]; // MAX_TASK_COMM_LEN=16 is hard-coded in the kernel. in SetThreadName() local
369 size_t GetOsThreadStat(pid_t tid, char* buf, size_t len) { in GetOsThreadStat()
393 char buf[BUF_SIZE]; in GetOsThreadStatQuick() local
Dzip_archive.cc165 char buf; in MapDirectlyFromFile() local
Dcommon_art_test.cc677 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.cc103 static ssize_t pwrite(int fd, const void* buf, size_t count, off64_t offset) { in pwrite()
371 int64_t FdFile::Read(char* buf, int64_t byte_count, int64_t offset) const { in Read()
397 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
424 static ssize_t ReadIgnoreOffset(int fd, void *buf, size_t count, off_t offset) { in ReadIgnoreOffset()
/art/libartservice/service/java/com/android/server/art/
DIndentingPrintWriter.java87 final char[] buf = new char[len]; in write() local
93 public void write(@NonNull char[] buf, int offset, int count) { in write()
/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/2040-huge-native-alloc/src/
DMain.java136 private static native void deleteHugeNativeBuffer(ByteBuffer buf); in deleteHugeNativeBuffer()
/art/test/070-nio-buffer/src/
DMain.java29 ByteBuffer buf = ByteBuffer.allocateDirect(16); in main() local
/art/runtime/gc/
Dreference_processor.cc177 char buf[kBufSize]; in ForwardSoftReferences() local
258 char buf[kBufSize]; in ProcessReferences() local
Dreference_queue.cc199 ObjPtr<mirror::Reference> buf[SR_BUF_SIZE]; in ForwardSoftReferences() local
/art/openjdkjvm/
DOpenjdkJvm.cc104 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read()
109 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write()
162 JNIEXPORT jint JVM_GetLastErrorString(char* buf, int len) { in JVM_GetLastErrorString()
295 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.cc2078 jchar* buf) { in GetStringRegion()
2099 char* buf) { in GetStringUTFRegion()
2475 jboolean* buf) { in GetBooleanArrayRegion()
2481 jbyte* buf) { in GetByteArrayRegion()
2486 jchar* buf) { in GetCharArrayRegion()
2491 jdouble* buf) { in GetDoubleArrayRegion()
2497 jfloat* buf) { in GetFloatArrayRegion()
2503 jint* buf) { in GetIntArrayRegion()
2508 jlong* buf) { in GetLongArrayRegion()
2513 jshort* buf) { in GetShortArrayRegion()
[all …]
Dcheck_jni.cc1673 static void DebugFree(void* buf, size_t len) { in DebugFree()
1709 uint8_t buf[4]; in CheckHeader() local
1766 const uint8_t* buf = reinterpret_cast<const uint8_t*>(this); in StartRedZone() local
1778 const uint8_t* buf = reinterpret_cast<const uint8_t*>(this); in EndRedZone() local
1884 static jclass DefineClass(JNIEnv* env, const char* name, jobject loader, const jbyte* buf, in DefineClass()
2531 static void GetStringRegion(JNIEnv* env, jstring string, jsize start, jsize len, jchar* buf) { in GetStringRegion()
2546 static void GetStringUTFRegion(JNIEnv* env, jstring string, jsize start, jsize len, char* buf) { in GetStringUTFRegion()
2784 static void* GetDirectBufferAddress(JNIEnv* env, jobject buf) { in GetDirectBufferAddress()
2801 static jlong GetDirectBufferCapacity(JNIEnv* env, jobject buf) { in GetDirectBufferCapacity()
3722 jarray array, jsize start, jsize len, void* buf) { in GetPrimitiveArrayRegion()
[all …]
/art/runtime/
Dtrace.cc451 static void Append2LE(uint8_t* buf, uint16_t val) { in Append2LE()
457 static void Append4LE(uint8_t* buf, uint32_t val) { in Append4LE()
465 static void Append8LE(uint8_t* buf, uint64_t val) { in Append8LE()
652 uint8_t* buf = *buffer; in RecordMethodInfoV2() local
1206 uint8_t buf[7]; in FinishTracing() local
1217 uint8_t buf[3]; in FinishTracing() local
Druntime_common.cc472 char buf[] = { ' ', in HandleUnexpectedSignalCommon() local
/art/runtime/gc/collector/
Dmark_compact.cc1047 uint8_t* buf = collector_->compaction_buffers_map_.Begin() + index_ * gPageSize; in Run() local
3450 void MarkCompact::ConcurrentCompaction(uint8_t* buf) { in ConcurrentCompaction()
3583 uint8_t* buf, in ConcurrentlyProcessMovingPage()
4871 struct stat buf; in FinishPhase() local

12