Home
last modified time | relevance | path

Searched full:isnull (Results 1 – 25 of 265) sorted by relevance

1234567891011

/freebsd/contrib/googletest/googletest/test/
H A Dgtest-unittest-api_test.cc132 AssertionResult IsNull(const char* str) { in IsNull() function
144 EXPECT_TRUE(IsNull(test_suite->type_param())); in TEST()
154 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST()
155 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST()
160 EXPECT_TRUE(IsNull(tests[1]->value_param())); in TEST()
161 EXPECT_TRUE(IsNull(tests[1]->type_param())); in TEST()
166 EXPECT_TRUE(IsNull(tests[2]->value_param())); in TEST()
167 EXPECT_TRUE(IsNull(tests[2]->type_param())); in TEST()
172 EXPECT_TRUE(IsNull(tests[3]->value_param())); in TEST()
173 EXPECT_TRUE(IsNull(tests[3]->type_param())); in TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTinyPtrVector.h137 if (Val.isNull())
146 if (Val.isNull())
165 if (Val.isNull()) return true; in empty()
193 return begin() + (Val.isNull() ? 0 : 1); in end()
218 assert(!Val.isNull() && "can't index into an empty vector");
244 if (Val.isNull()) { in push_back()
246 assert(!Val.isNull() && "Can't add a null value"); in push_back()
317 assert(!Val.isNull() && "Null value with non-end insert iterator."); in insert()
338 if (Val.isNull()) { in insert()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclContextInternals.h109 if (isNull()) in MaybeDeallocList()
133 bool isNull() const { return Data.getPointer().isNull(); } in isNull() function
136 assert(!isNull() && "No ASTContext."); in getASTContext()
161 assert(!isNull() && "removing from empty list"); in remove()
225 if (isNull()) { in addOrReplaceDecl()
273 if (isNull()) { in prependDeclNoReplace()
H A DCanonicalType.h95 explicit operator bool() const { return !isNull(); }
97 bool isNull() const { in isNull() function
98 return Stored.isNull(); in isNull()
642 assert((Other.isNull() || Other.isCanonical()) && "Type is not canonical!");
643 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
656 if (Stored.isNull())
671 assert(!Stored.isNull() && isa<U>(Stored.getTypePtr()));
/freebsd/crypto/openssl/crypto/
H A Dasn1_dsa.c110 int isnull = WPACKET_is_null_buf(pkt); in ossl_encode_der_dsa_sig() local
115 if (!isnull) { in ossl_encode_der_dsa_sig()
128 || (!isnull && !WPACKET_finish(dummypkt))) { in ossl_encode_der_dsa_sig()
129 if (!isnull) in ossl_encode_der_dsa_sig()
141 || (!isnull && !ossl_encode_der_integer(pkt, r)) in ossl_encode_der_dsa_sig()
142 || (!isnull && !ossl_encode_der_integer(pkt, s)) in ossl_encode_der_dsa_sig()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp44 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
78 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
150 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
237 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
332 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
492 if (!Ctx.getLangOpts().ObjC || T.isNull()) in GetNSIntegralKind()
546 if (T.isNull()) in isObjCTypedef()
581 if (Sel.isNull()) { in getOrInitSelector()
592 if (Sel.isNull()) { in getOrInitNullarySelector()
H A DType.cpp933 if (result.isNull()) in recurse()
958 if (desugaredType.isNull()) \
969 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
980 if (pointeeType.isNull()) in VisitPointerType()
991 if (pointeeType.isNull()) in VisitBlockPointerType()
1002 if (pointeeType.isNull()) in VisitLValueReferenceType()
1014 if (pointeeType.isNull()) in VisitRValueReferenceType()
1026 if (pointeeType.isNull()) in VisitMemberPointerType()
1037 if (elementType.isNull()) in VisitConstantArrayType()
1050 if (elementType.isNull()) in VisitVariableArrayType()
[all …]
H A DTypeLoc.cpp55 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
75 if (Ty.isNull()) return 1; in getLocalAlignmentForType()
98 while (!TyLoc.isNull()) { in getFullDataSizeForType()
203 if (Cur.isNull()) in getBeginLoc()
226 if (Cur.isNull()) in getBeginLoc()
744 if (Res.isNull()) in getContainedAutoTypeLoc()
H A DParentMapContext.cpp387 if (NodeOrVector.isNull()) { in addParent()
414 template <typename T> static bool isNull(T Node) { return !Node; } in isNull() function in ParentMapContext::ParentMap::ASTVisitor
415 static bool isNull(ObjCProtocolLoc Node) { return false; } in isNull() function in ParentMapContext::ParentMap::ASTVisitor
421 if (isNull(Node)) in TraverseNode()
/freebsd/contrib/lyaml/lib/lyaml/
H A Dfunctional.lua36 local function isnull(x) function
86 isnull = isnull,
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunctionPointer.h46 /*OnePastTheEnd=*/false, /*IsNull=*/true); in toAPValue()
51 /*OnePastTheEnd=*/false, /*IsNull=*/false); in toAPValue()
54 /*OnePastTheEnd=*/false, /*IsNull=*/false); in toAPValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp223 if (parent_qt.isNull()) in CreateDeclInfoForType()
289 if (qt.isNull()) in GetOrCreateDeclForUid()
343 if (qt.isNull()) in CreateDeclInfoForUndecoratedName()
423 if (qt.isNull()) in CompleteType()
502 if (direct_type.isNull()) in CreateSimpleType()
522 if (pointee_type.isNull()) in CreatePointerType()
528 if (class_type.isNull()) in CreatePointerType()
591 if (unmodified_type.isNull()) in CreateModifierType()
675 if (qt.isNull()) in CreateVariableDecl()
734 if (qt.isNull() || !scop in GetOrCreateTypedefDecl()
[all...]
/freebsd/contrib/lyaml/doc/modules/
H A Dlyaml.functional.html64 <td class="name" nowrap><a href="#isnull">isnull (x)</a></td>
96 <a name = "isnull"></a>
97 <strong>isnull (x)</strong>
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dexecutor_address_test.cpp23 // Check that default constructed values and isNull behave as expected. in TEST()
29 EXPECT_TRUE(Null.isNull()); in TEST()
32 EXPECT_FALSE(NonNull.isNull()); in TEST()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp283 if (!T.isNull() && (T->isIntegralOrEnumerationType() || Loc::isLocType(T))) { in getSVal()
345 if (indexTy.isNull()) in assumeInBoundDual()
384 ConditionTruthVal IsNull = isNull(V); in isNonNull() local
385 if (IsNull.isUnderconstrained()) in isNonNull()
386 return IsNull; in isNonNull()
387 return ConditionTruthVal(!IsNull.getValue()); in isNonNull()
394 ConditionTruthVal ProgramState::isNull(SVal V) const { in isNull() function in ProgramState
405 return getStateManager().ConstraintMgr->isNull(this, Sym); in isNull()
H A DStore.cpp70 assert(!T.isNull()); in GetElementZeroRegion()
324 assert(!TargetType.isNull()); in evalBaseToDerived()
450 if (!BT.isNull() && !elementType.isNull()) { in getLValueElement()
452 if (!PointeeTy.isNull() && in getLValueElement()
/freebsd/contrib/lyaml/spec/
H A Dlib_lyaml_functional_spec.yaml8 exported_apis = {'NULL', 'anyof', 'id', 'iscallable', 'isnull'}
110 - describe isnull:
113 f = M.isnull
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp119 if (DeclOrVector.isNull()) { in Add()
556 if (!ContextType.isNull() && ContextType->isPointerType()) in getPreferredTypeOfUnaryArg()
560 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
568 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
625 Type = !CastType.isNull() ? CastType.getCanonicalType() : QualType(); in enterTypeCast()
705 if (DeclOrVector.isNull()) in begin()
716 if (DeclOrVector.is<const NamedDecl *>() || DeclOrVector.isNull()) in end()
960 if (T.isNull()) in getDeclUsageType()
1048 if (!PreferredSelector.isNull()) in AdjustResultPriorityForDecl()
1055 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl()
[all …]
H A DTreeTransform.h229 return T.isNull(); in AlreadyTransformed()
1146 if (InstName.isNull()) in RebuildDependentTemplateSpecializationType()
1159 if (T.isNull()) in RebuildDependentTemplateSpecializationType()
4545 if (NewT.isNull()) in TransformDeclarationNameInfo()
4599 ObjectType.isNull()) in TransformTemplateName()
4670 if (NewT.isNull()) in TransformTemplateArgument()
4729 if (Template.isNull()) in TransformTemplateArgument()
4888 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4906 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4923 if (Out.getArgument().isNull()) in TransformTemplateArguments()
[all …]
H A DSemaTemplateDeductionGuide.cpp428 if (NewType.isNull()) in transformConstructor()
560 if (Result.isNull()) in transformFunctionProtoType()
811 if (D.isNull()) { // non-deduced template parameters of f in buildAssociatedConstraints()
822 assert(TemplateArgsForBuildingRC[Index].isNull()); in buildAssociatedConstraints()
831 assert(TemplateArgsForBuildingRC[Index].isNull() && in buildAssociatedConstraints()
1049 if (const auto &D = DeduceResults[Index]; !D.isNull()) // Deduced in BuildDeductionGuideForTypeAlias()
1107 assert(TemplateArgsForBuildingFPrime[FTemplateParamIdx].isNull() && in BuildDeductionGuideForTypeAlias()
1133 if (D.isNull()) { in BuildDeductionGuideForTypeAlias()
1135 assert(!TemplateArgsForBuildingFPrime[Index].isNull() && in BuildDeductionGuideForTypeAlias()
1144 assert(TemplateArgsForBuildingFPrime[Index].isNull() && in BuildDeductionGuideForTypeAlias()
[all …]
H A DSemaTemplateDeduction.cpp220 if (X.isNull()) in checkDeducedTemplateArguments()
222 if (Y.isNull()) in checkDeducedTemplateArguments()
232 if (!XType.isNull()) { in checkDeducedTemplateArguments()
234 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
378 if (Merged.isNull() && !(XA->isNull() && YA->isNull())) in checkDeducedTemplateArguments()
409 if (Result.isNull()) { in DeduceNonTypeTemplateArgument()
621 if (Result.isNull()) { in DeduceTemplateArguments()
860 DeducedFromEarlierParameter = !Deduced[Index].isNull(); in addPack()
1029 if (!Pack.New.empty() || !DeducedArg.isNull()) { in nextPackElement()
1091 if (Pack.Outer->DeferredDeduction.isNull()) { in finish()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp361 if (!promotionTy.isNull()) \
654 PromotionType.isNull() in VisitUnaryPlus()
659 if (!promotionTy.isNull()) in VisitUnaryPlus()
668 if (!PromotionType.isNull()) in VisitPlus()
676 PromotionType.isNull() in VisitUnaryMinus()
681 if (!promotionTy.isNull()) in VisitUnaryMinus()
690 if (!PromotionType.isNull()) in VisitMinus()
1167 if (!PromotionType.isNull()) in EmitPromoted()
1182 if (!OverallPromotionType.isNull()) in EmitPromotedComplexOperand()
1187 if (!OverallPromotionType.isNull()) { in EmitPromotedComplexOperand()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp118 if (element.type.isNull()) in BuildAggregate()
332 if (target_type.isNull()) in BuildType()
350 if (target_type.isNull()) in BuildType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp166 if (T.isNull()) in checkASTDecl()
178 if (TemplT.isNull()) in checkASTDecl()
222 if (T.isNull()) in visitCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp185 if (Attr.ModifiedType.isNull()) in errorForGCAttrsOnNonObjC()
201 if (Attr.ModifiedType.isNull() || in checkWeakGCAttrs()
228 if (T.isNull() || !T->isObjCRetainableType()) in checkAllAtProps()

1234567891011