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

1234

/external/libcups/cups/
H A Dtestgetdests.c34 double secs; /* Total seconds to run cupsGetDests */ local
42 secs = end.tv_sec - start.tv_sec + 0.000001 * (end.tv_usec - start.tv_usec);
44 printf("Found %d printers in %.3f seconds...\n", num_dests, secs);
/external/autotest/client/site_tests/platform_ToolchainTests/src/
H A Dclang-fortify-driver.cpp16 static void SetTimeout(int secs) { argument
30 alarm(secs);
/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/skqp/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/tensorflow/tensorflow/core/platform/cloud/
H A Dgcs_throttle_test.cc31 void AdvanceSeconds(int64 secs) { now_ += secs * 1000000L; } argument
/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.c96 time_t secs; local
109 secs = epoch_offset + tv.tv_sec;
110 now = localtime(&secs); /* not thread safe but we don't care */
/external/libcxx/src/experimental/filesystem/
H A Dfilesystem_time_helper.h116 auto secs = duration_cast<seconds>(tm.time_since_epoch()); local
117 auto nsecs = duration_cast<nanoseconds>(tm.time_since_epoch() - secs);
119 secs = secs + seconds(1);
123 if (secs.count() >= 0)
124 return secs.count() <= TLim::max();
125 return secs.count() >= TLim::min();
/external/linux-kselftest/tools/testing/selftests/timers/
H A Dclocksource-switch.c106 int run_tests(int secs) argument
111 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.h72 * automatically, so that repeated calls to msec() or secs() will always return the
98 double secs() const { return (fCurrTimeNanos - fBaseTimeNanos) * 1e-9; } function in class:SkAnimTimer
106 double value = this->secs() * speed;
118 return PingPong(this->secs(), period, phase, ends, mid);
/external/skqp/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.c55 time_t secs; local
67 secs = epoch_offset + tv.tv_sec;
68 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.c122 time_t secs; local
133 secs = epoch_offset + tv.tv_sec;
134 now = localtime(&secs); /* not thread safe but we don't care */
/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...]

Completed in 1623 milliseconds

1234