Searched refs:tv_usec (Results 1 – 8 of 8) sorted by relevance
30 public final long tv_usec; field in StructTimeval32 private StructTimeval(long tv_sec, long tv_usec) { in StructTimeval() argument34 this.tv_usec = tv_usec; in StructTimeval()35 if (tv_usec < 0 || tv_usec > 999_999) { in StructTimeval()37 "tv_usec value " + tv_usec + " is not in [0, 999999]"); in StructTimeval()46 long tv_usec = (millis - (tv_sec * 1000)) * 1000; in fromMillis() local49 tv_usec += 1_000_000; in fromMillis()51 return new StructTimeval(tv_sec, tv_usec); in fromMillis()55 return (tv_sec * 1000) + (tv_usec / 1000); in toMillis()73 tv_usec == that.tv_usec; in equals()[all …]
50 start = t.tv_sec * 1000 + t.tv_usec / 1000; in ipoll()57 now = t.tv_sec * 1000 + t.tv_usec / 1000; in ipoll()
210 prevtime = t.tv_sec * 1000 + t.tv_usec / 1000; in NET_Timeout()241 newtime = t.tv_sec * 1000 + t.tv_usec / 1000; in NET_Timeout()
436 tv[0].tv_usec = 0; in Java_java_io_UnixFileSystem_setLastModifiedTime0()440 tv[1].tv_usec = (time % 1000) * 1000; in Java_java_io_UnixFileSystem_setLastModifiedTime0()
625 times[0].tv_usec = accessTime % 1000000; in Java_sun_nio_fs_UnixNativeDispatcher_utimes0()628 times[1].tv_usec = modificationTime % 1000000; in Java_sun_nio_fs_UnixNativeDispatcher_utimes0()644 times[0].tv_usec = accessTime % 1000000; in Java_sun_nio_fs_UnixNativeDispatcher_futimes()647 times[1].tv_usec = modificationTime % 1000000; in Java_sun_nio_fs_UnixNativeDispatcher_futimes()
1382 t.tv_usec = (timeout % 1000) * 1000;
74 assertEquals(expectedMicros, val.tv_usec); in fromToMillis()
544 static_cast<jlong>(tv.tv_sec), static_cast<jlong>(tv.tv_usec)); in makeStructTimeval()2364 value.tv_usec = env->GetLongField(javaTimeval, tvUsecFid); in Linux_setsockoptTimeval()