/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SparseBitVector.h | 289 ElementList Elements; 295 if (Elements.empty()) { 296 CurrElementIter = Elements.begin(); 297 return Elements.begin(); 301 if (CurrElementIter == Elements.end()) 310 while (ElementIter != Elements.begin() 314 while (ElementIter != Elements.end() && 346 if (BitVector->Elements.empty()) { 350 Iter = BitVector->Elements.begin(); 378 if (Iter == BitVector->Elements.end()) { [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/mesa3d/src/egl/main/ |
D | eglarray.c | 49 elems = realloc(array->Elements, new_size * sizeof(array->Elements[0])); in _eglGrowArray() 56 array->Elements = elems; in _eglGrowArray() 94 free_cb(array->Elements[i]); in _eglDestroyArray() 96 free(array->Elements); in _eglDestroyArray() 110 array->Elements[array->Size++] = elem; in _eglAppendArray() 121 free_cb(array->Elements[i]); in _eglEraseArray() 123 memmove(&array->Elements[i], &array->Elements[i + 1], in _eglEraseArray() 124 (array->Size - i - 1) * sizeof(array->Elements[0])); in _eglEraseArray() 142 if (array->Elements[i] == elem) in _eglFindArray() 162 if (filter(array->Elements[i], filter_data)) { in _eglFilterArray() [all …]
|
/external/swiftshader/third_party/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() 43 NodeSubset(const NodeSubset &other) : Elements(other.Elements) {} in NodeSubset() 47 return other.Elements == this->Elements; in operator ==() 56 Elements |= 1U << Idx; in AddNode() 62 Elements &= ~(1U << Idx); in DeleteNode() 68 return (Elements & (1U << Idx)) != 0; in count() 73 return Elements == 0; in isEmpty() 78 return (this->Elements | other.Elements) == other.Elements; in isSubsetOf() [all …]
|
/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/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/swiftshader/third_party/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/guice/core/test/com/google/inject/spi/ |
D | ModuleRewriterTest.java | 50 List<Element> elements = Elements.getElements(module); in testRewriteBindings() 57 T target = binding.acceptTargetVisitor(Elements.<T>getInstanceVisitor()); in testRewriteBindings() 72 Module rewrittenModule = Elements.getModule(rewritten); in testRewriteBindings() 109 List<Element> elements = Elements.getElements(module); in testGetProviderAvailableAtInjectMembersTime() 110 Module replayed = Elements.getModule(elements); in testGetProviderAvailableAtInjectMembersTime()
|
D | ElementApplyToTest.java | 29 super.checkModule(Elements.getModule(Elements.getElements(module)), visitors); in checkModule()
|
/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/lib/VMCore/ |
D | Type.cpp | 400 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() argument 408 TypeAllocator.Allocate<Type*>(Elements.size()); in setBody() 409 memcpy(Elts, Elements.data(), sizeof(Elements[0])*Elements.size()); in setBody() 412 NumContainedTys = Elements.size(); in setBody() 481 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements, in create() argument 484 ST->setBody(Elements, isPacked); in create() 488 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements) { in create() argument 489 return create(Context, Elements, StringRef()); in create() 497 StructType *StructType::create(ArrayRef<Type*> Elements, StringRef Name, in create() argument 499 assert(!Elements.empty() && in create() [all …]
|
D | ConstantsContext.h | 482 std::vector<Constant*> Elements; 483 Elements.reserve(CP->getNumOperands()); 485 Elements.push_back(CP->getOperand(i)); 486 return Elements; 502 std::vector<Constant*> Elements; 503 Elements.reserve(CA->getNumOperands()); 505 Elements.push_back(cast<Constant>(CA->getOperand(i))); 506 return Elements; 514 std::vector<Constant*> Elements; 515 Elements.reserve(CS->getNumOperands()); [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 …]
|
D | DebugInfoMetadata.cpp | 261 Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, in getImpl() argument 269 AlignInBits, OffsetInBits, Flags, Elements, RuntimeLang, in getImpl() 272 Elements, VTableHolder, TemplateParams, Identifier}; in getImpl() 282 unsigned Flags, Metadata *Elements, unsigned RuntimeLang, in buildODRType() argument 291 AlignInBits, OffsetInBits, Flags, Elements, RuntimeLang, in buildODRType() 303 Elements, VTableHolder, TemplateParams, &Identifier}; in buildODRType() 316 unsigned Flags, Metadata *Elements, unsigned RuntimeLang, in getODRType() argument 325 AlignInBits, OffsetInBits, Flags, Elements, RuntimeLang, VTableHolder, in getODRType() 545 ArrayRef<uint64_t> Elements, in getImpl() argument 547 DEFINE_GETIMPL_LOOKUP(DIExpression, (Elements)); in getImpl() [all …]
|
D | LLVMContextImpl.h | 435 Metadata *Elements; 444 Metadata *Elements, unsigned RuntimeLang, 449 OffsetInBits(OffsetInBits), Flags(Flags), Elements(Elements), 457 Flags(N->getFlags()), Elements(N->getRawElements()), 469 Elements == RHS->getRawElements() && 480 return hash_combine(Name, File, Line, BaseType, Scope, Elements, 827 ArrayRef<uint64_t> Elements; 829 MDNodeKeyImpl(ArrayRef<uint64_t> Elements) : Elements(Elements) {} 830 MDNodeKeyImpl(const DIExpression *N) : Elements(N->getElements()) {} 833 return Elements == RHS->getElements(); [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/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVValue.h | 275 Elements = getIds(TheElements); in SPIRVConstantComposite() 281 return getValues(Elements); in getElements() 284 std::vector<SPIRVValue*> Elements = getElements(); in getNonLiteralOperands() local 285 return std::vector<SPIRVEntry*>(Elements.begin(), Elements.end()); in getNonLiteralOperands() 290 for (auto &I:Elements) in validate() 294 Elements.resize(WordCount - 3); in setWordCount() 296 _SPIRV_DEF_ENCDEC3(Type, Id, Elements) 298 std::vector<SPIRVId> Elements;
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/ |
D | ClassNameTest.java | 23 import javax.lang.model.util.Elements; 79 Elements elements = compilationRule.getElements(); in classNameFromTypeElement() 86 Elements elements = compilationRule.getElements(); in peerNamed_topLevelClass() 95 Elements elements = compilationRule.getElements(); in peerNamed_nestedClass() 104 Elements elements = compilationRule.getElements(); in peerNamed_deeplyNestedClass()
|
/external/antlr/antlr-3.4/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/pdfium/third_party/lcms2-2.6/src/ |
D | cmslut.c | 124 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages() 138 mpe = Lut ->Elements; in cmsPipelineCheckAndRetreiveStages() 1262 if (lut ->Elements != NULL) { in BlessLUT() 1305 for (mpe = lut ->Elements; in _LUTeval16() 1331 for (mpe = lut ->Elements; in _LUTevalFloat() 1404 for (mpe = lut ->Elements; in cmsPipelineFree() 1447 for (mpe = lut ->Elements; in cmsPipelineDup() 1459 NewLUT ->Elements = NewMPE; in cmsPipelineDup() 1500 mpe ->Next = lut ->Elements; in cmsPipelineInsertStage() 1501 lut ->Elements = mpe; in cmsPipelineInsertStage() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | DerivedTypes.h | 216 static StructType *create(ArrayRef<Type*> Elements, 219 static StructType *create(ArrayRef<Type*> Elements); 221 ArrayRef<Type*> Elements, 224 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements); 229 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements, 266 void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRRewriteRuleElementStream.h | 33 } Elements; typedef 40 Elements elements; 49 @property (assign, getter=GetElement, setter=SetElement:) Elements elements;
|