Home
last modified time | relevance | path

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

12345678

/system/core/logd/
DCommandListener.cpp35 CommandListener::CommandListener(LogBuffer *buf, LogReader * /*reader*/, in CommandListener()
50 CommandListener::ShutdownCmd::ShutdownCmd(LogBuffer *buf, LogReader *reader, in ShutdownCmd()
66 CommandListener::ClearCmd::ClearCmd(LogBuffer *buf) : in ClearCmd()
103 CommandListener::GetBufSizeCmd::GetBufSizeCmd(LogBuffer *buf) : in GetBufSizeCmd()
123 char buf[512]; in runCommand() local
129 CommandListener::SetBufSizeCmd::SetBufSizeCmd(LogBuffer *buf) : in SetBufSizeCmd()
163 CommandListener::GetBufSizeUsedCmd::GetBufSizeUsedCmd(LogBuffer *buf) : in GetBufSizeUsedCmd()
183 char buf[512]; in runCommand() local
189 CommandListener::GetStatisticsCmd::GetStatisticsCmd(LogBuffer *buf) : in GetStatisticsCmd()
233 char *buf = NULL; in runCommand() local
[all …]
DLogKlog.cpp173 LogKlog::LogKlog(LogBuffer *buf, LogReader *reader, int fdWrite, int fdRead, bool auditd) : in LogKlog()
252 void LogKlog::sniffTime(log_time &now, const char **buf, bool reverse) { in sniffTime()
289 void LogKlog::synchronize(const char *buf) { in synchronize()
316 static int parseKernelPrio(const char **buf) { in parseKernelPrio()
398 int LogKlog::log(const char *buf) { in log()
/system/extras/f2fs_utils/
Df2fs_ioutils.c90 void *buf; member
97 static int dev_write_fd(void *buf, __u64 offset, size_t len) in dev_write_fd()
116 static int dev_write_sparse(void *buf, __u64 byte_offset, size_t byte_len) in dev_write_sparse()
150 int dev_read_version(void *buf, __u64 offset, size_t len) in dev_read_version()
155 int dev_read(void *buf, __u64 offset, size_t len) in dev_read()
160 int dev_write(void *buf, __u64 offset, size_t len) in dev_write()
170 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
181 int dev_read_block(void *buf, __u64 blk_addr) in dev_read_block()
187 int dev_read_blocks(void *buf, __u64 addr, __u32 nr_blks) in dev_read_blocks()
/system/keymaster/
Dandroid_keymaster_messages.cpp36 static uint8_t* serialize_key_blob(const keymaster_key_blob_t& key_blob, uint8_t* buf, in serialize_key_blob()
60 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
83 uint8_t* GenerateKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
106 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
120 uint8_t* GetKeyCharacteristicsResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
139 uint8_t* BeginOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
158 uint8_t* BeginOperationResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
179 uint8_t* UpdateOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
208 uint8_t* UpdateOperationResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
233 uint8_t* FinishOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
[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/core/libsuspend/
Dautosuspend_earlysuspend.c51 char buf; in wait_for_fb_wake() local
64 char buf; in wait_for_fb_sleep() local
98 char buf[80]; in autosuspend_earlysuspend_enable() local
128 char buf[80]; in autosuspend_earlysuspend_disable() local
163 char buf[80]; in start_earlysuspend_thread() local
191 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
87 char buf[80]; in autosuspend_autosleep_init() local
Dautosuspend_wakeup_count.c46 char buf[80]; in suspend_thread_func() local
107 char buf[80]; in autosuspend_wakeup_count_enable() local
126 char buf[80]; in autosuspend_wakeup_count_disable() local
160 char buf[80]; in autosuspend_wakeup_count_init() 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/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/bt/bta/hf_client/
Dbta_hf_client_at.c113 static void bta_hf_client_queue_at(tBTA_HF_CLIENT_AT_CMD cmd, const char *buf, UINT16 buf_len) in bta_hf_client_queue_at()
175 static void bta_hf_client_send_at(tBTA_HF_CLIENT_AT_CMD cmd, char *buf, UINT16 buf_len) in bta_hf_client_send_at()
607 #define AT_CHECK_EVENT(buf, event) \ argument
613 #define AT_CHECK_RN(buf) \ argument
620 #define AT_SKIP_REST(buf) while(*buf != '\r') buf++; argument
1322 char *buf = bta_hf_client_cb.scb.at_cb.buf; in bta_hf_client_at_parse_start() local
1397 void bta_hf_client_at_parse(char *buf, unsigned int len) in bta_hf_client_at_parse()
1456 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_brsf() local
1468 char *buf; in bta_hf_client_send_at_bac() local
1486 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_bcs() local
[all …]
/system/bt/osi/src/
Dbuffer.c51 buffer_t *buffer_new_ref(const buffer_t *buf) { in buffer_new_ref()
56 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size) { in buffer_new_slice()
91 void *buffer_ptr(const buffer_t *buf) { in buffer_ptr()
96 size_t buffer_length(const buffer_t *buf) { in buffer_length()
/system/core/adb/
Dadb_io_test.cpp65 char buf[sizeof(expected)] = {}; in TEST() local
79 char buf[sizeof(expected) + 1] = {}; in TEST() local
93 char buf[sizeof(input) - 1] = {}; in TEST() local
117 const char buf[] = "Foobar"; in TEST() local
137 char buf[] = "foo"; in TEST() local
/system/core/libcutils/
Dtrace-dev.c196 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_begin_body() local
206 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_async_begin_body() local
216 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_async_end_body() local
226 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_int_body() local
236 char buf[ATRACE_MESSAGE_LENGTH]; in atrace_int64_body() local
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.h80 inline uint8_t* append_uint32_to_buf(uint8_t* buf, const uint8_t* end, T value) { in append_uint32_to_buf()
88 inline uint8_t* append_uint64_to_buf(uint8_t* buf, const uint8_t* end, uint64_t value) { in append_uint64_to_buf()
98 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()
111 inline uint8_t* append_uint32_array_to_buf(uint8_t* buf, const uint8_t* end, const T* data, in append_uint32_array_to_buf()
195 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
/system/core/liblog/
Dlog_read.c284 const char *msg, char *buf, size_t buf_size) in send_log_msg()
350 static int check_log_success(char *buf, ssize_t ret) in check_log_success()
413 char buf[512]; in android_logger_clear() local
429 char buf[512]; in android_logger_get_log_size() local
445 char buf[512]; in android_logger_set_log_size() local
459 char buf[512]; in android_logger_get_log_readable_size() local
485 char *buf, size_t len) in android_logger_get_statistics()
507 char *buf, size_t len) in android_logger_get_prune_list()
513 char *buf, size_t len) in android_logger_set_prune_list()
635 } buf; in android_logger_list_read_pstore() local
Duio.c27 char* buf = vecs->iov_base; in readv() local
54 const char* buf = vecs->iov_base; in writev() local
Dlogd_write.c100 char buf[sizeof("/dev/log_system")]; in __write_to_log_initialize() local
406 char buf[LOG_BUF_SIZE]; in __android_log_vprint() local
416 char buf[LOG_BUF_SIZE]; in __android_log_print() local
428 char buf[LOG_BUF_SIZE]; in __android_log_buf_print() local
440 char buf[LOG_BUF_SIZE]; in __android_log_assert() local
/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/debuggerd/
Dcrasher.c47 char buf[128]; in smash_stack() local
57 void* buf[1]; in overflow_stack() local
117 char buf[16]; in abuse_heap() local

12345678