Home
last modified time | relevance | path

Searched refs:SizeInBytes (Results 1 – 25 of 45) sorted by relevance

12

/external/deqp-deps/amber/src/
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(4, fmt.SizeInBytes()); in TEST_F()
272 EXPECT_EQ(4, segs[0].SizeInBytes()); in TEST_F()
281 EXPECT_EQ(8, fmt.SizeInBytes()); in TEST_F()
286 EXPECT_EQ(4, segs[0].SizeInBytes()); in TEST_F()
288 EXPECT_EQ(4, segs[1].SizeInBytes()); in TEST_F()
297 EXPECT_EQ(16, fmt.SizeInBytes()); in TEST_F()
[all …]
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()
199 align = 4 * m->SizeInBytes(); in CalcMatrixBaseAlignmentInBytes()
201 align = m->RowCount() * m->SizeInBytes(); in CalcMatrixBaseAlignmentInBytes()
[all …]
Dbuffer.cc166 buf_1_ptr += seg.SizeInBytes(); in CalculateDiffs()
167 buf_2_ptr += seg.SizeInBytes(); in CalculateDiffs()
228 buf_ptr += seg.SizeInBytes(); in GetHistogramForChannel()
303 ((offset / format_->SizeInBytes()) * format_->InputNeededPerElement()) + in RecalculateMaxSizeInBytes()
313 if (GetMaxSizeInBytes() < element_count * format_->SizeInBytes()) in RecalculateMaxSizeInBytes()
314 SetMaxSizeInBytes(element_count * format_->SizeInBytes()); in RecalculateMaxSizeInBytes()
323 ((offset / format_->SizeInBytes()) * format_->InputNeededPerElement()) + in SetDataWithOffset()
339 format_->SizeInBytes(); in SetDataWithOffset()
423 bytes_.resize(element_count * format_->SizeInBytes()); in SetSizeInElements()
427 assert(size_in_bytes % format_->SizeInBytes() == 0); in SetSizeInBytes()
[all …]
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
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(4, Number(FormatMode::kUNorm).SizeInBytes()); in TEST_F()
212 EXPECT_EQ(1, Number(FormatMode::kSInt, 8).SizeInBytes()); in TEST_F()
213 EXPECT_EQ(2, Number(FormatMode::kSInt, 16).SizeInBytes()); in TEST_F()
214 EXPECT_EQ(4, Number(FormatMode::kSInt, 32).SizeInBytes()); in TEST_F()
[all …]
Dtype.h94 virtual uint32_t SizeInBytes() const = 0;
154 uint32_t SizeInBytes() const override { return bits_ / 8; } in SizeInBytes() function
178 uint32_t SizeInBytes() const { return num_bits / 8; } in SizeInBytes() function
223 uint32_t SizeInBytes() const override;
247 uint32_t SizeInBytes() const override;
Dbuffer.h135 return ElementCount() * format_->SizeInBytes(); in GetSizeInBytes()
139 uint32_t GetElementStride() { return format_->SizeInBytes(); } in GetElementStride()
Dverifier.cc580 size_t size_in_bytes = buffer_element_count * fmt->SizeInBytes(); in ProbeSSBO()
581 if ((elem_count * fmt->SizeInBytes()) + offset > size_in_bytes) { in ProbeSSBO()
584 std::to_string((elem_count * fmt->SizeInBytes()) + offset) + in ProbeSSBO()
589 if (offset % fmt->SizeInBytes() != 0) { in ProbeSSBO()
594 std::to_string(fmt->SizeInBytes()) + ")"); in ProbeSSBO()
648 ptr += segment.SizeInBytes(); in ProbeSSBO()
Dformat.h58 uint32_t SizeInBytes() const { return num_bits_ / 8; } in SizeInBytes() function
114 uint32_t SizeInBytes() const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCELFStreamer.cpp25 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc, in EmitValueForModiferKind() argument
30 if (SizeInBytes == SIZE_LONG) in EmitValueForModiferKind()
32 else if (SizeInBytes == SIZE_WORD) in EmitValueForModiferKind()
41 SizeInBytes, Loc); in EmitValueForModiferKind()
DAVRMCELFStreamer.h46 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DUser.cpp90 intptr_t SizeInBytes; member
103 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor()
106 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor()
136 DescInfo->SizeInBytes = DescBytes; in allocateFixedOperandUser()
183 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
/external/llvm/lib/IR/
DUser.cpp94 intptr_t SizeInBytes; member
107 assert(DI->SizeInBytes != 0 && "Should not have had a descriptor otherwise!"); in getDescriptor()
110 reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes, DI->SizeInBytes); in getDescriptor()
140 DescInfo->SizeInBytes = DescBytes; in allocateFixedOperandUser()
187 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete()
/external/compiler-rt/lib/profile/
DInstrProfiling.c32 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) { in __llvm_profile_get_num_padding_bytes() argument
33 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in __llvm_profile_get_num_padding_bytes()
DInstrProfiling.h45 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
/external/deqp-deps/amber/src/vulkan/
Dvertex_buffer.cc41 stride_in_bytes_ += format->SizeInBytes(); in SetData()
52 size_t bytes = data_[j]->GetFormat()->SizeInBytes(); in FillVertexBufferWithData()
Dbuffer_descriptor.cc118 amber_buffer_->GetFormat()->SizeInBytes()); in MoveResourceToBufferOutput()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp85 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
623 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues() argument
633 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L, in parseLiteralValues()
651 AVRStreamer.EmitValueForModiferKind(Symbol, SizeInBytes, L, ModifierKind); in parseLiteralValues()
659 Parser.getStreamer().EmitValue(Value, SizeInBytes, L); in parseLiteralValues()
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender.cc136 uint64_t SizeInBytes() const { return bytes_; } in SizeInBytes() function in webrtc::paced_sender::PacketQueue
320 return static_cast<int64_t>(packets_->SizeInBytes() * 8 / max_bitrate_kbps_); in ExpectedQueueTimeMs()
364 size_t queue_size_bytes = packets_->SizeInBytes(); in Process()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp667 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local
668 if ((SizeInBytes >> 32) != 0) in processLoopMemSet()
678 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
689 bool NegStride = SizeInBytes == -Stride; in processLoopMemSet()
690 return processLoopStridedStore(Pointer, (unsigned)SizeInBytes, in processLoopMemSet()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1180 translatePtrToMemberRep(unsigned SizeInBytes, bool IsPMF, unsigned Flags) { in translatePtrToMemberRep() argument
1187 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1199 return SizeInBytes == 0 ? PointerToMemberRepresentation::Unknown in translatePtrToMemberRep()
1223 uint8_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerTypeMemberPointer() local
1225 ClassTI, translatePtrToMemberRep(SizeInBytes, IsPMF, Ty->getFlags())); in lowerTypeMemberPointer()
1226 PointerRecord PR(PointeeTI, PK, PM, PO, SizeInBytes, MPI); in lowerTypeMemberPointer()
1562 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeClass() local
1566 TypeIndex(), VShapeTI, SizeInBytes, FullName, Ty->getIdentifier())); in lowerCompleteTypeClass()
1601 uint64_t SizeInBytes = Ty->getSizeInBits() / 8; in lowerCompleteTypeUnion() local
1605 UnionRecord(FieldCount, CO, HfaKind::None, FieldTI, SizeInBytes, FullName, in lowerCompleteTypeUnion()
/external/v8/src/codegen/arm64/
Dmacro-assembler-arm64.cc1057 int size = src0.SizeInBytes(); in Push()
1075 int size = dst0.SizeInBytes(); in Pop()
1094 PushHelper(4, src.SizeInBytes(), src, src, src, src); in PushMultipleTimes()
1100 PushHelper(2, src.SizeInBytes(), src, src, NoReg, NoReg); in PushMultipleTimes()
1105 PushHelper(1, src.SizeInBytes(), src, NoReg, NoReg, NoReg); in PushMultipleTimes()
1118 DCHECK(size == src0.SizeInBytes()); in PushHelper()
1155 DCHECK(size == dst0.SizeInBytes()); in PopHelper()
1189 DCHECK((offset >= 0) && ((offset % src1.SizeInBytes()) == 0)); in PokePair()
1196 DCHECK((offset >= 0) && ((offset % dst1.SizeInBytes()) == 0)); in PeekPair()
2425 DCHECK_EQ(xzr.SizeInBytes(), double_input.SizeInBytes()); in TruncateDoubleToI()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp736 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in processLoopMemSet() local
737 if ((SizeInBytes >> 32) != 0) in processLoopMemSet()
747 if (SizeInBytes != Stride && SizeInBytes != -Stride) in processLoopMemSet()
758 bool NegStride = SizeInBytes == -Stride; in processLoopMemSet()
759 return processLoopStridedStore(Pointer, (unsigned)SizeInBytes, in processLoopMemSet()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h240 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
241 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h222 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument
223 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()

12