/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 266 ElementList Elements; variable 272 if (Elements.empty()) { in FindLowerBound() 273 CurrElementIter = Elements.begin(); in FindLowerBound() 274 return Elements.begin(); in FindLowerBound() 278 if (CurrElementIter == Elements.end()) in FindLowerBound() 287 while (ElementIter != Elements.begin() in FindLowerBound() 291 while (ElementIter != Elements.end() && in FindLowerBound() 323 if (BitVector->Elements.empty()) { in AdvanceToFirstNonZero() 327 Iter = BitVector->Elements.begin(); in AdvanceToFirstNonZero() 355 if (Iter == BitVector->Elements.end()) { in AdvanceToNextNonZero() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 274 ElementList Elements; 280 if (Elements.empty()) { 281 CurrElementIter = Elements.begin(); 282 return Elements.begin(); 286 if (CurrElementIter == Elements.end()) 295 while (ElementIter != Elements.begin() 299 while (ElementIter != Elements.end() && 331 if (BitVector->Elements.empty()) { 335 Iter = BitVector->Elements.begin(); 363 if (Iter == BitVector->Elements.end()) { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | TestGraph.h | 40 BitVector Elements; variable 41 NodeSubset(BitVector e) : Elements(e) {} in NodeSubset() 44 NodeSubset() : Elements(0) { in NodeSubset() 50 return other.Elements == this->Elements; 59 Elements |= 1U << Idx; in AddNode() 65 Elements &= ~(1U << Idx); in DeleteNode() 71 return (Elements & (1U << Idx)) != 0; in count() 76 return Elements == 0; in isEmpty() 81 return (this->Elements | other.Elements) == other.Elements; in isSubsetOf() 86 return ~(unsigned)this->Elements & ((1U << N) - 1); in Complement() [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglarray.c | 50 elems = realloc(array->Elements, new_size * sizeof(array->Elements[0])); in _eglGrowArray() 57 array->Elements = elems; in _eglGrowArray() 95 free_cb(array->Elements[i]); in _eglDestroyArray() 97 free(array->Elements); in _eglDestroyArray() 111 array->Elements[array->Size++] = elem; in _eglAppendArray() 122 free_cb(array->Elements[i]); in _eglEraseArray() 124 memmove(&array->Elements[i], &array->Elements[i + 1], in _eglEraseArray() 125 (array->Size - i - 1) * sizeof(array->Elements[0])); in _eglEraseArray() 143 if (array->Elements[i] == elem) in _eglFindArray() 163 if (filter(array->Elements[i], filter_data)) { in _eglFilterArray() [all …]
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_strings.c | 229 STATIC_ASSERT(Elements(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT); in tgsi_strings_check() 230 STATIC_ASSERT(Elements(tgsi_texture_names) == TGSI_TEXTURE_COUNT); in tgsi_strings_check() 231 STATIC_ASSERT(Elements(tgsi_property_names) == TGSI_PROPERTY_COUNT); in tgsi_strings_check() 232 STATIC_ASSERT(Elements(tgsi_primitive_names) == PIPE_PRIM_MAX); in tgsi_strings_check() 233 STATIC_ASSERT(Elements(tgsi_interpolate_names) == TGSI_INTERPOLATE_COUNT); in tgsi_strings_check() 234 STATIC_ASSERT(Elements(tgsi_return_type_names) == TGSI_RETURN_TYPE_COUNT); in tgsi_strings_check() 246 STATIC_ASSERT(Elements(tgsi_file_names) == TGSI_FILE_COUNT); in tgsi_file_name() 247 if (file < Elements(tgsi_file_names)) in tgsi_file_name()
|
/external/llvm/unittests/ADT/ |
D | SCCIteratorTest.cpp | 35 BitVector Elements; member in llvm::Graph::NodeSubset 36 NodeSubset(BitVector e) : Elements(e) {} in NodeSubset() 39 NodeSubset() : Elements(0) { in NodeSubset() 45 return other.Elements == this->Elements; in operator ==() 54 Elements |= 1U << Idx; in AddNode() 60 Elements &= ~(1U << Idx); in DeleteNode() 66 return (Elements & (1U << Idx)) != 0; in count() 71 return Elements == 0; in isEmpty() 76 return (this->Elements | other.Elements) == other.Elements; in isSubsetOf() 81 return ~(unsigned)this->Elements & ((1U << N) - 1); in Complement() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | IntervalMap.cpp | 120 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, in distribute() argument 123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); in distribute() 124 assert(Position <= Elements && "Invalid position"); in distribute() 129 const unsigned PerNode = (Elements + Grow) / Nodes; in distribute() 130 const unsigned Extra = (Elements + Grow) % Nodes; in distribute() 138 assert(Sum == Elements + Grow && "Bad distribution sum"); in distribute() 153 assert(Sum == Elements && "Bad distribution sum"); in distribute()
|
/external/llvm/lib/Support/ |
D | IntervalMap.cpp | 120 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, in distribute() argument 123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements"); in distribute() 124 assert(Position <= Elements && "Invalid position"); in distribute() 129 const unsigned PerNode = (Elements + Grow) / Nodes; in distribute() 130 const unsigned Extra = (Elements + Grow) % Nodes; in distribute() 138 assert(Sum == Elements + Grow && "Bad distribution sum"); in distribute() 153 assert(Sum == Elements && "Bad distribution sum"); in distribute()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 116 Elements(1, BucketElement(I)) {} in Bucket() 119 SmallVector<BucketElement, 16> Elements; member 228 B.Elements.push_back(BucketElement(CDiff, MemI)); in runOnLoop() 274 for (int j = 0, je = Buckets[i].Elements.size(); j != je; ++j) { in runOnLoop() 275 if (auto *II = dyn_cast<IntrinsicInst>(Buckets[i].Elements[j].Instr)) in runOnLoop() 285 if (!Buckets[i].Elements[j].Offset || in runOnLoop() 286 Buckets[i].Elements[j].Offset->isZero()) in runOnLoop() 289 const SCEV *Offset = Buckets[i].Elements[j].Offset; in runOnLoop() 291 for (auto &E : Buckets[i].Elements) { in runOnLoop() 298 std::swap(Buckets[i].Elements[j], Buckets[i].Elements[0]); in runOnLoop() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 137 Elements(1, BucketElement(I)) {} in Bucket() 140 SmallVector<BucketElement, 16> Elements; member 318 B.Elements.push_back(BucketElement(CDiff, MemI)); in runOnLoop() 364 for (int j = 0, je = Buckets[i].Elements.size(); j != je; ++j) { in runOnLoop() 365 if (auto *II = dyn_cast<IntrinsicInst>(Buckets[i].Elements[j].Instr)) in runOnLoop() 375 if (!Buckets[i].Elements[j].Offset || in runOnLoop() 376 Buckets[i].Elements[j].Offset->isZero()) in runOnLoop() 379 const SCEV *Offset = Buckets[i].Elements[j].Offset; in runOnLoop() 381 for (auto &E : Buckets[i].Elements) { in runOnLoop() 388 std::swap(Buckets[i].Elements[j], Buckets[i].Elements[0]); in runOnLoop() [all …]
|
/external/guice/core/test/com/google/inject/spi/ |
D | ModuleRewriterTest.java | 48 List<Element> elements = Elements.getElements(module); in testRewriteBindings() 58 T target = binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); in testRewriteBindings() 72 Module rewrittenModule = Elements.getModule(rewritten); in testRewriteBindings() 116 List<Element> elements = Elements.getElements(module); in testGetProviderAvailableAtInjectMembersTime() 117 Module replayed = Elements.getModule(elements); in testGetProviderAvailableAtInjectMembersTime()
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 394 ElementList Elements; variable 492 : Elements(C), Label(nullptr), Terminator(nullptr), LoopTarget(nullptr), in CFGBlock() 502 CFGElement front() const { return Elements.front(); } in front() 503 CFGElement back() const { return Elements.back(); } in back() 505 iterator begin() { return Elements.begin(); } in begin() 506 iterator end() { return Elements.end(); } in end() 507 const_iterator begin() const { return Elements.begin(); } in begin() 508 const_iterator end() const { return Elements.end(); } in end() 510 reverse_iterator rbegin() { return Elements.rbegin(); } in rbegin() 511 reverse_iterator rend() { return Elements.rend(); } in rend() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Type.cpp | 356 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() argument 363 NumContainedTys = Elements.size(); in setBody() 365 if (Elements.empty()) { in setBody() 370 ContainedTys = Elements.copy(getContext().pImpl->TypeAllocator).data(); in setBody() 435 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements, in create() argument 438 ST->setBody(Elements, isPacked); in create() 442 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements) { in create() argument 443 return create(Context, Elements, StringRef()); in create() 450 StructType *StructType::create(ArrayRef<Type*> Elements, StringRef Name, in create() argument 452 assert(!Elements.empty() && in create() [all …]
|
D | DebugInfoMetadata.cpp | 320 Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, in getImpl() argument 328 AlignInBits, OffsetInBits, Flags, Elements, RuntimeLang, in getImpl() 331 Elements, VTableHolder, TemplateParams, Identifier, in getImpl() 342 DIFlags Flags, Metadata *Elements, unsigned RuntimeLang, in buildODRType() argument 351 AlignInBits, OffsetInBits, Flags, Elements, RuntimeLang, in buildODRType() 363 Elements, VTableHolder, TemplateParams, &Identifier, in buildODRType() 377 DIFlags Flags, Metadata *Elements, unsigned RuntimeLang, in getODRType() argument 386 AlignInBits, OffsetInBits, Flags, Elements, RuntimeLang, VTableHolder, in getODRType() 682 ArrayRef<uint64_t> Elements, in getImpl() argument 684 DEFINE_GETIMPL_LOOKUP(DIExpression, (Elements)); in getImpl() [all …]
|
D | DIBuilder.cpp | 447 DINode::DIFlags Flags, DIType *DerivedFrom, DINodeArray Elements, in createClassType() argument 455 OffsetInBits, Flags, Elements, 0, VTableHolder, in createClassType() 464 DIType *DerivedFrom, DINodeArray Elements, unsigned RunTimeLang, in createStructType() argument 469 Flags, Elements, RunTimeLang, VTableHolder, nullptr, UniqueIdentifier); in createStructType() 477 DINodeArray Elements, unsigned RunTimeLang, StringRef UniqueIdentifier) { in createUnionType() argument 481 Elements, RunTimeLang, nullptr, nullptr, UniqueIdentifier); in createUnionType() 489 DIDerivedType *Discriminator, DINodeArray Elements, StringRef UniqueIdentifier) { in createVariantPart() argument 493 Elements, 0, nullptr, nullptr, UniqueIdentifier, Discriminator); in createVariantPart() 506 uint64_t SizeInBits, uint32_t AlignInBits, DINodeArray Elements, in createEnumerationType() argument 511 IsFixed ? DINode::FlagFixedEnum : DINode::FlagZero, Elements, 0, nullptr, in createEnumerationType() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 1593 llvm::Constant *Elements[] = { in GenerateIvarList() local 1602 return MakeGlobal(ObjCIvarListTy, Elements, CGM.getPointerAlign(), in GenerateIvarList() 1653 std::vector<llvm::Constant*> Elements; in GenerateClassStructure() local 1654 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure() 1655 Elements.push_back(SuperClass); in GenerateClassStructure() 1656 Elements.push_back(MakeConstantString(Name, ".class_name")); in GenerateClassStructure() 1657 Elements.push_back(Zero); in GenerateClassStructure() 1658 Elements.push_back(llvm::ConstantInt::get(LongTy, info)); in GenerateClassStructure() 1661 Elements.push_back( in GenerateClassStructure() 1666 Elements.push_back(InstanceSize); in GenerateClassStructure() [all …]
|
/external/llvm/lib/IR/ |
D | Type.cpp | 350 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() argument 357 NumContainedTys = Elements.size(); in setBody() 359 if (Elements.empty()) { in setBody() 364 ContainedTys = Elements.copy(getContext().pImpl->TypeAllocator).data(); in setBody() 443 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements, in create() argument 446 ST->setBody(Elements, isPacked); in create() 450 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements) { in create() argument 451 return create(Context, Elements, StringRef()); in create() 458 StructType *StructType::create(ArrayRef<Type*> Elements, StringRef Name, in create() argument 460 assert(!Elements.empty() && in create() [all …]
|
D | DIBuilder.cpp | 362 unsigned Flags, DIType *DerivedFrom, DINodeArray Elements, in createClassType() argument 370 OffsetInBits, Flags, Elements, 0, VTableHolder, in createClassType() 379 DIType *DerivedFrom, DINodeArray Elements, unsigned RunTimeLang, in createStructType() argument 384 Flags, Elements, RunTimeLang, VTableHolder, nullptr, UniqueIdentifier); in createStructType() 392 DINodeArray Elements, unsigned RunTimeLang, StringRef UniqueIdentifier) { in createUnionType() argument 396 Elements, RunTimeLang, nullptr, nullptr, UniqueIdentifier); in createUnionType() 416 uint64_t SizeInBits, uint64_t AlignInBits, DINodeArray Elements, in createEnumerationType() argument 421 0, Elements, 0, nullptr, nullptr, UniqueIdentifier); in createEnumerationType() 508 DINodeArray DIBuilder::getOrCreateArray(ArrayRef<Metadata *> Elements) { in getOrCreateArray() argument 509 return MDTuple::get(VMContext, Elements); in getOrCreateArray() [all …]
|
/external/clang/lib/AST/ |
D | ExprObjC.cpp | 20 ObjCArrayLiteral::ObjCArrayLiteral(ArrayRef<Expr *> Elements, QualType T, in ObjCArrayLiteral() argument 24 NumElements(Elements.size()), Range(SR), ArrayWithObjectsMethod(Method) { in ObjCArrayLiteral() 26 for (unsigned I = 0, N = Elements.size(); I != N; ++I) { in ObjCArrayLiteral() 27 if (Elements[I]->isTypeDependent() || Elements[I]->isValueDependent()) in ObjCArrayLiteral() 29 if (Elements[I]->isInstantiationDependent()) in ObjCArrayLiteral() 31 if (Elements[I]->containsUnexpandedParameterPack()) in ObjCArrayLiteral() 34 SaveElements[I] = Elements[I]; in ObjCArrayLiteral() 39 ArrayRef<Expr *> Elements, in Create() argument 42 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Elements.size())); in Create() 43 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); in Create()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 636 SmallVector<Metadata *, 4> Elements; in TEST_F() local 637 Elements.push_back(MDef2); in TEST_F() 639 DIB.getOrCreateMacroArray(Elements)); in TEST_F() 641 Elements.clear(); in TEST_F() 642 Elements.push_back(MDef1); in TEST_F() 643 Elements.push_back(MF2); in TEST_F() 644 Elements.push_back(MUndef1); in TEST_F() 646 DIB.getOrCreateMacroArray(Elements)); in TEST_F() 648 Elements.clear(); in TEST_F() 649 Elements.push_back(MDef0); in TEST_F() [all …]
|
/external/catch2/include/internal/ |
D | catch_meta.hpp | 56 , typename...Elements> 57 struct rewrap<Container, List<Elems...>, Elements...> { 58 …using type = typename append<TypeList<Container<Elems...>>, typename rewrap<Container, Elements...…
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | TypesEclipseTest.java | 31 import javax.lang.model.util.Elements; 61 private Elements elements; 115 public Elements getElements() { in getElements() 150 protected Elements getElements() {
|
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
D | Antlr.Runtime.Tree.Tests.pas | 1645 Subtrees, Elements: IList<IANTLRInterface>; 1651 Elements := Subtrees; 1652 CheckEquals('[foo, big]', TCollectionUtils.ListToString(Elements)); 1698 Elements: IList<IANTLRInterface>; 1704 Elements := TList<IANTLRInterface>.Create; 1705 Visitor := TRecordAllElementsVisitor.Create(Elements); 1707 CheckEquals('[B]' ,TCollectionUtils.ListToString(Elements)); 1715 Elements: IList<IANTLRInterface>; 1721 Elements := TList<IANTLRInterface>.Create; 1722 Visitor := TRecordAllElementsVisitor.Create(Elements); [all …]
|
/external/desugar/java/com/google/devtools/common/options/processor/ |
D | ProcessorUtils.java | 25 import javax.lang.model.util.Elements; 33 Elements elementUtils, in getAnnotation() 74 Elements elementUtils, AnnotationMirror annotation, String fieldName) in getClassTypeFromAnnotationField()
|
/external/pdfium/third_party/lcms/src/ |
D | cmslut.c | 124 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages() 138 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages() 1285 if (lut ->Elements != NULL) { in BlessLUT() 1329 for (mpe = lut ->Elements; in _LUTeval16() 1355 for (mpe = lut ->Elements; in _LUTevalFloat() 1424 for (mpe = lut ->Elements; in cmsPipelineFree() 1467 for (mpe = lut ->Elements; in cmsPipelineDup() 1479 NewLUT ->Elements = NewMPE; in cmsPipelineDup() 1521 mpe ->Next = lut ->Elements; in cmsPipelineInsertStage() 1522 lut ->Elements = mpe; in cmsPipelineInsertStage() [all …]
|