Searched refs:secs (Results 1 - 25 of 40) sorted by relevance

12

/haiku-fatelf/src/system/libroot/posix/time/
H A Dtime.c14 time_t secs = real_time_clock(); local
17 *timer = secs;
19 return secs;
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dufuncs.c44 falarm(secs, usecs)
45 unsigned int secs, usecs;
52 it.it_value.tv_sec = secs;
65 falarm (secs, usecs)
66 unsigned int secs, usecs;
68 if (secs == 0 && usecs == 0)
71 if (secs == 0 || usecs >= 500000)
73 secs++;
76 return (alarm (secs));
/haiku-fatelf/src/build/libroot/
H A Dmisc.cpp51 int64 secs = amount / 1000000LL;
53 if (secs > 0) {
54 if (sleep((unsigned)secs) < 0)
/haiku-fatelf/src/apps/clock/
H A Dcl_wind.cpp78 bool secs; local
79 read(ref, (char *)&secs, sizeof(bool));
80 fOnScreenView->ShowSecs(secs);
H A Dcl_view.h68 void ShowSecs(bool secs);
/haiku-fatelf/src/tests/kits/locale/
H A DcollatorSpeed.cpp64 double secs = watch.ElapsedTime() / 1000000.0; local
65 printf("\t%s%9Ld usecs, %6.3g secs,%9lu keys/s\n",
66 name, watch.ElapsedTime(), secs, uint32(kIterations * kNumStrings / secs));
/haiku-fatelf/src/kits/network/libbind/nameser/
H A Dns_ttl.c54 int secs, mins, hours, days, weeks, x; local
57 secs = src % 60; src /= 60;
80 if (secs || !(weeks || days || hours || mins)) {
81 T(fmt1(secs, 'S', &dst, &dstlen));
/haiku-fatelf/src/kits/bluetooth/
H A DDiscoveryAgent.cpp45 DiscoveryAgent::StartInquiry(uint32 accessCode, DiscoveryListener* listener, bigtime_t secs) argument
53 if (secs < 1 || secs > 61 )
71 startInquiryCommand = buildInquiry(accessCode, secs, BT_MAX_RESPONSES, &size);
/haiku-fatelf/src/apps/cortex/addons/common/
H A DSoundUtils.cpp54 s_to_us(double secs) argument
56 return (bigtime_t) (secs * 1000000.0);
97 // = secs which is what we want.
121 // secs * ( (frames/sec) / (frames/buffer) ) = secs * (buffers/sec) = buffers
H A DSoundUtils.h49 bigtime_t s_to_us(double secs);
/haiku-fatelf/src/apps/cortex/support/
H A DSoundUtils.cpp54 s_to_us(double secs) argument
56 return (bigtime_t) (secs * 1000000.0);
97 // = secs which is what we want.
121 // secs * ( (frames/sec) / (frames/buffer) ) = secs * (buffers/sec) = buffers
H A DSoundUtils.h49 bigtime_t s_to_us(double secs);
/haiku-fatelf/src/kits/media/
H A DSoundUtils.cpp23 s_to_us(double secs) argument
25 return (bigtime_t) (secs * 1000000.0);
67 // = secs which is what we want.
92 // secs * ( (frames/sec) / (frames/buffer) ) = secs * (buffers/sec)
/haiku-fatelf/src/system/libroot/os/
H A Dtime.cpp62 set_real_time_clock(uint32 secs) argument
64 _kern_set_real_time_clock((bigtime_t)secs * 1000000);
/haiku-fatelf/src/bin/gdb/gdb/
H A Dsolib-osf.c113 /* Per-section information, stored in struct lm_info.secs. */
128 int nsecs; /* length of .secs */
129 struct lm_sec secs[1]; /* variable-length array of sections, sorted member in struct:lm_info
198 /* Sort LMI->secs so that osf_relocate_section_addresses() can binary-search
204 qsort (lmi->secs, lmi->nsecs, sizeof *lmi->secs, lm_sec_cmp);
207 /* Populate name fields of LMI->secs. */
219 lms = lmi->secs + i;
244 if (lmi->nsecs && !lmi->secs[0].name)
249 lms = bsearch (&lms_key, lmi->secs, lm
[all...]
/haiku-fatelf/src/bin/network/tcpdump/
H A Dutil.c211 relts_print(int secs) argument
218 if (secs == 0) {
222 if (secs < 0) {
224 secs = -secs;
226 while (secs > 0) {
227 if (secs >= *s) {
228 (void)printf("%d%s", secs / *s, *l);
229 secs -= (secs / *
[all...]
/haiku-fatelf/headers/private/media/
H A DSoundUtils.h19 bigtime_t s_to_us(double secs);
/haiku-fatelf/src/bin/network/wget/src/
H A Dprogress.c1142 eta_to_human_short (int secs, bool condensed)
1151 if (secs == last)
1153 last = secs;
1155 if (secs < 100)
1156 sprintf (buf, "%ds", secs);
1157 else if (secs < 100 * 60)
1158 sprintf (buf, "%dm%s%ds", secs / 60, space, secs % 60);
1159 else if (secs < 48 * 3600)
1160 sprintf (buf, "%dh%s%dm", secs / 360
1140 eta_to_human_short(int secs, bool condensed) argument
[all...]
H A Dretr.c536 retr_rate (wgint bytes, double secs)
542 double dlrate = calc_rate (bytes, secs, &units);
561 calc_rate (wgint bytes, double secs, int *units)
565 assert (secs >= 0);
568 if (secs == 0)
573 secs = ptimer_resolution () / 2.0;
575 dlrate = bytes / secs;
533 retr_rate(wgint bytes, double secs) argument
558 calc_rate(wgint bytes, double secs, int *units) argument
H A Dmain.c478 --random-wait wait from 0...2*WAIT secs between retrievals.\n"),
707 int secs = (int) (interval + 0.5);
710 days = secs / 86400, secs %= 86400;
711 hours = secs / 3600, secs %= 3600;
712 mins = secs / 60, secs %= 60;
715 sprintf (buf, "%dd %dh %dm %ds", days, hours, mins, secs);
717 sprintf (buf, "%dh %dm %ds", hours, mins, secs);
705 int secs = (int) (interval + 0.5); local
[all...]
/haiku-fatelf/headers/os/bluetooth/
H A DDiscoveryAgent.h24 #define BT_MIN_INQUIRY_TIME (0x01) // 1.18 secs
25 #define BT_MAX_INQUIRY_TIME (0x30) // 61.44 secs
44 status_t StartInquiry(uint32 accessCode, DiscoveryListener* listener, bigtime_t secs);
/haiku-fatelf/src/add-ons/media/media-add-ons/mixer/
H A DMixerUtils.h44 bigtime_t s_to_us(double secs);
H A DMixerUtils.cpp276 s_to_us(double secs) argument
278 return (bigtime_t) (secs * 1000000.0);
/haiku-fatelf/src/bin/sharutils/lib/
H A Dmktime.c104 #define doit(x, secs) \
105 v1 += t1->x * secs; \
106 v2 += t2->x * secs; \
/haiku-fatelf/src/tools/docbook/libxslt/libexslt/
H A Ddate.c749 time_t secs; local
763 secs = time(NULL);
765 localtime_r(&secs, &localTmS);
768 localTm = localtime(&secs);
784 gmtime_r(&secs, &gmTmS);
787 gmTm = gmtime(&secs);
1088 double secs, days; local
1098 secs = dt->sec;
1104 if (secs < 0.0) {
1105 secs
3035 double secs; local
[all...]

Completed in 150 milliseconds

12