/frameworks/libs/binary_translation/calling_conventions/include/berberis/calling_conventions/ |
D | calling_conventions_riscv64.h | 53 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() argument 56 CHECK_EQ(size, alignment); in GetNextIntArgLoc() 65 return GetNextStackArgLoc(size, alignment); in GetNextIntArgLoc() 68 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() argument 71 CHECK_EQ(size, alignment); in GetNextFpArgLoc() 82 return GetNextIntArgLoc(size, alignment); in GetNextFpArgLoc() 102 constexpr ArgLocation GetNextStackArgLoc(unsigned size, unsigned alignment) { in GetNextStackArgLoc() argument 104 CHECK_EQ(size, alignment); in GetNextStackArgLoc() 109 unsigned alignment_in_stack = alignment > 8 ? alignment : 8; in GetNextStackArgLoc()
|
D | calling_conventions_arm64.h | 47 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() argument 50 CHECK_EQ(size, alignment); in GetNextIntArgLoc() 67 return GetNextStackArgLoc(size, alignment); in GetNextIntArgLoc() 70 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() argument 73 CHECK_EQ(size, alignment); in GetNextFpArgLoc() 82 return GetNextStackArgLoc(size, alignment); in GetNextFpArgLoc() 102 constexpr ArgLocation GetNextStackArgLoc(unsigned size, unsigned alignment) { in GetNextStackArgLoc() argument 103 unsigned alignment_in_stack = alignment > 8 ? alignment : 8; in GetNextStackArgLoc()
|
D | calling_conventions_x86_64.h | 44 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() argument 47 CHECK_EQ(size, alignment); in GetNextIntArgLoc() 57 return GetNextStackArgLoc(size, alignment); in GetNextIntArgLoc() 60 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() argument 64 CHECK_EQ(size, alignment); in GetNextFpArgLoc() 73 return GetNextStackArgLoc(size, alignment); in GetNextFpArgLoc()
|
D | calling_conventions_arm.h | 60 constexpr ArgLocation GetNextIntArgLoc(unsigned size, unsigned alignment) { in GetNextIntArgLoc() argument 65 if (alignment < 4) { in GetNextIntArgLoc() 68 } else if (alignment > 8) { in GetNextIntArgLoc() 72 param_alignment = alignment; in GetNextIntArgLoc() 102 constexpr ArgLocation GetNextFpArgLoc(unsigned size, unsigned alignment) { in GetNextFpArgLoc() argument 105 for (unsigned index = 0; index < kMaxSimdOffset; index += alignment / 4) { in GetNextFpArgLoc() 120 unsigned param_offset = AlignUp(stack_offset_, alignment); in GetNextFpArgLoc()
|
D | calling_conventions_x86_32.h | 42 constexpr ArgLocation GetNextArgLoc(unsigned size, unsigned alignment) { in GetNextArgLoc() argument 45 unsigned alignment_in_stack = (alignment < 4u ? 4u : alignment); in GetNextArgLoc()
|
/frameworks/av/media/module/codecs/amrwb/enc/src/ |
D | mem_align.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecI… in mem_malloc() argument 46 if (!alignment) { in mem_malloc() 64 MemInfo.Size = size + alignment; in mem_malloc() 71 pMemop->Set(CodecID, tmp, 0, size + alignment); in mem_malloc() 74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) & in mem_malloc() 75 (~((intptr_t) (alignment - 1)))); in mem_malloc() 78 mem_ptr += alignment; in mem_malloc()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | RootContentBehavior.java | 118 public RootContentBehavior(int scroll, int alignment, int sizing, int mode) { in RootContentBehavior() argument 129 if (alignment == ALIGNMENT_CENTER) { in RootContentBehavior() 130 mAlignment = alignment; in RootContentBehavior() 132 int horizontalContentAlignment = alignment & 0xF0; in RootContentBehavior() 133 int verticalContentAlignment = alignment & 0xF; in RootContentBehavior() 141 mAlignment = alignment; in RootContentBehavior() 217 public void apply(WireBuffer buffer, int scroll, int alignment, int sizing, int mode) { in apply() argument 220 buffer.writeInt(alignment); in apply() 228 int alignment = buffer.readInt(); in read() local 232 new RootContentBehavior(scroll, alignment, sizing, mode); in read()
|
/frameworks/native/libs/binder/ |
D | Debug.cpp | 160 size_t alignment, bool cStyle, in printHexData() argument 163 if (alignment == 0) { in printHexData() 164 if (bytesPerLine >= 16) alignment = 4; in printHexData() 165 else if (bytesPerLine >= 8) alignment = 2; in printHexData() 166 else alignment = 1; in printHexData() 224 size_t align_offset = alignment-(alignment?1:0); in printHexData() 230 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData() 233 if (index == 0 && word > 0 && alignment > 0) { in printHexData()
|
D | Debug.h | 37 size_t alignment=0, bool cArrayStyle=false,
|
/frameworks/rs/script_api/include/ |
D | rs_value_types.rsh | 107 * into a single 32 bit field with 32 bit alignment. 117 * into a single 64 bit field with 64 bit alignment. 127 * into a single 64 bit field with 64 bit alignment. 259 * with a 64 bit alignment. 262 * with a 64 bit alignment. 270 * with a 128 bit alignment. 278 * with a 128 bit alignment. 286 * with a 128 bit alignment. 294 * with a 256 bit alignment. 302 * with a 256 bit alignment. [all …]
|
/frameworks/av/media/utils/include/mediautils/ |
D | SharedMemoryAllocator.h | 141 static size_t alignment() { return Allocator::alignment(); } 221 static size_t alignment() { return Allocator::alignment(); } 232 request.size = shared_allocator_impl::roundup(request.size, alignment()); 280 static size_t alignment() { return Allocator::alignment(); } 367 static size_t alignment() { return PrimaryAllocator::alignment(); } 421 LOG_ALWAYS_FATAL_IF(PrimaryAllocator::alignment() != SecondaryAllocator::alignment(), 433 static size_t alignment() { return Allocator::alignment(); } 459 static size_t alignment() { return kPageSize; } 466 sp<MemoryHeapBase>::make(shared_allocator_impl::roundup(request.size, alignment()));
|
/frameworks/av/media/utils/tests/ |
D | shared_memory_allocator_tests.cpp | 40 static size_t alignment() { return 1337; } in alignment() function 112 ASSERT_EQ(MemoryHeapBaseAllocator::alignment(), kPageSize); in TEST() 124 ASSERT_EQ(SnoopingAllocator<ValidateForwarding<0>>::alignment(), in TEST() 125 ValidateForwarding<0>::alignment()); in TEST() 187 ASSERT_EQ(IndirectAllocator<ValidateForwarding<0>>::alignment(), in TEST() 188 ValidateForwarding<0>::alignment()); in TEST() 221 ASSERT_EQ(decltype(allocator2)::alignment(), ValidateForwarding<0>::alignment()); in TEST() 254 ASSERT_EQ(decltype(fallback_allocator)::alignment(), kPageSize); in TEST() 322 ASSERT_EQ(decltype(forward_test)::alignment(), Alloc1::alignment()); in TEST() 354 ASSERT_EQ(ScopedAllocator<ValidateForwarding<0>>::alignment(), in TEST() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 188 private int alignment = ALIGN_UNKNOWN; field in SlidingTab.Slider 245 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide() 246 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide() 248 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() in hide() 264 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show() 265 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show() 266 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); in show() 306 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset() 307 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset() 309 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() in reset() [all …]
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonRelocator.cpp | 512 uint32_t alignment = 1; in applyAbs() local 531 alignment = 2; in applyAbs() 536 alignment = 1; in applyAbs() 565 if ((shift != 0) && (result % alignment != 0)) in applyAbs() 587 uint32_t alignment = 1; in applyRel() local 595 alignment = 4; in applyRel() 602 alignment = 4; in applyRel() 609 alignment = 4; in applyRel() 616 alignment = 4; in applyRel() 623 alignment = 4; in applyRel() [all …]
|
D | HexagonAbsoluteStub.h | 44 size_t alignment() const;
|
/frameworks/native/libs/binder/include/binder/ |
D | TextOutput.h | 105 inline HexDump& setAlignment(size_t alignment); 112 inline size_t alignment() const; 190 inline HexDump& HexDump::setAlignment(size_t alignment) { in setAlignment() argument 191 mAlignment = alignment; return *this; in setAlignment() 201 inline size_t HexDump::alignment() const { return mAlignment; } in alignment() function
|
/frameworks/av/camera/ |
D | CameraMetadata.cpp | 29 #define ALIGN_TO(val, alignment) \ argument 30 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1)) 563 const size_t alignment = get_camera_metadata_alignment(); in readFromParcel() local 571 if (blobSize <= alignment) { in readFromParcel() 573 __FUNCTION__, blobSize, alignment); in readFromParcel() 577 const size_t metadataSize = blobSize - alignment; in readFromParcel() 601 if (offset >= alignment) { in readFromParcel() 603 __FUNCTION__, blobSize, alignment); in readFromParcel() 612 __FUNCTION__, alignment, tmp, offset); in readFromParcel() 669 const size_t alignment = get_camera_metadata_alignment(); in writeToParcel() local [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | BranchIsland.cpp | 111 new AlignFragment(pStub.alignment(), 0x0, 1u, pStub.alignment() - 1); in addStub() 137 new AlignFragment(pStub.alignment(), 0x0, 1u, pStub.alignment() - 1); in addStub()
|
/frameworks/av/media/module/foundation/ |
D | MediaBufferGroup.cpp | 71 size_t alignment = MemoryDealer::getAllocationAlignment(); in init() local 73 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers; in init()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 2434 Alignment alignment = spec.getAbsoluteAlignment(axis.horizontal); 2436 int before = alignment.getAlignmentValue(c, size, gl.getLayoutMode()); 2571 final Alignment alignment; 2574 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) { 2577 this.alignment = alignment; 2581 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) { 2582 this(startDefined, new Interval(start, start + size), alignment, weight); 2586 if (alignment != UNDEFINED_ALIGNMENT) { 2587 return alignment; 2596 return new Spec(startDefined, span, alignment, weight); [all …]
|
/frameworks/av/media/module/codecs/amrwb/enc/inc/ |
D | mem_align.h | 29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsign…
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectBuilder.cpp | 137 unsigned int alignment = pFrom.getSection().align(); in MoveSectionData() local 138 align = new AlignFragment(/*alignment*/alignment, in MoveSectionData() 141 /*max bytes to emit*/alignment - 1); in MoveSectionData()
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
D | SoftMPEG2.h | 26 #define ivd_aligned_malloc(alignment, size) memalign(alignment, size) argument
|
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/layout/ |
D | ScalingLazyColumnDefaults.kt | 51 alignment = Alignment.Top, in belowTimeText() 97 alignment = Alignment.Top, in scalingLazyColumnDefaults()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/ |
D | RemoteContext.java | 160 public void setRootContentBehavior(int scroll, int alignment, int sizing, int mode) { in setRootContentBehavior() argument 161 mDocument.setRootContentBehavior(scroll, alignment, sizing, mode); in setRootContentBehavior()
|