| /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/core/liblog/ |
| D | logd_reader.cpp | 67 ssize_t SendLogdControlMessage(char* buf, size_t buf_size) { in SendLogdControlMessage() 127 static int check_log_success(char* buf, ssize_t ret) { in check_log_success() 145 char buf[512]; in android_logger_clear() local 158 char buf[512]; in android_logger_get_log_size() local 179 char buf[512]; in android_logger_set_log_size() local 195 char buf[512]; in android_logger_get_log_readable_size() local 214 ssize_t android_logger_get_statistics(struct logger_list* logger_list, char* buf, size_t len) { in android_logger_get_statistics() 243 ssize_t android_logger_get_prune_list(struct logger_list* logger_list, char* buf, size_t len) { in android_logger_get_prune_list() 252 int android_logger_set_prune_list(struct logger_list* logger_list, const char* buf, size_t len) { in android_logger_set_prune_list()
|
| /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/libutils/ |
| D | String16.cpp | 36 SharedBuffer* buf = SharedBuffer::alloc(size); in alloc() local 52 SharedBuffer* buf = static_cast<SharedBuffer*>(alloc(sizeof(char16_t) * (u16len + 1))); in allocFromUTF8() local 75 SharedBuffer* buf = static_cast<SharedBuffer*>(alloc((u16len + 1) * sizeof(char16_t))); in allocFromUTF16() local 100 SharedBuffer* buf = static_cast<SharedBuffer*>(alloc(sizeof(char16_t))); in String16() local 191 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((len + 1) * sizeof(char16_t))); in setTo() local 218 SharedBuffer* buf = in append() local 244 SharedBuffer* buf = in append() local 279 SharedBuffer* buf = in insert() local 345 SharedBuffer* buf; in edit() local 359 SharedBuffer* buf; in editResize() 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/core/fastboot/fuzzy_fastboot/ |
| D | 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/chre/chpp/ |
| D | transport.c | 83 const uint8_t *buf, size_t len) { in chppConsumePreamble() 130 const uint8_t *buf, size_t len) { in chppConsumeHeader() 203 const uint8_t *buf, size_t len) { in chppConsumePayload() 237 const uint8_t *buf, size_t len) { in chppConsumeFooter() 453 static size_t chppAddPreamble(uint8_t *buf) { in chppAddPreamble() 469 static uint32_t chppCalculateChecksum(uint8_t *buf, size_t len) { in chppCalculateChecksum() 633 bool chppRxDataCb(struct ChppTransportState *context, const uint8_t *buf, in chppRxDataCb() 695 uint8_t *buf) { in chppEnqueueTxDatagram()
|
| /system/core/logd/ |
| D | CommandListener.cpp | 41 CommandListener::CommandListener(LogBuffer* buf, LogReader* /*reader*/, in CommandListener() 68 CommandListener::ClearCmd::ClearCmd(LogBuffer* buf) in ClearCmd() 103 CommandListener::GetBufSizeCmd::GetBufSizeCmd(LogBuffer* buf) in GetBufSizeCmd() 122 char buf[512]; in runCommand() local 128 CommandListener::SetBufSizeCmd::SetBufSizeCmd(LogBuffer* buf) in SetBufSizeCmd() 161 CommandListener::GetBufSizeUsedCmd::GetBufSizeUsedCmd(LogBuffer* buf) in GetBufSizeUsedCmd() 180 char buf[512]; in runCommand() local 186 CommandListener::GetStatisticsCmd::GetStatisticsCmd(LogBuffer* buf) in GetStatisticsCmd() 248 CommandListener::GetPruneListCmd::GetPruneListCmd(LogBuffer* buf) in GetPruneListCmd() 259 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/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/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/memory/libmeminfo/libdmabufinfo/tools/ |
| D | dmabuf_dump.cpp | 67 for (auto& buf : bufs) { in PrintDmaBufTable() local 83 for (auto& buf : bufs) { in PrintDmaBufTable() local 137 for (auto& buf : bufs) { in PrintDmaBufPerProcess() local 148 for (auto buf : bufs) { in PrintDmaBufPerProcess() local 160 DmaBuffer& buf = inode_to_dmabuf[inode]; in PrintDmaBufPerProcess() 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/chre/chpp/test/ |
| D | transport_test.cpp | 44 void chppAddPreamble(uint8_t *buf, size_t loc) { in chppAddPreamble() 61 uint8_t buf[kMaxPacketSize] = {}; member in __anon807ecbb50111::TransportTests 190 uint8_t *buf = (uint8_t *)chppMalloc(i + 100); in TEST_P() local 202 uint8_t *buf = (uint8_t *)chppMalloc(100); in TEST_P() local
|
| /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
|
| /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
|
| D | ashmem-host.cpp | 37 static bool ashmem_validate_stat(int fd, struct stat* buf) { in ashmem_validate_stat() 56 struct stat buf; in ashmem_valid() local 90 struct stat buf; in ashmem_get_size_region() local
|
| /system/core/gatekeeperd/ |
| D | GateKeeperResponse.cpp | 44 const uint8_t* buf = reinterpret_cast<const uint8_t*>(in->readInplace(length)); in readFromParcel() local 68 uint8_t* buf = reinterpret_cast<uint8_t*>(out->writeInplace(payload_.size())); in writeToParcel() 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/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() 778 #define AT_CHECK_EVENT(buf, event) \ argument 786 #define AT_CHECK_RN(buf) \ argument 796 #define AT_SKIP_REST(buf) \ argument 1539 char* buf = client_cb->at_cb.buf; in bta_hf_client_at_parse_start() local 1610 void bta_hf_client_at_parse(tBTA_HF_CLIENT_CB* client_cb, char* buf, in bta_hf_client_at_parse() 1671 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_brsf() local 1686 const char* buf; in bta_hf_client_send_at_bac() local 1696 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_bcs() local [all …]
|
| /system/extras/simpleperf/ |
| D | record_file_reader.cpp | 136 std::vector<char> buf(header_.attr_size); in ReadAttrSection() local 264 std::vector<char> buf; in ReadRecord() local 334 bool RecordFileReader::Read(void* buf, size_t len) { in Read() 342 bool RecordFileReader::ReadAtOffset(uint64_t offset, void* buf, size_t len) { in ReadAtOffset() 383 std::vector<char> buf; in ReadCmdlineFeature() local 404 std::vector<char> buf; in ReadBuildIdFeature() local 427 std::vector<char> buf; in ReadFeatureString() local 440 std::vector<char> buf; in ReadAuxTraceFeature() local 482 std::vector<char> buf(size); in ReadFileFeature() local 522 std::vector<char> buf; in ReadMetaInfoFeature() local [all …]
|