/system/bt/profile/sdp/common/ |
D | data_element_reader.cc | 176 uint32_t num_bytes = 0; in ReadString() local 181 num_bytes = it_.extractBE<uint8_t>(); in ReadString() 185 num_bytes = it_.extractBE<uint16_t>(); in ReadString() 189 num_bytes = it_.extractBE<uint32_t>(); in ReadString() 196 CHECK_REMAINING_LEN(num_bytes); in ReadString() 199 for (uint32_t i = 0; i < num_bytes; i++) { in ReadString() 208 uint32_t num_bytes = 0; in ReadSequence() local 213 num_bytes = it_.extractBE<uint8_t>(); in ReadSequence() 217 num_bytes = it_.extractBE<uint16_t>(); in ReadSequence() 221 num_bytes = it_.extractBE<uint32_t>(); in ReadSequence() [all …]
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_ops.cpp | 50 size_t num_bytes, void* buffer, size_t* out_num_read) { in read_from_partition() argument 52 partition, offset, num_bytes, buffer, out_num_read); in read_from_partition() 172 size_t num_bytes, void* buffer, in ReadFromPartition() argument 213 ssize_t num_read = TEMP_FAILURE_RETRY(pread64(fd, buffer, num_bytes, offset)); in ReadFromPartition() 214 if (num_read < 0 || (size_t)num_read != num_bytes) { in ReadFromPartition() 215 PERROR << "Failed to read " << num_bytes << " bytes from " << path << " offset " << offset; in ReadFromPartition()
|
D | avb_ops.h | 57 AvbIOResult ReadFromPartition(const char* partition, int64_t offset, size_t num_bytes,
|
/system/nfc/src/nfc/tags/ |
D | rw_main.cc | 80 void rw_main_update_tx_stats(uint32_t num_bytes, bool is_retry) { in rw_main_update_tx_stats() argument 81 rw_cb.stats.bytes_sent += num_bytes; in rw_main_update_tx_stats() 129 void rw_main_update_rx_stats(uint32_t num_bytes) { in rw_main_update_rx_stats() argument 130 rw_cb.stats.bytes_received += num_bytes; in rw_main_update_rx_stats()
|
D | rw_t2t_ndef.cc | 290 tlv_data.num_bytes = p_t2t->num_lockbytes; in rw_t2t_ntf_tlv_detect_complete() 292 tlv_data.num_bytes = 0; in rw_t2t_ntf_tlv_detect_complete() 294 tlv_data.num_bytes += p_t2t->mem_tlv[p_t2t->num_mem_tlvs].num_bytes; in rw_t2t_ntf_tlv_detect_complete() 687 p_t2t->mem_tlv[p_t2t->num_mem_tlvs].num_bytes = in rw_t2t_handle_tlv_detect_rsp() 1420 tag_size += p_t2t->mem_tlv[xx].num_bytes; in rw_t2t_get_ndef_max_size() 1973 uint8_t num_bytes; in rw_t2t_update_attributes() local 2009 num_bytes = 0; in rw_t2t_update_attributes() 2010 while (num_bytes < p_t2t->mem_tlv[count].num_bytes) { in rw_t2t_update_attributes() 2011 offset = p_t2t->mem_tlv[count].offset + num_bytes; in rw_t2t_update_attributes() 2024 num_bytes++; in rw_t2t_update_attributes() [all …]
|
D | rw_t1t_ndef.cc | 614 tlv_data.num_bytes = p_t1t->num_lockbytes; in rw_t1t_handle_read_rsp() 650 tlv_data.num_bytes = 0; in rw_t1t_handle_read_rsp() 653 tlv_data.num_bytes += in rw_t1t_handle_read_rsp() 654 p_t1t->mem_tlv[p_t1t->num_mem_tlvs].num_bytes; in rw_t1t_handle_read_rsp() 665 tlv_data.num_bytes = p_t1t->num_lockbytes; in rw_t1t_handle_read_rsp() 1089 p_t1t->mem_tlv[p_t1t->num_mem_tlvs].num_bytes = tlv_value[1]; in rw_t1t_handle_tlv_detect_rsp() 1763 uint8_t num_bytes; in rw_t1t_update_attributes() local 1798 num_bytes = 0; in rw_t1t_update_attributes() 1799 while (num_bytes < p_t1t->mem_tlv[count].num_bytes) { in rw_t1t_update_attributes() 1800 offset = p_t1t->mem_tlv[count].offset + num_bytes; in rw_t1t_update_attributes() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | polled_socket.cc | 95 size_t PolledSocket::TryReceive(size_t num_bytes, uint8_t* data) { in TryReceive() argument 98 WHILE_EINTR(ret = read(file_descriptor_, data, num_bytes)); in TryReceive()
|
D | polled_socket.h | 46 size_t TryReceive(size_t num_bytes, uint8_t* data);
|
/system/core/libunwindstack/ |
D | DwarfMemory.cpp | 29 bool DwarfMemory::ReadBytes(void* dst, size_t num_bytes) { in ReadBytes() argument 30 if (!memory_->ReadFully(cur_offset_, dst, num_bytes)) { in ReadBytes() 33 cur_offset_ += num_bytes; in ReadBytes()
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | event_payload_builder.cc | 93 bool EventPayloadBuilder::CanAddPayloadOctets(size_t num_bytes) const { in CanAddPayloadOctets() 94 return payload_.size() + num_bytes <= max_bytes_; in CanAddPayloadOctets()
|
D | event_payload_builder.h | 63 bool CanAddPayloadOctets(size_t num_bytes) const;
|
/system/nfc/src/nfa/include/ |
D | nfa_mem_co.h | 48 extern void* nfa_mem_co_alloc(uint32_t num_bytes);
|
/system/bt/gd/packet/ |
D | raw_builder.cc | 95 bool RawBuilder::CanAddOctets(size_t num_bytes) const { in CanAddOctets() 96 return payload_.size() + num_bytes <= max_bytes_; in CanAddOctets()
|
D | raw_builder.h | 44 bool CanAddOctets(size_t num_bytes) const;
|
/system/bt/vendor_libs/test_vendor_lib/packets/ |
D | raw_builder.cc | 93 bool RawBuilder::CanAddOctets(size_t num_bytes) const { in CanAddOctets() 94 return payload_.size() + num_bytes <= max_bytes_; in CanAddOctets()
|
D | raw_builder.h | 43 bool CanAddOctets(size_t num_bytes) const;
|
/system/nfc/src/adaptation/ |
D | libmain.cc | 50 extern void* nfa_mem_co_alloc(uint32_t num_bytes) { return malloc(num_bytes); } in nfa_mem_co_alloc() argument
|
/system/update_engine/scripts/update_payload/ |
D | applier.py | 194 num_bytes = ex.num_blocks * block_size 195 if data_length < num_bytes: 199 pad_len = num_bytes - data_length 201 num_bytes = data_length 203 arg += '%s%d:%d' % (arg and ',', start_byte, num_bytes) 204 data_length -= num_bytes
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.cpp | 98 static bool copy_data(int src_fd, int dst_fd, size_t num_bytes) in copy_data() argument 103 remaining = num_bytes; in copy_data()
|
/system/core/libunwindstack/include/unwindstack/ |
D | DwarfMemory.h | 32 bool ReadBytes(void* dst, size_t num_bytes);
|
/system/update_engine/ |
D | payload_state_unittest.cc | 890 uint64_t num_bytes = 42 * 1000 * 1000; in TEST() local 891 payload_state.DownloadProgress(num_bytes); in TEST() 894 EXPECT_EQ(num_bytes, in TEST() 896 EXPECT_EQ(num_bytes, in TEST() 901 total_bytes[kDownloadSourceHttpServer] = num_bytes; in TEST() 931 uint64_t num_bytes = 10000; in TEST() local 932 payload_state.DownloadProgress(num_bytes); in TEST() 933 EXPECT_EQ(num_bytes, in TEST() 935 EXPECT_EQ(num_bytes, in TEST() 946 EXPECT_EQ(num_bytes, in TEST()
|
/system/nfc/src/nfc/include/ |
D | rw_int.h | 143 uint8_t num_bytes; /* Number of reserved bytes as per the TLV */ member 376 uint8_t num_bytes; /* Number of reserved bytes as per the TLV */ member
|
D | rw_api.h | 206 num_bytes; /* number of reserved/lock bytes based on the type of tlv */ member
|
/system/extras/pagecache/ |
D | pagecache.py | 57 def bytes_to_mb(self, num_bytes): argument 58 return "%.2f" % round(int(num_bytes) / 1024.0 / 1024.0, 2)
|
/system/bt/stack/a2dp/ |
D | a2dp_sbc_encoder.cc | 547 uint32_t num_bytes = 0; in a2dp_sbc_encode_frames() local 548 if (a2dp_sbc_read_feeding(&num_bytes)) { in a2dp_sbc_encode_frames() 559 bytes_read += num_bytes; in a2dp_sbc_encode_frames()
|