Home
last modified time | relevance | path

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

/freebsd-12.1/sys/netgraph/
H A Dng_parse.h338 const struct ng_parse_type *elementType; member
364 const struct ng_parse_type *elementType; member
H A Dng_parse.c269 return ALIGNMENT(fi->elementType); in ng_fixedarray_getAlign()
316 return ALIGNMENT(ai->elementType); in ng_array_getAlign()
1573 etype = ai->elementType; in ng_get_composite_etype()
1580 etype = fi->elementType; in ng_get_composite_etype()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp478 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, in getLValueElement() argument
507 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement()
527 elementType, Offset, cast<SubRegion>(ElemR->getSuperRegion()), Ctx)); in getLValueElement()
539 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR, in getLValueElement()
H A DSimpleSValBuilder.cpp1168 QualType elementType; in evalBinOpLN() local
1175 elementType = elemReg->getElementType(); in evalBinOpLN()
1186 elementType = resultTy->getPointeeType(); in evalBinOpLN()
1192 if (elementType->isVoidType()) in evalBinOpLN()
1193 elementType = getContext().CharTy; in evalBinOpLN()
1196 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV, in evalBinOpLN()
H A DMemRegion.cpp988 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, in getElementRegion() argument
991 QualType T = Ctx.getCanonicalType(elementType).getUnqualifiedType(); in getElementRegion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp759 QualType elementType = recurse(T->getElementType()); in TRIVIAL_TYPE_CLASS() local
760 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
766 return Ctx.getComplexType(elementType); in TRIVIAL_TYPE_CLASS()
827 QualType elementType = recurse(T->getElementType()); in VisitConstantArrayType() local
828 if (elementType.isNull()) in VisitConstantArrayType()
840 QualType elementType = recurse(T->getElementType()); in VisitVariableArrayType() local
841 if (elementType.isNull()) in VisitVariableArrayType()
854 QualType elementType = recurse(T->getElementType()); in VisitIncompleteArrayType() local
855 if (elementType.isNull()) in VisitIncompleteArrayType()
867 if (elementType.isNull()) in VisitVectorType()
[all …]
H A DASTContext.cpp3279 QualType ASTContext::getDependentSizedArrayType(QualType elementType, in getDependentSizedArrayType() argument
3295 DependentSizedArrayType(*this, elementType, QualType(), in getDependentSizedArrayType()
3333 if (QualType(canonElementType.Ty, 0) == elementType && in getDependentSizedArrayType()
3341 DependentSizedArrayType(*this, elementType, canon, numElements, in getDependentSizedArrayType()
3347 QualType ASTContext::getIncompleteArrayType(QualType elementType, in getIncompleteArrayType() argument
3351 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals); in getIncompleteArrayType()
3363 if (!elementType.isCanonical() || elementType.hasLocalQualifiers()) { in getIncompleteArrayType()
3364 SplitQualType canonSplit = getCanonicalType(elementType).split(); in getIncompleteArrayType()
3376 IncompleteArrayType(elementType, canon, ASM, elementTypeQuals); in getIncompleteArrayType()
5059 QualType elementType = AT->getElementType(); in getUnqualifiedArrayType() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp231 llvm::Type *elementType = element->getType(); in getOffsetFromGlobalTo() local
234 layout.getABITypeAlignment(elementType))); in getOffsetFromGlobalTo()
235 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType)); in getOffsetFromGlobalTo()
H A DCGExprAgg.cpp473 QualType elementType = in EmitArrayInit() local
483 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit()
491 elementType.isTriviallyCopyableType(CGF.getContext())) { in EmitArrayInit()
513 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit()
525 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType, in EmitArrayInit()
557 CGF.MakeAddrLValue(Address(element, elementAlign), elementType); in EmitArrayInit()
570 CGF.getTypes().isZeroInitializable(elementType))) { in EmitArrayInit()
1586 QualType elementType = in VisitArrayInitLoopExpr() local
1603 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in VisitArrayInitLoopExpr()
1608 CGF.pushRegularPartialArrayCleanup(outerBegin, element, elementType, in VisitArrayInitLoopExpr()
[all …]
H A DCGCXXABI.cpp174 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
190 QualType elementType) { in requiresArrayCookie() argument
196 return elementType.isDestructedType(); in requiresArrayCookie()
H A DCGDecl.cpp2041 QualType elementType, in emitArrayDestroy() argument
2046 assert(!elementType->isArrayType()); in emitArrayDestroy()
2072 pushRegularPartialArrayCleanup(begin, element, elementType, elementAlign, in emitArrayDestroy()
2076 destroyer(*this, Address(element, elementAlign), elementType); in emitArrayDestroy()
2132 QualType elementType, CharUnits elementAlign, in RegularPartialArrayDestroy() argument
2135 ElementType(elementType), Destroyer(destroyer), in RegularPartialArrayDestroy()
2156 QualType elementType, in IrregularPartialArrayDestroy() argument
2160 ElementType(elementType), Destroyer(destroyer), in IrregularPartialArrayDestroy()
2179 QualType elementType, in pushIrregularPartialArrayCleanup() argument
2196 QualType elementType, in pushRegularPartialArrayCleanup() argument
[all …]
H A DCodeGenFunction.cpp1900 QualType elementType = arrayType->getElementType(); in emitArrayLength() local
1901 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
1905 baseType = elementType; in emitArrayLength()
1987 QualType elementType; in getVLASize() local
1989 elementType = type->getElementType(); in getVLASize()
2001 } while ((type = getContext().getAsVariableArrayType(elementType))); in getVLASize()
2003 return { numElements, elementType }; in getVLASize()
H A DCGExprCXX.cpp1957 QualType elementType) { in EmitArrayDelete() argument
1961 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete()
1970 numElements, elementType, in EmitArrayDelete()
1974 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete()
1977 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete()
1988 CGF.emitArrayDestroy(arrayBegin, arrayEnd, elementType, elementAlign, in EmitArrayDelete()
H A DCGExprScalar.cpp3202 QualType elementType = pointerType->getPointeeType(); in emitPointerArithmetic() local
3204 = CGF.getContext().getAsVariableArrayType(elementType)) { in emitPointerArithmetic()
3227 if (elementType->isVoidType() || elementType->isFunctionType()) { in emitPointerArithmetic()
3394 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub() local
3400 = CGF.getContext().getAsVariableArrayType(elementType)) { in EmitSub()
3402 elementType = VlaSize.Type; in EmitSub()
3406 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
3417 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub()
3420 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
H A DItaniumCXXABI.cpp319 CharUnits getArrayCookieSizeImpl(QualType elementType) override;
448 CharUnits getArrayCookieSizeImpl(QualType elementType) override;
1918 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
1922 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
1997 CharUnits ARMCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
2007 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
2014 QualType elementType) { in InitializeArrayCookie() argument
2023 getContext().getTypeSizeInChars(elementType).getQuantity()); in InitializeArrayCookie()
2032 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
H A DCGCXXABI.h524 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
H A DCGObjC.cpp1730 QualType elementType; in EmitObjCForCollectionStmt() local
1739 elementType = D->getType(); in EmitObjCForCollectionStmt()
1746 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
1749 llvm::Type *convertedElementType = ConvertType(elementType); in EmitObjCForCollectionStmt()
H A DCodeGenFunction.h1652 QualType elementType,
1657 QualType elementType,
1681 QualType elementType, CharUnits elementAlign,
2547 void EmitNewArrayInitializer(const CXXNewExpr *E, QualType elementType,
H A DMicrosoftCXXABI.cpp425 QualType elementType) override;
2173 QualType elementType) { in requiresArrayCookie() argument
2176 return elementType.isDestructedType(); in requiresArrayCookie()
2205 QualType elementType) { in InitializeArrayCookie() argument
2209 CharUnits cookieSize = getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
H A DCGClass.cpp1878 QualType elementType; in EmitCXXAggrConstructorCall() local
1880 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h1092 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) in ElementRegion() argument
1093 : TypedValueRegion(sReg, ElementRegionKind), ElementType(elementType), in ElementRegion()
1098 assert(!elementType.isNull() && !elementType->isVoidType() && in ElementRegion()
1102 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType,
1331 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
H A DStore.h150 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base);
/freebsd-12.1/contrib/expat/lib/
H A Dxmlparse.c2752 ELEMENT_TYPE *elementType; in storeAtts() local
2766 if (!elementType) { in storeAtts()
2772 if (!elementType) in storeAtts()
2777 nDefaultAtts = elementType->nDefaultAtts; in storeAtts()
2888 if (elementType->idAtt && (elementType->idAtt->name)[-1]) { in storeAtts()
2890 if (appAtts[i] == elementType->idAtt->name) { in storeAtts()
3045 if (elementType->prefix) { in storeAtts()
3046 binding = elementType->prefix->binding; in storeAtts()
5456 for (name = elementType->name; *name; name++) { in setElementTypePrefix()
5460 for (s = elementType->name; s != name; s++) { in setElementTypePrefix()
[all …]
/freebsd-12.1/sys/dev/mpr/
H A Dmpr_sas_lsi.c285 u16 elementType; in mprsas_fw_work() local
302 elementType = le16toh(element->ElementFlags) & in mprsas_fw_work()
307 if ((elementType != in mprsas_fw_work()
309 && (elementType != in mprsas_fw_work()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp1399 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckComplexType()
1537 QualType elementType = VT->getElementType(); in CheckVectorType() local
1596 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1621 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType()
1623 if (elementType->isFloatingType()) in CheckVectorType()
1625 else if (elementType->isSignedIntegerType()) in CheckVectorType()
1627 else if (elementType->isUnsignedIntegerType()) in CheckVectorType()
1655 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1666 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1737 QualType elementType = arrayType->getElementType(); in CheckArrayType() local
[all …]