Home
last modified time | relevance | path

Searched refs:setSeconds (Results 1 – 25 of 26) sorted by relevance

12

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DDurations.java64 Duration.newBuilder().setSeconds(DURATION_SECONDS_MIN).setNanos(-999999999).build();
68 Duration.newBuilder().setSeconds(DURATION_SECONDS_MAX).setNanos(999999999).build();
71 public static final Duration ZERO = Duration.newBuilder().setSeconds(0L).setNanos(0).build();
280 .setSeconds(checkedMultiply(days, SECONDS_PER_DAY)) in fromDays()
289 .setSeconds(checkedMultiply(hours, SECONDS_PER_HOUR)) in fromHours()
298 .setSeconds(checkedMultiply(minutes, SECONDS_PER_MINUTE)) in fromMinutes()
452 Duration duration = Duration.newBuilder().setSeconds(seconds).setNanos(nanos).build(); in normalizedDuration()
DTimestamps.java70 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build();
76 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MAX).setNanos(999999999).build();
81 public static final Timestamp EPOCH = Timestamp.newBuilder().setSeconds(0).setNanos(0).build();
398 Timestamp timestamp = Timestamp.newBuilder().setSeconds(seconds).setNanos(nanos).build(); in normalizedTimestamp()
DTimeUtil.java399 return Duration.newBuilder().setSeconds(seconds).setNanos(nanos).build(); in normalizedDuration()
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DTimeUtilTest.java148 Timestamp.newBuilder().setSeconds(TimeUtil.TIMESTAMP_SECONDS_MIN - 1).build(); in testTimetampInvalidFormat()
158 Timestamp.newBuilder().setSeconds(TimeUtil.TIMESTAMP_SECONDS_MAX + 1).build(); in testTimetampInvalidFormat()
249 duration = Duration.newBuilder().setSeconds(1).build(); in testDurationStringFormat()
280 Duration value = Duration.newBuilder().setSeconds(TimeUtil.DURATION_SECONDS_MIN - 1).build(); in testDurationInvalidFormat()
289 Duration value = Duration.newBuilder().setSeconds(TimeUtil.DURATION_SECONDS_MAX + 1).build(); in testDurationInvalidFormat()
298 Duration value = Duration.newBuilder().setSeconds(1).setNanos(-1).build(); in testDurationInvalidFormat()
307 Duration value = Duration.newBuilder().setSeconds(-1).setNanos(1).build(); in testDurationInvalidFormat()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java171 .setSeconds(eventTimestamp1.getSeconds()) in toSpanProto()
184 .setSeconds(eventTimestamp3.getSeconds()) in toSpanProto()
197 .setSeconds(eventTimestamp2.getSeconds()) in toSpanProto()
209 .setSeconds(eventTimestamp1.getSeconds()) in toSpanProto()
234 .setSeconds(startTimestamp.getSeconds()) in toSpanProto()
239 .setSeconds(endTimestamp.getSeconds()) in toSpanProto()
DOcAgentNodeUtilsTest.java64 .isEqualTo(com.google.protobuf.Timestamp.newBuilder().setSeconds(10).setNanos(20).build()); in getProcessIdentifier()
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandlerProtoTest.java213 .setSeconds(eventTimestamp1.getSeconds()) in generateSpan()
227 .setSeconds(eventTimestamp3.getSeconds()) in generateSpan()
240 .setSeconds(eventTimestamp2.getSeconds()) in generateSpan()
252 .setSeconds(eventTimestamp1.getSeconds()) in generateSpan()
277 .setSeconds(startTimestamp.getSeconds()) in generateSpan()
282 .setSeconds(endTimestamp.getSeconds()) in generateSpan()
/external/protobuf/php/src/Google/Protobuf/
DDuration.php128 public function setSeconds($var) function in Google\\Protobuf\\Duration
DTimestamp.php138 public function setSeconds($var) function in Google\\Protobuf\\Timestamp
/external/protobuf/php/src/Google/Protobuf/Internal/
DGPBUtil.php454 $value->setSeconds($seconds);
500 $duration->setSeconds($seconds);
DMessage.php794 $submsg->setSeconds($timestamp->getSeconds());
/external/protobuf/php/tests/
Dwell_known_test.php308 $timestamp->setSeconds(1);
352 $duration->setSeconds(1);
Dmemory_leak_test.php148 $from->setSeconds(1);
Dencode_decode_test.php868 $m->setSeconds(1234);
884 $m->setSeconds(946684800);
1115 $packed->setSeconds(946684800);
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDateTest.java223 theDate.setSeconds(36); in testSetSeconds()
/external/protobuf/src/google/protobuf/
Dtimestamp.proto90 // Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
/external/golang-protobuf/ptypes/timestamp/
Dtimestamp.proto90 // Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java283 .setSeconds(timestamp.getSeconds()) in toTimestampProto()
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtils.java449 .setSeconds(censusTimestamp.getSeconds())
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandler.java423 .setSeconds(timestamp.getSeconds()) in toTimestampProto()
/external/perfetto/infra/ci/frontend/static/
Dscript.js755 date.setSeconds(parseInt(key.substr(0, 6), 16) / 1000);
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h1227 PHP_METHOD(Duration, setSeconds);
1235 PHP_METHOD(Timestamp, setSeconds);
Dmessage.c1533 PHP_ME(Duration, setSeconds, NULL, ZEND_ACC_PUBLIC)
1568 PHP_ME(Timestamp, setSeconds, NULL, ZEND_ACC_PUBLIC)
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtilsTest.java254 com.google.protobuf.Timestamp.newBuilder().setSeconds(100).setNanos(3000).build()); in convertTimestamp()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinlogHelperTest.java138 = Timestamp.newBuilder().setSeconds(9876).setNanos(54321).build();

12