Home
last modified time | relevance | path

Searched refs:Timeval (Results 1 – 25 of 106) sorted by relevance

12345

/external/grpc-grpc/src/php/tests/unit_tests/
DTimevalTest.php32 $this->time = new Grpc\Timeval(1234);
39 $this->time = new Grpc\Timeval(-123);
46 $this->time = new Grpc\Timeval(0);
53 $this->time = new Grpc\Timeval(0123);
60 $this->time = new Grpc\Timeval(0x1A);
67 $this->time = new Grpc\Timeval(123.456);
74 $zero = Grpc\Timeval::zero();
75 $this->assertSame(0, Grpc\Timeval::compare($zero, $zero));
80 $zero = Grpc\Timeval::zero();
81 $past = Grpc\Timeval::infPast();
[all …]
DEndToEndTest.php39 $deadline = Grpc\Timeval::infFuture();
87 $deadline = Grpc\Timeval::infFuture();
133 $deadline = Grpc\Timeval::infFuture();
196 $deadline = Grpc\Timeval::infFuture();
217 $deadline = Grpc\Timeval::infFuture();
238 $deadline = Grpc\Timeval::infFuture();
261 $deadline = Grpc\Timeval::infFuture();
302 $deadline = Grpc\Timeval::infFuture();
343 $deadline = Grpc\Timeval::infFuture();
383 $deadline = Grpc\Timeval::infFuture();
[all …]
/external/grpc-grpc/src/php/ext/grpc/
Dtimeval.c55 PHP_METHOD(Timeval, __construct) { in PHP_METHOD() argument
77 PHP_METHOD(Timeval, add) { in PHP_METHOD() argument
103 PHP_METHOD(Timeval, subtract) { in PHP_METHOD() argument
130 PHP_METHOD(Timeval, compare) { in PHP_METHOD() argument
157 PHP_METHOD(Timeval, similar) { in PHP_METHOD() argument
184 PHP_METHOD(Timeval, now) { in PHP_METHOD() argument
193 PHP_METHOD(Timeval, zero) { in PHP_METHOD() argument
203 PHP_METHOD(Timeval, infFuture) { in PHP_METHOD() argument
213 PHP_METHOD(Timeval, infPast) { in PHP_METHOD() argument
223 PHP_METHOD(Timeval, sleepUntil) { in PHP_METHOD() argument
[all …]
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_linux_arm64.go35 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { argument
98 func setTimeval(sec, usec int64) Timeval {
99 return Timeval{Sec: sec, Usec: usec}
102 func futimesat(dirfd int, path string, tv *[2]Timeval) (err error) { argument
115 var tv Timeval
127 tv := []Timeval{
134 func utimes(path string, tv *[2]Timeval) (err error) { argument
Dsyscall_linux_amd64.go34 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { argument
82 func Gettimeofday(tv *Timeval) (err error) { argument
91 var tv Timeval
109 func setTimeval(sec, usec int64) Timeval {
110 return Timeval{Sec: sec, Usec: usec}
Dtimestruct.go47 func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } argument
51 func NsecToTimeval(nsec int64) Timeval {
70 func (tv *Timeval) Unix() (sec int64, nsec int64) {
80 func (tv *Timeval) Nano() int64 {
Dztypes_darwin_arm.go29 type Timeval struct { struct
37 Utime Timeval
38 Stime Timeval
334 Lastchange Timeval
434 Tstamp Timeval
Dztypes_darwin_386.go28 type Timeval struct { struct
36 Utime Timeval
37 Stime Timeval
333 Lastchange Timeval
433 Tstamp Timeval
Dztypes_dragonfly_amd64.go28 type Timeval struct { struct
34 Utime Timeval
35 Stime Timeval
332 Lastchange Timeval
432 Tstamp Timeval
Dsyscall_darwin_386.go18 func setTimeval(sec, usec int64) Timeval {
19 return Timeval{Sec: int32(sec), Usec: int32(usec)}
23 func Gettimeofday(tv *Timeval) (err error) { argument
Dsyscall_darwin_arm64.go18 func setTimeval(sec, usec int64) Timeval {
19 return Timeval{Sec: sec, Usec: int32(usec)}
23 func Gettimeofday(tv *Timeval) (err error) { argument
Dsyscall_darwin_amd64.go18 func setTimeval(sec, usec int64) Timeval {
19 return Timeval{Sec: sec, Usec: int32(usec)}
23 func Gettimeofday(tv *Timeval) (err error) { argument
Dsyscall_darwin_arm.go16 func setTimeval(sec, usec int64) Timeval {
17 return Timeval{Sec: int32(sec), Usec: int32(usec)}
21 func Gettimeofday(tv *Timeval) (err error) { argument
Dsyscall_linux_sparc64.go75 var tv Timeval
93 func setTimeval(sec, usec int64) Timeval {
94 return Timeval{Sec: sec, Usec: int32(usec)}
Dztypes_freebsd_arm.go29 type Timeval struct { struct
36 Utime Timeval
37 Stime Timeval
385 Lastchange Timeval
488 Tstamp Timeval
Dztypes_freebsd_amd64.go28 type Timeval struct { struct
34 Utime Timeval
35 Stime Timeval
384 Lastchange Timeval
488 Tstamp Timeval
Dztypes_freebsd_386.go28 type Timeval struct { struct
34 Utime Timeval
35 Stime Timeval
382 Lastchange Timeval
485 Tstamp Timeval
Dsyscall_linux_mips64x.go30 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { argument
74 var tv Timeval
92 func setTimeval(sec, usec int64) Timeval {
93 return Timeval{Sec: sec, Usec: usec}
Dsyscall_linux_arm.go18 func setTimeval(sec, usec int64) Timeval {
19 return Timeval{Sec: int32(sec), Usec: int32(usec)}
109 var tv Timeval
121 tv := []Timeval{
Dgccgo_linux_amd64.go12 func realGettimeofday(*Timeval, *byte) int32 argument
14 func gettimeofday(tv *Timeval) (err syscall.Errno) { argument
Dztypes_openbsd_amd64.go28 type Timeval struct { struct
34 Utime Timeval
35 Stime Timeval
330 Lastchange Timeval
Dztypes_openbsd_arm.go28 type Timeval struct { struct
34 Utime Timeval
35 Stime Timeval
324 Lastchange Timeval
Dsyscall_solaris_amd64.go13 func setTimeval(sec, usec int64) Timeval {
14 return Timeval{Sec: sec, Usec: usec}
Dztypes_openbsd_386.go28 type Timeval struct { struct
34 Utime Timeval
35 Stime Timeval
324 Lastchange Timeval
/external/grpc-grpc/src/php/lib/Grpc/
DAbstractCall.php54 $now = Timeval::now();
55 $delta = new Timeval($timeout);
58 $deadline = Timeval::infFuture();

12345