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

1234567

/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/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...]
H A Dtest_sshbuf_getput_crypto.c76 bnn = NULL; \
83 ASSERT_PTR_NE(p1, NULL);
95 ASSERT_PTR_NE(p1, NULL);
107 ASSERT_PTR_NE(p1, NULL);
119 ASSERT_PTR_NE(p1, NULL);
131 ASSERT_PTR_NE(p1, NULL);
143 ASSERT_PTR_NE(p1, NULL);
155 ASSERT_PTR_NE(p1, NULL);
168 ASSERT_PTR_NE(p1, NULL);
180 ASSERT_PTR_NE(p1, NULL);
394 bn_x, bn_y, NULL), 1); 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);
183 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
202 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
281 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
300 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
366 (const char *)sshbuf_ptr(pw), &k2, NULL), 0); local
[all...]
/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/apr/
H A Dapr.mak25 NULL= macro
27 NULL=nul macro
127 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
313 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
499 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
686 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
/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
/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/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/contrib/binutils/libiberty/
H A Dstrsignal.c43 #ifndef NULL
44 # define NULL (void *) 0 macro
222 ENTRY(0, NULL, NULL)
297 for (eip = signal_table; eip -> name != NULL; eip++)
309 if (signal_names == NULL)
312 if ((signal_names = (const char **) malloc (nbytes)) != NULL)
315 for (eip = signal_table; eip -> name != NULL; eip++)
327 if (sys_siglist == NULL)
330 if ((sys_siglist = (const char **) malloc (nbytes)) != NULL)
[all...]
/freebsd-head/crypto/openssh/contrib/
H A Dgnome-ssh-askpass1.c60 GNOME_MESSAGE_BOX_ERROR, "EXIT", NULL);
62 gtk_object_set(GTK_OBJECT(err), "type", GTK_WINDOW_POPUP, NULL); local
75 grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL);
76 grab_pointer = (getenv("GNOME_SSH_ASKPASS_GRAB_POINTER") != NULL);
79 GNOME_STOCK_BUTTON_CANCEL, NULL);
96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); local
109 NULL, NULL, GDK_CURRENT_TIME))
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dlibisc.mak23 NULL= macro
25 NULL=nul macro
201 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
476 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
/freebsd-head/gnu/usr.bin/grep/
H A Dsavedir.c64 #ifndef NULL
65 # define NULL 0 macro
104 Return NULL if DIR cannot be opened or if out of memory. */
115 if (dirp == NULL)
116 return NULL;
124 if (name_space == NULL)
127 return NULL;
131 while ((dp = readdir (dirp)) != NULL)
159 if (new_name_space == NULL)
162 return NULL;
[all...]
/freebsd-head/libexec/bootpd/
H A Dgetether.c186 #ifndef NULL
187 #define NULL 0
236 if (putmsg(fd, &cbuf, NULL, 0) < 0) {
244 if (getmsg(fd, &cbuf, NULL, &flags) < 0) {
278 if (putmsg(fd, &cbuf, NULL, 0) < 0) {
286 if (getmsg(fd, &cbuf, NULL, &flags) < 0) {
184 #define NULL macro
/freebsd-head/contrib/netbsd-tests/rump/rumpkern/
H A Dt_lwproc.c216 "context is NULL");
223 ATF_REQUIRE_EQ(rump_pub_lwproc_curlwp(), NULL); local
230 atf_tc_set_md_var(tc, "descr", "check that switching to NULL marks "
241 rump_pub_lwproc_switch(NULL);

Completed in 113 milliseconds

1234567