Searched refs:tv_sec (Results 1 - 25 of 119) sorted by last modified time

12345

/haiku/src/add-ons/kernel/network/stack/
H A Dnet_socket.cpp1075 timeval->tv_sec = timeout / 1000000LL;
1507 bigtime_t timeout = timeval->tv_sec * 1000000LL + timeval->tv_usec;
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DInode.cpp54 stamp.tv_sec = fNode->di_mtime.t_sec;
62 stamp.tv_sec = fNode->di_atime.t_sec;
70 stamp.tv_sec = fNode->di_ctime.t_sec;
78 stamp.tv_sec = fNode->di_crtime.t_sec;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp515 t.tv_sec = microseconds / 1000000;
H A DInode.cpp149 timespec.tv_sec = now / 1000000;
/haiku/headers/compatibility/bsd/sys/
H A Dtime.h19 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
23 (res)->tv_sec++; \
28 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
32 (res)->tv_sec--; \
35 #define timespecclear(a) ((a)->tv_sec = (a)->tv_nsec = 0)
36 #define timespecisset(a) ((a)->tv_sec !
[all...]
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c1261 wait.tv_sec = tp->tv_sec + waittime;
1265 if (wait.tv_sec < 0) {
1266 wait.tv_sec = 0;
1364 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 +
1871 --out->tv_sec;
1874 out->tv_sec -= in->tv_sec;
/haiku/src/bin/network/ping/
H A Dping6.c325 intvl.tv_sec = interval / 1000;
460 intvl.tv_sec = (time_t)t;
462 (long)((t - intvl.tv_sec) * 1000000000);
463 if (intvl.tv_sec < 0)
466 if (intvl.tv_sec == 0 && intvl.tv_nsec < 1000) {
582 itv.it_value.tv_sec = (time_t)alarmtimeout;
1174 intvl.tv_sec = 0;
1197 if (timeout.tv_sec < 0)
1263 intvl.tv_sec = 2 * tmax / 1000;
1264 if (intvl.tv_sec
[all...]
H A Dping.c510 itv.it_value.tv_sec = (time_t)alarmtimeout;
919 intvl.tv_sec = 0;
922 intvl.tv_sec = interval / 1000;
946 if (timeout.tv_sec < 0)
1010 intvl.tv_sec = 2 * tmax / 1000;
1011 if (intvl.tv_sec == 0)
1012 intvl.tv_sec = 1;
1014 intvl.tv_sec = waittime / 1000;
1067 tv32.tv32_sec = (uint32_t)htonl(now.tv_sec);
1070 icp.icmp_otime = htonl((now.tv_sec
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp1600 tv[0].tv_sec = currentStat.st_atime;
1602 tv[1].tv_sec = currentStat.st_mtime;
/haiku/src/apps/haikudepot/util/
H A DStorageUtils.cpp213 (static_cast<uint64>(s.st_atim.tv_sec) * 1000) + (static_cast<uint64>(s.st_atim.tv_nsec) / 1000)));
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_node.c3139 .tv_sec = 1, .tv_usec = 0
/haiku/src/system/kernel/fs/
H A Dsocket.cpp269 now.tv_sec = time(NULL);
H A Drootfs.cpp154 tv.tv_sec = time / 1000000;
1079 stat->st_atim.tv_sec = real_time_clock();
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfile.cpp203 st->st_atim.tv_sec = st->st_mtim.tv_sec = st->st_ctim.tv_sec
205 st->st_crtim.tv_sec = node->st_crtim;
/haiku/src/kits/network/libnetapi/
H A DAbstractSocket.cpp121 tv.tv_sec = timeout / 1000000LL;
142 return tv.tv_sec * 1000000LL + tv.tv_usec;
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dkernel_interface.cpp698 && stat->st_ctim.tv_sec > newTimespec.tv_sec)
701 if (newTimespec.tv_sec == 0)
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c992 if (timeout.tv_sec < 0)
994 polltimeout = 1000*(int)timeout.tv_sec +
H A Dres_init.c698 u32 = (uint32_t)now.tv_sec;
702 u32 += (uint32_t)now.tv_sec;
717 u16 = (uint16_t) (now.tv_sec ^ now.tv_usec);
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_timers.c77 x.tv_sec = sec;
86 x.tv_sec = addend1.tv_sec + addend2.tv_sec;
89 x.tv_sec++;
99 x.tv_sec = minuend.tv_sec - subtrahend.tv_sec;
104 x.tv_sec--;
112 time_t s = a.tv_sec
[all...]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DInode.h18 int tv_sec, tv_usec; member in struct:timeval32
64 timespec.tv_sec = time.tv_sec;
/haiku/src/tests/system/network/
H A Dunix_send_test.c20 .tv_sec = 1,
/haiku/src/libs/bsd/
H A Dkqueue.cpp187 timeout = (tspec->tv_sec * 1000000LL) + (tspec->tv_nsec / 1000LL);
/haiku/src/system/libroot/posix/
H A Dsemaphore.cpp173 timeoutMicros = ((bigtime_t)timeout->tv_sec) * 1000000
225 timeoutMicros = ((bigtime_t)timeout->tv_sec) * 1000000
/haiku/src/system/kernel/device_manager/
H A Ddevfs.cpp190 tv.tv_sec = time / 1000000;
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Dkernel_interface.cpp501 st->st_ctim.tv_sec = st->st_mtim.tv_sec = st->st_atim.tv_sec = time;

Completed in 211 milliseconds

12345