| /system/nvram/messages/tests/ |
| D | io_test.cpp | 80 TestInputStreamBuffer<10> buf; in TEST() local 96 InputStreamBuffer buf(nullptr, nullptr); in TEST() local 103 TestInputStreamBuffer<10> buf; in TEST() local 109 TestInputStreamBuffer<10> buf; in TEST() local 114 TestInputStreamBuffer<1, 1> buf; in TEST() local 127 TestInputStreamBuffer<10, 10, 10> buf; in TEST() local 135 TestInputStreamBuffer<10, 10, 10> buf; in TEST() local 143 TestInputStreamBuffer<10> buf; in TEST() local 149 TestInputStreamBuffer<10> buf; in TEST() local 157 TestInputStreamBuffer<10, 5> buf; in TEST() local [all …]
|
| /system/keymaster/android_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() 57 static uint8_t* serialize_blob(const keymaster_blob_t& blob, uint8_t* buf, const uint8_t* end) { in serialize_blob() 78 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 101 uint8_t* GenerateKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize() 124 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 138 uint8_t* GetKeyCharacteristicsResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize() 157 uint8_t* BeginOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 176 uint8_t* BeginOperationResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize() 197 uint8_t* UpdateOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 233 uint8_t* UpdateOperationResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize() [all …]
|
| /system/core/fastboot/fuzzy_fastboot/ |
| D | usb_transport_sniffer.cpp | 25 std::vector<char> buf(err, err + strlen(err)); in Read() local 32 std::vector<char> buf(cdata, cdata + ret); in Read() local 46 std::vector<char> buf(err, err + strlen(err)); in Write() local 53 std::vector<char> buf(cdata, cdata + len); in Write() local 68 std::vector<char> buf; in Reset() local 91 const auto msg = [&ret, no_print](const std::vector<char>& buf) { in CreateTrace() 174 std::vector<char> buf; in ProcessSerial() local
|
| /system/bt/osi/src/ |
| D | buffer.cc | 49 buffer_t* buffer_new_ref(const buffer_t* buf) { in buffer_new_ref() 54 buffer_t* buffer_new_slice(const buffer_t* buf, size_t slice_size) { in buffer_new_slice() 83 void* buffer_ptr(const buffer_t* buf) { in buffer_ptr() 88 size_t buffer_length(const buffer_t* buf) { in buffer_length()
|
| /system/core/libion/tests/ |
| D | device_test.cpp | 59 void Device::readDMA(int fd, void *buf, size_t size) in readDMA() 73 void Device::writeDMA(int fd, void *buf, size_t size) in writeDMA() 87 void Device::readKernel(int fd, void *buf, size_t size) in readKernel() 101 void Device::writeKernel(int fd, void *buf, size_t size) in writeKernel() 138 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024); in TEST_F() local 170 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024); in TEST_F() local 202 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024); in TEST_F() local 232 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024); in TEST_F() local 264 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024); in TEST_F() local 296 void *buf = (void *)(ALIGN((unsigned long)alloc_ptr.get(), 4096) + 1024); in TEST_F() local [all …]
|
| /system/core/logd/ |
| D | CommandListener.cpp | 40 CommandListener::CommandListener(LogBuffer* buf, LogReader* /*reader*/, in CommandListener() 67 CommandListener::ClearCmd::ClearCmd(LogBuffer* buf) in ClearCmd() 102 CommandListener::GetBufSizeCmd::GetBufSizeCmd(LogBuffer* buf) in GetBufSizeCmd() 121 char buf[512]; in runCommand() local 127 CommandListener::SetBufSizeCmd::SetBufSizeCmd(LogBuffer* buf) in SetBufSizeCmd() 160 CommandListener::GetBufSizeUsedCmd::GetBufSizeUsedCmd(LogBuffer* buf) in GetBufSizeUsedCmd() 179 char buf[512]; in runCommand() local 185 CommandListener::GetStatisticsCmd::GetStatisticsCmd(LogBuffer* buf) in GetStatisticsCmd() 236 CommandListener::GetPruneListCmd::GetPruneListCmd(LogBuffer* buf) in GetPruneListCmd() 247 CommandListener::SetPruneListCmd::SetPruneListCmd(LogBuffer* buf) in SetPruneListCmd() [all …]
|
| /system/core/base/ |
| D | cmsg_test.cpp | 73 char buf[2]; in TEST_P() local 85 char buf[2]; in TEST_P() local 107 char buf[2]; in TEST_P() local 117 char buf[2]; in TEST_P() local 135 char buf[2]; in TEST_P() local 155 char buf[2]; in TEST_P() local 170 char buf[2]; in TEST_P() local 189 char buf[2]; in TEST_P() local
|
| /system/core/libutils/ |
| D | String16.cpp | 29 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)); in getEmptyString() local 52 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)*(u16len+1)); in allocFromUTF8() local 75 SharedBuffer* buf = SharedBuffer::alloc((u16len + 1) * sizeof(char16_t)); in allocFromUTF16() local 187 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in setTo() local 215 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append() local 241 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append() local 276 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in insert() local 350 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in makeLower() local 371 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in replaceAll() local 398 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in remove() local [all …]
|
| D | String8.cpp | 45 SharedBuffer* buf = SharedBuffer::alloc(1); in getEmptyString() local 63 SharedBuffer* buf = SharedBuffer::alloc(len+1); in allocFromUTF8() local 87 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF16() local 109 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF32() local 333 char* buf = lockBuffer(oldLength + n); in appendFormatV() local 347 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append() local 362 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer() local 380 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer() local 409 char* buf = lockBuffer(size()); in removeAll() local 443 char* buf = lockBuffer(len); in toLower() local [all …]
|
| D | SharedBuffer_test.cpp | 32 android::SharedBuffer* buf = in TEST() local 43 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
|
| /system/libufdt/tests/src/ |
| D | util.c | 31 char *buf = malloc(len); in load_file_contents() local 54 char *buf = load_file_contents(fp, len_ptr); in load_file() local 62 const void *buf, size_t buf_size) { in write_buf_to_file()
|
| /system/core/liblog/ |
| D | logd_reader.cpp | 128 static ssize_t send_log_msg(struct android_log_logger* logger, const char* msg, char* buf, in send_log_msg() 193 ssize_t __send_log_msg(char* buf, size_t buf_size) { in __send_log_msg() 197 static int check_log_success(char* buf, ssize_t ret) { in check_log_success() 212 char buf[512]; in logdClear() local 220 char buf[512]; in logdGetSize() local 236 char buf[512]; in logdSetSize() local 249 char buf[512]; in logdGetReadableSize() local 276 struct android_log_transport_context* transp __unused, char* buf, in logdGetStats() 303 struct android_log_transport_context* transp __unused, char* buf, in logdGetPrune() 309 struct android_log_transport_context* transp __unused, char* buf, in logdSetPrune()
|
| /system/chre/util/tests/ |
| D | buffer_test.cc | 37 float buf[128]; in TEST() local 47 float buf[128]; in TEST() local 67 float buf[128]; in TEST() local 78 float buf[128]; in TEST() local
|
| /system/core/healthd/ |
| D | BatteryMonitor.cpp | 143 int BatteryMonitor::readFromFile(const String8& path, std::string* buf) { in readFromFile() 151 std::string buf; in readPowerSupplyType() local 183 std::string buf; in getBooleanField() local 194 std::string buf; in getIntField() local 234 std::string buf; in update() local 343 std::string buf; in getChargeStatus() local 352 std::string buf; in getProperty() local
|
| /system/connectivity/wifilogd/ |
| D | memory_reader.h | 35 MemoryReader(const void* buf, size_t buflen) in MemoryReader() 38 explicit MemoryReader(std::tuple<const uint8_t*, size_t> buf) in MemoryReader()
|
| /system/extras/ioshark/ |
| D | compile_ioshark.c | 108 get_delta_ts(char *buf, struct timeval *prev) in get_delta_ts() 123 get_tracetype(char *buf, char *trace_type) in get_tracetype() 176 get_pathname(char *buf, char *pathname, enum file_op file_op) in get_pathname() 221 get_syscall(char *buf, char *syscall) in get_syscall() 244 get_mmap_offset_len_prot(char *buf, int *prot, off_t *offset, u_int64_t *len) in get_mmap_offset_len_prot() 293 get_lseek_offset_action(char *buf, enum file_op op, in get_lseek_offset_action() 334 get_rw_len(char *buf, in get_rw_len() 349 get_prw64_offset_len(char *buf, in get_prw64_offset_len() 375 get_ftrace_offset_len(char *buf, in get_ftrace_offset_len() 403 get_openat_flags_mode(char *buf, char *flags, mode_t *mode) in get_openat_flags_mode()
|
| /system/core/adb/ |
| D | adb_io_test.cpp | 54 char buf[sizeof(expected)] = {}; in POSIX_TEST() local 68 char buf[sizeof(expected) + 1] = {}; in POSIX_TEST() local 82 char buf[sizeof(input) - 1] = {}; in POSIX_TEST() local 106 const char buf[] = "Foobar"; in POSIX_TEST() local 126 char buf[] = "foo"; in POSIX_TEST() local
|
| D | adb_io.cpp | 51 char buf[5]; in ReadProtocolString() local 76 bool ReadFdExactly(int fd, void* buf, size_t len) { in ReadFdExactly() 103 bool WriteFdExactly(int fd, const void* buf, size_t len) { in WriteFdExactly() 152 char buf[16]; in ReadOrderlyShutdown() local
|
| /system/extras/tests/kernel.config/ |
| D | sysvipc_test.cpp | 35 int msgctl(int id, int cmd, msqid_ds* buf) { in msgctl() 48 int semctl(int id, int num, int cmd, semid_ds* buf) { in semctl() 61 int shmctl(int id, int cmd, shmid_ds* buf) { in shmctl()
|
| /system/core/libcutils/ |
| D | partition_utils.cpp | 28 static int only_one_char(uint8_t *buf, int len, uint8_t c) in only_one_char() 43 uint8_t buf[4096]; in partition_wiped() local
|
| /system/bt/btif/src/ |
| D | btif_sock_util.cc | 63 int sock_send_all(int sock_fd, const uint8_t* buf, int len) { in sock_send_all() 78 int sock_recv_all(int sock_fd, uint8_t* buf, int len) { in sock_recv_all() 94 int sock_send_fd(int sock_fd, const uint8_t* buf, int len, int send_fd) { in sock_send_fd()
|
| /system/bt/bta/hf_client/ |
| D | bta_hf_client_at.cc | 120 tBTA_HF_CLIENT_AT_CMD cmd, const char* buf, in bta_hf_client_queue_at() 169 tBTA_HF_CLIENT_AT_CMD cmd, const char* buf, in bta_hf_client_send_at() 768 #define AT_CHECK_EVENT(buf, event) \ argument 776 #define AT_CHECK_RN(buf) \ argument 786 #define AT_SKIP_REST(buf) \ argument 1499 char* buf = client_cb->at_cb.buf; in bta_hf_client_at_parse_start() local 1570 void bta_hf_client_at_parse(tBTA_HF_CLIENT_CB* client_cb, char* buf, in bta_hf_client_at_parse() 1631 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_brsf() local 1646 const char* buf; in bta_hf_client_send_at_bac() local 1656 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_bcs() local [all …]
|
| /system/keymaster/include/keymaster/ |
| D | serializable.h | 92 inline uint8_t* append_uint32_to_buf(uint8_t* buf, const uint8_t* end, T value) { in append_uint32_to_buf() 100 inline uint8_t* append_uint64_to_buf(uint8_t* buf, const uint8_t* end, uint64_t value) { in append_uint64_to_buf() 110 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() 123 inline uint8_t* append_uint32_array_to_buf(uint8_t* buf, const uint8_t* end, const T* data, in append_uint32_array_to_buf() 209 Buffer(const void* buf, size_t size) : buffer_(nullptr) { Reinitialize(buf, size); } in Buffer()
|
| /system/update_engine/payload_consumer/ |
| D | mtd_file_descriptor.cc | 137 ssize_t MtdFileDescriptor::Read(void* buf, size_t count) { in Read() 142 ssize_t MtdFileDescriptor::Write(const void* buf, size_t count) { in Write() 215 ssize_t UbiFileDescriptor::Read(void* buf, size_t count) { in Read() 220 ssize_t UbiFileDescriptor::Write(const void* buf, size_t count) { in Write() 240 char buf[1024]; in Close() local
|
| /system/core/debuggerd/crasher/ |
| D | crasher.cpp | 83 char buf[128]; in smash_stack() local 96 void* buf[1]; in overflow_stack() local 138 char buf[16]; in abuse_heap() local 226 char buf[1]; in do_action() local 265 char buf[10]; in do_action() local
|