Home
last modified time | relevance | path

Searched refs:AlignDown (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp17 FX_FILESIZE AlignDown(FX_FILESIZE offset) { in AlignDown() function
22 FX_SAFE_FILESIZE safe_result = AlignDown(offset); in AlignUp()
90 const FX_FILESIZE start_segment_offset = AlignDown(offset); in ScheduleDownload()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dutils.h204 INLINE static T1 AlignDown(T1 value, T2 alignment)
217 INLINE static T1* AlignDown(T1* value, T2 alignment)
219 return (T1*)AlignDown(uintptr_t(value), alignment);
229 return AlignDown(value + T1(alignment - 1), alignment);
239 return AlignDown(PtrAdd(value, alignment - 1), alignment);
Drasterizer_impl.h1127 int32_t x = AlignDown(intersect.xmin, (FIXED_POINT_SCALE * KNOB_TILE_X_DIM));
1128 int32_t y = AlignDown(intersect.ymin, (FIXED_POINT_SCALE * KNOB_TILE_Y_DIM));
/external/vixl/src/
Dpool-manager-impl.h166 checkpoint = AlignDown(checkpoint, object->alignment_); in UpdateCheckpointForObject()
242 T last_reachable = AlignDown(temp.max_location_, temp.alignment_); in MustEmit()
244 T after_pool = AlignDown(last.max_location_, last.alignment_) + in MustEmit()
289 checkpoint = AlignDown(checkpoint, alignment_); in MustEmit()
331 checkpoint = AlignDown(checkpoint, alignment_); in RecalculateCheckpoint()
Dpool-manager.h340 VIXL_ASSERT(AlignDown(max_object_location, object_alignment) >= in location_()
Dutils-vixl.h592 T AlignDown(T pointer, in AlignDown() function
/external/vixl/src/aarch32/
Dlocation-aarch32.cc93 from = AlignDown(from, 4); in AddForwardRef()
Dassembler-aarch32.cc2547 AlignDown(GetCursorOffset() + GetArchitectureStatePCOffset(), 4) in adr()
2563 Location::Offset offset = location->GetLocation() - AlignDown(pc, 4); in adr()
2594 Location::Offset offset = location->GetLocation() - AlignDown(pc, 4); in adr()
2628 Location::Offset offset = location->GetLocation() - AlignDown(pc, 4); in adr()
3540 AlignDown(GetCursorOffset() + GetArchitectureStatePCOffset(), 4) in blx()
3555 Location::Offset offset = location->GetLocation() - AlignDown(pc, 4); in blx()
3585 location->GetLocation() - AlignDown(pc, 4); in blx()
5199 AlignDown(GetCursorOffset() + GetArchitectureStatePCOffset(), 4) in ldr()
5214 Location::Offset offset = location->GetLocation() - AlignDown(pc, 4); in ldr()
5239 Location::Offset offset = location->GetLocation() - AlignDown(pc, 4); in ldr()
[all …]
Dmacro-assembler-aarch32.h364 AlignDown(GetCursorOffset() + GetArchitectureStatePCOffset(), 4);
438 if (info->pc_needs_aligning) from = AlignDown(from, 4);
/external/v8/src/strings/
Dstring-search.h181 inline T AlignDown(T value, U alignment) { in AlignDown() function
217 char_pos = AlignDown(char_pos, sizeof(SubjectChar)); in FindFirstCharacter()
/external/v4l2_codec2/accel/
Dvideo_frame.cc46 size_t AlignDown(size_t size, size_t alignment) { in AlignDown() function
425 const int offset_x = AlignDown(visible_rect_.x(), alignment.width()); in visible_data()
426 const int offset_y = AlignDown(visible_rect_.y(), alignment.height()); in visible_data()
/external/vixl/src/aarch64/
Dinstructions-aarch64.cc299 base = AlignDown(base, kPageSize); in GetImmPCOffsetTarget()
Dsimulator-aarch64.h1640 if (AlignDown(address, kAtomicAccessGranule) !=
1641 AlignDown(address + access_size - 1, kAtomicAccessGranule)) {
1646 if (AlignDown(address, access_size) != address) {
1652 if ((rn == kSpRegCode) && (AlignDown(address, 16) != address)) {
Dsimulator-aarch64.cc105 tos = AlignDown(tos, 16); in Simulator()
1483 if (AlignDown(address, 16) != AlignDown(address + element_size - 1, 16)) { in LoadAcquireRCpcUnscaledOffsetHelper()
1510 if (AlignDown(address, 16) != AlignDown(address + element_size - 1, 16)) { in StoreReleaseUnscaledOffsetHelper()
Ddisasm-aarch64.cc5807 base = AlignDown(base, kPageSize); in SubstitutePCRelAddressField()
/external/vixl/test/aarch32/
Dtest-assembler-aarch32.cc1461 ptrdiff_t end = AlignDown( in EmitLdrdLiteralTest()
1466 AlignDown(masm->GetBuffer()->GetCursorOffset() + in EmitLdrdLiteralTest()
1764 int space = AlignDown(ldr_padding, kA32InstructionSizeInBytes); in TEST_A32()
1776 int space = AlignDown(ldrd_padding, kA32InstructionSizeInBytes); in TEST_A32()
2279 int space = AlignDown(padding_before, nop_size); in TEST()
2292 int space = AlignDown(padding_after, nop_size); in TEST()
6486 pc = AlignDown(pc, 4); \
6497 pc = AlignDown(pc, 4); \
6511 pc = AlignDown(pc, 4); \
6525 pc = AlignDown(pc, 4); \
/external/mdnsresponder/mDNSShared/
DCommonServices.h638 #define AlignDown( X, Y ) ( ( X ) & ~( ( Y ) - 1 ) ) macro
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc2096 AlignDown(masm.GetLabelAddress<uint64_t*>(&start), kPageSize)); in TEST()
2180 AlignDown(masm.GetLabelAddress<uintptr_t>(&test), kPageSize); in AdrpPageBoundaryHelper()