/external/icing/icing/legacy/index/ |
D | icing-mmapper.cc | 53 uint64_t aligned_offset = in DoMapping() local 55 size_t alignment_adjustment = location - aligned_offset; in DoMapping() 60 mmap_result_ = mmap(nullptr, mmap_len, prot, flags_, fd, aligned_offset); in DoMapping()
|
/external/libtextclassifier/native/utils/memory/ |
D | mmap.cc | 87 const int64 aligned_offset = (segment_offset / kPageSize) * kPageSize; in MmapFile() local 88 const int64 alignment_shift = segment_offset - aligned_offset; in MmapFile() 111 aligned_offset); in MmapFile()
|
/external/tflite-support/tensorflow_lite_support/cc/task/core/ |
D | external_file_handler.cc | 47 int64 aligned_offset = offset; in GetPageSizeAlignedOffset() local 50 aligned_offset = offset / page_size * page_size; in GetPageSizeAlignedOffset() 52 return aligned_offset; in GetPageSizeAlignedOffset()
|
/external/icing/icing/file/ |
D | memory-mapped-file.cc | 81 size_t aligned_offset = in Remap() local 83 size_t alignment_adjustment = file_offset - aligned_offset; in Remap() 122 fd.get(), aligned_offset); in Remap()
|
/external/llvm-project/llvm/utils/testgen/ |
D | mc-bundling-x86-gen.py | 88 aligned_offset = (inst_orig_offset + instlen) & ~(BUNDLE_SIZE - 1) 89 print_check(aligned_offset)
|
/external/llvm/utils/testgen/ |
D | mc-bundling-x86-gen.py | 88 aligned_offset = (inst_orig_offset + instlen) & ~(BUNDLE_SIZE - 1) 89 print_check(aligned_offset)
|
/external/libtextclassifier/native/lang_id/common/file/ |
D | mmap.cc | 206 const size_t aligned_offset = (offset_in_bytes / kPageSize) * kPageSize; in MmapFile() local 207 const size_t alignment_shift = offset_in_bytes - aligned_offset; in MmapFile() 229 aligned_offset); in MmapFile()
|
/external/libdrm/radeon/ |
D | radeon_surface.c | 1626 uint64_t aligned_offset = offset; in si_surface_init_2d() local 1654 if (aligned_offset) { in si_surface_init_2d() 1655 aligned_offset = ALIGN(aligned_offset, alignment); in si_surface_init_2d() 1662 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in si_surface_init_2d() 1684 aligned_offset = offset = surf->bo_size; in si_surface_init_2d() 1686 aligned_offset = ALIGN(aligned_offset, surf->bo_alignment); in si_surface_init_2d() 2223 uint64_t aligned_offset = offset; in cik_surface_init_2d() local 2256 if (aligned_offset) { in cik_surface_init_2d() 2257 aligned_offset = ALIGN(aligned_offset, alignment); in cik_surface_init_2d() 2264 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in cik_surface_init_2d() [all …]
|
/external/eigen/Eigen/src/SparseLU/ |
D | SparseLU_kernel_bmod.h | 68 Index aligned_offset = internal::first_default_aligned(tempv.data()+segsize, PacketSize); in run() local 70 …Map<Matrix<Scalar,Dynamic,1>, 0, OuterStride<> > l(tempv.data()+segsize+aligned_offset+aligned_wit… in run()
|
/external/crosvm/devices/src/virtio/snd/vios_backend/ |
D | shm_vios.rs | 704 let aligned_offset = offset & !(base::pagesize() - 1); in mmap_buffer() localVariable 705 let offset_from_mapping_start = offset - aligned_offset; in mmap_buffer() 709 .offset(aligned_offset as u64) in mmap_buffer()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 3132 Operand aligned_offset = offset; in emit_load() local 3138 aligned_offset = Operand(offset.constantValue() & 0xfffffffcu); in emit_load() 3140 …aligned_offset = bld.sop2(aco_opcode::s_and_b32, bld.def(s1), bld.def(s1, scc), Operand(0xfffffffc… in emit_load() 3142 …aligned_offset = bld.sop2(aco_opcode::s_and_b64, bld.def(s2), bld.def(s1, scc), Operand((uint64_t)… in emit_load() 3144 … aligned_offset = bld.vop2(aco_opcode::v_and_b32, bld.def(v1), Operand(0xfffffffcu), offset_tmp); in emit_load() 3149 aligned_offset = bld.pseudo(aco_opcode::p_create_vector, bld.def(v2), lo, hi); in emit_load() 3152 Temp aligned_offset_tmp = aligned_offset.isTemp() ? in emit_load() 3153 aligned_offset.getTemp() : in emit_load() 3154 bld.copy(bld.def(s1), aligned_offset); in emit_load()
|