HomeSort by: relevance | last modified time | path
    Searched defs:NULL (Results 1 - 25 of 50) sorted by relevancy

1 2

  /src/sys/sys/
null.h 1 /* $NetBSD: null.h,v 1.9 2010/07/06 11:56:20 kleink Exp $ */
10 #ifndef NULL
13 #define NULL ((void *)0)
15 #define NULL 0
18 #define NULL __null
  /src/lib/libc/stdio/
flockfile.c 78 } else if (_LOCKOWNER(fp) == NULL) {
113 while (_LOCKOWNER(fp) != NULL)
115 thr_setcancelstate(oldstate, NULL);
142 thr_setcancelstate(_LOCKCANCELSTATE(fp), NULL);
147 _LOCKOWNER(fp) = NULL;
  /src/sys/compat/linux32/common/
linux32_wait.c 88 NETBSD32PTR32(SCARG(&ua, rusage), NULL);
123 SCARG_P32(uap, rusage) != NULL ? &ru : NULL);
133 if (SCARG_P32(uap, rusage) != NULL) {
138 if (error == 0 && SCARG_P32(uap, status) != NULL) {
  /src/sys/external/isc/libsodium/dist/test/default/
generichash3.c 55 &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_MAX + 1
    [all...]
codecs.c 32 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, NULL
    [all...]
  /src/lib/libc/locale/
multibyte_c90.c 134 _fixup_ps(_RUNE_LOCALE(loc), ps, s == NULL);
multibyte_amd1.c 56 _fixup_ps(_RUNE_LOCALE(loc), ps, s == NULL);
79 if (ps == NULL)
82 if (_ps_to_runelocale(ps) == NULL)
108 _fixup_ps(_RUNE_LOCALE(loc), ps, s == NULL);
131 _fixup_ps(_RUNE_LOCALE(loc), ps, s == NULL);
154 _fixup_ps(_RUNE_LOCALE(loc), ps, s == NULL);
176 _fixup_ps(_RUNE_LOCALE(loc), ps, s == NULL);
199 _fixup_ps(_RUNE_LOCALE(loc), ps, s == NULL);
  /src/common/include/rpc/
types.h 61 #ifndef NULL
62 # define NULL 0
  /src/sys/arch/landisk/stand/boot/
monitor.c 39 #ifndef NULL
40 #define NULL (void *)0
58 { NULL, NULL },
92 while (db_cmd[tmp].name != NULL) {
101 if (db_cmd[tmp].name == NULL)
330 while (db_cmd[i].name != NULL)
  /src/sys/kern/
kern_syscall.c 89 if ((auto_list = em->e_sc_autoload) != NULL)
116 if (em == NULL) {
127 for (i = 0; sp[i].sp_call != NULL; i++) {
139 for (i = 0; sp[i].sp_call != NULL; i++) {
156 if (em == NULL) {
166 for (i = 0; sp[i].sp_call != NULL; i++) {
185 for (i = 0; sp[i].sp_call != NULL; i++) {
193 if (l == NULL) {
202 for (i = 0; sp[i].sp_call != NULL; i++) {
250 NULL, 0)
    [all...]
  /src/tests/lib/libc/sys/
t_ptrace.c 90 ATF_REQUIRE_ERRNO(EPERM, ptrace(PT_ATTACH, 0, NULL, 0) == -1);
104 ATF_REQUIRE_ERRNO(EPERM, ptrace(PT_ATTACH, 1, NULL, 0) == -1);
122 RL(sysctlbyname("kern.securelevel", &level, &len, NULL, 0));
128 ATF_REQUIRE_ERRNO(EPERM, ptrace(PT_ATTACH, 1, NULL, 0) == -1);
140 ATF_REQUIRE_ERRNO(EINVAL, ptrace(PT_ATTACH, getpid(), NULL, 0) == -1);
163 REQUIRE_LIBC(getcwd(buf, sizeof(buf)), NULL);
182 if (ptrace(PT_ATTACH, getppid(), NULL, 0) == 0) {
184 "ptrace(PT_ATTACH, getppid(), NULL, 0)");
187 "ptrace(PT_ATTACH, getppid(), NULL, 0)");
226 RL(ptrace(PT_TRACE_ME, 0, NULL, 0))
    [all...]
  /src/tests/lib/libpthread/
t_tss.c 52 ATF_REQUIRE_EQ(tss_create(&s, NULL), thrd_success);
70 ATF_REQUIRE_EQ(tss_create(&s, NULL), thrd_success);
71 ATF_REQUIRE_EQ(tss_get(s), NULL);
156 ATF_REQUIRE_EQ(thrd_create(&t, t_func, NULL), thrd_success);
157 ATF_REQUIRE_EQ(thrd_join(t, NULL), thrd_success);
  /src/tests/rump/rumpkern/
t_lwproc.c 216 "context is NULL");
223 ATF_REQUIRE_EQ(rump_pub_lwproc_curlwp(), NULL);
230 atf_tc_set_md_var(tc, "descr", "check that switching to NULL marks "
241 rump_pub_lwproc_switch(NULL);
  /src/usr.sbin/bootp/bootptest/
getether.c 188 #ifndef NULL
189 #define NULL 0
237 if (putmsg(fd, &cbuf, NULL, 0) < 0) {
245 if (getmsg(fd, &cbuf, NULL, &flags) < 0) {
279 if (putmsg(fd, &cbuf, NULL, 0) < 0) {
287 if (getmsg(fd, &cbuf, NULL, &flags) < 0) {
  /src/usr.sbin/bootp/common/
hash.c 49 #ifndef NULL
50 #define NULL 0
72 * calls return NULL.
92 hashtblptr = NULL; /* Disallow zero-length tables */
94 return hashtblptr; /* NULL if failure */
102 * hashing scheme). Does nothing if the passed pointer is NULL.
122 * memory and resets all bucket pointers to NULL.
134 *bucketptr++ = NULL;
247 hash_member *previous = NULL;
264 memberptr->next = NULL;
    [all...]
  /src/bin/sh/bltin/
bltin.h 96 #undef NULL
99 #define INITARGS(argv) if ((commandname = argv[0]) == NULL) {fputs("Argc is zero\n", stderr); exit(2);} else
  /src/lib/libutil/
sockaddr_snprintf.c 140 const void *a = NULL;
141 char abuf[1024], nbuf[1024], *addr = NULL;
142 char Abuf[1024], pbuf[32], *name = NULL, *port = NULL;
148 const struct sockaddr_at *sat = NULL;
150 const struct sockaddr_in *sin4 = NULL;
151 const struct sockaddr_in6 *sin6 = NULL;
152 const struct sockaddr_un *sun = NULL;
154 const struct sockaddr_dl *sdl = NULL;
155 char *w = NULL;
    [all...]
  /src/sys/arch/evbmips/cavium/
machdep.c 173 struct vm_map *phys_map = NULL;
311 mips_vector_init(NULL, true);
399 mem_clusters, mem_cluster_cnt, NULL, 0);
  /src/sys/arch/prep/stand/boot/
monitor.c 38 #define NULL 0
65 { NULL, NULL },
99 while (db_cmd[tmp].name != NULL) {
108 if (db_cmd[tmp].name == NULL)
344 { NULL, NULL, NULL },
354 while (mreg[i].op != NULL)
360 while (mreg[i].op != NULL) {
    [all...]
  /src/sys/arch/rs6000/stand/boot/
monitor.c 38 #define NULL 0
65 { NULL, NULL },
99 while (db_cmd[tmp].name != NULL) {
108 if (db_cmd[tmp].name == NULL)
344 { NULL, NULL, NULL },
354 while (mreg[i].op != NULL)
360 while (mreg[i].op != NULL) {
    [all...]
  /src/sys/arch/usermode/target/i386/
cpu_i386.c 201 0, NULL, NULL, NULL, NULL);
  /src/bin/sh/
shell.h 71 #ifndef NULL
72 #define NULL (void *)0
82 extern const char nullstr[1]; /* null string */
  /src/games/hunt/huntd/
driver.c 162 if (path == NULL) {
376 (void) ioctl(fileno(stdout), TIOCNOTTY, NULL);
421 makeaddr(NULL, contactport, &contactaddr, &contactaddrlen);
435 makeaddr(localmode ? huntsockpath : NULL, 0, &huntaddr,
453 makeaddr(localmode ? statsockpath : NULL, 0, &stataddr, &stataddrlen);
489 srandom(time(NULL));
551 if (gotcha != NULL)
593 if (credit != NULL)
608 if (credit == NULL) {
636 if (gotcha == NULL)
    [all...]
  /src/sys/arch/aarch64/aarch64/
pmap_machdep.c 105 if (ptep == NULL || !pte_valid_p(pte = *ptep)) {
122 if (pap != NULL) {
125 if (coherentp != NULL) {
150 if (ptep == NULL) {
164 if (pg == NULL) {
232 if (ptep == NULL)
272 return uvm_pagealloc(NULL, 0, NULL, flags);
281 KASSERT(cold || pg != NULL);
283 if (pg != NULL) {
    [all...]
  /src/sys/arch/arm/vfp/
vfp_init.c 240 evcnt_attach_dynamic(&ci->ci_vfp_evs[0], EVCNT_TYPE_TRAP, NULL,
303 const char *model = NULL;
392 evcnt_attach_dynamic(&ci->ci_vfp_evs[0], EVCNT_TYPE_MISC, NULL,
394 evcnt_attach_dynamic(&ci->ci_vfp_evs[1], EVCNT_TYPE_MISC, NULL,
396 evcnt_attach_dynamic(&ci->ci_vfp_evs[2], EVCNT_TYPE_TRAP, NULL,
554 KASSERT(curcpu()->ci_pcu_curlwp[PCU_FPU] == NULL);
555 KASSERT(l->l_pcu_cpu[PCU_FPU] == NULL);

Completed in 69 milliseconds

1 2