Home
last modified time | relevance | path

Searched refs:suseconds_t (Results 1 – 25 of 74) sorted by relevance

123

/third_party/pulseaudio/src/pulse/
Dtimeval.c62 tv->tv_usec = (suseconds_t) (t % PA_USEC_PER_SEC); in pa_gettimeofday()
136 tv->tv_usec += (suseconds_t) v; in pa_timeval_add()
145 tv->tv_usec -= (suseconds_t) PA_USEC_PER_SEC; in pa_timeval_add()
152 tv->tv_usec = (suseconds_t) (PA_USEC_PER_SEC-1); in pa_timeval_add()
168 if (tv->tv_usec >= (suseconds_t) v) in pa_timeval_sub()
169 tv->tv_usec -= (suseconds_t) v; in pa_timeval_sub()
176 tv->tv_usec += (suseconds_t) (PA_USEC_PER_SEC - v); in pa_timeval_sub()
192 tv->tv_usec = (suseconds_t) (PA_USEC_PER_SEC-1); in pa_timeval_store()
198 tv->tv_usec = (suseconds_t) (v % PA_USEC_PER_SEC); in pa_timeval_store()
/third_party/ltp/testcases/kernel/syscalls/settimeofday/
Dsettimeofday01.c21 suseconds_t delta; in verify_settimeofday()
43 (suseconds_t) (tv2.tv_sec - tv1.tv_sec) * 1000 + in verify_settimeofday()
47 (suseconds_t) (tv1.tv_sec - tv2.tv_sec) * 1000 + in verify_settimeofday()
/third_party/musl/libc-test/src/api/
Dsys_time.c8 T(suseconds_t) in f()
13 F(suseconds_t,tv_usec) in f()
Dsys_select.c8 T(suseconds_t) in f()
15 F(suseconds_t, tv_usec) in f()
Dsys_types.c27 N(suseconds_t) in f()
/third_party/rust/crates/nix/src/sys/
Dtime.rs3 pub use libc::{suseconds_t, time_t};
532 tv_usec: micros as suseconds_t, in microseconds()
550 tv_usec: micros as suseconds_t, in nanoseconds()
584 pub const fn new(seconds: time_t, microseconds: suseconds_t) -> Self { in new()
591 fn micros_mod_sec(&self) -> suseconds_t { in micros_mod_sec() argument
593 self.tv_usec() - MICROS_PER_SEC as suseconds_t in micros_mod_sec()
604 pub const fn tv_usec(&self) -> suseconds_t { in tv_usec() argument
/third_party/pulseaudio/src/pulsecore/
Dsocket.h12 typedef long suseconds_t; typedef
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dalltypes.h70 typedef _Int64 suseconds_t; typedef
277 struct timeval { time_t tv_sec; suseconds_t tv_usec; };
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dalltypes.h162 typedef _Int64 suseconds_t; typedef
227 struct timeval { time_t tv_sec; suseconds_t tv_usec; };
/third_party/musl/porting/liteos_m/user/include/bits/
Dalltypes.h84 typedef _Int64 suseconds_t; typedef
218 struct timeval { time_t tv_sec; suseconds_t tv_usec; };
/third_party/musl/include/
Dalltypes.h.in13 TYPEDEF _Int64 suseconds_t; variable
43 STRUCT timeval { time_t tv_sec; suseconds_t tv_usec; };
/third_party/curl/lib/
Dtimediff.c55 tv->tv_usec = (suseconds_t)tv_usec; in curlx_mstotv()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dx86.rs6 pub type suseconds_t = i32; typedef
Dpowerpc64.rs6 pub type suseconds_t = i64; typedef
Dpowerpc.rs6 pub type suseconds_t = i32; typedef
Darm.rs6 pub type suseconds_t = i32; typedef
Daarch64.rs6 pub type suseconds_t = i64; typedef
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dalltypes.h84 typedef _Int64 suseconds_t; typedef
218 struct timeval { time_t tv_sec; suseconds_t tv_usec; };
/third_party/musl/porting/uniproton/kernel/include/bits/
Dalltypes.h84 typedef _Int64 suseconds_t; typedef
218 struct timeval { time_t tv_sec; suseconds_t tv_usec; };
/third_party/musl/src/network/
Dsetsockopt.c13 suseconds_t us; in setsockopt()
/third_party/musl/src/select/
Dselect.c13 suseconds_t us = tv ? tv->tv_usec : 0; in select()
/third_party/musl/porting/liteos_a/user/src/select/
Dselect.c13 suseconds_t us = tv ? tv->tv_usec : 0; in select()
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/
Dmod.rs23 pub type suseconds_t = i64;
33 pub type suseconds_t = i32;
/third_party/node/deps/v8/src/base/platform/
Dtime.cc440 DCHECK(tv.tv_usec < static_cast<suseconds_t>(kMicrosecondsPerSecond)); in FromTimeval()
444 if (tv.tv_usec == static_cast<suseconds_t>(kMicrosecondsPerSecond - 1) && in FromTimeval()
461 tv.tv_usec = static_cast<suseconds_t>(kMicrosecondsPerSecond - 1); in ToTimeval()
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c92 tv.tv_sec = (suseconds_t)(us / LWS_US_PER_SEC); in lws_event_idle_timer_cb()
93 tv.tv_usec = (suseconds_t)(us - (tv.tv_sec * LWS_US_PER_SEC)); in lws_event_idle_timer_cb()

123