Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 86) sorted by relevance

1234

/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_time.c38 ratecheck(struct timeval *lasttime, const struct timeval *mininterval) in ratecheck()
40 struct timeval tv, delta; in ratecheck()
75 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) in ppsratecheck()
96 timevalfix(struct timeval *t1) in timevalfix()
117 timevaladd(struct timeval *t1, const struct timeval *t2) in timevaladd()
126 timevalsub(struct timeval *t1, const struct timeval *t2) in timevalsub()
H A Dclock.c19 getmicrouptime(struct timeval *tvp) in getmicrouptime()
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dtime.h66 void getmicrouptime(struct timeval *tvp);
68 int ppsratecheck(struct timeval *, int *, int);
69 int ratecheck(struct timeval *, const struct timeval *);
70 void timevaladd(struct timeval *t1, const struct timeval *t2);
71 void timevalsub(struct timeval *t1, const struct timeval *t2);
/haiku/headers/posix/sys/
H A Dtime.h12 struct timeval { struct
29 struct timeval it_interval;
30 struct timeval it_value;
44 extern int gettimeofday(struct timeval *tv, void *tz);
46 extern int utimes(const char *path, const struct timeval times[2]);
H A Dresource.h45 struct timeval ru_utime; /* user time used */
46 struct timeval ru_stime; /* system time used */
/haiku/src/libs/bsd/
H A Dlutimes.c15 extern int _utimes(const char* path, const struct timeval times[2],
20 lutimes(const char* path, const struct timeval times[2]) in lutimes()
/haiku/headers/private/libroot/
H A Dtime_private.h57 timeval_to_timespec(const timeval& val, timespec& spec) in timeval_to_timespec()
70 timeval_to_bigtime(const timeval& val, bigtime_t& _time) in timeval_to_bigtime()
78 timespec_to_timeval(const timespec& spec, timeval& val) in timespec_to_timeval()
/haiku/src/tools/fs_shell/
H A Dtime.cpp39 timeval tv; in fssh_real_time_clock()
49 timeval tv; in fssh_real_time_clock_usecs()
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dtime.h15 struct timeval tv; in getuptime()
22 USEC_TO_TIMEVAL(uint64_t us, struct timeval *tv) in USEC_TO_TIMEVAL()
/haiku/src/libs/uuid/
H A Duuid_time.c46 time_t uuid_time(const uuid_t uu, struct timeval *ret_tv) in uuid_time()
48 struct timeval tv; in uuid_time()
114 struct timeval tv; in main()
/haiku/src/system/libroot/posix/sys/
H A Dutimes.c20 _utimes(const char* path, const struct timeval times[2], bool traverseLink);
24 _utimes(const char* path, const struct timeval times[2], bool traverseLink) in _utimes()
50 utimes(const char* path, const struct timeval times[2]) in utimes()
H A Dgettimeofday.c12 gettimeofday(struct timeval *tv, void *tz) in gettimeofday()
H A Dftime.c15 struct timeval tv; in ftime()
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_rssadapt.h74 struct timeval ra_last_raise;
75 struct timeval ra_raise_interval;
/haiku/src/kits/network/libnetapi/
H A DAbstractSocket.cpp120 struct timeval tv; in SetTimeout()
124 if (setsockopt(fSocket, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(timeval)) != 0 in SetTimeout()
126 sizeof(timeval)) != 0) { in SetTimeout()
137 struct timeval tv; in Timeout()
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp50 int32 timeval; member
298 particle_list[i].timeval = random() & 64; in MyCode()
351 …(cy + (int32)((s->gravity/2)*(s->timeval*s->timeval)*1.94) + ((s->init_velocity - (s->gravity*s->t… in MyCode()
352 x = s->x = (int32)(cx + (int32)(s->timeval * s->cos_z_theta)); // 3d rotation in MyCode()
355 s->timeval++; in MyCode()
383 s->timeval = 0; in MyCode()
/haiku/src/add-ons/media/media-add-ons/esound_sink/
H A DESDEndpoint.cpp179 struct timeval oldTimeout; in ConnectThread()
180 socklen_t oldTimeoutLen = sizeof(struct timeval); in ConnectThread()
181 struct timeval timeout = { 10, 0 }; // 10s should be enough on a LAN in ConnectThread()
210 setsockopt(fSocket, SOL_SOCKET, SO_RCVTIMEO, (char *)&timeout, sizeof(struct timeval)); in ConnectThread()
215 setsockopt(fSocket, SOL_SOCKET, SO_RCVTIMEO, (char *)&oldTimeout, sizeof(struct timeval)); in ConnectThread()
/haiku/headers/build/host/darwin/
H A Dfcntl.h38 int futimesat(int fd, const char *path, const struct timeval times[2]);
/haiku/src/tests/system/network/
H A Dfirefox_crash.cpp78 struct timeval tv; in tcp_pair()
100 struct timeval tv; in tcp_pair()
H A Dunix_send_test.c19 struct timeval v = { in main()
/haiku/headers/posix/
H A Dutmpx.h15 struct timeval ut_tv; /* modification time */
/haiku/src/apps/poorman/
H A DPoorManServer.cpp299 static const struct timeval kTimeVal = {60, 0}; in _Worker()
318 sizeof(struct timeval)); in _Worker()
347 retval = httpd_start_request(hc, (struct timeval*)0); in _Worker()
378 httpd_close_conn(hc, (struct timeval*)0); in _Worker()
/haiku/src/add-ons/media/plugins/rtsp_streamer/
H A Drtsp.cpp62 struct timeval presentationTime,
67 struct timeval presentationTime,
416 unsigned numTruncatedBytes, struct timeval presentationTime, in afterGettingFrame()
427 struct timeval presentationTime, unsigned /*durationInMicroseconds*/) in afterGettingFrame()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_dfs.h44 struct timeval lastevent; /* time of last radar event */
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_timers.c125 struct timeval now; in evNowTime()
146 struct timeval now; in evUTCTime()
167 evTimeSpec(struct timeval tv) { in evTimeSpec()
175 struct timeval
177 struct timeval tv; in evTimeVal()

1234