Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 95) sorted by relevance

1234

/stdlib/
A Dtst-bz20544.c46 atexit_alias (NULL); /* Should assert. */ in test_bz20544_atexit()
53 at_quick_exit_alias (NULL); /* Should assert. */ in test_bz20544_at_quick_exit()
60 on_exit_alias (NULL, NULL); /* Should assert. */ in test_bz20544_on_exit()
67 __cxa_atexit (NULL, NULL, NULL); /* Should assert. */ in test_bz20544_cxa_atexit()
74 __cxa_at_quick_exit (NULL, NULL, NULL); /* Should assert. */ in test_bz20544_cxa_at_quick_exit()
83 result = support_capture_subprocess (test_fn, NULL); in test_one_fn()
87 if (strstr (result.err.buffer, expected_error) == NULL) in test_one_fn()
A Dsetenv.c90 value != NULL ? *(char **) value : NULL; \
130 if (combined == NULL) in __add_to_environ()
140 if (ep != NULL) in __add_to_environ()
149 if (ep == NULL || __builtin_expect (*ep == NULL, 1)) in __add_to_environ()
253 if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) in setenv()
268 if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) in unsetenv()
279 if (ep != NULL) in unsetenv()
280 while (*ep != NULL) in unsetenv()
313 last_environ = NULL; in clearenv()
317 __environ = NULL; in clearenv()
[all …]
A Dcxa_atexit.c41 assert (func != NULL); in __internal_atexit()
46 if (new == NULL) in __internal_atexit()
83 struct exit_function_list *p = NULL; in __new_exitfn()
85 struct exit_function *r = NULL; in __new_exitfn()
91 return NULL; in __new_exitfn()
93 for (l = *listp; l != NULL; p = l, l = l->next) in __new_exitfn()
110 if (p == NULL) in __new_exitfn()
112 assert (l != NULL); in __new_exitfn()
115 if (p != NULL) in __new_exitfn()
122 if (p != NULL) in __new_exitfn()
[all …]
A Dtst-environ.c38 if (getenv (VAR) != NULL) in do_test()
53 if (valp == NULL || strcmp (valp, "one") != 0) in do_test()
68 if (valp == NULL || strcmp (valp, "one") != 0) in do_test()
95 if (valp == NULL || strcmp (valp, "a short one") != 0) in do_test()
105 if (getenv (VAR) != NULL) in do_test()
113 if (valp == NULL || strcmp (valp, "some other value") != 0) in do_test()
128 if (valp == NULL || strcmp (valp, "a new value") != 0) in do_test()
140 if (valp == NULL in do_test()
154 if (getenv (VAR) != NULL) in do_test()
179 if (setenv (NULL, "val", 1) >= 0 || errno != EINVAL) in do_test()
[all …]
A Disomac.c236 if (new == NULL) in xstrndup()
237 return NULL; in xstrndup()
265 if (command == NULL) in get_null_defines()
277 return NULL; in get_null_defines()
282 if (input == NULL) in get_null_defines()
285 perror (NULL); in get_null_defines()
286 return NULL; in get_null_defines()
307 if (result == NULL) in get_null_defines()
356 if (command == NULL) in check_header()
373 if (input == NULL) in check_header()
[all …]
A Dtst-xpg-basename.c34 { NULL, "."},
49 if (tests [i].path == NULL) in do_test()
50 file = __xpg_basename (NULL); in do_test()
59 (tests [i].path == NULL ? "NULL" : tests [i].path), file); in do_test()
A Dtst-strtod.c78 { NULL, 0, '\0', 0 }
93 for (lt = tests; lt->str != NULL; ++lt) in do_test()
124 sprintf (buf, "%f", strtod ("-0.0", NULL)); in do_test()
133 float f1 = strtold (input, NULL); in do_test()
135 float f3 = strtof (input, NULL); in do_test()
155 if (strtold (input2, NULL) != +1.000000000116415321826934814453125L) in do_test()
157 printf ("input2: %La != %La\n", strtold (input2, NULL), in do_test()
170 if (strtold (ltests[n].str, NULL) != ltests[n].l) in do_test()
173 strtold (ltests[n].str, NULL), ltests[n].l); in do_test()
208 double d = strtod (longestdbl, NULL); in long_dbl()
A Dgetenv.c38 if (__environ == NULL || name[0] == '\0') in getenv()
39 return NULL; in getenv()
51 for (ep = __environ; *ep != NULL; ++ep) in getenv()
75 for (ep = __environ; *ep != NULL; ++ep) in getenv()
90 return NULL; in getenv()
A Dtst-secure-getenv.c43 if (getenv ("PATH") == NULL) in do_test()
48 if (secure_getenv ("PATH") == NULL) in do_test()
80 if (getenv ("PATH") == NULL) in alternative_main()
82 if (secure_getenv ("PATH") != NULL) in alternative_main()
A Dtst-canon-bz26341.c50 filename = realpath (filename, NULL); in create_link()
52 TEST_VERIFY (filename != NULL); in create_link()
90 TEST_VERIFY (p != NULL); in do_realpath()
93 return NULL; in do_realpath()
102 do_realpath, NULL); in do_test()
A Dtst-thread-quick_exit.cc55 int ret = pthread_create (&thr, NULL, non_main_thread, NULL); in do_test()
61 pthread_join (thr, NULL); in do_test()
A Dtest-canon.c104 return (expected == NULL); in check_path()
130 if (realpath (NULL, buf) != NULL || errno != EINVAL) in do_test()
140 if (realpath ("/", NULL) != NULL || errno != EINVAL) in do_test()
149 if (realpath ("", buf) != NULL || errno != ENOENT) in do_test()
194 char *result2 = realpath (tests[i].in, NULL); in do_test()
195 if ((result2 == NULL && result != NULL) in do_test()
196 || (result2 != NULL && strcmp (result, result2) != 0)) in do_test()
A Dtest-cxa_atexit-race.c25 #define CALL_ATEXIT __cxa_atexit (&no_op, NULL, NULL)
A Dfmtmsg.c69 MM_NOSEV, "", NULL
114 if (cp == NULL) in fmtmsg()
139 if (severity_rec != NULL) in fmtmsg()
274 if (new_string != NULL in init()
297 for (runp = severity_list, lastp = NULL; runp != NULL; runp = runp->next) in internal_addseverity()
303 if (runp != NULL) in internal_addseverity()
305 if (string != NULL) in internal_addseverity()
311 if (lastp == NULL) in internal_addseverity()
319 else if (string != NULL) in internal_addseverity()
322 if (runp == NULL) in internal_addseverity()
[all …]
A Dputenv.c56 if (name_end != NULL) in putenv()
64 if (name == NULL) in putenv()
72 if (name == NULL) in putenv()
77 int result = __add_to_environ (name, NULL, string, 1); in putenv()
A Drpmatch.c36 if (*lastp != NULL) in try()
40 *lastp = NULL; in try()
49 return __regexec (re, response, 0, NULL, 0) == 0 ? match : nomatch; in try()
A Dtst-bsearch.c71 if (res == NULL) in do_test()
86 if (res != NULL) in do_test()
94 if (res != NULL) in do_test()
102 if (res != NULL) in do_test()
116 if (res == NULL) in do_test()
127 else if (res != NULL) in do_test()
A Dtst-empty-env.c37 char *newargv[] = {filename, filename, NULL}; in do_test()
38 char *newenviron[] = {envname, NULL}; in do_test()
A Dtest-bz22786.c46 if (path == NULL) in do_test()
64 p = realpath (path, NULL); in do_test()
65 TEST_VERIFY (p == NULL); in do_test()
A Dgetsubopt.c52 if (vstart == NULL) in getsubopt()
57 for (cnt = 0; tokens[cnt] != NULL; ++cnt) in getsubopt()
62 *valuep = vstart != endp ? vstart + 1 : NULL; in getsubopt()
A Dxpg_basename.c28 if (filename == NULL || filename[0] == '\0') in __xpg_basename()
35 if (p == NULL) in __xpg_basename()
A Dgen-fpioconst.c30 if (out32 == NULL) in main()
33 if (out64 == NULL) in main()
36 if (outtable == NULL) in main()
53 mpz_export (data32 + 2, NULL, -1, 4, 0, 0, p); in main()
54 mpz_export (data64 + 1, NULL, -1, 8, 0, 0, p); in main()
A Dmblen.c40 if (s == NULL) in mblen()
59 result = __mbrtowc (NULL, s, n, &state); in mblen()
A Dtest-dlclose-exit-race.c76 if ((value = pthread_create (&thread, NULL, exit_thread, NULL)) != 0) in main()
A Dmbtowc.c42 if (s == NULL) in mbtowc()
57 if (pwc != NULL) in mbtowc()

Completed in 40 milliseconds

1234