Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/netgraph/
Dng_parse.h338 const struct ng_parse_type *elementType; member
364 const struct ng_parse_type *elementType; member
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-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DStore.cpp438 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, in getLValueElement() argument
466 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement()
485 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, in getLValueElement()
499 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR, in getLValueElement()
DSimpleSValBuilder.cpp905 QualType elementType; in evalBinOpLN() local
912 elementType = elemReg->getElementType(); in evalBinOpLN()
918 elementType = resultTy->getPointeeType(); in evalBinOpLN()
922 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV, in evalBinOpLN()
DMemRegion.cpp901 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, in getElementRegion() argument
905 QualType T = Ctx.getCanonicalType(elementType).getUnqualifiedType(); in getElementRegion()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGCXXABI.cpp151 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
167 QualType elementType) { in requiresArrayCookie() argument
173 return elementType.isDestructedType(); in requiresArrayCookie()
DCGDecl.cpp951 QualType elementType; in EmitAutoVarAlloca() local
952 llvm::tie(elementCount, elementType) = getVLASize(Ty); in EmitAutoVarAlloca()
954 llvm::Type *llvmTy = ConvertTypeForMem(elementType); in EmitAutoVarAlloca()
1503 QualType elementType, in RegularPartialArrayDestroy() argument
1506 ElementType(elementType), Destroyer(destroyer) {} in RegularPartialArrayDestroy()
1525 QualType elementType, in IrregularPartialArrayDestroy() argument
1528 ElementType(elementType), Destroyer(destroyer) {} in IrregularPartialArrayDestroy()
1546 QualType elementType, in pushIrregularPartialArrayCleanup() argument
1550 elementType, destroyer); in pushIrregularPartialArrayCleanup()
1561 QualType elementType, in pushRegularPartialArrayCleanup() argument
[all …]
DCGExprAgg.cpp87 QualType elementType, InitListExpr *E);
375 QualType elementType, InitListExpr *E) { in EmitArrayInit() argument
391 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit()
403 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType, in EmitArrayInit()
433 LValue elementLV = CGF.MakeAddrLValue(element, elementType); in EmitArrayInit()
452 CGF.getTypes().isZeroInitializable(elementType))) { in EmitArrayInit()
478 LValue elementLV = CGF.MakeAddrLValue(currentElement, elementType); in EmitArrayInit()
1104 QualType elementType = in VisitInitListExpr() local
1112 EmitArrayInit(Dest.getAddr(), AType, elementType, E); in VisitInitListExpr()
DItaniumCXXABI.cpp192 CharUnits getArrayCookieSizeImpl(QualType elementType);
232 CharUnits getArrayCookieSizeImpl(QualType elementType);
1148 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
1152 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
1210 CharUnits ARMCXXABI::getArrayCookieSizeImpl(QualType elementType) { in getArrayCookieSizeImpl() argument
1220 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
1227 QualType elementType) { in InitializeArrayCookie() argument
1239 getContext().getTypeSizeInChars(elementType).getQuantity()); in InitializeArrayCookie()
1248 CharUnits cookieSize = ARMCXXABI::getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
DCodeGenFunction.cpp1168 QualType elementType = arrayType->getElementType(); in emitArrayLength() local
1169 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
1173 baseType = elementType; in emitArrayLength()
1256 QualType elementType; in getVLASize() local
1258 elementType = type->getElementType(); in getVLASize()
1270 } while ((type = getContext().getAsVariableArrayType(elementType))); in getVLASize()
1272 return std::pair<llvm::Value*,QualType>(numElements, elementType); in getVLASize()
DCGExprCXX.cpp751 QualType elementType, in EmitNewArrayInitializer() argument
766 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitNewArrayInitializer()
793 pushIrregularPartialArrayCleanup(beginPtr, endOfInit, elementType, in EmitNewArrayInitializer()
852 pushRegularPartialArrayCleanup(beginPtr, curPtr, elementType, in EmitNewArrayInitializer()
1472 QualType elementType) { in EmitArrayDelete() argument
1476 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete()
1485 numElements, elementType, in EmitArrayDelete()
1489 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete()
1498 CGF.emitArrayDestroy(deletedPtr, arrayEnd, elementType, in EmitArrayDelete()
DCGRecordLayoutBuilder.cpp937 const Type *elementType = T->getBaseElementTypeUnsafe(); in CheckZeroInitializable() local
939 if (const MemberPointerType *MPT = elementType->getAs<MemberPointerType>()) { in CheckZeroInitializable()
942 } else if (const RecordType *RT = elementType->getAs<RecordType>()) { in CheckZeroInitializable()
DCGExprScalar.cpp2337 QualType elementType = pointerType->getPointeeType(); in emitPointerArithmetic() local
2339 = CGF.getContext().getAsVariableArrayType(elementType)) { in emitPointerArithmetic()
2360 if (elementType->isVoidType() || elementType->isFunctionType()) { in emitPointerArithmetic()
2524 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub() local
2530 = CGF.getContext().getAsVariableArrayType(elementType)) { in EmitSub()
2532 llvm::tie(numElements, elementType) = CGF.getVLASize(vla); in EmitSub()
2537 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
2548 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub()
2551 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
DCGCXXABI.h433 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
DMicrosoftCXXABI.cpp228 bool requiresArrayCookie(const CXXDeleteExpr *expr, QualType elementType);
1095 QualType elementType) { in requiresArrayCookie() argument
1098 return elementType.isDestructedType(); in requiresArrayCookie()
1128 QualType elementType) { in InitializeArrayCookie() argument
1132 CharUnits cookieSize = getArrayCookieSizeImpl(elementType); in InitializeArrayCookie()
DCodeGenFunction.h1006 QualType elementType,
1010 QualType elementType,
1616 void EmitNewArrayInitializer(const CXXNewExpr *E, QualType elementType,
DCGObjC.cpp1574 QualType elementType; in EmitObjCForCollectionStmt() local
1583 elementType = D->getType(); in EmitObjCForCollectionStmt()
1590 elementType = cast<Expr>(S.getElement())->getType(); in EmitObjCForCollectionStmt()
1593 llvm::Type *convertedElementType = ConvertType(elementType); in EmitObjCForCollectionStmt()
DCGClass.cpp1541 QualType elementType; in EmitCXXAggrConstructorCall() local
1543 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
/freebsd-10-stable/contrib/llvm/lib/IR/
DType.cpp679 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { in get() argument
680 Type *ElementType = const_cast<Type*>(elementType); in get()
706 VectorType *VectorType::get(Type *elementType, unsigned NumElements) { in get() argument
707 Type *ElementType = const_cast<Type*>(elementType); in get()
/freebsd-10-stable/contrib/expat/lib/
Dxmlparse.c2752 ELEMENT_TYPE *elementType; in storeAtts() local
2765 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, tagNamePtr->str,0); in storeAtts()
2766 if (!elementType) { in storeAtts()
2770 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, name, in storeAtts()
2772 if (!elementType) in storeAtts()
2774 if (ns && !setElementTypePrefix(parser, elementType)) in storeAtts()
2777 nDefaultAtts = elementType->nDefaultAtts; in storeAtts()
2841 if (attId == elementType->defaultAtts[j].id) { in storeAtts()
2842 isCdata = elementType->defaultAtts[j].isCdata; in storeAtts()
2888 if (elementType->idAtt && (elementType->idAtt->name)[-1]) { in storeAtts()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h1017 ElementRegion(QualType elementType, NonLoc Idx, const MemRegion* sReg) in ElementRegion() argument
1019 ElementType(elementType), Index(Idx) { in ElementRegion()
1025 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType,
1217 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
DStore.h102 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base);
/freebsd-10-stable/sys/dev/mpr/
Dmpr_sas_lsi.c282 u16 elementType; in mprsas_fw_work() local
299 elementType = le16toh(element->ElementFlags) & in mprsas_fw_work()
304 if ((elementType != in mprsas_fw_work()
306 && (elementType != in mprsas_fw_work()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DASTContext.cpp2552 QualType ASTContext::getDependentSizedArrayType(QualType elementType, in getDependentSizedArrayType() argument
2568 DependentSizedArrayType(*this, elementType, QualType(), in getDependentSizedArrayType()
2578 SplitQualType canonElementType = getCanonicalType(elementType).split(); in getDependentSizedArrayType()
2606 if (QualType(canonElementType.Ty, 0) == elementType) in getDependentSizedArrayType()
2613 DependentSizedArrayType(*this, elementType, canon, numElements, in getDependentSizedArrayType()
2619 QualType ASTContext::getIncompleteArrayType(QualType elementType, in getIncompleteArrayType() argument
2623 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals); in getIncompleteArrayType()
2635 if (!elementType.isCanonical() || elementType.hasLocalQualifiers()) { in getIncompleteArrayType()
2636 SplitQualType canonSplit = getCanonicalType(elementType).split(); in getIncompleteArrayType()
2648 IncompleteArrayType(elementType, canon, ASM, elementTypeQuals); in getIncompleteArrayType()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaInit.cpp976 QualType elementType = DeclType->getAs<ComplexType>()->getElementType(); in CheckComplexType() local
982 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckComplexType()
1123 QualType elementType = VT->getElementType(); in CheckVectorType() local
1182 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1201 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckVectorType()
1210 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
1212 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1283 QualType elementType = arrayType->getElementType(); in CheckArrayType() local
1326 CheckSubElementType(ElementEntity, IList, elementType, Index, in CheckArrayType()
1346 DeclType = SemaRef.Context.getConstantArrayType(elementType, maxElements, in CheckArrayType()