/external/perfetto/src/base/ |
D | utils_unittest.cc | 103 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/ |
D | abi-aarch64.h | 100 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()
|
D | macro-assembler-aarch64.cc | 2515 AlignUp(strlen(format) + 1, kInstructionSize) + in PrintfNoPreserve()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_read_validator.cpp | 20 FX_FILESIZE AlignUp(FX_FILESIZE offset) { in AlignUp() function 98 std::min(file_size_, AlignUp(end_segment_offset.ValueOrDie())); in ScheduleDownload()
|
/external/vixl/src/ |
D | pool-manager-impl.h | 94 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()
|
D | code-buffer-vixl.cc | 139 byte* end = AlignUp(cursor_, 4); in Align()
|
D | utils-vixl.h | 478 T AlignUp(T pointer, in AlignUp() function
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | arena.h | 312 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()
|
D | frontend.cpp | 708 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()
|
D | utils.h | 1099 static T1 AlignUp(T1 value, T2 alignment) 1110 static T1* AlignUp(T1* value, T2 alignment)
|
/external/perfetto/include/perfetto/base/ |
D | utils.h | 67 constexpr size_t AlignUp(size_t size) { in AlignUp() function
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_state.cpp | 817 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/ |
D | trace_buffer.cc | 115 base::AlignUp<sizeof(ChunkRecord)>(size + sizeof(ChunkRecord)); in CopyChunkUntrusted()
|
D | trace_buffer_unittest.cc | 310 if (base::AlignUp<16>(chunk_size) >= size_to_end()) in TEST_F()
|
/external/mdnsresponder/mDNSShared/ |
D | CommonServices.h | 646 #define AlignUp( X, Y ) ( ( ( X ) + ( ( Y ) - 1 ) ) & ~( ( Y ) - 1 ) ) macro
|
/external/vixl/test/ |
D | test-pool-manager.cc | 654 VIXL_ASSERT(new_pc == AlignUp(pc, object_alignment) + object_size); in TEST()
|
/external/vixl/test/aarch32/ |
D | test-assembler-aarch32.cc | 1177 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/ |
D | test-assembler-aarch64.cc | 15902 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/ |
D | macro-assembler-aarch32.h | 465 int total_size = AlignUp(pc, alignment) - pc + literal->GetSize(); in Place()
|