Home
last modified time | relevance | path

Searched refs:AlignUp (Results 1 – 19 of 19) sorted by relevance

/external/perfetto/src/base/
Dutils_unittest.cc103 EXPECT_EQ(0u, AlignUp<4>(0)); in TEST()
104 EXPECT_EQ(4u, AlignUp<4>(1)); in TEST()
105 EXPECT_EQ(4u, AlignUp<4>(3)); in TEST()
106 EXPECT_EQ(4u, AlignUp<4>(4)); in TEST()
107 EXPECT_EQ(8u, AlignUp<4>(5)); in TEST()
108 EXPECT_EQ(0u, AlignUp<16>(0)); in TEST()
109 EXPECT_EQ(16u, AlignUp<16>(1)); in TEST()
110 EXPECT_EQ(16u, AlignUp<16>(15)); in TEST()
111 EXPECT_EQ(16u, AlignUp<16>(16)); in TEST()
112 EXPECT_EQ(32u, AlignUp<16>(17)); in TEST()
[all …]
/external/vixl/src/aarch64/
Dabi-aarch64.h100 unsigned operand_size = AlignUp(size, kWRegSizeInBytes); in GetNextParameterGenericOperand()
126 NGRN_ = AlignUp(NGRN_, 2); in GetNextParameterGenericOperand()
137 stack_offset_ = AlignUp(stack_offset_, std::max(type_alignment, 8)); in GetNextParameterGenericOperand()
Dmacro-assembler-aarch64.cc2515 AlignUp(strlen(format) + 1, kInstructionSize) + in PrintfNoPreserve()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp20 FX_FILESIZE AlignUp(FX_FILESIZE offset) { in AlignUp() function
98 std::min(file_size_, AlignUp(end_segment_offset.ValueOrDie())); in ScheduleDownload()
/external/vixl/src/
Dpool-manager-impl.h94 T aligned_pc = AlignUp(pc, current.alignment_); in Emit()
122 pc = AlignUp(pc, alignment_); in Emit()
210 VIXL_ASSERT(AlignUp(pc + header_size_, alignment_) >= in MustEmit()
456 T aligned_location = AlignUp(location, alignment); in Bind()
Dcode-buffer-vixl.cc139 byte* end = AlignUp(cursor_, 4); in Align()
Dutils-vixl.h478 T AlignUp(T pointer, in AlignUp() function
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Darena.h312 if (pBlock == AlignUp(pBlock, align)) in SearchBlocks()
390 size_t offset = AlignUp(m_offset, align); in AllocAligned()
407 blockSize = AlignUp(blockSize, ARENA_BLOCK_ALIGN); in AllocAligned()
Dfrontend.cpp708 cutPrimStride = AlignUp(state.gsState.maxNumVerts * 2 / 8, 4); in GeometryShaderStage()
881 const uint32_t streamIdPrimStride = AlignUp(state.gsState.maxNumVerts * 2 / 8, 4); in AllocateGsBuffers()
1040 …uint32_t requiredDSVectorInvocations = AlignUp(tsData.NumDomainPoints, KNOB_SIMD_WIDTH) / KNOB_SIM… in TessellationStages()
Dutils.h1099 static T1 AlignUp(T1 value, T2 alignment)
1110 static T1* AlignUp(T1* value, T2 alignment)
/external/perfetto/include/perfetto/base/
Dutils.h67 constexpr size_t AlignUp(size_t size) { in AlignUp() function
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp817 uint32_t size = AlignUp(cb->buffer_size, 4); in swr_update_constants()
1095 scratch_total += AlignUp(size, 4); in swr_update_derived()
1131 size = AlignUp(size, 4); in swr_update_derived()
1174 size = AlignUp(size, 4); in swr_update_derived()
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc115 base::AlignUp<sizeof(ChunkRecord)>(size + sizeof(ChunkRecord)); in CopyChunkUntrusted()
Dtrace_buffer_unittest.cc310 if (base::AlignUp<16>(chunk_size) >= size_to_end()) in TEST_F()
/external/mdnsresponder/mDNSShared/
DCommonServices.h646 #define AlignUp( X, Y ) ( ( ( X ) + ( ( Y ) - 1 ) ) & ~( ( Y ) - 1 ) ) macro
/external/vixl/test/
Dtest-pool-manager.cc654 VIXL_ASSERT(new_pc == AlignUp(pc, object_alignment) + object_size); in TEST()
/external/vixl/test/aarch32/
Dtest-assembler-aarch32.cc1177 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); in TEST()
1226 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); in TEST()
1278 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); in EmitReusedLoadLiteralStressTest()
1521 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); in TEST()
1565 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); in TEST()
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc15902 uint32_t* wp = AlignUp(wp_data + 1, kWRegSizeInBytes * 2) - 1; in TEST()
15906 uint64_t* xp = AlignUp(xp_data + 1, kXRegSizeInBytes * 2) - 1; in TEST()
16003 uint32_t* wp = AlignUp(wp_data + 1, kWRegSizeInBytes * 2) - 1; in TEST()
16007 uint64_t* xp = AlignUp(xp_data + 1, kXRegSizeInBytes * 2) - 1; in TEST()
16097 uint64_t* data_aligned = AlignUp(data, kXRegSizeInBytes * 2); in TEST()
16201 uint64_t* data_aligned = AlignUp(data, kXRegSizeInBytes * 2); in TEST()
16285 uint64_t* data_aligned = AlignUp(data, kXRegSizeInBytes * 2); in TEST()
/external/vixl/src/aarch32/
Dmacro-assembler-aarch32.h465 int total_size = AlignUp(pc, alignment) - pc + literal->GetSize(); in Place()