Home
last modified time | relevance | path

Searched refs:nullable (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/developer-docs/
H A Dnullability.rst11 **1) nullable**
13 If a pointer ``p`` has a nullable annotation and no explicit null check or assert, we should warn i…
18 Taking a branch on nullable pointers are the same like taking branch on null unspecified pointers.
20 Explicit cast from nullable to nonnul:
29 …ens, I will treat bar as nullable unspecified, this way all of the warnings will be suppressed. Tr…
34 * Converting nonnull to nullable is Ok.
35 * When there is an explicit cast from nonnull to nullable I will trust the cast (it is probable the…
59 * Sending a message to a nullable pointer
61 …ght return a nonnull pointer, when it was sent to a nullable pointer the return type will be nulla…
62 * The result is nullable unless the receiver is known to be non null.
[all …]
/netbsd-src/external/gpl2/lvm2/dist/libdm/regex/
H A Dmatcher.c97 if (c1->nullable) in _calc_functions()
103 if (c2->nullable) in _calc_functions()
109 rx->nullable = c1->nullable && c2->nullable; in _calc_functions()
115 rx->nullable = c1->nullable; in _calc_functions()
121 rx->nullable = c1->nullable || c2->nullable; in _calc_functions()
128 rx->nullable = 1; in _calc_functions()
134 rx->nullable = 0; in _calc_functions()
H A Dparse_rx.h44 int nullable, final; member
/netbsd-src/external/bsd/tre/dist/lib/
H A Dtre-compile.c59 c->right->nullable = -1; in tre_add_tag_left()
92 c->left->nullable = -1; in tre_add_tag_right()
1276 if (uni->left->nullable) in tre_match_empty()
1278 else if (uni->right->nullable) in tre_match_empty()
1287 assert(cat->left->nullable); in tre_match_empty()
1288 assert(cat->right->nullable); in tre_match_empty()
1297 if (iter->arg->nullable) in tre_match_empty()
1348 node->nullable = 0; in tre_compute_nfl()
1363 node->nullable = 1; in tre_compute_nfl()
1375 node->nullable = 0; in tre_compute_nfl()
[all …]
H A Dtre-ast.h45 int nullable; member
H A Dtre-ast.c29 node->nullable = -1; in tre_ast_new_node()
/netbsd-src/external/gpl2/grep/dist/src/
H A Ddfa.c1671 int *nullable; /* Nullable stack. */ in dfaanalyze() local
1698 MALLOC(nullable, int, d->depth); in dfaanalyze()
1699 o_nullable = nullable; in dfaanalyze()
1723 *nullable++ = 1; in dfaanalyze()
1747 nullable[-1] = 1; in dfaanalyze()
1766 if (nullable[-2]) in dfaanalyze()
1774 if (nullable[-1]) in dfaanalyze()
1787 nullable[-2] = nullable[-1] && nullable[-2]; in dfaanalyze()
1788 --nullable; in dfaanalyze()
1802 nullable[-2] = nullable[-1] || nullable[-2]; in dfaanalyze()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Ddfa.c1650 int *nullable; /* Nullable stack. */ in dfaanalyze() local
1677 MALLOC(nullable, int, d->depth); in dfaanalyze()
1678 o_nullable = nullable; in dfaanalyze()
1702 *nullable++ = 1; in dfaanalyze()
1726 nullable[-1] = 1; in dfaanalyze()
1745 if (nullable[-2]) in dfaanalyze()
1753 if (nullable[-1]) in dfaanalyze()
1766 nullable[-2] = nullable[-1] && nullable[-2]; in dfaanalyze()
1767 --nullable; in dfaanalyze()
1781 nullable[-2] = nullable[-1] || nullable[-2]; in dfaanalyze()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dtypecons.d3173 auto nullable(T)(T t)
3215 auto a = 42.nullable;
3537 auto nc = nullable(c);
3542 auto ni = nullable(i);
3713 a = b = c = nullable(5);
3977 auto nullable(alias nullValue, T)(T t)
4031 auto a = nullable!(int.min)(8);
4206 return unaryFun!fun(t.get).nullable;
4242 alias greaterThree = i => (i > 3) ? i.nullable : Nullable!(typeof(i)).init;
4286 assert(S(5).nullable.apply!"a.i" == 5);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td326 HelpText<"Warns when a nullable pointer is dereferenced.">,
331 HelpText<"Warns when a nullable pointer is passed to a pointer which has a "
337 HelpText<"Warns when a nullable pointer is returned from a function that has "
/netbsd-src/external/bsd/tre/dist/
H A DChangeLog.old667 node as nullable if the minimum number of iterations was above
668 zero and the child was nullable. As a result, e.g. "(a*)+" did not
/netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/
H A Dcheckers.rst387 Warns when a nullable pointer is dereferenced.
408 Warns when a nullable pointer is passed to a pointer which has a _Nonnull type.
425 Warns when a nullable pointer is returned from a function that has _Nonnull return type.
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dtypecons.d2551 auto nullable(T)(T t)
2593 auto a = 42.nullable;
3077 auto nullable(alias nullValue, T)(T t)
3131 auto a = nullable!(int.min)(8);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DDiagnosticGroups.td474 def NullableToNonNullConversion : DiagGroup<"nullable-to-nonnull-conversion">;
H A DAttrDocs.td3576 example) a nullable pointer to an array of nonnull pointers. Nullability
3590 // A nullable pointer to non-null pointers to const characters.
3600 - (nullable NSView *)ancestorSharedWithView:(nonnull NSView *)aView;
3601 @property (assign, nullable) NSView *superview;
H A DDiagnosticSemaKinds.td10965 "implicit conversion from nullable pointer %0 to non-nullable pointer "
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A DChangeLog1669 * c-common.c (c_common_reswords): null_unspecified, nullable,
/netbsd-src/external/public-domain/sqlite/dist/
H A Dsqlite3.c142233 static void unsetJoinExpr(Expr *p, int iTable, int nullable){
142239 if( p->op==TK_COLUMN && p->iTable==iTable && !nullable ){
142248 unsetJoinExpr(p->x.pList->a[i].pExpr, iTable, nullable);
142252 unsetJoinExpr(p->pLeft, iTable, nullable);
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dextend.texi7816 When @var{nullability kind} is @code{"nullable"} or @code{2}, the pointer might
H A Dgcc.info39232 When NULLABILITY KIND is '"nullable"' or '2', the pointer might be
/netbsd-src/external/gpl3/autoconf/dist/doc/
H A Dautoconf.texi19857 problem, avoid nullable macros in the last line of a multiline command.
H A Dautoconf.info16203 problem, avoid nullable macros in the last line of a multiline command.
/netbsd-src/share/dict/
H A Dweb2128852 nullable