Searched defs:NULL (Results 1 - 25 of 224) sorted by relevance

123456789

/freebsd-head/sys/sys/
H A D_null.h31 #ifndef NULL
34 #define NULL ((void *)0) macro
37 #define NULL nullptr macro
39 #define NULL __null macro
42 #define NULL (0L) macro
44 #define NULL 0 macro
/freebsd-head/contrib/gcc/
H A Dtsystem.h115 /* Define a generic NULL if one hasn't already been defined. */
116 #ifndef NULL
117 #define NULL 0 macro
H A Dtree-ssa-loop-ch.c171 exit = NULL;
197 exit = single_pred_edge (loop_split_edge_with (exit, NULL));
230 loop_split_edge_with (loop_preheader_edge (loop), NULL); local
231 loop_split_edge_with (loop_latch_edge (loop), NULL); local
252 NULL, /* sub */
253 NULL, /* next */
/freebsd-head/sys/dev/isci/
H A Dtypes.h41 #ifndef NULL
42 #define NULL ((void *)0) macro
/freebsd-head/contrib/gdb/gdb/config/rs6000/
H A Dxm-rs6000.h54 #undef NULL macro
55 #define NULL 0 macro
/freebsd-head/lib/libc/tests/locale/
H A Dwcsnrtombs_test.c67 ATF_REQUIRE(src == NULL);
98 ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 6, sizeof(dstbuf),
106 ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 4, sizeof(dstbuf),
115 NULL) == 5); local
118 ATF_REQUIRE(src == NULL);
124 ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 6, 0, NULL) == 5);
176 ATF_REQUIRE(src == NULL);
H A Dwcsrtombs_test.c68 ATF_REQUIRE(src == NULL);
87 ATF_REQUIRE(wcsrtombs(NULL, (const wchar_t **)&src, sizeof(dstbuf),
96 NULL) == 5); local
99 ATF_REQUIRE(src == NULL);
105 ATF_REQUIRE(wcsrtombs(NULL, (const wchar_t **)&src, 0, NULL) == 5);
147 ATF_REQUIRE(src == NULL);
/freebsd-head/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fuzz.c41 ASSERT_PTR_NE(p1, NULL);
42 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); local
54 ASSERT_PTR_EQ(dp, NULL);
59 ASSERT_PTR_NE(dp, NULL);
102 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); local
106 ASSERT_PTR_NE(p1, NULL);
120 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); local
123 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); local
H A Dtest_sshbuf_fixed.c40 ASSERT_PTR_NE(p1, NULL);
41 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p1), NULL); local
43 ASSERT_INT_EQ(sshbuf_reserve(p1, 1, NULL), SSH_ERR_BUFFER_READ_ONLY);
53 ASSERT_PTR_NE(p1, NULL);
71 ASSERT_PTR_NE(p1, NULL);
73 ASSERT_PTR_EQ(sshbuf_parent(p1), NULL); local
76 ASSERT_PTR_NE(p2, NULL);
78 ASSERT_PTR_EQ(sshbuf_parent(p1), NULL); local
81 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); local
82 ASSERT_PTR_NE(sshbuf_ptr(p2), NULL); local
83 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p1), NULL); local
84 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p2), NULL); local
116 ASSERT_PTR_NE(sshbuf_ptr(p3), NULL); local
[all...]
/freebsd-head/crypto/openssh/regress/unittests/sshkey/
H A Dtest_file.c57 ASSERT_INT_EQ(sshkey_parse_private_fileblob(buf, "", &k1, NULL), 0);
59 ASSERT_PTR_NE(k1, NULL);
74 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
76 ASSERT_PTR_NE(k2, NULL);
83 ASSERT_INT_EQ(sshkey_parse_private_fileblob(buf, "", &k2, NULL), 0);
85 ASSERT_PTR_NE(k2, NULL);
93 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
95 ASSERT_PTR_NE(k2, NULL);
102 NULL), 0);
103 ASSERT_PTR_NE(k2, NULL);
165 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
184 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
263 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
282 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
348 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
[all...]
/freebsd-head/contrib/libstdc++/include/ext/pb_ds/detail/pat_trie_/
H A Dchild_iterator.hpp57 iterator(node_pointer_pointer p_p_cur = NULL, argument
58 node_pointer_pointer p_p_end = NULL)
H A Dconst_child_iterator.hpp62 const_iterator(node_pointer_pointer p_p_cur = NULL, argument
63 node_pointer_pointer p_p_end = NULL)
80 while (m_p_p_cur != m_p_p_end&& * m_p_p_cur == NULL);
110 { _GLIBCXX_DEBUG_ASSERT(m_p_p_cur != m_p_p_end&& * m_p_p_cur != NULL); }
/freebsd-head/contrib/gcclibs/libiberty/
H A Dgetopt1.c65 #ifndef NULL macro
66 #define NULL 0
/freebsd-head/contrib/sendmail/include/sm/
H A Dgen.h38 ** Define NULL and offsetof (from the C89 standard)
44 # ifndef NULL
45 # define NULL 0 macro
46 # endif /* ! NULL */
/freebsd-head/contrib/apr/
H A Dapr.mak27 NULL= macro
29 NULL=nul macro
125 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
339 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
553 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
767 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
981 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
1195 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
/freebsd-head/sys/contrib/alpine-hal/
H A Dal_hal_types.h66 #if !defined(NULL)
67 #define NULL (void *)0 macro
/freebsd-head/sbin/rcorder/
H A Dsprite.h96 #ifndef NULL
97 #define NULL 0 macro
98 #endif /* NULL */
/freebsd-head/bin/sh/bltin/
H A Dbltin.h70 #undef NULL macro
73 #define INITARGS(argv) if ((commandname = argv[0]) == NULL) {fputs("Argc is zero\n", stderr); exit(2);} else
/freebsd-head/contrib/ofed/opensm/include/complib/
H A Dcl_types_osd.h90 #ifndef NULL
91 #define NULL (void*)0 macro
/freebsd-head/sys/contrib/libsodium/test/default/
H A Dgenerichash3.c55 &st, NULL, 1U, crypto_generichash_blake2b_BYTES_MAX, salt, personal);
67 crypto_generichash_blake2b_BYTES_MAX, NULL, personal);
79 crypto_generichash_blake2b_BYTES_MAX, salt, NULL);
100 NULL, 0U, salt, personal);
118 k, crypto_generichash_blake2b_KEYBYTES_MAX, NULL, personal);
127 k, crypto_generichash_blake2b_KEYBYTES_MAX, salt, NULL);
134 (NULL, 0,
136 k, sizeof k, NULL, NULL) == -1);
138 (NULL, crypto_generichash_BYTES_MA
144 k, crypto_generichash_KEYBYTES_MAX + 1, NULL, NULL) == -1); local
[all...]
H A Dcodecs.c32 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len, NULL);
37 if (sodium_hex2bin(buf1, 1U, hex, 8U, NULL, &bin_len, &hex_end) != -1) {
66 &bin_len, NULL) != -1) {
79 &bin_len, NULL) != -1) {
96 sodium_bin2base64(buf3, 1U, NULL,
108 sodium_bin2base64(buf3, 1U, NULL,
136 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, &bin_len,
142 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, NULL,
144 assert(sodium_base642bin(buf1, sizeof buf1, b64, strlen(b64), NULL, NUL
164 assert(sodium_base642bin(NULL, (size_t) 10U, "a=", (size_t) 2U, NULL, NULL, NULL, local
166 assert(sodium_base642bin(NULL, (size_t) 10U, "a*", (size_t) 2U, NULL, NULL, NULL, local
168 assert(sodium_base642bin(NULL, (size_t) 10U, "a*", (size_t) 2U, "~", NULL, NULL, local
170 assert(sodium_base642bin(NULL, (size_t) 10U, "a*", (size_t) 2U, "*", NULL, NULL, local
172 assert(sodium_base642bin(NULL, (size_t) 10U, "a==", (size_t) 3U, NULL, NULL, NULL, local
174 assert(sodium_base642bin(NULL, (size_t) 10U, "a=*", (size_t) 3U, NULL, NULL, NULL, local
176 assert(sodium_base642bin(NULL, (size_t) 10U, "a=*", (size_t) 3U, "~", NULL, NULL, local
178 assert(sodium_base642bin(NULL, (size_t) 10U, "a=*", (size_t) 3U, "*", NULL, NULL, local
[all...]
/freebsd-head/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/
H A DCFUtils.h29 CFReleaser(T ptr = NULL) : _ptr(ptr) {} argument
55 void reset(T ptr = NULL) { argument
57 if (_ptr != NULL)
66 _ptr = NULL;
/freebsd-head/sys/mips/mediatek/
H A Dfdt_reset.c73 if (resetdev == NULL) {
123 OF_device_register_xref(OF_xref_from_device(provider), NULL); local
/freebsd-head/sys/dev/fdt/
H A Dfdt_clock.c72 if (clockdev == NULL) {
114 if (clockdev == NULL)
160 OF_device_register_xref(OF_xref_from_device(provider), NULL); local
/freebsd-head/contrib/libstdc++/include/ext/pb_ds/detail/bin_search_tree_/
H A Dnode_iterators.hpp114 bin_search_tree_const_node_it_(const node_pointer p_nd = NULL) : m_p_nd(const_cast<node_pointer>(p_nd)) argument
206 bin_search_tree_node_it_(const node_pointer p_nd = NULL) : PB_DS_TREE_CONST_NODE_ITERATOR_CLASS_C_DEC( argument

Completed in 462 milliseconds

123456789