/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | TimedWindowEvent.java | 33 private long time; field in class:TimedWindowEvent 36 return time; 39 public TimedWindowEvent(Window source, int id, Window opposite, long time) { argument 41 this.time = time; 45 int oldState, int newState, long time) 48 this.time = time; 44 TimedWindowEvent(Window source, int id, Window opposite, int oldState, int newState, long time) argument
|
/openjdk7/jdk/test/java/lang/management/CompilationMXBean/ |
H A D | Basic.java | 45 // If compilation time monitoring isn't supported then we are done 47 System.out.println("Compilation time monitoring not supported."); 52 long time; 55 time = mb.getTotalCompilationTime(); 56 if (time > 0) { 57 printCompilationTime(time); 72 time = mb.getTotalCompilationTime(); 73 if (time > 0) { 74 printCompilationTime(time); 80 static void printCompilationTime(long time) { argument [all...] |
/openjdk7/hotspot/src/share/vm/trace/ |
H A D | traceBackend.hpp | 43 static TracingTime time() { function in class:TraceBackend 47 static TracingTime time_adjustment(jlong time) { argument 48 return time;
|
H A D | noTraceBackend.hpp | 34 static TracingTime time() { function in class:NoTraceBackend
|
H A D | traceEvent.hpp | 70 static_cast<T *>(this)->set_starttime(Tracing::time()); 93 static_cast<T *>(this)->set_endtime(Tracing::time()); 101 void set_starttime(jlong time) { argument 102 _startTime = time; 105 void set_endtime(jlong time) { argument 106 _endTime = time;
|
/openjdk7/jdk/test/sun/management/HotspotClassLoadingMBean/ |
H A D | GetClassInitializationTime.java | 53 long time = mbean.getClassInitializationTime(); 56 System.out.println("Class initialization time (ms): " + time); 59 if (time < MIN_TIME_FOR_PASS || time > MAX_TIME_FOR_PASS) { 60 throw new RuntimeException("Class initialization time " + 61 "illegal value: " + time + " ms " + 66 // Load a class and make sure the time increases 75 if (time2 <= time) { 76 throw new RuntimeException("Class initialization time " [all...] |
H A D | GetClassLoadingTime.java | 56 long time = mbean.getClassLoadingTime(); 59 System.out.println("Class loading time (ms): " + time); 62 if (time < MIN_TIME_FOR_PASS || time > MAX_TIME_FOR_PASS) { 63 throw new RuntimeException("Class loading time " + 64 "illegal value: " + time + " ms " + 69 // Load some classes to increase the time 80 if (time2 <= time) { 81 throw new RuntimeException("Class loading time " [all...] |
/openjdk7/jdk/src/share/classes/java/rmi/server/ |
H A D | UID.java | 34 * A <code>UID</code> represents an identifier that is unique over time 39 * identifier that is unique over time with respect to the host it is 47 * host and at the time represented by the <code>time</code> value (an 51 * <li><code>time</code>, a <code>long</code> equal to a time (as returned 57 * <code>time</code> value 61 * over time with respect to the host it is generated on as long as 85 * was generated in with respect to its host and at the given time 91 * a time (a 95 private final long time; field in class:UID 165 UID(int unique, long time, short count) argument [all...] |
/openjdk7/jdk/test/java/beans/Performance/ |
H A D | Test7122740.java | 36 long time = System.nanoTime(); 41 time -= System.nanoTime(); 42 System.out.println("Time (ms): " + (-time / 1000000));
|
H A D | Test7184799.java | 64 long time = System.nanoTime(); 68 time -= System.nanoTime(); 69 System.out.println("Time (ms): " + (-time / 1000000));
|
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | gcTimer.hpp | 59 void set_start(jlong time) { _start = time; } argument 62 void set_end(jlong time) { _end = time; } argument 113 void report_gc_phase_start(const char* name, jlong time); 114 void report_gc_phase_end(jlong time); 141 virtual void register_gc_start(jlong time); 142 virtual void register_gc_end(jlong time); 144 void register_gc_phase_start(const char* name, jlong time); 145 void register_gc_phase_end(jlong time); [all...] |
H A D | gcTimer.cpp | 29 void GCTimer::register_gc_start(jlong time) { argument 31 _gc_start = time; 34 void GCTimer::register_gc_end(jlong time) { argument 38 _gc_end = time; 41 void GCTimer::register_gc_pause_start(const char* name, jlong time) { argument 42 _time_partitions.report_gc_phase_start(name, time); 45 void GCTimer::register_gc_pause_end(jlong time) { argument 46 _time_partitions.report_gc_phase_end(time); 49 void GCTimer::register_gc_phase_start(const char* name, jlong time) { argument 50 _time_partitions.report_gc_phase_start(name, time); 53 register_gc_phase_end(jlong time) argument 58 register_gc_start(jlong time) argument 63 register_gc_end(jlong time) argument 68 register_gc_pause_start(const char* name, jlong time) argument 72 register_gc_pause_end(jlong time) argument 118 report_gc_phase_start(const char* name, jlong time) argument 142 report_gc_phase_end(jlong time) argument [all...] |
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/ |
H A D | BenchInfo.java | 38 long time; field in class:BenchInfo 50 this.time = -1; 57 time = benchmark.run(args); 75 * Return the execution time for benchmark, or -1 if benchmark hasn't been 79 return time;
|
/openjdk7/jdk/test/java/beans/Introspector/ |
H A D | Test6963811.java | 35 private final long time; field in class:Test6963811 38 public Test6963811(long time, boolean sync) { argument 39 this.time = time; 45 Thread.sleep(this.time); // increase the chance of the deadlock
|
/openjdk7/jdk/test/java/beans/PropertyEditor/ |
H A D | Test6963811.java | 37 private final long time; field in class:Test6963811 40 public Test6963811(long time, boolean sync) { argument 41 this.time = time; 47 Thread.sleep(this.time); // increase the chance of the deadlock
|
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | Test6963811.java | 36 private final long time; field in class:Test6963811 39 public Test6963811(long time, boolean sync) { argument 40 this.time = time; 46 Thread.sleep(this.time); // increase the chance of the deadlock
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KerberosTime.java | 53 * separators, and it shall specify the UTC time zone (Z). 70 // The time when this class is loaded. Used in setNow() 80 public KerberosTime(long time) { argument 81 kerberosTime = time; 84 private KerberosTime(long time, int micro) { argument 85 kerberosTime = time; 95 public KerberosTime(String time) throws Asn1Exception { argument 96 kerberosTime = toKerberosTime(time); 111 private static long toKerberosTime(String time) throws Asn1Exception { argument 123 if (time 153 KerberosTime(Date time) argument 198 setTime(Date time) argument 203 setTime(long time) argument 273 inClockSkew(KerberosTime time) argument 277 greaterThanWRTClockSkew(KerberosTime time, int clockSkew) argument 283 greaterThanWRTClockSkew(KerberosTime time) argument 287 greaterThan(KerberosTime time) argument [all...] |
/openjdk7/jdk/test/javax/sound/sampled/DirectAudio/ |
H A D | bug6400879.java | 117 long time = currentTimeMillis() - startTime; 118 long ms = time % 1000; 119 time /= 1000; 120 long sec = time % 60; 121 time /= 60; 122 long min = time % 60; 123 time /= 60; 125 + (time < 10 ? "0" : "") + time
|
/openjdk7/jdk/test/sun/security/krb5/auto/ |
H A D | LifeTimeInSeconds.java | 40 int time = cred.getRemainingLifetime(); 44 if (time > elevenhrs+60 || time < elevenhrs-60) {
|
/openjdk7/jdk/make/tools/src/build/tools/javazic/ |
H A D | Time.java | 34 * Time class represents the "AT" field and other time related information. 42 // type is wall clock time 45 // type is standard time 51 // type of representing time 57 private long time; field in class:Time 60 * Current time in milliseconds 65 time = 0L; 68 Time(long time) { argument 69 this.time = time; 142 getLocalTime(int year, Month month, RuleDay day, int save, int gmtOffset, Time time) argument 164 getLocalTime(int year, Month month, int day, long time) argument 179 getLocalTime(int year, Month month, int day, int time) argument 192 getLocalTime(int year, Month month, RuleDay day, long time) argument 206 getLocalTime(int year, Month month, RuleDay day, int time) argument 233 parse(String time) argument [all...] |
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | InvalidThreadID.java | 61 // CPU time for a non-existence thread 62 long time = mbean.getThreadCpuTime(999999); 63 if (time < 0 && time != -1) { 64 throw new RuntimeException("Cpu time for thread 999999" + 65 " is invalid = " + time + " expected to be -1.");
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | XPlotter.java | 40 public void addValues(long time, long... values) { argument 41 super.addValues(time, values);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/rcache/ |
H A D | CacheTable.java | 53 * @params time authenticator timestamp. 55 public synchronized void put(String principal, AuthTime time, long currTime) { argument 62 rc.put(time, currTime); 66 rc.put(time, currTime); 77 * This method tests if replay cache keeps a record of the authenticator's time stamp. 80 * @params time authenticator timestamp. 83 public Object get(AuthTime time, String principal) { argument 85 if ((rc != null) && (rc.contains(time))) { 86 return time;
|
H A D | AuthTime.java | 46 * @param time time from the <code>Authenticator</code>. 49 public AuthTime(long time, int c) { argument 50 kerberosTime = time;
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | ZipEntry.java | 38 long time = -1; // modification time (in DOS time) field in class:ZipEntry 82 time = e.time; 106 * Sets the modification time of the entry. 107 * @param time the entry modification time in number of milliseconds 111 public void setTime(long time) { argument 112 this.time 296 javaToDosTime(long time) argument [all...] |