Home
last modified time | relevance | path

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

123456

/system/core/logd/
DCommandListener.cpp35 CommandListener::CommandListener(LogBuffer *buf, LogReader * /*reader*/, in CommandListener()
49 CommandListener::ShutdownCmd::ShutdownCmd(LogBuffer *buf, LogReader *reader, in ShutdownCmd()
65 CommandListener::ClearCmd::ClearCmd(LogBuffer *buf) in ClearCmd()
98 CommandListener::GetBufSizeCmd::GetBufSizeCmd(LogBuffer *buf) in GetBufSizeCmd()
118 char buf[512]; in runCommand() local
124 CommandListener::SetBufSizeCmd::SetBufSizeCmd(LogBuffer *buf) in SetBufSizeCmd()
158 CommandListener::GetBufSizeUsedCmd::GetBufSizeUsedCmd(LogBuffer *buf) in GetBufSizeUsedCmd()
178 char buf[512]; in runCommand() local
184 CommandListener::GetStatisticsCmd::GetStatisticsCmd(LogBuffer *buf) in GetStatisticsCmd()
228 char *buf = NULL; in runCommand() local
[all …]
/system/core/libutils/tests/
DBlobCache_test.cpp47 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
57 unsigned char buf[2] = { 0xee, 0xee }; in TEST_F() local
69 unsigned char buf[6] = { 0xee, 0xee, 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
81 unsigned char buf[3] = { 0xee, 0xee, 0xee }; in TEST_F() local
95 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
106 unsigned char buf[MAX_VALUE_SIZE+1] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
118 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
131 char buf[MAX_VALUE_SIZE+1]; in TEST_F() local
154 char buf[bufSize]; in TEST_F() local
168 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
[all …]
/system/extras/f2fs_utils/
Df2fs_ioutils.c91 void *buf; member
98 static int dev_write_fd(void *buf, __u64 offset, size_t len) in dev_write_fd()
117 static int dev_write_sparse(void *buf, __u64 byte_offset, size_t byte_len) in dev_write_sparse()
151 int dev_read(void *buf, __u64 offset, size_t len) in dev_read()
156 int dev_write(void *buf, __u64 offset, size_t len) in dev_write()
166 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
177 int dev_read_block(void *buf, __u64 blk_addr) in dev_read_block()
183 int dev_read_blocks(void *buf, __u64 addr, __u32 nr_blks) in dev_read_blocks()
/system/keymaster/
Dgoogle_keymaster_messages.cpp29 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
48 uint8_t* SupportedAlgorithmsResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
71 uint8_t* GenerateKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
104 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
125 uint8_t* GetKeyCharacteristicsResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
146 uint8_t* BeginOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
169 uint8_t* BeginOperationResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
181 uint8_t* UpdateOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
194 uint8_t* UpdateOperationResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
206 uint8_t* FinishOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
[all …]
/system/core/libsuspend/
Dautosuspend_earlysuspend.c51 char buf; in wait_for_fb_wake() local
66 char buf; in wait_for_fb_sleep() local
102 char buf[80]; in autosuspend_earlysuspend_enable() local
132 char buf[80]; in autosuspend_earlysuspend_disable() local
167 char buf[80]; in start_earlysuspend_thread() local
195 char buf[80]; in autosuspend_earlysuspend_init() local
Dautosuspend_autosleep.c38 char buf[80]; in autosuspend_autosleep_enable() local
60 char buf[80]; in autosuspend_autosleep_disable() local
88 char buf[80]; in autosuspend_autosleep_init() local
Dautosuspend_wakeup_count.c45 char buf[80]; in suspend_thread_func() local
105 char buf[80]; in autosuspend_wakeup_count_enable() local
124 char buf[80]; in autosuspend_wakeup_count_disable() local
158 char buf[80]; in autosuspend_wakeup_count_init() local
/system/core/libutils/
DString16.cpp42 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)); in initialize_string16() local
69 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)*(u16len+1)); in allocFromUTF8() local
121 SharedBuffer* buf = SharedBuffer::alloc((len+1)*sizeof(char16_t)); in String16() local
135 SharedBuffer* buf = SharedBuffer::alloc((len+1)*sizeof(char16_t)); in String16() local
203 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in setTo() local
226 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append() local
247 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append() local
282 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in insert() local
351 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in makeLower() local
372 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in replaceAll() local
[all …]
DString8.cpp65 SharedBuffer* buf = SharedBuffer::alloc(1); in initialize_string8() local
87 SharedBuffer* buf = SharedBuffer::alloc(len+1); in allocFromUTF8() local
110 SharedBuffer* buf = SharedBuffer::alloc(bytes+1); in allocFromUTF16() local
132 SharedBuffer* buf = SharedBuffer::alloc(bytes+1); in allocFromUTF32() local
345 char* buf = lockBuffer(oldLength + n); in appendFormatV() local
359 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append() local
374 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer() local
392 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer() local
421 char* buf = lockBuffer(size()); in removeAll() local
455 char* buf = lockBuffer(len); in toLower() local
[all …]
DSharedBufferTest.cpp32 android::SharedBuffer* buf = in TEST() local
43 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
/system/core/libzipfile/
Dcentraldir.c24 read_le_int(const unsigned char* buf) in read_le_int()
30 read_le_short(const unsigned char* buf) in read_le_short()
36 read_central_dir_values(Zipfile* file, const unsigned char* buf, int len) in read_central_dir_values()
67 const unsigned char** buf, ssize_t* len) in read_central_directory_entry()
154 const unsigned char* buf = file->buf; in read_central_dir() local
/system/core/libion/tests/
Ddevice_test.cpp58 void Device::readDMA(int fd, void *buf, size_t size) in readDMA()
72 void Device::writeDMA(int fd, void *buf, size_t size) in writeDMA()
86 void Device::readKernel(int fd, void *buf, size_t size) in readKernel()
100 void Device::writeKernel(int fd, void *buf, size_t size) in writeKernel()
137 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); in TEST_F() local
171 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); in TEST_F() local
205 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); in TEST_F() local
237 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); in TEST_F() local
271 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); in TEST_F() local
305 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); in TEST_F() local
[all …]
/system/core/libcutils/
Dpartition_utils.c26 static int only_one_char(char *buf, int len, char c) in only_one_char()
42 char buf[4096]; in partition_wiped() local
Dfs.c91 char buf[BUF_SIZE]; in fs_read_atomic_int() local
122 char buf[BUF_SIZE]; in fs_write_atomic_int() local
157 char* buf = strdup(path); in fs_mkdirs() local
/system/keymaster/include/keymaster/
Dserializable.h79 inline uint8_t* append_uint32_to_buf(uint8_t* buf, const uint8_t* end, T value) { in append_uint32_to_buf()
87 inline uint8_t* append_uint64_to_buf(uint8_t* buf, const uint8_t* end, uint64_t value) { in append_uint64_to_buf()
97 inline uint8_t* append_size_and_data_to_buf(uint8_t* buf, const uint8_t* end, const void* data, in append_size_and_data_to_buf()
110 inline uint8_t* append_uint32_array_to_buf(uint8_t* buf, const uint8_t* end, const T* data, in append_uint32_array_to_buf()
184 Buffer(const void* buf, size_t size) : buffer_(NULL) { Reinitialize(buf, size); } in Buffer()
/system/core/healthd/
DBatteryMonitor.cpp99 int BatteryMonitor::readFromFile(const String8& path, char* buf, size_t size) { in readFromFile()
125 char buf[SIZE]; in readPowerSupplyType() local
153 char buf[SIZE]; in getBooleanField() local
167 char buf[SIZE]; in getIntField() local
200 char buf[SIZE]; in update() local
392 char buf[20]; in init() local
/system/core/toolbox/
Dpwcache.c46 static char buf[32]; in group_from_gid() local
56 static char buf[32]; in user_from_uid() local
/system/core/liblog/
Duio.c27 char* buf = vecs->iov_base; in readv() local
54 const char* buf = vecs->iov_base; in writev() local
Dlog_read.c276 const char *msg, char *buf, size_t buf_size) in send_log_msg()
342 static int check_log_success(char *buf, ssize_t ret) in check_log_success()
358 char buf[512]; in android_logger_clear() local
367 char buf[512]; in android_logger_get_log_size() local
383 char buf[512]; in android_logger_set_log_size() local
397 char buf[512]; in android_logger_get_log_readable_size() local
423 char *buf, size_t len) in android_logger_get_statistics()
445 char *buf, size_t len) in android_logger_get_prune_list()
451 char *buf, size_t len) in android_logger_set_prune_list()
/system/extras/tests/directiotest/
Ddirectiotest.c71 static ssize_t do_read(int fd, void *buf, off64_t start, size_t count) in do_read()
93 static ssize_t do_write(int fd, const void *buf, off64_t start, size_t count) in do_write()
123 static void init_test_buf(void *buf, uint64_t start_blk, size_t len) in init_test_buf()
133 static void dump_hex(const void *buf, int len) in dump_hex()
/system/core/fastbootd/
Dutils.c76 struct stat buf; in get_file_size() local
96 struct stat64 buf; in get_file_size64() local
164 ssize_t bulk_write(int bulk_in, const char *buf, size_t length) in bulk_write()
184 ssize_t bulk_read(int bulk_out, char *buf, size_t length) in bulk_read()
/system/core/debuggerd/
Dcrasher.c39 char buf[8]; in smash_stack() local
50 void* buf[1]; in overflow_stack() local
110 char buf[16]; in abuse_heap() local
/system/core/include/cutils/
Dtrace.h187 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_begin() local
221 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_async_begin() local
239 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_async_end() local
257 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_int() local
274 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_int64() local
/system/core/adb/
Dtest_track_jdwp.c17 unix_write( int fd, const char* buf, int len ) in unix_write()
35 unix_read( int fd, char* buf, int len ) in unix_read()
Dtest_track_devices.c17 unix_write( int fd, const char* buf, int len ) in unix_write()
35 unix_read( int fd, char* buf, int len ) in unix_read()

123456