/system/core/logd/ |
D | CommandListener.cpp | 35 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/ |
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/extras/f2fs_utils/ |
D | f2fs_ioutils.c | 91 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/ |
D | google_keymaster_messages.cpp | 29 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/ |
D | autosuspend_earlysuspend.c | 51 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
|
D | autosuspend_autosleep.c | 38 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
|
D | autosuspend_wakeup_count.c | 45 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/ |
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 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 …]
|
D | SharedBufferTest.cpp | 32 android::SharedBuffer* buf = in TEST() local 43 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
|
/system/core/libzipfile/ |
D | centraldir.c | 24 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/ |
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/libcutils/ |
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 | 79 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/ |
D | BatteryMonitor.cpp | 99 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/ |
D | pwcache.c | 46 static char buf[32]; in group_from_gid() local 56 static char buf[32]; in user_from_uid() local
|
/system/core/liblog/ |
D | uio.c | 27 char* buf = vecs->iov_base; in readv() local 54 const char* buf = vecs->iov_base; in writev() local
|
D | log_read.c | 276 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/ |
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/fastbootd/ |
D | utils.c | 76 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/ |
D | crasher.c | 39 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/ |
D | trace.h | 187 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/ |
D | test_track_jdwp.c | 17 unix_write( int fd, const char* buf, int len ) in unix_write() 35 unix_read( int fd, char* buf, int len ) in unix_read()
|
D | test_track_devices.c | 17 unix_write( int fd, const char* buf, int len ) in unix_write() 35 unix_read( int fd, char* buf, int len ) in unix_read()
|