Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 2276) sorted by relevance

12345678910>>...92

/openbsd-src/gnu/usr.bin/perl/cpan/Time-Piece/
H A DPiece.pm54 my $time = shift;
55 $time = time if (!defined $time);
56 $class->_mktime($time, 1);
62 my $time = shift;
63 $time = time if (!defined $time);
64 $class->_mktime($time, 0);
83 my ($time) = @_;
87 if ($class->_is_time_struct($time)) {
88 $self = $time->[c_islocal] ? $class->localtime($time) : $class->gmtime($time);
90 elsif (defined($time)) {
[all …]
/openbsd-src/gnu/llvm/libcxx/docs/Status/
H A DFormatPaper.csv3 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::duration<Rep, Period>``",,Mark de W…
4 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::sys_time<Duration>``",,Mark de Weve…
5 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::utc_time<Duration>``",A ``<chrono>`…
6 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::tai_time<Duration>``",A ``<chrono>`…
7 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::gps_time<Duration>``",A ``<chrono>`…
8 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::file_time<Duration>``",,Not assigne…
9 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::local_time<Duration>``",,Not assign…
10 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::local-time-format-t<Duration>``",A …
11 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::day``",,Mark de Wever,|Complete|, C…
12 `[time.syn] <https://wg21.link/time.syn>`_,"Formatter ``chrono::month``",,Mark de Wever,|Complete|,…
[all …]
H A DSpaceshipProjects.csv55 | `[time.duration.comparisons] <https://wg21.link/time.duration.comparisons>`_, "chrono::duration",…
56 | `[time.point.comparisons] <https://wg21.link/time.point.comparisons>`_, "chrono::time_point", Non…
57 "| `[time.cal.day.nonmembers] <https://wg21.link/time.cal.day.nonmembers>`_
58 | `[time.cal.month.nonmembers] <https://wg21.link/time.cal.month.nonmembers>`_
59 | `[time.cal.year.nonmembers] <https://wg21.link/time.cal.year.nonmembers>`_
60 | `[time.cal.md.nonmembers] <https://wg21.link/time.cal.md.nonmembers>`_
61 | `[time.cal.mdlast] <https://wg21.link/time.cal.mdlast>`_
62 | `[time.cal.ym.nonmembers] <https://wg21.link/time.cal.ym.nonmembers>`_
63 | `[time.cal.ymd.nonmembers] <https://wg21.link/time.cal.ymd.nonmembers>`_
64 | `[time.cal.ymdlast.nonmembers] <https://wg21.link/time.cal.ymdlast.nonmembers>`_","| `chrono::day…
[all …]
/openbsd-src/gnu/usr.bin/perl/Porting/
H A Dtimecheck2.c19 time_t time = 0; in check_date_max() local
25 date = (*date_func)(&time); in check_date_max()
31 last_time = time; in check_date_max()
32 time += time + 1; in check_date_max()
35 if( time < last_time ) in check_date_max()
40 time = last_time; in check_date_max()
44 time += time_change; in check_date_max()
46 date = (*date_func)(&time); in check_date_max()
49 if(date == NULL || date->tm_year < 69 || time < last_time) { in check_date_max()
50 time = last_time; in check_date_max()
[all …]
/openbsd-src/regress/lib/libcrypto/asn1/
H A Drfc5280time.c29 time_t time; member
86 .time = 0,
92 .time = 1442978820,
98 .time = -62167219200LL,
104 .time = 2524607999LL,
110 .time = -631152000LL,
119 .time = 253402300799LL,
124 .time = 6000000000LL,
130 .time = 2524608000LL,
137 .time = -631152000,
[all …]
/openbsd-src/gnu/lib/libiberty/src/
H A Dpex-unix.c93 struct pex_time *time) in pex_wait() argument
99 if (time == NULL) in pex_wait()
105 if (time != NULL) in pex_wait()
107 time->user_seconds = r.ru_utime.tv_sec; in pex_wait()
108 time->user_microseconds= r.ru_utime.tv_usec; in pex_wait()
109 time->system_seconds = r.ru_stime.tv_sec; in pex_wait()
110 time->system_microseconds= r.ru_stime.tv_usec; in pex_wait()
124 struct pex_time *time) in pex_wait() argument
126 if (time != NULL) in pex_wait()
127 memset (time, 0, sizeof (struct pex_time)); in pex_wait()
[all …]
/openbsd-src/usr.sbin/mrouted/
H A Dcallout.c25 int time; /* time offset to next event*/ member
56 if (!ptr->time) { in age_callout_queue()
69 ptr->time --; in age_callout_queue()
71 logit(LOG_DEBUG,0,"[callout, age_callout_queue] -- time (%d)", ptr->time); in age_callout_queue()
106 node->time = delay; in timer_setTimer()
121 if (delay < ptr->time) { in timer_setTimer()
129 ptr->time -= node->time; in timer_setTimer()
136 delay -= ptr->time; node->time = delay; in timer_setTimer()
182 (ptr->next)->time += ptr->time; in timer_clearTimer()
207 logit(LOG_DEBUG,0,"(%d,%d) ", ptr->id, ptr->time); in print_Q()
[all …]
/openbsd-src/regress/lib/libc/time/time_conversion/
H A Dtimetest.c31 time_t time; member
57 .time=-16751025,
88 .time=-16751025,
119 .time=-16751025,
150 .time=0,
181 .time=0,
212 .time=0,
243 .time=-1,
274 .time=-1,
305 .time=-1,
[all …]
/openbsd-src/games/trek/
H A Dwarp.c71 double power, dist, time, speed, frac; in warp() local
101 time = dist / speed; in warp()
104 percent = 100 * time / Now.time + 0.5; in warp()
118 time *= frac; in warp()
123 Move.time = move(fl, course, time, speed); in warp()
126 dist = Move.time * speed; in warp()
152 time = (Ship.warp - 8.0) * dist * (franf() + 1.0); in warp()
153 Now.date += time; in warp()
160 Event[i].date += time; in warp()
166 time = Now.date; in warp()
[all …]
H A Dimpulse.c46 double dist, time; in impulse() local
70 time = dist / 0.095; in impulse()
71 percent = 100 * time / Now.time + 0.5; in impulse()
80 Move.time = move(0, course, time, 0.095); in impulse()
81 Ship.energy -= 20 + 100 * Move.time * 0.095; in impulse()
/openbsd-src/sys/arch/arm64/dev/
H A Defi_machdep.c81 EFI_TIME time; in efi_attach() local
153 status = sc->sc_rs->GetTime(&time, NULL); in efi_attach()
294 EFI_TIME time; in efi_gettime() local
299 status = sc->sc_rs->GetTime(&time, NULL); in efi_gettime()
304 dt.dt_year = time.Year; in efi_gettime()
305 dt.dt_mon = time.Month; in efi_gettime()
306 dt.dt_day = time.Day; in efi_gettime()
307 dt.dt_hour = time.Hour; in efi_gettime()
308 dt.dt_min = time.Minute; in efi_gettime()
309 dt.dt_sec = time.Second; in efi_gettime()
[all …]
/openbsd-src/sys/kern/
H A Dtty_msts.c54 struct ksensor time; /* the timedelta sensor */ member
98 np->time.status = SENSOR_S_UNKNOWN; in mstsopen()
99 np->time.type = SENSOR_TIMEDELTA; in mstsopen()
101 np->time.flags = SENSOR_FINVALID; in mstsopen()
103 sensor_attach(&np->timedev, &np->time); in mstsopen()
267 if (np->time.status == SENSOR_S_UNKNOWN) { in msts_decode()
268 np->time.status = SENSOR_S_OK; in msts_decode()
273 np->time.value = np->ts.tv_sec * 1000000000LL + in msts_decode()
275 np->time.tv.tv_sec = np->ts.tv_sec; in msts_decode()
276 np->time.tv.tv_usec = np->ts.tv_nsec / 1000L; in msts_decode()
[all …]
H A Dtty_nmea.c55 struct ksensor time; /* the timedelta sensor */ member
112 np->time.status = SENSOR_S_UNKNOWN; in nmeaopen()
113 np->time.type = SENSOR_TIMEDELTA; in nmeaopen()
114 np->time.flags = SENSOR_FINVALID; in nmeaopen()
115 sensor_attach(&np->timedev, &np->time); in nmeaopen()
362 if (np->time.status == SENSOR_S_UNKNOWN) { in nmea_gprmc()
363 np->time.status = SENSOR_S_OK; in nmea_gprmc()
374 np->time.value = np->ts.tv_sec * 1000000000LL + in nmea_gprmc()
376 np->time.tv.tv_sec = np->ts.tv_sec; in nmea_gprmc()
377 np->time.tv.tv_usec = np->ts.tv_nsec / 1000L; in nmea_gprmc()
[all …]
H A Dtty_endrun.c82 struct ksensor time; /* the timedelta sensor */ member
133 np->time.status = SENSOR_S_UNKNOWN; in endrunopen()
134 np->time.type = SENSOR_TIMEDELTA; in endrunopen()
136 np->time.flags = SENSOR_FINVALID; in endrunopen()
138 sensor_attach(&np->timedev, &np->time); in endrunopen()
316 if (np->time.status == SENSOR_S_UNKNOWN) { in endrun_decode()
317 np->time.status = SENSOR_S_OK; in endrun_decode()
322 np->time.value = np->ts.tv_sec * 1000000000LL + in endrun_decode()
324 np->time.tv.tv_sec = np->ts.tv_sec; in endrun_decode()
325 np->time.tv.tv_usec = np->ts.tv_nsec / 1000L; in endrun_decode()
[all …]
/openbsd-src/gnu/usr.bin/perl/
H A Dtime64.c325 Time64_T time = *in_time; in Perl_gmtime64_r() local
373 v_tm_sec = (int)Perl_fmod(time, 60.0); in Perl_gmtime64_r()
374 time = time >= 0 ? Perl_floor(time / 60.0) : Perl_ceil(time / 60.0); in Perl_gmtime64_r()
375 v_tm_min = (int)Perl_fmod(time, 60.0); in Perl_gmtime64_r()
376 time = time >= 0 ? Perl_floor(time / 60.0) : Perl_ceil(time / 60.0); in Perl_gmtime64_r()
377 v_tm_hour = (int)Perl_fmod(time, 24.0); in Perl_gmtime64_r()
378 time = time >= 0 ? Perl_floor(time / 24.0) : Perl_ceil(time / 24.0); in Perl_gmtime64_r()
379 v_tm_tday = time; in Perl_gmtime64_r()
469 struct TM *Perl_localtime64_r (const Time64_T *time, struct TM *local_tm) in Perl_localtime64_r() argument
477 const bool use_system = SHOULD_USE_SYSTEM_LOCALTIME(*time); in Perl_localtime64_r()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gprof/
H A Dhist.c269 double time, credit; in hist_assign_samples() local
285 time = bin_count; in hist_assign_samples()
293 total_time += time; in hist_assign_samples()
320 symtab.base[j].name, overlap * time / hist_scale, in hist_assign_samples()
324 credit = overlap * time / hist_scale; in hist_assign_samples()
333 symtab.base[j].hist.time += credit; in hist_assign_samples()
392 if (ignore_zeros && sym->ncalls == 0 && sym->hist.time == 0) in print_line()
395 accum_time += sym->hist.time; in print_line()
399 total_time > 0.0 ? 100 * sym->hist.time / total_time : 0.0, in print_line()
400 accum_time / hz, sym->hist.time / hz); in print_line()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gprof/
H A Dhist.c272 double time, credit; in hist_assign_samples() local
288 time = bin_count; in hist_assign_samples()
296 total_time += time; in hist_assign_samples()
323 symtab.base[j].name, overlap * time / hist_scale, in hist_assign_samples()
327 credit = overlap * time / hist_scale; in hist_assign_samples()
336 symtab.base[j].hist.time += credit; in hist_assign_samples()
398 if (ignore_zeros && sym->ncalls == 0 && sym->hist.time == 0)
401 accum_time += sym->hist.time;
405 total_time > 0.0 ? 100 * sym->hist.time / total_time : 0.0,
406 accum_time / hz, sym->hist.time / hz);
[all …]
/openbsd-src/lib/libcrypto/asn1/
H A Da_time_posix.c94 is_valid_posix_time(int64_t time) in is_valid_posix_time() argument
96 return MIN_POSIX_TIME <= time && time <= MAX_POSIX_TIME; in is_valid_posix_time()
136 utc_from_posix_time(int64_t time, int *out_year, int *out_month, int *out_day, in utc_from_posix_time() argument
142 if (!is_valid_posix_time(time)) in utc_from_posix_time()
145 days = time / SECS_PER_DAY; in utc_from_posix_time()
146 leftover_seconds = time % SECS_PER_DAY; in utc_from_posix_time()
187 OPENSSL_posix_to_tm(int64_t time, struct tm *out_tm) in OPENSSL_posix_to_tm() argument
193 if (!utc_from_posix_time(time, &tmp_tm.tm_year, &tmp_tm.tm_mon, in OPENSSL_posix_to_tm()
226 asn1_time_time_t_to_tm(const time_t *time, struct tm *out_tm) in asn1_time_time_t_to_tm() argument
228 int64_t posix_time = *time; in asn1_time_time_t_to_tm()
[all …]
/openbsd-src/sys/dev/pci/drm/radeon/
H A Dradeon_benchmark.c76 unsigned int time, in radeon_benchmark_log_results() argument
80 unsigned int throughput = (n * (size >> 10)) / time; in radeon_benchmark_log_results()
83 kind, n, size >> 10, sdomain, ddomain, time, in radeon_benchmark_log_results()
94 int time; in radeon_benchmark_move() local
123 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move()
126 if (time < 0) in radeon_benchmark_move()
128 if (time > 0) in radeon_benchmark_move()
129 radeon_benchmark_log_results(n, size, time, in radeon_benchmark_move()
134 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move()
137 if (time < 0) in radeon_benchmark_move()
[all …]
/openbsd-src/lib/libc/time/
H A DTheory9 Names of time zone rule files
12 Time and time zones on Mars
16 These time and date functions are upwards compatible with POSIX,
29 * In POSIX, time display in a process is controlled by the
33 daylight saving time rules, or situations where more than two
34 time zone abbreviations are used in an area.
38 stdoffset[dst[offset],date[/time],date[/time]]
44 and daylight saving time (DST) zone names.
51 ahead of standard time.
52 date[/time],date[/time]
[all …]
/openbsd-src/gnu/usr.bin/perl/win32/bin/
H A Dsearch.pl264 local($file, $time) = shift(@ARGV);
266 unless $time = (stat($file))[$STAT_MTIME];
269 $time++ unless $upper;
270 $NEWER = $time if $NEWER < $time;
272 $time-- unless $upper;
273 $OLDER = $time if $OLDER == 0 || $OLDER > $time;
284 local($time) = $^T + $days;
285 $NEWER = $time if $NEWER < $time;
287 local($time) = $^T - $days;
288 $OLDER = $time if $OLDER == 0 || $OLDER > $time;
/openbsd-src/gnu/usr.bin/perl/dist/threads-shared/t/
H A Dwaithires.t16 if (! eval 'use Time::HiRes "time"; 1') {
85 $t0 = time();
86 $ok = cond_timedwait($_[0], time()+$_[1], $_[2]);
87 $t1 = time();
90 $t0 = time();
91 $ok = cond_timedwait($_[0], time()+$_[1]);
92 $t1 = time();
126 $t0 = time();
141 $t1 = time();
181 ok($testnum++, $child_time >= $to, "test_type: child exceeded time");
[all …]
/openbsd-src/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dutils.py5 import time
140 end_time = time.time() + timeout
150 timeout = end_time - time.time()
164 end_time = time.time() + timeout
181 timeout = end_time - time.time()
/openbsd-src/gnu/usr.bin/perl/dist/Time-HiRes/t/
H A Dnanosleep.t16 like $@, qr/::nanosleep\(-5\): negative time not invented yet/,
17 "negative time error";
19 my $one = CORE::time;
21 my $two = CORE::time;
23 my $three = CORE::time;
29 my $f = Time::HiRes::time();
31 my $f2 = Time::HiRes::time();
/openbsd-src/usr.bin/file/magdir/
H A Dtimezone12 >20 belong 0 \b, no gmt time flags
13 >20 belong 1 \b, 1 gmt time flag
14 >20 belong >1 \b, %d gmt time flags
15 >24 belong 0 \b, no std time flags
16 >20 belong 1 \b, 1 std time flag
17 >24 belong >1 \b, %d std time flags
22 >32 belong 1 \b, 1 transition time

12345678910>>...92