| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| gdb-sigterm.c | 25 unsigned int seconds = TIMEOUT + 20; local 27 alarm (seconds);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| gdb-sigterm.c | 25 unsigned int seconds = TIMEOUT + 20; local 27 alarm (seconds);
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/unix/include/isc/ |
| time.h | 42 unsigned int seconds; member in struct:isc_interval 52 unsigned int seconds, unsigned int nanoseconds); 54 * Set 'i' to a value representing an interval of 'seconds' seconds and 86 unsigned int seconds; member in struct:isc_time 93 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds); 95 * Set 't' to a value which represents the given number of seconds and 102 * isc_interval_set(i, seconds, nanoseconds); 245 * Return the number of seconds since the epoch stored in a time structure. 255 * Ensure the number of seconds in an isc_time_t is representable by a time_t [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/unix/include/isc/ |
| time.h | 39 unsigned int seconds; member in struct:isc_interval 55 isc_interval_set(isc_interval_t *i, unsigned int seconds, 58 * Set 'i' to a value representing an interval of 'seconds' seconds and 90 unsigned int seconds; member in struct:isc_time 97 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds); 99 * Set 't' to a value which represents the given number of seconds and 106 * isc_interval_set(i, seconds, nanoseconds); 269 * Return the number of seconds since the epoch stored in a time structure. 279 * Ensure the number of seconds in an isc_time_t is representable by a time_t [all...] |
| /src/external/bsd/kyua-cli/dist/utils/ |
| datetime.hpp | 52 /// The amount of seconds in the time delta. 53 int64_t seconds; member in class:utils::datetime::delta
|
| /src/external/bsd/tcpdump/dist/ |
| ntp.c | 29 #define JAN_1970 INT64_T_CONSTANT(2208988800) /* 1970 - 1900 in seconds */ 54 time_t seconds; local 58 seconds = (time_t)seconds_64bit; 59 if (seconds != seconds_64bit) { 68 "%Y-%m-%dT%H:%M:%SZ", gmtime(&seconds));
|
| print-zep.c | 82 time_t seconds = i - JAN_1970; local 87 localtime(&seconds)));
|
| print-arista.c | 89 arista_print_date_hms_time(netdissect_options *ndo, uint32_t seconds, 95 ts = seconds + (nanoseconds / 1000000000); 120 uint64_t seconds; local 142 seconds = GET_BE_U_4(bp); 144 arista_print_date_hms_time(ndo, seconds, nanoseconds); 148 seconds = GET_BE_U_2(bp); 150 seconds += nanoseconds / 1000000000; 152 ND_PRINT("%" PRIu64 ".%09u", seconds, nanoseconds);
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/ |
| dnsrps.c | 21 * -w sec.ond wait for seconds, because `sleep 0.1` is not portable 59 double seconds; local 125 seconds = strtod(optarg, &p); 126 if (seconds <= 0 || *p != '\0') { 130 usleep((int)(seconds * 1000.0 * 1000.0));
|
| /src/external/mpl/bind/dist/lib/isccfg/ |
| duration.c | 174 /* Record seconds. */ 234 * units is lost, and is treated as seconds from now on. 246 uint64_t seconds = 0; local 250 seconds += (uint64_t)duration->parts[6]; /* Seconds */ 251 seconds += (uint64_t)duration->parts[5] * 60; /* Minutes */ 252 seconds += (uint64_t)duration->parts[4] * 3600; /* Hours */ 253 seconds += (uint64_t)duration->parts[3] * 86400; /* Days */ 254 seconds += (uint64_t)duration->parts[2] * 86400 * 7; /* Weeks */ 259 seconds += (uint64_t)duration->parts[1] * 86400 * 31; /* Months * [all...] |
| /src/sys/arch/mac68k/mac68k/ |
| pram.c | 64 long year, month, day, hour, minute, seconds, i, dayperyear; local 71 seconds = 0; 114 seconds = t; 119 monstr[month], day, year, hour, minute, seconds);
|
| /src/external/bsd/nsd/dist/simdzone/src/generic/ |
| time.h | 77 const uint64_t seconds = minutes * 60 + sec; local 79 uint32_t time = htobe32((uint32_t)seconds);
|
| /src/external/bsd/openldap/dist/libraries/libldap/ |
| ppolicy.c | 92 exptimep (OUT) This result parameter is filled in with the number of seconds before 230 long seconds = 0; local 247 seconds = strtol( buf, &next, 10 ); 251 *secondsp = seconds;
|
| /src/external/gpl2/xcvs/dist/lib/ |
| getdate.y | 161 /* Gregorian year, month, day, hour, minutes, seconds, and nanoseconds. */ 167 struct timespec seconds; /* includes nanoseconds */ 169 /* Relative year, month, day, hour, minutes, seconds, and nanoseconds. */ 225 %type <timespec> seconds signed_seconds unsigned_seconds 235 '@' seconds 237 pc->seconds = $2; 289 pc->seconds.tv_sec = $5.tv_nsec / 10000000; 290 pc->seconds.tv_nsec = 0; 300 pc->seconds.tv_sec = 0; 301 pc->seconds.tv_nsec = 0 535 seconds: signed_seconds | unsigned_seconds; label [all...] |
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| time.h | 52 #define isc_interval_set(i, seconds, nanoseconds) \ 53 isc_time_set((isc_time_t *)i, seconds, nanoseconds) 55 * Set 'i' to a value representing an interval of 'seconds' seconds and 101 (NS_PER_SEC * (isc_nanosecs_t)(time).seconds + (time).nanoseconds) 108 .seconds = (ns) / NS_PER_SEC, \ 120 unsigned int seconds; member in struct:isc_time 127 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds); 129 * Set 't' to a value which represents the given number of seconds and 136 * isc_interval_set(i, seconds, nanoseconds) [all...] |
| /src/games/rogue/ |
| machdep.c | 235 time_t seconds; local 237 time(&seconds); 238 t = localtime(&seconds); 268 time_t seconds; local 272 seconds = sbuf.st_mtime; 273 t = localtime(&seconds); 325 * seconds. 397 * current time (minutes + seconds) returned from md_gct(), if implemented. 408 time_t seconds; local 410 time(&seconds); [all...] |
| /src/tests/kernel/kqueue/ |
| t_timer.c | 45 check_timespec(struct timespec *ts, time_t seconds) 47 time_t upper = seconds; 58 if (ts->tv_sec < seconds - 1 || 59 (ts->tv_sec == seconds - 1 && ts->tv_nsec < 500000000)) 67 seconds - 1, upper); 110 * Make sure TIME1_TOTAL_SEC seconds have 128 * Make sure TIME2_TOTAL_SEC seconds have 203 * Start a 500ms timer, sleep for 5 seconds, and check 218 * Modify to a 4 second timer, sleep for 5 seconds, and check 239 * Start a 500ms timer, sleep for 2 seconds 279 time_t seconds; local [all...] |
| /src/external/apache2/llvm/dist/libcxx/src/ |
| chrono.cpp | 74 static _LIBCPP_CONSTEXPR const seconds nt_to_unix_epoch{11644473600}; 94 return system_clock::time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000)); 102 return system_clock::time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec)); 118 return time_t(duration_cast<seconds>(t.time_since_epoch()).count()); 124 return system_clock::time_point(seconds(t)); 201 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); 226 auto seconds = counter.QuadPart / freq.QuadPart; local 228 auto dur = seconds * nano::den + fractions * nano::den / freq.QuadPart; 239 return steady_clock::time_point(seconds(ts.tv_sec) + nanoseconds(ts.tv_nsec)); 248 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)) [all...] |
| /src/external/bsd/nsd/dist/simdzone/src/westmere/ |
| time.h | 36 // example, we cannot have more than 59 seconds and never 60 seconds, in the 93 uint64_t seconds = (hi * 0x0384000F00004000) >> 46; local 118 uint64_t time_in_second64 = seconds + days * 60 * 60 * 24;
|
| /src/external/ibm-public/postfix/dist/src/global/ |
| mail_conf_time.c | 45 /* (seconds), m (minutes), h (hours), d (days) or w (weeks). 46 /* Internally, time is represented in seconds. 70 /* bounds are given in seconds. 236 static int seconds; local 242 "seconds", "10s", &seconds, 0, 0, 251 vstream_printf("10 seconds = %d\n", seconds);
|
| /src/games/phantasia/ |
| main.c | 92 time_t seconds; /* for time of day */ local 194 time(&seconds); 195 Player.p_lastused = localtime(&seconds)->tm_yday;
|
| /src/tests/lib/libc/time/ |
| t_strptime.c | 374 ATF_TC(seconds); variable 376 ATF_TC_HEAD(seconds, tc) 380 "Checks strptime(3) seconds conversions [S]"); 383 ATF_TC_BODY(seconds, tc) 552 * Convert back to POSIX seconds since epoch -- unless 598 ATF_TP_ADD_TC(tp, seconds);
|
| /src/usr.sbin/intrctl/ |
| intrctl.c | 247 int seconds = 0; local 261 seconds = atoi(optarg); 262 if (seconds < 0) 263 errx(1, "seconds must be positive."); 272 if (seconds == 0) 274 sleep(seconds);
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| benchmark_runner.cc | 67 const MemoryManager::Result& memory_result, double seconds) { 101 internal::Finish(&report.counters, results.iterations, seconds, b.threads); 191 double seconds; member in struct:benchmark::internal::__anon3652::BenchmarkRunner::IterationResults 233 i.seconds = i.results.cpu_time_used; 235 i.seconds = i.results.manual_time_used; 237 i.seconds = i.results.real_time_used; 245 // Note: Avoid division by zero with max(seconds, 1ns). 246 double multiplier = min_time * 1.4 / std::max(i.seconds, 1e-9); 252 bool is_significant = (i.seconds / min_time) > 0.1; 272 i.seconds >= min_time || // The elapsed time is large enough [all...] |
| /src/external/bsd/ntp/dist/libntp/lib/isc/unix/ |
| time.c | 90 unsigned int seconds, unsigned int nanoseconds) 95 i->seconds = seconds; 104 if (i->seconds == 0 && i->nanoseconds == 0) 119 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { 123 t->seconds = seconds; 131 t->seconds = 0; 140 if (t->seconds == 0 && t->nanoseconds == 0) 177 * Ensure the tv_sec value fits in t->seconds 339 time_t seconds; local [all...] |