/system/security/keystore2/src/vintf/ |
D | vintf.cpp | 32 char** getHalNames(size_t* len) { in getHalNames() 39 char** getHalNamesAndVersions(size_t* len) { in getHalNamesAndVersions() 46 char** getHidlInstances(size_t* len, const char* package, size_t major_version, in getHidlInstances() 55 char** getAidlInstances(size_t* len, const char* package, size_t version, in getAidlInstances() 63 void freeNames(char** names, size_t len) { in freeNames()
|
D | lib.rs | 28 len: usize, field 51 let mut len: usize = 0; in get_hal_names() localVariable 61 let mut len: usize = 0; in get_hal_names_and_versions() localVariable 76 let mut len: usize = 0; in get_hidl_instances() localVariable 97 let mut len: usize = 0; in get_aidl_instances() localVariable
|
/system/nfc/src/nfc/nci/ |
D | nci_hrcv.cc | 55 uint8_t *pp, len, op_code; in nci_proc_core_rsp() local 115 uint8_t *pp, len, op_code; in nci_proc_core_ntf() local 171 uint8_t *pp, len, op_code; in nci_proc_rf_management_rsp() local 242 uint8_t *pp, len, op_code; in nci_proc_rf_management_ntf() local 332 uint8_t *pp, len, op_code; in nci_proc_ee_management_rsp() local 411 uint8_t *pp, len, op_code; in nci_proc_ee_management_ntf() local 532 uint8_t *pp, len, op_code; in nci_proc_prop_rsp() local 587 uint8_t *pp, len, op_code; in nci_proc_prop_ntf() local
|
/system/bt/stack/btm/ |
D | btm_ble_batchscan.cc | 64 void btm_ble_batchscan_filter_track_adv_vse_cback(uint8_t len, uint8_t* p) { in btm_ble_batchscan_filter_track_adv_vse_cback() 138 void feat_enable_cb(uint8_t* p, uint16_t len) { in feat_enable_cb() 162 uint16_t len) { in storage_config_cb() 183 uint16_t len) { in param_enable_cb() 204 uint16_t len) { in disable_cb() 241 uint8_t len = BTM_BLE_BATCH_SCAN_READ_RESULTS_LEN; in btm_ble_read_batchscan_reports() local 255 tBTM_BLE_SCAN_REP_CBACK cb, uint8_t* p, uint16_t len) { in read_reports_cb() 315 uint8_t len = BTM_BLE_BATCH_SCAN_STORAGE_CFG_LEN; in btm_ble_set_storage_config() local 338 uint8_t len = BTM_BLE_BATCH_SCAN_PARAM_CONFIG_LEN; in btm_ble_set_batchscan_param() local 355 uint8_t len = BTM_BLE_BATCH_SCAN_ENB_DISB_LEN; in btm_ble_enable_batchscan() local
|
/system/core/libnetutils/ |
D | checksum.c | 34 uint32_t ip_checksum_add(uint32_t current, const void* data, int len) { in ip_checksum_add() 77 uint16_t ip_checksum(const void* data, int len) { in ip_checksum() 92 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr* ip6, uint32_t len, uint8_t protocol) { in ipv6_pseudo_header_checksum() 111 uint32_t ipv4_pseudo_header_checksum(const struct iphdr* ip, uint16_t len) { in ipv4_pseudo_header_checksum()
|
/system/core/libutils/ |
D | String8.cpp | 59 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() 79 static char* allocFromUTF16(const char16_t* in, size_t len) in allocFromUTF16() 100 static char* allocFromUTF32(const char32_t* in, size_t len) in allocFromUTF32() 144 String8::String8(const char* o, size_t len) in String8() 162 String8::String8(const char16_t* o, size_t len) in String8() 170 String8::String8(const char32_t* o, size_t len) in String8() 226 status_t String8::setTo(const char* other, size_t len) in setTo() 237 status_t String8::setTo(const char16_t* other, size_t len) in setTo() 248 status_t String8::setTo(const char32_t* other, size_t len) in setTo() 385 size_t len = size(); in find() local [all …]
|
/system/chre/chpp/clients/ |
D | gnss.c | 173 size_t len) { in chppDispatchGnssResponse() 249 size_t len) { in chppDispatchGnssNotification() 367 uint8_t *buf, size_t len) { in chppGnssCloseResult() 384 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssGetCapabilitiesResult() 416 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssControlLocationSessionResult() 456 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssControlMeasurementSessionResult() 496 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssConfigurePassiveLocationListenerResult() 522 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssStateResyncNotification() 546 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssLocationResultNotification() 574 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssMeasurementResultNotification()
|
D | wifi.c | 179 size_t len) { in chppDispatchWifiResponse() 251 size_t len) { in chppDispatchWifiNotification() 384 uint8_t *buf, size_t len) { in chppWifiCloseResult() 401 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiGetCapabilitiesResult() 433 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiConfigureScanMonitorResult() 482 uint8_t *buf, size_t len) { in chppWifiRequestScanResult() 515 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiRequestRangingResult() 541 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiScanEventNotification() 581 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiRangingEventNotification()
|
/system/extras/ext4_utils/ |
D | wipe.cpp | 40 int wipe_block_device(int fd, s64 len) { in wipe_block_device() 81 int wipe_block_device(int fd __attribute__((unused)), s64 len __attribute__((unused))) { in wipe_block_device()
|
/system/core/libsparse/ |
D | output_file.cpp | 82 int64_t len; member 129 static int file_pad(struct output_file* out, int64_t len) { in file_pad() 141 static int file_write(struct output_file* out, void* data, size_t len) { in file_write() 200 static int gz_file_pad(struct output_file* out, int64_t len) { in gz_file_pad() 223 static int gz_file_write(struct output_file* out, void* data, size_t len) { in gz_file_write() 280 static int callback_file_write(struct output_file* out, void* data, size_t len) { in callback_file_write() 300 int read_all(int fd, void* buf, size_t len) { in read_all() 343 static int write_sparse_fill_chunk(struct output_file* out, uint64_t len, uint32_t fill_val) { in write_sparse_fill_chunk() 374 static int write_sparse_data_chunk(struct output_file* out, uint64_t len, void* data) { in write_sparse_data_chunk() 441 static int write_normal_data_chunk(struct output_file* out, uint64_t len, void* data) { in write_normal_data_chunk() [all …]
|
D | sparse.cpp | 30 struct sparse_file* sparse_file_new(unsigned int block_size, int64_t len) { in sparse_file_new() 53 int sparse_file_add_data(struct sparse_file* s, void* data, uint64_t len, unsigned int block) { in sparse_file_add_data() 57 int sparse_file_add_fill(struct sparse_file* s, uint32_t fill_val, uint64_t len, in sparse_file_add_fill() 63 uint64_t len, unsigned int block) { in sparse_file_add_file() 67 int sparse_file_add_fd(struct sparse_file* s, int fd, int64_t file_offset, uint64_t len, in sparse_file_add_fd() 169 int (*write)(void* priv, const void* data, size_t len), void* priv) { in sparse_file_callback() 193 static int foreach_chunk_write(void* priv, const void* data, size_t len) { in foreach_chunk_write() 200 int (*write)(void* priv, const void* data, size_t len, in sparse_file_foreach_chunk() 230 static int out_counter_write(void* priv, const void* data __unused, size_t len) { in out_counter_write() 264 unsigned int len) { in move_chunks_up_to_len()
|
D | sparse_read.cpp | 99 int AddToSparseFile(struct sparse_file* s, int64_t len, unsigned int block) override { in AddToSparseFile() 103 int ReadValue(void* ptr, int len) override { return read_all(fd, ptr, len); } in ReadValue() 105 int GetCrc32(uint32_t* crc32, int64_t len) override { in GetCrc32() 143 int AddToSparseFile(struct sparse_file* s, int64_t len, unsigned int block) override { in AddToSparseFile() 147 int ReadValue(void* ptr, int len) override { in ReadValue() 153 int GetCrc32(uint32_t* crc32, int64_t len) override { in GetCrc32() 178 int64_t len = blocks * s->block_size; in process_raw_chunk() local 210 int64_t len = (int64_t)blocks * s->block_size; in process_fill_chunk() local 254 int64_t len = (int64_t)blocks * s->block_size; in process_skip_chunk() local 486 int64_t len; in sparse_file_import_source() local [all …]
|
/system/bt/bta/test/gatt/ |
D | database_test.cc | 113 constexpr size_t len = sizeof(StoredAttribute); in TEST() local 147 constexpr size_t len = sizeof(StoredAttribute); in TEST() local 178 constexpr size_t len = sizeof(StoredAttribute); in TEST() local 205 constexpr size_t len = sizeof(StoredAttribute); in TEST() local 272 constexpr size_t len = sizeof(StoredAttribute); in TEST() local
|
/system/bt/stack/include/ |
D | advertise_data_parser.h | 53 uint8_t len = ad[position]; in RemoveTrailingZeros() local 81 uint8_t len = ad[position]; in IsValid() local 116 uint8_t len = ad[position]; in GetFieldByType() local
|
/system/bt/btif/src/ |
D | btif_sock_util.cc | 50 int sock_send_all(int sock_fd, const uint8_t* buf, int len) { in sock_send_all() 65 int sock_recv_all(int sock_fd, uint8_t* buf, int len) { in sock_recv_all() 81 int sock_send_fd(int sock_fd, const uint8_t* buf, int len, int send_fd) { in sock_send_fd()
|
/system/chre/chpp/ |
D | services.c | 120 struct ChppAppHeader *chppAllocServiceNotification(size_t len) { in chppAllocServiceNotification() 135 const struct ChppAppHeader *requestHeader, size_t len) { in chppAllocServiceResponse() 184 void *buf, size_t len) { in chppSendTimestampedResponseOrFail()
|
D | app.c | 99 uint8_t *buf, size_t len) { in chppProcessPredefinedClientRequest() 144 uint8_t *buf, size_t len) { in chppProcessPredefinedServiceResponse() 196 struct ChppAppState *context, uint8_t *buf, size_t len) { in chppProcessPredefinedClientNotification() 223 struct ChppAppState *context, uint8_t *buf, size_t len) { in chppProcessPredefinedServiceNotification() 250 struct ChppAppHeader *rxHeader, size_t len) { in chppDatagramLenIsOk() 519 uint8_t *buf, size_t len) { in chppProcessPredefinedHandleDatagram() 563 uint8_t *buf, size_t len) { in chppProcessNegotiatedHandleDatagram() 684 size_t len) { in chppAppProcessRxDatagram()
|
/system/chre/chpp/services/ |
D | timesync.c | 41 const uint8_t *buf, size_t len) { in chppTimesyncGetTime() 69 const uint8_t *buf, size_t len) { in chppDispatchTimesyncClientRequest()
|
/system/logging/logd/ |
D | LogKlog.cpp | 52 static char* is_prio(char* s, ssize_t len) { in is_prio() 65 static char* is_timestamp(char* s, ssize_t len) { in is_timestamp() 99 char* android::log_strntok_r(char* s, ssize_t& len, char*& last, in log_strntok_r() 228 ssize_t len = 0; in onDataAvailable() local 265 const char* real_string, ssize_t len) { in calculateCorrection() 294 log_time LogKlog::sniffTime(const char*& buf, ssize_t len, bool reverse) { in sniffTime() 361 pid_t LogKlog::sniffPid(const char*& buf, ssize_t len) { in sniffPid() 406 static int parseKernelPrio(const char*& buf, ssize_t len) { in parseKernelPrio() 451 static const char* strnrchr(const char* s, ssize_t len, char c) { in strnrchr() 494 int LogKlog::log(const char* buf, ssize_t len) { in log()
|
/system/core/fastboot/device/ |
D | usb.cpp | 78 static int usb_ffs_write(usb_handle* h, const void* data, int len) { in usb_ffs_write() 98 static int usb_ffs_read(usb_handle* h, void* data, int len, bool allow_partial) { in usb_ffs_read() 129 static int usb_ffs_do_aio(usb_handle* h, const void* data, int len, bool read) { in usb_ffs_do_aio() 188 static int usb_ffs_aio_read(usb_handle* h, void* data, int len, bool /* allow_partial */) { in usb_ffs_aio_read() 192 static int usb_ffs_aio_write(usb_handle* h, const void* data, int len) { in usb_ffs_aio_write()
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 278 uint8_t len; in avdt_msg_bld_cfg() local 524 static uint8_t avdt_msg_prs_cfg(AvdtpSepConfig* p_cfg, uint8_t* p, uint16_t len, in avdt_msg_prs_cfg() 680 UNUSED_ATTR uint16_t len) { in avdt_msg_prs_none() 695 static uint8_t avdt_msg_prs_single(tAVDT_MSG* p_msg, uint8_t* p, uint16_t len) { in avdt_msg_prs_single() 723 uint16_t len) { in avdt_msg_prs_setconfig_cmd() 775 uint16_t len) { in avdt_msg_prs_reconfig_cmd() 820 static uint8_t avdt_msg_prs_multi(tAVDT_MSG* p_msg, uint8_t* p, uint16_t len) { in avdt_msg_prs_multi() 857 uint16_t len) { in avdt_msg_prs_security_cmd() 888 uint16_t len) { in avdt_msg_prs_discover_rsp() 929 static uint8_t avdt_msg_prs_svccap(tAVDT_MSG* p_msg, uint8_t* p, uint16_t len) { in avdt_msg_prs_svccap() [all …]
|
/system/core/libcutils/ |
D | properties_test.cpp | 107 size_t len = property_get(PROPERTY_TEST_KEY, mValue, PROPERTY_TEST_VALUE_DEFAULT); in TEST_F() local 114 size_t len = SetAndGetProperty("hello_world"); in TEST_F() local 123 size_t len = SetAndGetProperty("", EMPTY_STRING_DEFAULT); in TEST_F() local 133 int len = SetAndGetProperty(maxLengthString.c_str()); in TEST_F() local 148 size_t len = property_get(PROPERTY_TEST_KEY, mValue, PROPERTY_TEST_VALUE_DEFAULT); in TEST_F() local 163 int len = property_get(PROPERTY_TEST_KEY, mValue, oneLongerString.c_str()); in TEST_F() local 176 int len = property_get(PROPERTY_TEST_KEY, mValue, maxLengthString.c_str()); in TEST_F() local 189 int len = property_get(PROPERTY_TEST_KEY, mValue, oneCharString.c_str()); in TEST_F() local 202 int len = property_get(PROPERTY_TEST_KEY, mValue, zeroCharString.c_str()); in TEST_F() local 213 int len = property_get(PROPERTY_TEST_KEY, mValue, NULL); in TEST_F() local
|
/system/libbase/include/android-base/ |
D | cmsg.h | 67 ssize_t SendFileDescriptors(borrowed_fd sock, const void* data, size_t len, Args&&... sent_fds) { in SendFileDescriptors() 82 ssize_t ReceiveFileDescriptors(borrowed_fd sock, void* data, size_t len, Args&&... received_fds) { in ReceiveFileDescriptors()
|
/system/extras/verity/ |
D | build_verity_tree.cpp | 48 int64_t len = sparse_file_len(file, false, false); in generate_verity_tree() local 61 auto hash_callback = [](void* priv, const void* data, size_t len) { in generate_verity_tree()
|
/system/bt/stack/gatt/ |
D | gatt_sr_hash.cc | 28 size_t len = 0; in calculate_database_info_size() local 116 int len = calculate_database_info_size(lst_ptr); in gatts_calculate_database_hash() local
|