/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
H A D | TimeUtil.java | 42 * @deprecated Use {@link Durations} and {@link Timestamps} instead. 70 * @deprecated Use {@link Timestamps#toString} instead. 74 return Timestamps.toString(timestamp); in toString() 87 * @deprecated Use {@link Timestamps#parse} instead. 91 return Timestamps.parse(value); in parseTimestamp() 126 * @deprecated Use {@link Timestamps#fromMillis} instead. 130 return Timestamps.fromMillis(milliseconds); in createTimestampFromMillis() 150 * @deprecated Use {@link Timestamps#toMillis} instead. 154 return Timestamps.toMillis(timestamp); in toMillis() 172 * @deprecated Use {@link Timestamps#fromMicro [all...] |
H A D | Durations.java | 39 import static com.google.protobuf.util.Timestamps.MICROS_PER_SECOND; 40 import static com.google.protobuf.util.Timestamps.MILLIS_PER_SECOND; 41 import static com.google.protobuf.util.Timestamps.NANOS_PER_MICROSECOND; 42 import static com.google.protobuf.util.Timestamps.NANOS_PER_MILLISECOND; 43 import static com.google.protobuf.util.Timestamps.NANOS_PER_SECOND; 229 result.append(Timestamps.formatNanos(nanos)); in toString() 259 int nanos = nanoValue.isEmpty() ? 0 : Timestamps.parseNanos(nanoValue); in parse()
|
H A D | Timestamps.java | 54 public final class Timestamps { class 101 private Timestamps() {} in Timestamps() method in Timestamps 115 * Returns a {@link Comparator} for {@link Timestamp Timestamps} which sorts in increasing 116 * chronological order. Nulls and invalid {@link Timestamp Timestamps} are not allowed (see 125 * Timestamps.comparator().compare(x, y)}.
|
H A D | JsonFormat.java | 933 generator.print("\"" + Timestamps.toString(value) + "\""); in printTimestamp() 1563 Timestamp value = Timestamps.parse(json.getAsString()); in mergeTimestamp()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | utimensat.rs | 4 use rustix::fs::{cwd, openat, statat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps}; in test_utimensat() 23 let times = Timestamps { in test_utimensat() 64 use rustix::fs::{cwd, openat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps}; in test_utimensat_noent() 75 let times = Timestamps { in test_utimensat_noent() 94 use rustix::fs::{cwd, openat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps}; in test_utimensat_notdir() 113 let times = Timestamps { in test_utimensat_notdir()
|
H A D | futimens.rs | 4 use rustix::fs::{cwd, fstat, futimens, openat, Mode, OFlags, Timespec, Timestamps}; in test_futimens() 17 let times = Timestamps { in test_futimens()
|
H A D | y2038.rs | 11 cwd, fstat, openat, statat, utimensat, AtFlags, Mode, OFlags, Timespec, Timestamps, in test_y2038_with_utimensat() 23 let timestamps = Timestamps { in test_y2038_with_utimensat() 110 cwd, fstat, futimens, openat, statat, AtFlags, Mode, OFlags, Timespec, Timestamps, in test_y2038_with_futimens() 122 let timestamps = Timestamps { in test_y2038_with_futimens()
|
/third_party/rust/crates/rustix/src/fs/ |
H A D | fd.rs | 49 /// Timestamps used by [`utimensat`] and [`futimens`]. 57 pub struct Timestamps { structure names 219 pub fn futimens<Fd: AsFd>(fd: Fd, times: &Timestamps) -> io::Result<()> { in futimens()
|
H A D | at.rs | 18 use crate::fs::{AtFlags, Mode, OFlags, Stat, Timestamps}; 298 times: &Timestamps, in utimensat()
|
H A D | mod.rs | 165 pub use fd::{fstat, fsync, ftruncate, futimens, is_file_read_write, seek, tell, Stat, Timestamps};
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | syscalls.rs | 118 use crate::fs::{Mode, OFlags, Stat, Timestamps}; 488 times: &Timestamps, 526 // Assert that `Timestamps` has the expected layout. 527 let _ = core::mem::transmute::<Timestamps, [c::timespec; 2]>(times.clone()); 562 // Assert that `Timestamps` has the expected layout. 563 let _ = core::mem::transmute::<Timestamps, [c::timespec; 2]>(times.clone()); 659 times: &Timestamps, in utimensat_old() 1052 pub(crate) fn futimens(fd: BorrowedFd<'_>, times: &Timestamps) -> io::Result<()> { 1082 // Assert that `Timestamps` has the expected layout. 1083 let _ = core::mem::transmute::<Timestamps, [ [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | syscalls.rs | 29 Timestamps, 1212 times: &Timestamps, 1222 times: &Timestamps, in _utimensat() 1225 // Assert that `Timestamps` has the expected layout. in _utimensat() 1226 let _ = unsafe { core::mem::transmute::<Timestamps, [__kernel_timespec; 2]>(times.clone()) }; in _utimensat() 1257 times: &Timestamps, in _utimensat_old() 1300 pub(crate) fn futimens(fd: BorrowedFd<'_>, times: &Timestamps) -> io::Result<()> {
|
/third_party/rust/crates/nix/src/sys/socket/ |
H A D | mod.rs | 738 ScmTimestampsns(Timestamps), 841 pub struct Timestamps { structure names 906 let timestamping = Timestamps { system, hw_trans, hw_raw }; in decode_from() 1871 let cmsg = cmsg_space!(crate::sys::socket::Timestamps); in test_recvmm2()
|
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | JsonFormatTest.java | 788 .setTimestampValue(Timestamps.parse("1970-01-01T00:00:00Z")) in testTimestamp() 1029 anyMessage = Any.pack(Timestamps.parse("1969-12-31T23:59:59Z")); in testAnyFields() 1103 testAny.putAnyMap("timestamp", Any.pack(Timestamps.parse("1969-12-31T23:59:59Z"))); in testAnyInMaps()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_socket.rs | 109 let mut cmsg = cmsg_space!(nix::sys::socket::Timestamps); in test_timestamping()
|