Home
last modified time | relevance | path

Searched refs:data_end (Results 1 – 11 of 11) sorted by relevance

/system/netd/bpf_progs/
Dclatd.c45 const void* data_end = (void*)(long)skb->data_end; in nat64() local
56 if (data + l2_header_size + sizeof(*ip6) > data_end) return TC_ACT_OK; in nat64()
156 data_end = (void*)(long)skb->data_end; in nat64()
160 if (data + l2_header_size + sizeof(struct iphdr) > data_end) return TC_ACT_SHOT; in nat64()
202 const void* data_end = (void*)(long)skb->data_end; variable
209 if (data + sizeof(*ip4) > data_end) return TC_ACT_OK;
241 if (data + sizeof(*ip4) + sizeof(struct udphdr) > data_end) return TC_ACT_OK;
308 data_end = (void*)(long)skb->data_end;
312 if (data + sizeof(ip6) > data_end) return TC_ACT_SHOT;
Dbpf_net_helpers.h72 if (skb->data_end - skb->data < len) bpf_skb_pull_data(skb, len); in try_make_readable()
/system/extras/simpleperf/
Dkallsyms.cpp245 char* data_end = p + symbol_data.size(); in ProcessKernelSymbols() local
246 while (p < data_end) { in ProcessKernelSymbols()
251 size_t line_size = (line_end != nullptr) ? (line_end - p) : (data_end - p); in ProcessKernelSymbols()
263 p = data_end; in ProcessKernelSymbols()
/system/incremental_delivery/incfs/util/
Dmap_ptr.cpp93 bool IncFsFileMap::Verify(const uint8_t* const& data_start, const uint8_t* const& data_end, in Verify() argument
96 const data_block_index_t end_index = get_block_index(data_end - 1U, start_block_ptr_); in Verify()
123 size_t end_offset = (data_end - start_block_ptr_) + map_->getDataOffset(); in Verify()
/system/update_engine/scripts/update_payload/
Dapplier.py264 data_end = data_start + count
274 if data_end >= data_length + block_size:
279 if data_end > data_length:
280 padding = data_end - data_length
285 part_file.write(out_data[data_start:data_end])
/system/incremental_delivery/incfs/util/include/util/
Dmap_ptr.h92 bool Verify(const uint8_t* const& data_start, const uint8_t* const& data_end,
370 const auto data_end = reinterpret_cast<const uint8_t*>(ptr_) + verify_size;
375 data_end <= verified_block_ + INCFS_DATA_FILE_BLOCK_SIZE)) {
379 if (LIKELY(map_->Verify(data_start, data_end, &verified_block_))) {
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc96 data_end = offset + data_size; in VerifyVerityConfig() local
97 offset < data_end;) { in VerifyVerityConfig()
99 size_t bytes_to_read = std::min(kBufferSize, data_end - offset); in VerifyVerityConfig()
/system/chre/build/app_support/qcom_nanohub/
Dapp_support.cc66 uint32_t data_end; member
/system/core/fs_mgr/libdm/
Ddm.cpp518 uint32_t data_end = std::min(io->data_size, uint32_t(buffer.size())); in GetTable() local
520 if (cursor + sizeof(struct dm_target_spec) > data_end) { in GetTable()
528 uint32_t next_cursor = std::min(io->data_start + spec->next, data_end); in GetTable()
/system/media/camera/src/
Dcamera_metadata.c503 const metadata_uptrdiff_t data_end = in validate_camera_metadata_structure() local
505 if (data_end < header->data_start || // overflow check in validate_camera_metadata_structure()
506 data_end > header->size) { in validate_camera_metadata_structure()
/system/bt/bta/av/
Dbta_av_aact.cc2123 uint8_t* data_end = (uint8_t*)(p_buf + 1) + p_buf->offset + p_buf->len; in bta_av_data_path() local
2126 size_t fragment_len = data_end - data_begin; in bta_av_data_path()