Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 173) sorted by relevance

1234567

/netbsd-src/sys/external/bsd/acpica/dist/utilities/
H A Duttrack.c349 ACPI_DEBUG_MEM_BLOCK *Element; in AcpiUtFindAllocation() local
352 Element = AcpiGbl_GlobalList->ListHead; in AcpiUtFindAllocation()
353 if (!Element) in AcpiUtFindAllocation()
365 while (Element > Allocation) in AcpiUtFindAllocation()
369 if (!Element->Next) in AcpiUtFindAllocation()
371 return (Element); in AcpiUtFindAllocation()
374 Element = Element->Next; in AcpiUtFindAllocation()
377 if (Element == Allocation) in AcpiUtFindAllocation()
379 return (Element); in AcpiUtFindAllocation()
382 return (Element->Previous); in AcpiUtFindAllocation()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/digest/
H A Dmurmurhash.d509 if (bufferSize + data.length < Element.sizeof) in this()
520 const bufferLeeway = Element.sizeof - bufferSize;
523 element_count += Element.sizeof;
528 const numElements = data.length / Element.sizeof;
529 const remainderStart = numElements * Element.sizeof;
532 foreach (ref const Element block; cast(const(Element[])) data[0 .. remainderStart])
541 alias TChunk = T[Element.sizeof / T.sizeof];
544 static if (T.alignof >= Element.alignof)
546 putElement(*cast(const(Element)*) chunk.ptr);
550 Element[1] alignedCopy = void;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/digest/
H A Dmurmurhash.d509 if (bufferSize + data.length < Element.sizeof) in this()
520 const bufferLeeway = Element.sizeof - bufferSize;
523 element_count += Element.sizeof;
528 const numElements = data.length / Element.sizeof;
529 const remainderStart = numElements * Element.sizeof;
532 foreach (ref const Element block; cast(const(Element[])) data[0 .. remainderStart])
541 alias TChunk = T[Element.sizeof / T.sizeof];
544 static if (T.alignof >= Element.alignof)
546 putElement(*cast(const(Element)*) chunk.ptr);
550 Element[1] alignedCopy = void;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DFileMatchTrie.cpp74 StringRef Element(llvm::sys::path::filename( in insert() local
76 Children[Element].Path = Path; in insert()
78 StringRef Element(llvm::sys::path::filename( in insert() local
80 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1); in insert()
118 StringRef Element(llvm::sys::path::filename(FileName.drop_back( in findEquivalent() local
121 Children.find(Element); in findEquivalent()
125 ConsumedLength + Element.size() + 1); in findEquivalent()
H A DRefactoringCallbacks.cpp203 for (const auto &Element : Template) { in run() local
204 switch (Element.Type) { in run()
206 ToText += Element.Value; in run()
209 auto NodeIter = NodeMap.find(Element.Value); in run()
211 llvm::errs() << "Node " << Element.Value in run()
/netbsd-src/sys/external/bsd/acpica/dist/dispatcher/
H A Ddspkginit.c61 ACPI_OPERAND_OBJECT **Element);
442 ACPI_OPERAND_OBJECT *Element = *ElementPtr; in AcpiDsResolvePackageElement() local
454 if (Element->Reference.Resolved) in AcpiDsResolvePackageElement()
465 ScopeInfo.Scope.Node = Element->Reference.Node; /* Prefix node */ in AcpiDsResolvePackageElement()
467 Status = AcpiNsLookup (&ScopeInfo, (char *) Element->Reference.Aml, in AcpiDsResolvePackageElement()
495 (char *) Element->Reference.Aml, NULL, &ExternalPath); in AcpiDsResolvePackageElement()
534 Element->Reference.Resolved = TRUE; in AcpiDsResolvePackageElement()
535 Element->Reference.Node = ResolvedNode; in AcpiDsResolvePackageElement()
536 Type = Element->Reference.Node->Type; in AcpiDsResolvePackageElement()
588 AcpiUtRemoveReference (Element); in AcpiDsResolvePackageElement()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp138 uint64_t Element = RawMask[i]; in DecodePSHUFBMask() local
140 if (Element & (1 << 7)) in DecodePSHUFBMask()
148 int Index = Base + (Element & 0xf); in DecodePSHUFBMask()
179 uint64_t Element = RawMask[i]; in DecodeVPERMILPMask() local
181 Index += (Element >> 1) & 0x1; in DecodeVPERMILPMask()
183 Index += Element & 0x3; in DecodeVPERMILPMask()
280 uint64_t Element = RawMask[i]; in DecodeVPPERMMask() local
281 uint64_t Index = Element & 0x1F; in DecodeVPPERMMask()
282 uint64_t PermuteOp = (Element >> 5) & 0x7; in DecodeVPPERMMask()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
H A DBitcodeCommon.h22 using Align = Bitfield::Element<unsigned, 0, 5>;
23 using UsedWithInAlloca = Bitfield::Element<bool, Align::NextBit, 1>;
24 using ExplicitType = Bitfield::Element<bool, UsedWithInAlloca::NextBit, 1>;
25 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>;
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h98 template <typename Element>
99 inline Element* GetRawPointer(Element* p) { return p; }
397 template <typename Element, size_t N>
398 class StlContainerView<Element[N]> {
400 typedef typename std::remove_const<Element>::type RawElement;
409 static const_reference ConstReference(const Element (&array)[N]) {
410 static_assert(std::is_same<Element, RawElement>::value,
414 static type Copy(const Element (&array)[N]) {
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h983 template <typename Iter, typename Element>
984 Iter ArrayAwareFind(Iter begin, Iter end, const Element& elem) {
1034 template <typename Element>
1038 typedef Element value_type;
1039 typedef Element* iterator;
1040 typedef const Element* const_iterator;
1043 NativeArray(const Element* array, size_t count, RelationToSourceReference) {
1048 NativeArray(const Element* array, size_t count, RelationToSourceCopy) {
1072 static_assert(!std::is_const<Element>::value, "Type must not be const");
1073 static_assert(!std::is_reference<Element>::value,
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dstringpool.h97 template<typename Element>
135 push_back(const Element& element) in push_back()
149 Element&
153 const Element&
160 typedef std::vector<Element> Element_vector;
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dstringpool.h97 template<typename Element>
135 push_back(const Element& element) in push_back()
149 Element&
153 const Element&
160 typedef std::vector<Element> Element_vector;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBTFDebug.cpp169 for (const auto Element : Elements) { in completeType() local
170 const auto *Enum = cast<DIEnumerator>(Element); in completeType()
241 for (const auto *Element : Elements) { in completeType() local
243 const auto *DDTy = cast<DIDerivedType>(Element); in completeType()
297 auto Element = Elements[I]; in completeType() local
298 if (Element) { in completeType()
300 Param.Type = BDebug.getTypeId(Element); in completeType()
473 for (const auto Element : Elements) { in visitSubroutineType() local
474 visitTypeEntry(Element); in visitSubroutineType()
488 for (const auto *Element : Elements) { in visitStructType() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp289 const ScalarType *Element; member in __anone3a730d20111::VectorType
293 VectorType(const ScalarType *Element, unsigned Lanes) in VectorType() argument
294 : CRegularNamedType(TypeKind::Vector), Element(Element), Lanes(Lanes) {} in VectorType()
295 unsigned sizeInBits() const override { return Lanes * Element->sizeInBits(); } in sizeInBits()
297 bool requiresFloat() const override { return Element->requiresFloat(); } in requiresFloat()
300 return Element->cNameBase() + "x" + utostr(Lanes); in cNameBase()
303 return "llvm::FixedVectorType::get(" + Element->llvmName() + ", " + in llvmName()
313 const VectorType *Element; member in __anone3a730d20111::MultiVectorType
317 MultiVectorType(unsigned Registers, const VectorType *Element) in MultiVectorType() argument
318 : CRegularNamedType(TypeKind::MultiVector), Element(Element), in MultiVectorType()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCXXInheritance.cpp201 CXXBasePathElement Element; in lookupInBases() local
202 Element.Base = &BaseSpec; in lookupInBases()
203 Element.Class = Record; in lookupInBases()
205 Element.SubobjectNumber = 0; in lookupInBases()
207 Element.SubobjectNumber = Subobjects.NumberOfNonVirtBases; in lookupInBases()
208 ScratchPath.push_back(Element); in lookupInBases()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeArray.cpp56 NativeRawSymbol &Element = in getCount() local
58 return getLength() / Element.getLength(); in getCount()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstruction.h57 using OpaqueField = Bitfield::Element<uint16_t, 0, 15>;
66 typename Bitfield::Element<unsigned, Offset, 5,
70 using BoolBitfieldElementT = typename Bitfield::Element<bool, Offset, 1>;
74 typename Bitfield::Element<AtomicOrdering, Offset, 3,
80 using HasMetadataField = Bitfield::Element<bool, 15, 1>;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
H A Dxray-account.h41 using Depth = Bitfield::Element<int32_t, 0, 31>; // Low 31 bits.
42 using IsRecursive = Bitfield::Element<bool, 31, 1>; // Sign bit.
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h55 struct Element { struct
56 Element(unsigned Priority, Function *Func, Value *Data) in Element() argument
82 Element operator*() const; argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DPatternInit.cpp66 llvm::SmallVector<llvm::Constant *, 8> Element( in initializationPatternFor() local
69 return llvm::ConstantArray::get(ArrTy, Element); in initializationPatternFor()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DRecycler.h98 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) { in Deallocate() argument
99 push(reinterpret_cast<FreeNode *>(Element)); in Deallocate()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DRegionInfoImpl.h410 for (RegionNodeT *Element : elements()) { in addSubRegion()
411 if (!Element->isSubRegion()) { in addSubRegion()
412 BlockT *BB = Element->template getNodeAs<BlockT>(); in addSubRegion()
507 for (const RegionNodeT *Element : elements()) { in print() local
508 OS << *Element << ", "; // TODO: remove the last ", in print()
553 for (const typename Tr::RegionNodeT *Element : R->elements()) { in verifyBBMap() local
554 if (Element->isSubRegion()) { in verifyBBMap()
555 const RegionT *SR = Element->template getNodeAs<RegionT>(); in verifyBBMap()
558 BlockT *BB = Element->template getNodeAs<BlockT>(); in verifyBBMap()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprObjC.cpp386 static ExprResult CheckObjCCollectionLiteralElement(Sema &S, Expr *Element, in CheckObjCCollectionLiteralElement() argument
390 if (Element->isTypeDependent()) in CheckObjCCollectionLiteralElement()
391 return Element; in CheckObjCCollectionLiteralElement()
393 ExprResult Result = S.CheckPlaceholderExpr(Element); in CheckObjCCollectionLiteralElement()
396 Element = Result.get(); in CheckObjCCollectionLiteralElement()
400 if (S.getLangOpts().CPlusPlus && Element->getType()->isRecordType()) { in CheckObjCCollectionLiteralElement()
405 Element->getBeginLoc(), SourceLocation()); in CheckObjCCollectionLiteralElement()
406 InitializationSequence Seq(S, Entity, Kind, Element); in CheckObjCCollectionLiteralElement()
408 return Seq.Perform(S, Entity, Kind, Element); in CheckObjCCollectionLiteralElement()
411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DRecord.cpp626 for (unsigned Element : Elements) { in convertInitListSlice() local
627 if (Element >= size()) in convertInitListSlice()
629 Vals.push_back(getElement(Element)); in convertInitListSlice()
659 for (Init *Element : *this) { in isComplete()
660 if (!Element->isComplete()) in isComplete()
667 for (Init *Element : *this) { in isConcrete()
668 if (!Element->isConcrete()) in isConcrete()
677 for (Init *Element : *this) { in getAsString()
680 Result += Element->getAsString(); in getAsString()
896 StringInit *Element = dyn_cast<StringInit>(List->getElement(0)); in interleaveStringList() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
H A DParsing.cpp123 template <typename Element>
124 llvm::Optional<Element> findOptional(const llvm::StringMap<Element> &Map, in findOptional()

1234567