Home
last modified time | relevance | path

Searched refs:setNanos (Results 1 – 23 of 23) sorted by relevance

/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();
281 .setNanos(0) in fromDays()
290 .setNanos(0) in fromHours()
299 .setNanos(0) 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.java64 value = Timestamp.newBuilder().setNanos(10).build(); in testTimestampStringFormat()
66 value = Timestamp.newBuilder().setNanos(10000).build(); in testTimestampStringFormat()
68 value = Timestamp.newBuilder().setNanos(10000000).build(); in testTimestampStringFormat()
167 Timestamp value = Timestamp.newBuilder().setNanos(-1).build(); in testTimetampInvalidFormat()
176 Timestamp value = Timestamp.newBuilder().setNanos(1000000000).build(); in testTimetampInvalidFormat()
251 duration = Duration.newBuilder().setNanos(10000000).build(); in testDurationStringFormat()
253 duration = Duration.newBuilder().setNanos(10000).build(); in testDurationStringFormat()
255 duration = Duration.newBuilder().setNanos(10).build(); in testDurationStringFormat()
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/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java446 theTimestamp.setNanos(NANOS_ARRAY2[i]); in testSetNanosint()
459 theTimestamp.setNanos(NANOS_INVALID[i]); in testSetNanosint()
545 theTest.setNanos(theTest.getNanos() + 1); in testBeforeTimestamp()
576 theTimestamp.setNanos(theTimestamp.getNanos() + 1); in testAfterTimestamp()
639 timestamp.setNanos(10);
677 public void setNanos(int n) {
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java172 .setNanos(eventTimestamp1.getNanos()) in toSpanProto()
185 .setNanos(eventTimestamp3.getNanos()) in toSpanProto()
198 .setNanos(eventTimestamp2.getNanos()) in toSpanProto()
210 .setNanos(eventTimestamp1.getNanos()) in toSpanProto()
235 .setNanos(startTimestamp.getNanos()) in toSpanProto()
240 .setNanos(endTimestamp.getNanos()) 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.java214 .setNanos(eventTimestamp1.getNanos()) in generateSpan()
228 .setNanos(eventTimestamp3.getNanos()) in generateSpan()
241 .setNanos(eventTimestamp2.getNanos()) in generateSpan()
253 .setNanos(eventTimestamp1.getNanos()) in generateSpan()
278 .setNanos(startTimestamp.getNanos()) in generateSpan()
283 .setNanos(endTimestamp.getNanos()) in generateSpan()
/external/protobuf/php/src/Google/Protobuf/
DDuration.php164 public function setNanos($var) function in Google\\Protobuf\\Duration
DTimestamp.php170 public function setNanos($var) function in Google\\Protobuf\\Timestamp
/external/protobuf/php/src/Google/Protobuf/Internal/
DGPBUtil.php455 $value->setNanos($nanoseconds);
501 $duration->setNanos($nanos);
DMessage.php795 $submsg->setNanos($timestamp->getNanos());
/external/protobuf/php/tests/
Dwell_known_test.php309 $timestamp->setNanos(2);
353 $duration->setNanos(2);
Dencode_decode_test.php869 $m->setNanos(999999999);
885 $m->setNanos(123456789);
1116 $packed->setNanos(123456789);
/external/protobuf/src/google/protobuf/
Dtimestamp.proto91 // .setNanos((int) ((millis % 1000) * 1000000)).build();
/external/golang-protobuf/ptypes/timestamp/
Dtimestamp.proto91 // .setNanos((int) ((millis % 1000) * 1000000)).build();
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java284 .setNanos(timestamp.getNanos()) in toTimestampProto()
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtils.java450 .setNanos(censusTimestamp.getNanos())
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandler.java424 .setNanos(timestamp.getNanos()) in toTimestampProto()
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h1229 PHP_METHOD(Duration, setNanos);
1237 PHP_METHOD(Timestamp, setNanos);
Dmessage.c1535 PHP_ME(Duration, setNanos, NULL, ZEND_ACC_PUBLIC)
1570 PHP_ME(Timestamp, setNanos, 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();