Home
last modified time | relevance | path

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

/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 …]
DCallCredentials2Test.php62 $deadline = Grpc\Timeval::infFuture();
132 $deadline = Grpc\Timeval::infFuture();
164 $deadline = Grpc\Timeval::infFuture();
DSecureEndToEndTest.php53 $deadline = Grpc\Timeval::infFuture();
103 $deadline = Grpc\Timeval::infFuture();
151 $deadline = Grpc\Timeval::infFuture();
DChannelTest.php84 $now = Grpc\Timeval::now();
85 $deadline = $now->add(new Grpc\Timeval(100*1000)); // 100ms
126 ['credentials' => new Grpc\Timeval(100)]);
176 $now = Grpc\Timeval::now();
177 $deadline = $now->add(new Grpc\Timeval(1000));
DServerTest.php63 $deadline = Grpc\Timeval::infFuture();
DCallTest.php37 Grpc\Timeval::infFuture());
DInterceptorTest.php411 $now = Grpc\Timeval::now();
412 $deadline = $now->add(new Grpc\Timeval(100*1000));
DCallCredentialsTest.php68 $deadline = Grpc\Timeval::infFuture();
/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/grpc-grpc/src/php/lib/Grpc/
DAbstractCall.php54 $now = Timeval::now();
55 $delta = new Timeval($timeout);
58 $deadline = Timeval::infFuture();
DBaseStub.php150 $now = Timeval::now();
151 $delta = new Timeval($timeout);
/external/grpc-grpc/src/php/tests/unit_tests/PersistentChannelTests/
DPersistentChannelTest.php39 $now = Grpc\Timeval::now();
40 $deadline = $now->add(new Grpc\Timeval(1000));
190 Grpc\Timeval::infFuture());
193 Grpc\Timeval::infFuture());
196 Grpc\Timeval::infFuture());
199 Grpc\Timeval::infFuture());
/external/rust/crates/grpcio-sys/grpc/test/distrib/php/
Ddistribtest.php24 $deadline = Grpc\Timeval::infFuture();
/external/grpc-grpc/test/distrib/php/
Ddistribtest.php24 $deadline = Grpc\Timeval::infFuture();