Searched defs:secs (Results 1 - 25 of 80) sorted by relevance

1234

/external/syslinux/gpxe/src/hci/commands/
H A Dtime_cmd.c32 int rc, secs; local
48 secs = (currticks() - start) / ticks_per_sec();
50 printf ( "%s: %ds\n", argv[0], secs );
/external/libunwind/tests/
H A Dforker.c37 double secs; local
71 secs = ((stop.tv_sec + 1e-6 * stop.tv_usec)
74 (unsigned long) (1e9 * secs / (double) count));
/external/ltp/testcases/lib/
H A Dtst_sleep.c45 long interval, secs = 0, usecs = 0; local
87 secs = interval;
90 secs = interval / 1000;
95 secs = interval / 1000000;
99 if (secs)
100 sleep(secs);
/external/skia/samplecode/
H A DSampleAnimBlur.cpp15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { argument
19 double t = secs + phaseInSec;
61 fBlurSigma = get_anim_sin(timer.secs(), 100, 4, 5);
62 fCircleRadius = 3 + get_anim_sin(timer.secs(), 150, 25, 3);
/external/ltp/tools/pounder21/
H A Dtimed_loop.c62 int secs, stat; local
125 secs = atoi(argv[3]);
127 secs = atoi(argv[1]);
129 alarm(secs);
H A Dfancy_timed_loop.c58 int secs, stat; local
123 secs = atoi(argv[3]);
124 alarm(secs);
130 secs = atoi(argv[1]);
131 alarm(secs);
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_imaadpcm.c285 EAS_I32 secs, msecs; local
305 /* break down into secs and msecs */
306 secs = time / 1000;
307 msecs = time - (secs * 1000);
314 temp += secs * pState->sampleRate;
/external/syslinux/com32/lua/src/
H A Ddhcp.h37 uint16_t secs; /* Secs elapsed since client boot */ member in struct:dhcp
/external/curl/tests/libtest/
H A Dtesttrace.c94 time_t secs; local
107 secs = epoch_offset + tv.tv_sec;
108 now = localtime(&secs); /* not thread safe but we don't care */
/external/linux-kselftest/tools/testing/selftests/timers/
H A Dclocksource-switch.c117 int run_tests(int secs) argument
122 sprintf(buf, "./inconsistency-check -t %i", secs);
/external/skia/gm/
H A DanimatedGif.cpp155 double secs = timer.msec() * .1; variable
161 fNextUpdate = secs + fFrameInfos[fFrame].fDuration;
166 if (secs < fNextUpdate) {
170 while (secs >= fNextUpdate) {
H A DSkAnimTimer.h67 * automatically, so that repeated calls to msec() or secs() will always return the
93 double secs() const { return (fCurrTimeNanos - fBaseTimeNanos) * 1e-9; } function in class:SkAnimTimer
101 double value = this->secs() * speed;
113 return PingPong(this->secs(), period, phase, ends, mid);
/external/syslinux/com32/include/
H A Ddhcp.h17 uint16_t secs; /* 8 */ member in struct:dhcp_packet
/external/curl/src/
H A Dtool_cb_dbg.c54 time_t secs; local
66 secs = epoch_offset + tv.tv_sec;
67 now = localtime(&secs); /* not thread safe but we don't care */
/external/e2fsprogs/debugfs/
H A Dlsdel.c85 long secs = 0; local
91 "[secs]", 0))
95 secs = strtol(argv[1],&tmp,0);
136 (secs && (labs(now - secs) > (long) inode.i_dtime)))
/external/libcups/filter/
H A Drasterbench.c44 static double compute_median(double *secs);
127 compute_median(double *secs) /* I - Array of time samples */ argument
139 if (secs[i] > secs[j])
141 temp = secs[i];
142 secs[i] = secs[j];
143 secs[j] = temp;
150 return (0.5 * (secs[TEST_PASSES / 2 - 1] + secs[TEST_PASSE
[all...]
/external/curl/docs/examples/
H A Dhttp2-upload.c120 time_t secs; local
131 secs = epoch_offset + tv.tv_sec;
132 now = localtime(&secs); /* not thread safe but we don't care */
/external/dnsmasq/contrib/wrt/
H A Ddhcp_lease_time.c64 u16 secs, flags; member in struct:dhcp_packet
/external/e2fsprogs/lib/e2p/
H A Dls.c58 static const char *interval_string(unsigned int secs) argument
65 if (secs == 0)
68 if (secs >= MONTH_INT) {
69 num = secs / MONTH_INT;
70 secs -= num*MONTH_INT;
73 if (secs >= WEEK_INT) {
74 num = secs / WEEK_INT;
75 secs -= num*WEEK_INT;
80 if (secs >= DAY_INT) {
81 num = secs / DAY_IN
[all...]
/external/libdrm/tests/
H A Ddrmstat.c111 int secs; local
162 secs = strtoul(pt+1, NULL, 0);
184 sleep(secs);
/external/linux-kselftest/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi.c293 time_t secs; local
297 secs = (ts.tv_nsec + timeout_ns) / 1000000000;
299 ts.tv_sec += secs;
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dmodule.hpp124 std::vector<section> secs; member in struct:clover::module
/external/toybox/toys/pending/
H A Dbrctl.c177 double secs; local
179 if (sscanf(time, "%lf", &secs) != 1) error_exit("time format not proper");
180 tv->tv_sec = secs;
181 tv->tv_usec = 1000000 * (secs - tv->tv_sec);
/external/webrtc/webrtc/base/
H A Dtimeutils.cc133 time_t secs = timeval.tv_sec; local
134 gmtime_r(&secs, tm);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_wired.c65 u_int16_t secs; member in struct:dhcp_message

Completed in 1147 milliseconds

1234