Home
last modified time | relevance | path

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

12

/time/
A Dalt_digit.c38 if (current->private.time == NULL) in __libc_rwlock_define()
55 if (ptr != NULL) in __libc_rwlock_define()
58 if (data->alt_digits != NULL) in __libc_rwlock_define()
77 return NULL; in _nl_get_alt_digit()
81 if (current->private.time == NULL in _nl_get_alt_digit()
88 : NULL); in _nl_get_alt_digit()
99 const wchar_t *result = NULL; in _nl_get_walt_digit()
103 return NULL; in _nl_get_walt_digit()
124 if (ptr != NULL) in _nl_get_walt_digit()
127 if (data->walt_digits != NULL) in _nl_get_walt_digit()
[all …]
A Dtst-strptime3.c18 if (strptime ("2007", "%Y", &tm) == NULL in do_test()
19 || strptime ("12", "%d", &tm) == NULL in do_test()
20 || strptime ("Feb", "%b", &tm) == NULL in do_test()
21 || strptime ("13", "%M", &tm) == NULL in do_test()
22 || strptime ("21", "%S", &tm) == NULL in do_test()
23 || strptime ("16", "%H", &tm) == NULL) in do_test()
37 if (strptime ("8", "%d", &tm) == NULL) in do_test()
A Dtst-clock_nanosleep.c33 gettimeofday (&tv1, NULL); in clock_nanosleep_test()
40 gettimeofday (&tv2, NULL); in clock_nanosleep_test()
53 support_create_timer (0, 100000000, false, NULL); in clock_nanosleep_large_timeout()
55 int r = clock_nanosleep (CLOCK_REALTIME, 0, &ts, NULL); in clock_nanosleep_large_timeout()
A Dlc-time-cleanup.c26 if (data != NULL) in _nl_cleanup_time()
28 locale->private.time = NULL; in _nl_cleanup_time()
29 locale->private.cleanup = NULL; in _nl_cleanup_time()
A Dera.c50 if (current->private.time == NULL) in __libc_rwlock_define()
53 if (current->private.time == NULL) in __libc_rwlock_define()
65 if (data->eras != NULL) in __libc_rwlock_define()
68 data->eras = NULL; in __libc_rwlock_define()
80 if (new_eras == NULL) in __libc_rwlock_define()
84 data->eras = NULL; in __libc_rwlock_define()
144 if (current->private.time == NULL || !current->private.time->era_initialized) in _nl_get_era_entry()
147 if (current->private.time != NULL) in _nl_get_era_entry()
163 return NULL; in _nl_get_era_entry()
173 return (current->private.time == NULL in _nl_select_era_entry()
[all …]
A Dbug-asctime.c11 time_t t = time (NULL); in do_test()
16 if (s != NULL || errno != EOVERFLOW) in do_test()
24 if (s != NULL || errno != EOVERFLOW) in do_test()
A Dstrptime_l.c626 return NULL; in __strptime_internal()
832 return NULL; in __strptime_internal()
848 return NULL; in __strptime_internal()
863 return NULL; in __strptime_internal()
921 return NULL; in __strptime_internal()
975 return NULL; in __strptime_internal()
1003 return NULL; in __strptime_internal()
1016 return NULL; in __strptime_internal()
1029 return NULL; in __strptime_internal()
1042 return NULL; in __strptime_internal()
[all …]
A Dasctime.c36 if (tp == NULL) in asctime_internal()
39 return NULL; in asctime_internal()
53 return NULL; in asctime_internal()
64 return NULL; in asctime_internal()
A Dtzfile.c111 char *new = NULL; in __tzfile_read()
118 if (file == NULL) in __tzfile_read()
163 if (f == NULL) in __tzfile_read()
171 transitions = NULL; in __tzfile_read()
291 tzspec = NULL; in __tzfile_read()
388 if (tzspec != NULL) in __tzfile_read()
395 tzspec = NULL; in __tzfile_read()
402 tzspec = NULL; in __tzfile_read()
414 __tzname[0] = NULL; in __tzfile_read()
415 __tzname[1] = NULL; in __tzfile_read()
[all …]
A Dtst-itimer.c63 TEST_COMPARE (setitimer (timers[i], &it, NULL), 0); in do_test()
88 TEST_COMPARE (setitimer (timers[i], &it, NULL), 0); in do_test()
109 TEST_COMPARE (setitimer (timers[i], &it, NULL), 0); in do_test()
123 TEST_COMPARE (setitimer (timers[i], &it, NULL), -1); in do_test()
135 TEST_COMPARE (setitimer (timers[i], &it, NULL), 0); in do_test()
148 TEST_COMPARE (setitimer (timers[i], &it, NULL), -1); in do_test()
156 xsigaction (SIGALRM, &sa, NULL); in do_test()
169 TEST_COMPARE (setitimer (ITIMER_REAL, &it, NULL), 0); in do_test()
172 TEST_COMPARE (setitimer (ITIMER_REAL, &(struct itimerval) { 0 }, NULL), 0); in do_test()
A Dbug-asctime_r.c11 time_t t = time (NULL); in do_test()
18 if (s != NULL || errno != EOVERFLOW) in do_test()
A Dgetdate.c113 char *result = NULL; in __getdate_r()
120 if (datemsk == NULL || *datemsk == '\0') in __getdate_r()
134 if (fp == NULL) in __getdate_r()
152 char *instr = NULL; in __getdate_r()
163 if (instr == NULL) in __getdate_r()
175 instr = NULL; in __getdate_r()
178 line = NULL; in __getdate_r()
195 tp->tm_zone = NULL; in __getdate_r()
217 if (result == NULL || *result != '\0') in __getdate_r()
305 return NULL; in weak_alias()
A Dtst-settimeofday.c35 if (getenv (SETTIME_ENV_NAME) == NULL) in do_test()
40 int ret = settimeofday (&tv, NULL); in do_test()
A Dtzset.c100 return NULL; in __tzstring_len()
102 new->next = NULL; in __tzstring_len()
177 if (name == NULL) in parse_tzname()
345 old_tz = NULL; in __tzset_parse_tz()
389 if (old_tz != NULL && tz != NULL && strcmp (tz, old_tz) == 0) in tzset_internal()
393 if (tz == NULL) in tzset_internal()
397 tz_rules[0].name = NULL; in tzset_internal()
398 tz_rules[1].name = NULL; in tzset_internal()
585 tp = NULL; in weak_alias()
606 tp = NULL; in weak_alias()
[all …]
A Dbug-getdate1.c16 if (fd == NULL) in output_to_template_file()
36 if (fd == NULL) in process_getdate_on()
42 if (fgets (templ, 1000, fd) == NULL) in process_getdate_on()
50 if (res == NULL) in process_getdate_on()
A Dtst-strftime.c15 ttm.tm_zone = NULL; /* Dereferenced directly if non-NULL. */ in do_bz18985()
36 ttm.tm_zone = NULL; /* Dereferenced directly if non-NULL. */ in do_bz18985()
78 time_t tnow = time (NULL); in do_test()
85 char *buf = NULL; in do_test()
91 if (buf == NULL) in do_test()
A Dtst-timespec_getres.c28 TEST_COMPARE (timespec_getres (NULL, 0), 0); in do_test()
39 TEST_COMPARE (timespec_getres (NULL, TIME_UTC), TIME_UTC); in do_test()
A Dtst-adjtime.c33 int r = adjtime (NULL, &tv); in do_test()
A Dstrptime.c32 return __strptime_internal (buf, format, tm, NULL, _NL_CURRENT_LOCALE); in strptime()
A Dgetitimer.c27 if (value == NULL) in __getitimer()
A Dtst-strptime-whitespace.c33 if (r == NULL || r != in + strlen (in)) in do_test()
A Dsetitimer.c29 if (new == NULL) in __setitimer()
A Dtst-ftime_l.c20 l = newlocale (LC_ALL_MASK, "de_DE.ISO-8859-1", NULL); in do_test()
21 if (l == NULL) in do_test()
A Dtst_wcsftime.c13 t = time (NULL); in main()
A Dtest_time.c65 if (tp == NULL) in main()
92 curtime = time (NULL); in main()

Completed in 20 milliseconds

12