Home
last modified time | relevance | path

Searched refs:SizeInBytes (Results 1 - 25 of 69) sorted by relevance

123

/third_party/vk-gl-cts/external/amber/src/src/
H A Dformat_test.cc38 EXPECT_EQ(16U, fmt.SizeInBytes()); in TEST_F()
49 EXPECT_EQ(48U, fmt.SizeInBytes()); in TEST_F()
60 EXPECT_EQ(32U, fmt.SizeInBytes()); in TEST_F()
84 EXPECT_EQ(test_data.size_in_bytes, fmt.SizeInBytes()) << test_data.name; in TEST_P()
266 EXPECT_EQ(4u, fmt.SizeInBytes()); in TEST_F()
272 EXPECT_EQ(4u, segs[0].SizeInBytes()); in TEST_F()
281 EXPECT_EQ(8u, fmt.SizeInBytes()); in TEST_F()
286 EXPECT_EQ(4u, segs[0].SizeInBytes()); in TEST_F()
288 EXPECT_EQ(4u, segs[1].SizeInBytes()); in TEST_F()
297 EXPECT_EQ(16u, fmt.SizeInBytes()); in TEST_F()
[all...]
H A Dformat.cc70 uint32_t Format::SizeInBytes() const { in SizeInBytes() function in amber::Format
77 size += static_cast<uint32_t>(seg.SizeInBytes()); in SizeInBytes()
116 Segment{size + segments_.back().SizeInBytes()}; in AddPaddedSegment()
132 last.SizeInBytes() >= seg.SizeInBytes()) { in AddSegment()
134 auto pad = last.SizeInBytes() - seg.SizeInBytes(); in AddSegment()
156 return 4 * n->SizeInBytes(); in CalcVecBaseAlignmentInBytes()
159 return n->RowCount() * n->SizeInBytes(); in CalcVecBaseAlignmentInBytes()
173 align = t->SizeInBytes(); in CalcArrayBaseAlignmentInBytes()
[all...]
H A Dbuffer.cc138 buf_1_ptr += seg.SizeInBytes(); in CalculateDiffs()
139 buf_2_ptr += seg.SizeInBytes(); in CalculateDiffs()
200 buf_ptr += seg.SizeInBytes(); in GetHistogramForChannel()
275 ((offset / format_->SizeInBytes()) * format_->InputNeededPerElement()) + in RecalculateMaxSizeInBytes()
285 if (GetMaxSizeInBytes() < element_count * format_->SizeInBytes()) in RecalculateMaxSizeInBytes()
286 SetMaxSizeInBytes(element_count * format_->SizeInBytes()); in RecalculateMaxSizeInBytes()
295 ((offset / format_->SizeInBytes()) * format_->InputNeededPerElement()) + in SetDataWithOffset()
311 format_->SizeInBytes(); in SetDataWithOffset()
395 bytes_.resize(element_count * format_->SizeInBytes()); in SetSizeInElements()
399 assert(size_in_bytes % format_->SizeInBytes() in SetSizeInBytes()
[all...]
H A Dtype.cc79 uint32_t List::SizeInBytes() const { in SizeInBytes() function in amber::type::List
85 size += member.SizeInBytes(); in SizeInBytes()
95 uint32_t Struct::SizeInBytes() const { in SizeInBytes() function in amber::type::Struct
H A Dtype_test.cc88 uint32_t bytes = i.SizeInBytes(); in TEST_F()
91 EXPECT_EQ(bytes, i.SizeInBytes()); in TEST_F()
96 uint32_t bytes = i.SizeInBytes(); in TEST_F()
100 EXPECT_EQ(bytes, i.SizeInBytes()); in TEST_F()
105 uint32_t bytes = i.SizeInBytes(); in TEST_F()
108 EXPECT_EQ(bytes, i.SizeInBytes()); in TEST_F()
208 EXPECT_EQ(4u, Number(FormatMode::kUNorm).SizeInBytes()); in TEST_F()
212 EXPECT_EQ(1u, Number(FormatMode::kSInt, 8).SizeInBytes()); in TEST_F()
213 EXPECT_EQ(2u, Number(FormatMode::kSInt, 16).SizeInBytes()); in TEST_F()
214 EXPECT_EQ(4u, Number(FormatMode::kSInt, 32).SizeInBytes()); in TEST_F()
[all...]
H A Dtype.h94 virtual uint32_t SizeInBytes() const = 0;
154 uint32_t SizeInBytes() const override { return bits_ / 8; }
178 uint32_t SizeInBytes() const { return num_bits / 8; } in SizeInBytes() function
223 uint32_t SizeInBytes() const override;
247 uint32_t SizeInBytes() const override;
H A Dverifier.cc531 size_t size_in_bytes = buffer_element_count * fmt->SizeInBytes(); in ProbeSSBO()
532 if ((elem_count * fmt->SizeInBytes()) + offset > size_in_bytes) { in ProbeSSBO()
535 std::to_string((elem_count * fmt->SizeInBytes()) + offset) + in ProbeSSBO()
540 if (offset % fmt->SizeInBytes() != 0) { in ProbeSSBO()
545 std::to_string(fmt->SizeInBytes()) + ")"); in ProbeSSBO()
603 ptr += segment.SizeInBytes(); in ProbeSSBO()
H A Dbuffer.h125 // | | | | | | | | | | | | | | | | | SizeInBytes == 16
126 // Note, the SizeInBytes maybe be greater then the size of the values. If
127 // the format is std140 and there are 3 rows, the SizeInBytes will be
165 return ElementCount() * format_->SizeInBytes(); in GetSizeInBytes()
169 uint32_t GetElementStride() { return format_->SizeInBytes(); } in GetElementStride()
182 /// Resizes the buffer to hold |size_in_bytes|/format_->SizeInBytes()
H A Dformat.h58 uint32_t SizeInBytes() const { return num_bits_ / 8; } in SizeInBytes() function in amber::Format::Segment
114 uint32_t SizeInBytes() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCELFStreamer.cpp24 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc, in EmitValueForModiferKind()
29 if (SizeInBytes == SIZE_LONG) in EmitValueForModiferKind()
31 else if (SizeInBytes == SIZE_WORD) in EmitValueForModiferKind()
40 SizeInBytes, Loc); in EmitValueForModiferKind() local
23 EmitValueForModiferKind( const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc, AVRMCExpr::VariantKind ModifierKind) EmitValueForModiferKind() argument
H A DAVRMCELFStreamer.h45 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DUser.cpp89 intptr_t SizeInBytes; member
102 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor()
105 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor()
135 DescInfo->SizeInBytes = DescBytes; in allocateFixedOperandUser()
184 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DResourceAllocatorManagerD3D12.cpp307 if (resourceInfo.SizeInBytes == 0 || in CreatePlacedResource()
308 resourceInfo.SizeInBytes == std::numeric_limits<uint64_t>::max()) { in CreatePlacedResource()
317 allocator->Allocate(resourceInfo.SizeInBytes, resourceInfo.Alignment)); in CreatePlacedResource()
368 if (resourceInfo.SizeInBytes == 0 || in CreateCommittedResource()
369 resourceInfo.SizeInBytes == std::numeric_limits<uint64_t>::max()) { in CreateCommittedResource()
373 if (resourceInfo.SizeInBytes > kMaxHeapSize) { in CreateCommittedResource()
381 resourceInfo.SizeInBytes, GetMemorySegment(mDevice, heapType))); in CreateCommittedResource()
398 resourceInfo.SizeInBytes); in CreateCommittedResource()
H A DHeapAllocatorD3D12.cpp36 heapDesc.SizeInBytes = size; in AllocateResourceHeap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp86 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
643 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument
653 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues()
671 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues()
679 Parser.getStreamer().EmitValue(Value, SizeInBytes, L); in parseLiteralValues()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DAlignment.h145 /// Checks that SizeInBytes is a multiple of the alignment.
146 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) {
147 return SizeInBytes % Lhs.value() == 0;
150 /// Checks that SizeInBytes is a multiple of the alignment.
152 inline bool isAligned(MaybeAlign Lhs, uint64_t SizeInBytes) {
154 return SizeInBytes % (*Lhs).value() == 0;
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dbuffer_backed_descriptor.cc84 buffer->SetElementCount(size_in_bytes / buffer->GetFormat()->SizeInBytes()); in MoveTransferResourceToBufferOutput()
/third_party/node/deps/v8/src/deoptimizer/
H A Dtranslation-array.cc78 const int input_size = SizeInBytes(); in ToTranslationArray()
102 factory->NewByteArray(SizeInBytes(), AllocationType::kOld); in ToTranslationArray()
H A Dtranslation-array.h114 int SizeInBytes() const { in SizeInBytes() function in v8::internal::TranslationArrayBuilder
/third_party/skia/third_party/externals/d3d12allocator/src/
H A DD3D12MemAlloc.cpp3327 heapDesc.SizeInBytes = m_Size;
4221 D3D12MA_ASSERT(resAllocInfo.SizeInBytes > 0);
4233 resAllocInfo.SizeInBytes,
4268 resAllocInfo.SizeInBytes > preferredBlockSize / 2;
4290 resAllocInfo.SizeInBytes,
4329 pAllocInfo->SizeInBytes,
4358 pAllocInfo->SizeInBytes > preferredBlockSize / 2;
4372 pAllocInfo->SizeInBytes,
4402 D3D12MA_ASSERT(resAllocInfo.SizeInBytes > 0);
4410 AllocationLocalOffset + resAllocInfo.SizeInBytes > existingSiz
[all...]
/third_party/node/deps/v8/src/codegen/arm64/
H A Dmacro-assembler-arm64.cc1123 int size = src0.SizeInBytes(); in Push()
1141 int size = dst0.SizeInBytes(); in Pop()
1160 PushHelper(4, src.SizeInBytes(), src, src, src, src); in PushMultipleTimes()
1166 PushHelper(2, src.SizeInBytes(), src, src, NoReg, NoReg); in PushMultipleTimes()
1171 PushHelper(1, src.SizeInBytes(), src, NoReg, NoReg, NoReg); in PushMultipleTimes()
1184 DCHECK(size == src0.SizeInBytes()); in PushHelper()
1221 DCHECK(size == dst0.SizeInBytes()); in PopHelper()
1255 DCHECK((offset >= 0) && ((offset % src1.SizeInBytes()) == 0)); in PokePair()
1262 DCHECK((offset >= 0) && ((offset % dst1.SizeInBytes()) == 0)); in PeekPair()
2605 DCHECK_EQ(xzr.SizeInBytes(), double_inpu in TruncateDoubleToI()
[all...]
/third_party/skia/src/gpu/d3d/
H A DGrD3DCommandList.cpp389 views[numViews].SizeInBytes = vertexBuffer->size(); in setVertexBuffers()
396 views[numViews].SizeInBytes = instanceBuffer->size(); in setVertexBuffers()
410 view.SizeInBytes = indexBuffer->size(); in setIndexBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp767 uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty); in getAllocaSizeInBytes() local
768 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()
1230 uint64_t SizeInBytes = in instrumentGlobal() local
1232 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment()); in instrumentGlobal()
1233 if (SizeInBytes != NewSize) { in instrumentGlobal()
1236 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0); in instrumentGlobal()
1269 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes; in instrumentGlobal()
1281 uint32_t Size = std::min(SizeInBytes - DescriptorPos, MaxDescriptorSize); in instrumentGlobal()
/third_party/node/src/
H A Dheap_utils.cc47 size_t SizeInBytes() override { return 0; }
145 Number::New(isolate_, static_cast<double>(n->SizeInBytes()))) in CreateObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h251 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
252 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()

Completed in 25 milliseconds

123