| /third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
| H A D | Durations.java | 81 int secDiff = Long.compare(d1.getSeconds(), d2.getSeconds()); 115 return isValid(duration.getSeconds(), duration.getNanos()); in isValid() 146 return (duration.getSeconds() == 0) ? duration.getNanos() < 0 : duration.getSeconds() < 0; in isNegative() 181 long seconds = duration.getSeconds(); in checkValid() 217 long seconds = duration.getSeconds(); in toString() 340 return checkValid(duration).getSeconds() / SECONDS_PER_DAY; in toDays() 349 return checkValid(duration).getSeconds() / SECONDS_PER_HOUR; in toHours() 358 return checkValid(duration).getSeconds() / SECONDS_PER_MINUT in toMinutes() [all...] |
| H A D | Timestamps.java | 109 int secDiff = Long.compare(t1.getSeconds(), t2.getSeconds()); 143 return isValid(timestamp.getSeconds(), timestamp.getNanos()); in isValid() 169 long seconds = timestamp.getSeconds(); in checkValid() 206 long seconds = timestamp.getSeconds(); in toString() 298 return checkValid(timestamp).getSeconds(); in toSeconds() 319 checkedMultiply(timestamp.getSeconds(), MILLIS_PER_SECOND), in toMillis() 341 checkedMultiply(timestamp.getSeconds(), MICROS_PER_SECOND), in toMicros() 357 checkedMultiply(timestamp.getSeconds(), NANOS_PER_SECOND), timestamp.getNanos()); in toNanos() 365 checkedSubtract(to.getSeconds(), fro in between() [all...] |
| H A D | TimeUtil.java | 330 double result = duration.getSeconds() * times + duration.getNanos() * times / 1000000000.0; in multiply() 368 return toBigInteger(duration.getSeconds()) in toBigInteger()
|
| /third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
| H A D | TimeUtilTest.java | 46 assertEquals(TimeUtil.TIMESTAMP_SECONDS_MIN, start.getSeconds()); in testTimestampStringFormat() 48 assertEquals(TimeUtil.TIMESTAMP_SECONDS_MAX, end.getSeconds()); in testTimestampStringFormat() 54 assertEquals(0, value.getSeconds()); in testTimestampStringFormat() 59 assertEquals(-1, value.getSeconds()); in testTimestampStringFormat() 101 if (result.getSeconds() != values[index].getSeconds() in run() 270 assertEquals(315576000000L, duration.getSeconds()); in testDurationStringFormat() 273 assertEquals(-315576000000L, duration.getSeconds()); in testDurationStringFormat() 483 assertEquals(-2, TimeUtil.divide(d1, 2).getSeconds()); in testTimeOperations() 484 assertEquals(-1, TimeUtil.remainder(d1, d2).getSeconds()); in testTimeOperations() [all...] |
| /third_party/jerryscript/tests/jerry/ |
| H A D | date-setters.js | 41 assert (d.getSeconds() == 1); 44 assert (d.getSeconds() == 1); 63 assert (d.getSeconds() == 1); 67 assert (d.getSeconds() == 1); 96 assert (d.getSeconds() == 1); 101 assert (d.getSeconds() == 1);
|
| H A D | regression-test-issue-786.js | 23 try { Date.prototype.getSeconds() } catch (err) { }
|
| /third_party/protobuf/php/src/Google/Protobuf/Internal/ |
| H A D | GPBUtil.php | 461 if (bccomp($value->getSeconds(), "253402300800") != -1) { 464 if (bccomp($value->getSeconds(), "-62135596801") != 1) { 471 $date = new \DateTime('@'.$value->getSeconds(), new \DateTimeZone("UTC")); 507 if (bccomp($value->getSeconds(), '315576000001') != -1) { 510 if (bccomp($value->getSeconds(), '-315576000001') != 1) { 516 return (string) $value->getSeconds(); 528 return bcadd($value->getSeconds(), $nanos, $digits);
|
| H A D | Message.php | 841 $submsg->setSeconds($timestamp->getSeconds());
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | library_DatePrototypeProperties.js | 26 Date.prototype.getSeconds(); 76 Date.prototype.getSeconds();
|
| /third_party/protobuf/php/tests/ |
| H A D | memory_leak_test.php | 156 assert(1, $from->getSeconds()); 163 assert($from->format('U') == $timestamp->getSeconds());
|
| H A D | WellKnownTest.php | 311 $this->assertEquals(1, $timestamp->getSeconds()); 317 $this->assertEquals($from->format('U'), $timestamp->getSeconds()); 355 $this->assertEquals(1, $duration->getSeconds());
|
| H A D | EncodeDecodeTest.php | 944 $this->assertEquals(1234, $m->getSeconds()); 960 $this->assertEquals(946684800, $m->getSeconds());
|
| /third_party/protobuf/php/src/Google/Protobuf/ |
| H A D | Duration.php | 114 public function getSeconds() function
|
| H A D | Timestamp.php | 124 public function getSeconds() function
|
| /third_party/protobuf/js/ |
| H A D | proto3_test.js | 446 assertEquals(123456, msg.getSeconds()); 451 assertEquals(msg.getSeconds(), anotherMsg.getSeconds());
|
| /third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
| H A D | api.js | [all...] |
| /third_party/typescript/lib/ |
| H A D | typingsInstaller.js | [all...] |
| H A D | tsserverlibrary.js | [all...] |
| H A D | typescript.js | [all...] |
| H A D | typescriptServices.js | [all...] |
| H A D | tsserver.js | [all...] |
| /third_party/node/test/fixtures/snapshot/ |
| H A D | typescript.js | [all...] |