/external/deqp-deps/amber/src/ |
D | format_test.cc | 38 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 …]
|
D | format.cc | 70 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 …]
|
D | buffer.cc | 166 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 …]
|
D | type.cc | 79 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
|
D | type_test.cc | 88 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 …]
|
D | type.h | 94 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;
|
D | buffer.h | 135 return ElementCount() * format_->SizeInBytes(); in GetSizeInBytes() 139 uint32_t GetElementStride() { return format_->SizeInBytes(); } in GetElementStride()
|
D | verifier.cc | 580 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()
|
D | format.h | 58 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/ |
D | AVRMCELFStreamer.cpp | 25 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()
|
D | AVRMCELFStreamer.h | 46 const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc = SMLoc(),
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | User.cpp | 90 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/ |
D | User.cpp | 94 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/ |
D | InstrProfiling.c | 32 __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()
|
D | InstrProfiling.h | 45 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
|
/external/deqp-deps/amber/src/vulkan/ |
D | vertex_buffer.cc | 41 stride_in_bytes_ += format->SizeInBytes(); in SetData() 52 size_t bytes = data_[j]->GetFormat()->SizeInBytes(); in FillVertexBufferWithData()
|
D | buffer_descriptor.cc | 118 amber_buffer_->GetFormat()->SizeInBytes()); in MoveResourceToBufferOutput()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/AsmParser/ |
D | AVRAsmParser.cpp | 85 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/ |
D | paced_sender.cc | 136 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/ |
D | LoopIdiomRecognize.cpp | 667 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/ |
D | CodeViewDebug.cpp | 1180 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/ |
D | macro-assembler-arm64.cc | 1057 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/ |
D | LoopIdiomRecognize.cpp | 736 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/ |
D | InstrProfReader.h | 240 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/ |
D | InstrProfReader.h | 222 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) { in getNumPaddingBytes() argument 223 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t)); in getNumPaddingBytes()
|