Home
last modified time | relevance | path

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

12345678910>>...12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dbuiltin-attrs.def100 DEF_ATTR_IDENT (ATTR_NONNULL, "nonnull")
197 /* Functions whose pointer parameter(s) are all nonnull. */
199 /* Functions whose first parameter is a nonnull pointer. */
201 /* Functions whose second parameter is a nonnull pointer. */
203 /* Functions whose third parameter is a nonnull pointer. */
208 /* Nothrow functions whose pointer parameter(s) are all nonnull. */
211 /* Nothrow leaf functions whose pointer parameter(s) are all nonnull. */
215 /* Nothrow functions whose first parameter is a nonnull pointer. */
218 /* Nothrow functions whose second parameter is a nonnull pointer. */
221 /* Nothrow functions whose third parameter is a nonnull pointer. */
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dbuiltin-attrs.def102 DEF_ATTR_IDENT (ATTR_NONNULL, "nonnull")
203 /* Functions whose pointer parameter(s) are all nonnull. */
205 /* Functions whose first parameter is a nonnull pointer. */
207 /* Functions whose second parameter is a nonnull pointer. */
209 /* Functions whose third parameter is a nonnull pointer. */
214 /* Nothrow functions whose pointer parameter(s) are all nonnull. */
217 /* Nothrow leaf functions whose pointer parameter(s) are all nonnull. */
221 /* Nothrow functions whose first parameter is a nonnull pointer. */
224 /* Nothrow functions whose second parameter is a nonnull pointer. */
227 /* Nothrow functions whose third parameter is a nonnull pointer. */
[all …]
/netbsd-src/sys/sys/
H A Dgcq.h53 __attribute__((nonnull, always_inline)) static __inline void
59 __attribute__((nonnull, const, warn_unused_result, always_inline))
66 __attribute__((nonnull, const, warn_unused_result, always_inline))
73 __attribute__((nonnull, const, warn_unused_result, always_inline))
80 __attribute__((nonnull, always_inline)) static __inline void
86 __attribute__((nonnull, pure, warn_unused_result, always_inline))
93 __attribute__((nonnull, pure, warn_unused_result, always_inline))
100 __attribute__((nonnull, pure, warn_unused_result, always_inline))
107 __attribute__((nonnull, always_inline)) static __inline void
120 __attribute__((nonnull)) static __inline void
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dsm-malloc.dot39 nonnull;
62 nonnull -> freed [label="on 'free(X);'"];
66 /* Handle "__attribute__((nonnull))". */
67 …unchecked -> nonnull [label="on 'FN(X)' with __attribute__((nonnull)):\nWarn('possible NULL arg')"…
68 null -> stop [label="on 'FN(X)' with __attribute__((nonnull)):\nWarn('NULL arg')"];
73 nonnull -> null [label="on 'X = 0;'"];
79 unchecked -> nonnull [label="on '*X':\nWarn('possible NULL deref')"];
84 unchecked -> nonnull [label="on 'X != 0'"];
88 nonnull -> stop [label="on leak:\nWarn('leak')"];
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dsm-malloc.dot39 nonnull;
62 nonnull -> freed [label="on 'free(X);'"];
66 /* Handle "__attribute__((nonnull))". */
67 …unchecked -> nonnull [label="on 'FN(X)' with __attribute__((nonnull)):\nWarn('possible NULL arg')"…
68 null -> stop [label="on 'FN(X)' with __attribute__((nonnull)):\nWarn('NULL arg')"];
73 nonnull -> null [label="on 'X = 0;'"];
79 unchecked -> nonnull [label="on '*X':\nWarn('possible NULL deref')"];
84 unchecked -> nonnull [label="on 'X != 0'"];
88 nonnull -> stop [label="on leak:\nWarn('leak')"];
/netbsd-src/external/apache2/llvm/dist/clang/docs/analyzer/developer-docs/
H A Dnullability.rst15 …p`` gets implicitly converted into nonnull pointer, for example, we are passing it to a function t…
31 **2) nonnull**
33 * Dereferencing a nonnull, or sending message to it is ok.
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…
61 …* Even though the method might return a nonnull pointer, when it was sent to a nullable pointer th…
64 * Sending a message to a unspecified or nonnull pointer
73 …tly inside an inlined body. For example, consider these conversions from nonnull to nullable in pr…
85 …t view of the nullability of the same symbol). So the symbol will remain nonnull to avoid false po…
103 …gion a qualifier information would be attached which is either nullable, nonnull or null unspecifi…
[all …]
/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dgcc_attribute.c19 void __attribute__((nonnull))
27 void __attribute__((nonnull()))
31 void __attribute__((nonnull(1, 2)))
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_checks.inc48 "returns-nonnull-attribute")
49 UBSAN_CHECK(InvalidNullArgument, "invalid-null-argument", "nonnull-attribute")
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_checks.inc56 "returns-nonnull-attribute")
57 UBSAN_CHECK(InvalidNullArgument, "invalid-null-argument", "nonnull-attribute")
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/
H A Dubsan_checks.inc64 "returns-nonnull-attribute")
67 UBSAN_CHECK(InvalidNullArgument, "invalid-null-argument", "nonnull-attribute")
/netbsd-src/usr.bin/indent/
H A Dparse.c71 ps.psyms.sym = nonnull(realloc(ps.psyms.sym, in psyms_reduce_stmt()
73 ps.psyms.ind_level = nonnull(realloc(ps.psyms.ind_level, in psyms_reduce_stmt()
H A Dindent.c98 nonnull(void *p) in nonnull() function
109 buf->s = nonnull(realloc(buf->s, buf->cap)); in buf_expand()
466 s->item = nonnull(realloc(s->item, in paren_stack_push()
475 return memcpy(nonnull(malloc(size)), src, size);
541 ifdef.item = nonnull(realloc(ifdef.item, in process_preprocessing()
H A Dlexi.c313 typenames.items = nonnull(realloc(typenames.items, in register_typename()
324 typenames.items[pos] = nonnull(strdup(name)); in register_typename()
/netbsd-src/external/mpl/bind/dist/m4/
H A Dax_gcc_func_attribute.m455 # nonnull
175 [nonnull], [
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Derrors.h19 #define D_ATTRIBUTE_FORMAT(m, n) __attribute__((format(printf, m, n))) __attribute__((nonnull (m)))
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Derrors.h20 #define D_ATTRIBUTE_FORMAT(m, n) __attribute__((format(printf, m, n))) __attribute__((nonnull (m)))
/netbsd-src/external/mit/libuv/dist/m4/
H A Dlibuv-check-flags.m4216 [nonnull], [nonnull()],
217 …[void __attribute__((nonnull())) some_function(void *foo, void *bar) { foo = (void*)0; bar = (void…
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_object.h100 __attribute__((nonnull))
108 __attribute__((nonnull))
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSanitizers.def89 SANITIZER("nonnull-attribute", NonnullAttribute)
99 SANITIZER("returns-nonnull-attribute", ReturnsNonnullAttribute)
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DFixedMetadataKinds.def25 LLVM_FIXED_MD_KIND(MD_nonnull, "nonnull", 11)
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dclass.cc254 int nonnull, in build_base_path() argument
364 fixed_type_p = resolves_to_fixed_type_p (expr, &nonnull); in build_base_path()
408 if (want_pointer && !nonnull) in build_base_path()
613 convert_to_base (tree object, tree type, bool check_access, bool nonnull, in convert_to_base() argument
632 return build_base_path (PLUS_EXPR, object, binfo, nonnull, complain); in convert_to_base()
7853 fixed_type_or_null (tree instance, int *nonnull, int *cdtorp) in fixed_type_or_null() argument
7855 #define RECUR(T) fixed_type_or_null((T), nonnull, cdtorp) in fixed_type_or_null()
7870 if (nonnull) in fixed_type_or_null()
7871 *nonnull = 1; in fixed_type_or_null()
7880 if (nonnull) in fixed_type_or_null()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dclass.c243 int nonnull, in build_base_path() argument
353 fixed_type_p = resolves_to_fixed_type_p (expr, &nonnull); in build_base_path()
397 if (want_pointer && !nonnull) in build_base_path()
609 convert_to_base (tree object, tree type, bool check_access, bool nonnull, in convert_to_base() argument
628 return build_base_path (PLUS_EXPR, object, binfo, nonnull, complain); in convert_to_base()
7750 fixed_type_or_null (tree instance, int *nonnull, int *cdtorp) in fixed_type_or_null() argument
7752 #define RECUR(T) fixed_type_or_null((T), nonnull, cdtorp) in fixed_type_or_null()
7767 if (nonnull) in fixed_type_or_null()
7768 *nonnull = 1; in fixed_type_or_null()
7777 if (nonnull) in fixed_type_or_null()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dconfigure.ac44 ACX_PROG_CC_WARNING_OPTS([-Wno-nonnull-compare], [GPROFNG_NO_NONNULL_COMPARE_CFLAGS])
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/
H A Drealloc.m412 AC_CACHE_CHECK([whether realloc (0, 0) returns nonnull],
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dconfigure.ac61 ACX_PROG_CC_WARNING_OPTS([-Wno-nonnull-compare], [GPROFNG_NO_NONNULL_COMPARE_CFLAGS])

12345678910>>...12