/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/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/libbase/ |
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 | 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 178 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((len + 1) * sizeof(char16_t))); in setTo() local 205 SharedBuffer* buf = in append() local 231 SharedBuffer* buf = in append() local 266 SharedBuffer* buf = in insert() local 332 SharedBuffer* buf; in edit() local 346 SharedBuffer* buf; in editResize() local 402 SharedBuffer* buf = static_cast<SharedBuffer*>(edit()); in makeLower() 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 314 char* buf = lockBuffer(oldLength + n); in appendFormatV() local 328 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append() local 343 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer() local 361 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer() local 390 char* buf = lockBuffer(size()); in removeAll() local 424 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/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/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(borrowed_fd fd, void* buf, size_t len) { in ReadFdExactly() 103 bool WriteFdExactly(borrowed_fd fd, const void* buf, size_t len) { in WriteFdExactly() 152 char buf[16]; in ReadOrderlyShutdown() 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() 168 tBTA_HF_CLIENT_AT_CMD cmd, const char* buf, in bta_hf_client_send_at() 777 #define AT_CHECK_EVENT(buf, event) \ argument 785 #define AT_CHECK_RN(buf) \ argument 795 #define AT_SKIP_REST(buf) \ argument 1538 char* buf = client_cb->at_cb.buf; in bta_hf_client_at_parse_start() local 1609 void bta_hf_client_at_parse(tBTA_HF_CLIENT_CB* client_cb, char* buf, in bta_hf_client_at_parse() 1670 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_brsf() local 1685 const char* buf; in bta_hf_client_send_at_bac() local 1695 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 …]
|
/system/core/healthd/ |
D | BatteryMonitor.cpp | 177 int BatteryMonitor::readFromFile(const String8& path, std::string* buf) { in readFromFile() 201 std::string buf; in readPowerSupplyType() local 216 std::string buf; in getBooleanField() local 227 std::string buf; in getIntField() local 288 std::string buf; in updateValues() local 396 std::string buf; in getChargeStatus() local 405 std::string buf; in getProperty() local
|
/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()
|