/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | TimespecTest.cs | 32 Assert.AreEqual(DateTimeKind.Utc, Timespec.Now.ToDateTime().Kind); in Now_IsInUtc() 38 var timespec = Timespec.Now; in Now_AgreesWithUtcNow() 51 Assert.AreEqual(Timespec.NativeInfFuture, Timespec.InfFuture); in InfFutureMatchesNativeValue() 57 Assert.AreEqual(Timespec.NativeInfPast, Timespec.InfPast); in InfPastMatchesNativeValue() 65 Assert.AreEqual(Timespec.NativeSize, Marshal.SizeOf(typeof(Timespec))); in TimespecSizeIsNativeSize() 73 new Timespec(0, 0).ToDateTime()); in ToDateTime() 76 new Timespec(10, 5000).ToDateTime()); in ToDateTime() 79 new Timespec(1437452508, 0).ToDateTime()); in ToDateTime() 83 new Timespec(-5, 1000).ToDateTime()); in ToDateTime() 86 Assert.AreEqual(DateTime.MaxValue, Timespec.InfFuture.ToDateTime()); in ToDateTime() [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 28 internal struct Timespec struct 37 public Timespec(long tv_sec, int tv_nsec) : this(tv_sec, tv_nsec, ClockType.Realtime) in Timespec() argument 41 public Timespec(long tv_sec, int tv_nsec, ClockType clock_type) in Timespec() method 55 public static Timespec InfFuture argument 59 return new Timespec(long.MaxValue, 0, ClockType.Realtime); 66 public static Timespec InfPast argument 70 return new Timespec(long.MinValue, 0, ClockType.Realtime); 77 public static Timespec Now argument 110 public Timespec ToClockType(ClockType targetClock) in ToClockType() argument 171 public static Timespec FromDateTime(DateTime dateTime) in FromDateTime() argument [all …]
|
D | ServerRpcNew.cs | 33 readonly Timespec deadline; 36 …rRpcNew(Server server, CallSafeHandle call, string method, string host, Timespec deadline, Metadat… in ServerRpcNew() 78 public Timespec Deadline
|
D | NativeMethods.Generated.cs | 454 …public delegate Timespec grpcsharp_request_call_context_deadline_delegate(RequestCallContextSafeHa… in grpcsharp_request_call_context_deadline_delegate() 486 …lags propagationMask, CompletionQueueSafeHandle cq, string method, string host, Timespec deadline); in grpcsharp_channel_create_call_delegate() 488 …ate_delegate(ChannelSafeHandle channel, ChannelState lastObservedState, Timespec deadline, Complet… in grpcsharp_channel_watch_connectivity_state_delegate() 524 public delegate Timespec gprsharp_now_delegate(ClockType clockType); in gprsharp_now_delegate() 525 public delegate Timespec gprsharp_inf_future_delegate(ClockType clockType); in gprsharp_inf_future_delegate() 526 public delegate Timespec gprsharp_inf_past_delegate(ClockType clockType); in gprsharp_inf_past_delegate() 527 … public delegate Timespec gprsharp_convert_clock_type_delegate(Timespec t, ClockType targetClock); in gprsharp_convert_clock_type_delegate() 593 …public static extern Timespec grpcsharp_request_call_context_deadline(RequestCallContextSafeHandle… in grpcsharp_request_call_context_deadline() 689 …lags propagationMask, CompletionQueueSafeHandle cq, string method, string host, Timespec deadline); in grpcsharp_channel_create_call() 695 …tivity_state(ChannelSafeHandle channel, ChannelState lastObservedState, Timespec deadline, Complet… in grpcsharp_channel_watch_connectivity_state() [all …]
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | syscall_linux_arm64.go | 36 var ts *Timespec 38 ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} 94 func setTimespec(sec, nsec int64) Timespec { 95 return Timespec{Sec: sec, Nsec: nsec} 107 ts := []Timespec{ 111 return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) 139 ts := []Timespec{ 143 return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) 203 var ts *Timespec 205 ts = new(Timespec)
|
D | timestruct.go | 13 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } argument 17 func NsecToTimespec(nsec int64) Timespec { 31 func TimeToTimespec(t time.Time) (Timespec, error) { 40 return Timespec{}, ERANGE 64 func (ts *Timespec) Unix() (sec int64, nsec int64) { 75 func (ts *Timespec) Nano() int64 {
|
D | syscall_linux_mips64x.go | 31 var ts *Timespec 33 ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} 88 func setTimespec(sec, nsec int64) Timespec { 89 return Timespec{Sec: sec, Nsec: nsec} 184 s.Atim = Timespec{int64(st.Atime), int64(st.Atime_nsec)} 185 s.Mtim = Timespec{int64(st.Mtime), int64(st.Mtime_nsec)} 186 s.Ctim = Timespec{int64(st.Ctime), int64(st.Ctime_nsec)}
|
D | ztypes_netbsd_386.go | 23 type Timespec struct { struct 67 Atimespec Timespec 68 Mtimespec Timespec 69 Ctimespec Timespec 70 Birthtimespec Timespec 288 Lastchange Timespec
|
D | ztypes_netbsd_amd64.go | 23 type Timespec struct { struct 70 Atimespec Timespec 71 Mtimespec Timespec 72 Ctimespec Timespec 73 Birthtimespec Timespec 294 Lastchange Timespec
|
D | ztypes_netbsd_arm.go | 23 type Timespec struct { struct 71 Atimespec Timespec 72 Mtimespec Timespec 73 Ctimespec Timespec 74 Birthtimespec Timespec 293 Lastchange Timespec
|
D | syscall_linux_amd64.go | 35 var ts *Timespec 37 ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} 105 func setTimespec(sec, nsec int64) Timespec { 106 return Timespec{Sec: sec, Nsec: nsec}
|
D | ztypes_darwin_arm.go | 24 type Timespec struct { struct 70 Atimespec Timespec 71 Mtimespec Timespec 72 Ctimespec Timespec 73 Birthtimespec Timespec
|
D | ztypes_openbsd_amd64.go | 23 type Timespec struct { struct 84 Atim Timespec 85 Mtim Timespec 86 Ctim Timespec 93 _ Timespec
|
D | ztypes_openbsd_arm.go | 23 type Timespec struct { struct 84 Atim Timespec 85 Mtim Timespec 86 Ctim Timespec 92 X__st_birthtim Timespec
|
D | ztypes_darwin_amd64.go | 23 type Timespec struct { struct 74 Atimespec Timespec 75 Mtimespec Timespec 76 Ctimespec Timespec 77 Birthtimespec Timespec
|
D | ztypes_darwin_386.go | 23 type Timespec struct { struct 69 Atimespec Timespec 70 Mtimespec Timespec 71 Ctimespec Timespec 72 Birthtimespec Timespec
|
D | ztypes_darwin_arm64.go | 23 type Timespec struct { struct 74 Atimespec Timespec 75 Mtimespec Timespec 76 Ctimespec Timespec 77 Birthtimespec Timespec
|
D | ztypes_openbsd_386.go | 23 type Timespec struct { struct 84 Atim Timespec 85 Mtim Timespec 86 Ctim Timespec 92 X__st_birthtim Timespec
|
D | ztypes_freebsd_arm.go | 23 type Timespec struct { struct 86 Atimespec Timespec 87 Mtimespec Timespec 88 Ctimespec Timespec 95 Birthtimespec Timespec
|
D | ztypes_freebsd_amd64.go | 23 type Timespec struct { struct 84 Atimespec Timespec 85 Mtimespec Timespec 86 Ctimespec Timespec 93 Birthtimespec Timespec
|
D | ztypes_freebsd_386.go | 23 type Timespec struct { struct 84 Atimespec Timespec 85 Mtimespec Timespec 86 Ctimespec Timespec 93 Birthtimespec Timespec
|
D | ztypes_solaris_amd64.go | 25 type Timespec struct { struct 104 Atim Timespec 105 Mtim Timespec 106 Ctim Timespec
|
D | ztypes_dragonfly_amd64.go | 23 type Timespec struct { struct 85 Atim Timespec 86 Mtim Timespec 87 Ctim Timespec
|
/external/grpc-grpc/src/csharp/Grpc.Core/Profiling/ |
D | Profilers.cs | 79 AddEntry(new ProfilerEntry(Timespec.PreciseNow, ProfilerEntry.Type.BEGIN, tag)); in Begin() 84 AddEntry(new ProfilerEntry(Timespec.PreciseNow, ProfilerEntry.Type.END, tag)); in End() 89 AddEntry(new ProfilerEntry(Timespec.PreciseNow, ProfilerEntry.Type.MARK, tag)); in Mark()
|
/external/grpc-grpc/templates/src/csharp/Grpc.Core/Internal/ |
D | NativeMethods.Generated.cs.template | 22 'Timespec grpcsharp_request_call_context_deadline(RequestCallContextSafeHandle ctx)', 54 …ags propagationMask, CompletionQueueSafeHandle cq, string method, string host, Timespec deadline)', 56 …tivity_state(ChannelSafeHandle channel, ChannelState lastObservedState, Timespec deadline, Complet… 92 'Timespec gprsharp_now(ClockType clockType)', 93 'Timespec gprsharp_inf_future(ClockType clockType)', 94 'Timespec gprsharp_inf_past(ClockType clockType)', 95 'Timespec gprsharp_convert_clock_type(Timespec t, ClockType targetClock)',
|