Home
last modified time | relevance | path

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

/external/icing/icing/legacy/index/
Dicing-mmapper.cc53 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/
Dmmap.cc87 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/
Dexternal_file_handler.cc47 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/
Dmemory-mapped-file.cc81 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/
Dmc-bundling-x86-gen.py88 aligned_offset = (inst_orig_offset + instlen) & ~(BUNDLE_SIZE - 1)
89 print_check(aligned_offset)
/external/llvm/utils/testgen/
Dmc-bundling-x86-gen.py88 aligned_offset = (inst_orig_offset + instlen) & ~(BUNDLE_SIZE - 1)
89 print_check(aligned_offset)
/external/libtextclassifier/native/lang_id/common/file/
Dmmap.cc206 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/
Dradeon_surface.c1626 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/
DSparseLU_kernel_bmod.h68 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/
Dshm_vios.rs704 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/
Daco_instruction_selection.cpp3132 Operand aligned_offset = offset; in emit_load() local
3138 aligned_offset = Operand(offset.constantValue() & 0xfffffffcu); in emit_load()
3140aligned_offset = bld.sop2(aco_opcode::s_and_b32, bld.def(s1), bld.def(s1, scc), Operand(0xfffffffc… in emit_load()
3142aligned_offset = bld.sop2(aco_opcode::s_and_b64, bld.def(s2), bld.def(s1, scc), Operand((uint64_t)… in emit_load()
3144aligned_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()