/haiku/headers/posix/sys/ |
H A D | time.h | 44 extern int gettimeofday(struct timeval *tv, void *tz);
|
/haiku/headers/private/firewire/ |
H A D | firewirereg.h | 305 // struct timeval tv; 306 bigtime_t tv; member in struct:fw_xfer
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_common.h | 227 struct timeval tv; local 229 tv.tv_sec = usecs / 1000000; 230 tv.tv_usec = usecs % 1000000; 231 select(0, NULL, NULL, NULL, &tv); 239 struct timeval tv; local 241 tv.tv_sec = msecs / 1000; 242 tv.tv_usec = (msecs - tv.tv_sec * 1000) * 1000; 243 select(0, NULL, NULL, NULL, &tv);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_alq.c | 159 struct timeval tv; local 164 microtime(&tv); 181 ap->tstamp_sec = htobe32((uint32_t) tv.tv_sec); 182 ap->tstamp_usec = htobe32((uint32_t) tv.tv_usec);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | bfs.h | 242 static int64 ToInode(const timespec& tv) argument 243 { return ((int64)tv.tv_sec << INODE_TIME_SHIFT) 244 + unique_from_nsec(tv.tv_nsec); }
|
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Flurry.cpp | 313 struct timeval tv; local 314 gettimeofday(&tv, NULL); 316 srand((999 * tv.tv_sec) + (1001 * tv.tv_usec) + (1003 * getpid()));
|
/haiku/src/apps/glteapot/ |
H A D | GLObject.h | 29 float tu,tv; member in struct:point
|
/haiku/src/kits/support/ |
H A D | DateTime.cpp | 149 struct timeval tv; local 150 if (gettimeofday(&tv, NULL) != 0) { 152 time(&tv.tv_sec); 158 timeinfo = gmtime_r(&tv.tv_sec, &result); 160 timeinfo = localtime_r(&tv.tv_sec, &result); 167 tv.tv_usec);
|
/haiku/src/libs/uuid/ |
H A D | gen_uuid.c | 75 struct timeval tv; local 80 gettimeofday(&tv, 0); 89 srand((getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec); 91 jrand_seed[0] = getpid() ^ (tv.tv_sec & 0xFFFF); 92 jrand_seed[1] = getppid() ^ (tv.tv_usec & 0xFFFF); 93 jrand_seed[2] = (tv.tv_sec ^ tv.tv_usec) >> 16; 97 gettimeofday(&tv, 0); 98 for (i = (tv 235 struct timeval tv; local [all...] |
H A D | test_uuid.c | 76 struct timeval tv; local 143 tv.tv_sec = 0; 144 tv.tv_usec = 0; 145 time_reg = uuid_time(buf, &tv); 147 time_gen, time_reg, tv.tv_sec, (long)tv.tv_usec);
|
H A D | uuid_time.c | 48 struct timeval tv; local 59 tv.tv_sec = clock_reg / 10000000; 60 tv.tv_usec = (clock_reg % 10000000) / 10; 63 *ret_tv = tv; 65 return tv.tv_sec; 114 struct timeval tv; local 127 time_reg = uuid_time(buf, &tv); 156 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, (long)tv.tv_usec,
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | tempname.c | 117 struct timeval tv; \ 118 __gettimeofday (&tv, NULL); \ 119 value = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec; \ 269 struct timeval tv; local 270 gettimeofday(&tv, NULL); 271 random_time_bits = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec;
|
/haiku/src/system/libroot/posix/stdlib/ |
H A D | mktemp.c | 120 struct timeval tv; local 121 gettimeofday(&tv, 0); 122 seed = (getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec;
|
/haiku/src/system/libroot/posix/sys/ |
H A D | ftime.c | 15 struct timeval tv; local 20 gettimeofday(&tv, &tz); 22 timeb->time = tv.tv_sec; 23 timeb->millitm = tv.tv_usec / 1000UL;
|
H A D | gettimeofday.c | 12 gettimeofday(struct timeval *tv, void *tz) argument 14 if (tv != NULL) { 17 tv->tv_sec = usecs / 1000000; 18 tv->tv_usec = usecs % 1000000;
|
/haiku/src/tests/add-ons/kernel/drivers/tty/ |
H A D | tty-test.cpp | 156 timeval tv = { timeout / 1000000, timeout % 1000000 }; local 159 (timeout >= 0 ? &tv : NULL));
|
/haiku/src/tests/system/libroot/posix/ |
H A D | TestUnitUtils.h | 11 timeval tv; local 12 gettimeofday(&tv, NULL); 13 timeout.tv_sec = tv.tv_sec + relativeTimeout / 1000000; 14 timeout.tv_nsec = (tv.tv_usec + relativeTimeout % 1000000) * 1000;
|
H A D | realtime_sem_test1.cpp | 30 timeval tv; local 31 gettimeofday(&tv, NULL); 32 return (bigtime_t)tv.tv_sec * 1000000 + tv.tv_usec;
|
/haiku/src/tests/system/network/ |
H A D | firefox_crash.cpp | 78 struct timeval tv; local 79 tv.tv_sec = 100000; 80 tv.tv_usec = 0; 84 if (select(pair[0] + 1, NULL, &set, NULL, &tv) < 0) 100 struct timeval tv; local 101 tv.tv_sec = 100000; 102 tv.tv_usec = 0; 106 if (select(listenSocket + 1, &set, NULL, NULL, &tv) < 0)
|
H A D | select_test.c | 19 struct timeval tv; local 35 tv.tv_sec = 5; 36 tv.tv_usec = 0; 40 rv = select(s + 1, &fdr, NULL, &fde, &tv);
|
H A D | select_test2.c | 19 struct timeval tv; local 46 tv.tv_sec = 5; 47 tv.tv_usec = 0; 51 rv = select(s + 1, &fdr, NULL, &fde, &tv);
|
H A D | select_test_big.c | 22 struct timeval tv; local 62 tv.tv_sec = 5; 63 tv.tv_usec = 0; 67 rv = select(max + 1, &fdr, NULL, &fde, &tv);
|
/haiku/src/tools/fs_shell/ |
H A D | time.cpp | 39 timeval tv; local 40 gettimeofday(&tv, NULL); 42 return tv.tv_sec; 49 timeval tv; local 50 gettimeofday(&tv, NULL); 52 return tv.tv_sec * 1000000LL + tv.tv_usec;
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse.h | 445 int (*utimens) (const char *, const struct timespec tv[2]); 868 const struct timespec tv[2]);
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire.cpp | 289 // struct timeval tv; 291 bigtime_t tv; local 298 // microtime(&tv); 299 // timevalsub(&tv, &split_timeout); 300 tv = system_time(); 301 tv -= 200*1000; 311 // if (timevalcmp(&xfer->tv, &tv, >)) 312 if (xfer->tv > tv) [all...] |