Searched refs:tv (Results 26 - 46 of 46) sorted by relevance

12

/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_timers.c167 evTimeSpec(struct timeval tv) { argument
170 ts.tv_sec = tv.tv_sec;
171 ts.tv_nsec = tv.tv_usec * 1000;
177 struct timeval tv; local
179 tv.tv_sec = ts.tv_sec;
180 tv.tv_usec = (suseconds_t)(ts.tv_nsec / 1000);
181 return (tv);
/haiku/src/libs/print/libprint/
H A DMarginView.cpp486 BTextView *tv = textControl->TextView(); local
489 tv->DisallowChar(i);
492 tv->AllowChar(i);
494 tv->AllowChar(B_BACKSPACE);
496 tv->AllowChar('.');
497 tv->SetMaxBytes(maxNum);
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dbfs.h242 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/kits/network/libnetapi/
H A DNetEndpoint.cpp477 struct timeval tv; local
489 tv.tv_sec = timeout / 1000000;
490 tv.tv_usec = (timeout % 1000000);
496 timeout >= 0 ? &tv : NULL);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_fs.cpp244 const struct timespec tv[2])
247 return fs->ops.utimens(path, tv);
251 tv[0].tv_sec, // access time
252 tv[1].tv_sec // modification time
243 fuse_fs_utimens(struct fuse_fs* fs, const char* path, const struct timespec tv[2]) argument
H A DFUSEVolume.cpp1585 timespec tv[2] = { local
1600 tv[0].tv_sec = currentStat.st_atime;
1602 tv[1].tv_sec = currentStat.st_mtime;
1605 int fuseError = fuse_fs_utimens(fFS, path, tv);
/haiku/src/bin/network/ping/
H A Dping.c953 struct timespec *tv = NULL; local
971 cmsg->cmsg_len == CMSG_LEN(sizeof *tv)) {
974 tv = &now;
977 if (tv == NULL) {
979 tv = &now;
981 pr_pack((char *)packet, cc, &from, tv);
1129 pr_pack(char *buf, ssize_t cc, struct sockaddr_in *from, struct timespec *tv) argument
1202 timespecsub(tv, &tv1, tv);
1203 triptime = ((double)tv
[all...]
H A Dping6.c1415 struct timespec tv; local
1417 (void)clock_gettime(CLOCK_MONOTONIC, &tv);
1424 tv32.tv32_sec = (uint32_t)htonl(tv.tv_sec);
1425 tv32.tv32_nsec = (uint32_t)htonl(tv.tv_nsec);
1573 struct timespec tv, tp; local
1582 (void)clock_gettime(CLOCK_MONOTONIC, &tv);
1622 timespecsub(&tv, &tp, &tv);
1623 triptime = ((double)tv.tv_sec) * 1000.0 +
1624 ((double)tv
[all...]
/haiku/src/kits/support/
H A DDateTime.cpp149 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/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/
H A Dsample.c1437 struct ath_rateioctl_rt *tv; local
1461 tv = malloc(sizeof(struct ath_rateioctl_rt), M_TEMP,
1463 if (tv == NULL) {
1470 tv->nentries = rt->rateCount;
1472 tv->ratecode[y] = rt->info[y].dot11Rate & IEEE80211_RATE_VAL;
1474 tv->ratecode[y] |= IEEE80211_RATE_MCS;
1485 copyout(tv, rs->buf + o, sizeof(struct ath_rateioctl_rt));
1502 free(tv, M_TEMP);
/haiku/headers/private/userlandfs/fuse/
H A Dfuse.h445 int (*utimens) (const char *, const struct timespec tv[2]);
868 const struct timespec tv[2]);
/haiku/src/tests/system/libroot/posix/
H A Drealtime_sem_test1.cpp30 timeval tv; local
31 gettimeofday(&tv, NULL);
32 return (bigtime_t)tv.tv_sec * 1000000 + tv.tv_usec;
/haiku/src/system/boot/platform/atari_m68k/
H A Dvideo.cpp472 bool tv = false;
482 tv = true;
602 m & 0x0010 ? " vga" : " tv",
605 //m & 0x0080 ? " tv" : "",
684 bool tv = false;
694 tv = true;
817 m & 0x0010 ? " vga" : " tv",
820 //m & 0x0080 ? " tv" : "",
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c1203 struct timeval tv, *tvp; local
1208 tvp = &tv;
1209 tv = evTimeVal(*tsp);
1218 *tsp = evTimeSpec(tv);
/haiku/src/tests/add-ons/kernel/drivers/tty/
H A Dtty-test.cpp156 timeval tv = { timeout / 1000000, timeout % 1000000 }; local
159 (timeout >= 0 ? &tv : NULL));
/haiku/headers/private/firewire/
H A Dfirewirereg.h305 // struct timeval tv;
306 bigtime_t tv; member in struct:fw_xfer
/haiku/src/system/kernel/fs/
H A Drootfs.cpp153 timespec tv; local
154 tv.tv_sec = time / 1000000;
155 tv.tv_nsec = (time % 1000000) * 1000;
156 return tv;
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfirewire.cpp289 // 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...]
H A Dfwohci.cpp1169 // microtime(&xfer->tv);
1170 xfer->tv = system_time();
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c302 struct timeval tv; /* time packet left */ member in struct:outdata
1053 memcpy(&outdata.tv, &t1, sizeof(outdata.tv));
/haiku/src/system/kernel/device_manager/
H A Ddevfs.cpp189 timespec tv; local
190 tv.tv_sec = time / 1000000;
191 tv.tv_nsec = (time % 1000000) * 1000;
192 return tv;

Completed in 151 milliseconds

12