/system/core/logd/ |
D | CommandListener.cpp | 35 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 …]
|
/system/extras/f2fs_utils/ |
D | f2fs_ioutils.c | 90 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/core/libutils/tests/ |
D | BlobCache_test.cpp | 47 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/keymaster/ |
D | android_keymaster_messages.cpp | 36 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/libsuspend/ |
D | autosuspend_earlysuspend.c | 51 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
|
D | autosuspend_autosleep.c | 38 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
|
D | autosuspend_wakeup_count.c | 46 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/ |
D | device_test.cpp | 58 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/ |
D | String16.cpp | 42 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 …]
|
D | String8.cpp | 65 SharedBuffer* buf = SharedBuffer::alloc(1); in initialize_string8() local 87 SharedBuffer* buf = SharedBuffer::alloc(len+1); in allocFromUTF8() local 111 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF16() local 133 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF32() local 346 char* buf = lockBuffer(oldLength + n); in appendFormatV() local 360 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append() local 375 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer() local 393 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer() local 422 char* buf = lockBuffer(size()); in removeAll() local 456 char* buf = lockBuffer(len); in toLower() local [all …]
|
D | SharedBufferTest.cpp | 32 android::SharedBuffer* buf = in TEST() local 43 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.c | 113 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/ |
D | buffer.c | 51 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/ |
D | adb_io_test.cpp | 65 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/ |
D | trace-dev.c | 196 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
|
D | partition_utils.c | 26 static int only_one_char(char *buf, int len, char c) in only_one_char() 42 char buf[4096]; in partition_wiped() local
|
D | fs.c | 91 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/ |
D | serializable.h | 80 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/liblog/ |
D | log_read.c | 284 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
|
D | log_event_write.c | 26 static inline void copy4LE(uint8_t *buf, size_t pos, int val) in copy4LE() 37 uint8_t buf[MAX_EVENT_PAYLOAD]; in __android_log_error_write() local
|
D | uio.c | 27 char* buf = vecs->iov_base; in readv() local 54 const char* buf = vecs->iov_base; in writev() local
|
D | logd_write.c | 100 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/ |
D | directiotest.c | 71 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/healthd/ |
D | BatteryMonitor.cpp | 102 int BatteryMonitor::readFromFile(const String8& path, char* buf, size_t size) { in readFromFile() 128 char buf[SIZE]; in readPowerSupplyType() local 156 char buf[SIZE]; in getBooleanField() local 170 char buf[SIZE]; in getIntField() local 213 char buf[SIZE]; in update() local
|
/system/core/debuggerd/ |
D | crasher.c | 47 char buf[128]; in smash_stack() local 57 void* buf[1]; in overflow_stack() local 117 char buf[16]; in abuse_heap() local
|