• Home
  • Raw
  • Download

Lines Matching refs:id

49   private static void simpleTests(long id) {  in simpleTests()  argument
50 unlock(id); // Should fail. in simpleTests()
52 lock(id); in simpleTests()
53 unlock(id); in simpleTests()
54 unlock(id); // Should fail. in simpleTests()
56 lock(id); in simpleTests()
57 lock(id); in simpleTests()
58 unlock(id); in simpleTests()
59 unlock(id); in simpleTests()
60 unlock(id); // Should fail. in simpleTests()
62 rawWait(id, 0); // Should fail. in simpleTests()
63 rawWait(id, -1); // Should fail. in simpleTests()
64 rawWait(id, 1); // Should fail. in simpleTests()
66 lock(id); in simpleTests()
67 rawWait(id, 50); in simpleTests()
68 unlock(id); in simpleTests()
69 unlock(id); // Should fail. in simpleTests()
71 rawNotify(id); // Should fail. in simpleTests()
72 lock(id); in simpleTests()
73 rawNotify(id); in simpleTests()
74 unlock(id); in simpleTests()
75 unlock(id); // Should fail. in simpleTests()
77 rawNotifyAll(id); // Should fail. in simpleTests()
78 lock(id); in simpleTests()
79 rawNotifyAll(id); in simpleTests()
80 unlock(id); in simpleTests()
81 unlock(id); // Should fail. in simpleTests()
84 private static void threadTests(final long id) throws Exception { in threadTests() argument
93 lock(id); in threadTests()
95 rawWait(id, 0); in threadTests()
98 unlock(id); in threadTests()
118 lock(id); in threadTests()
119 rawNotify(id); in threadTests()
120 unlock(id); in threadTests()
133 lock(id); in threadTests()
134 rawNotifyAll(id); in threadTests()
135 unlock(id); in threadTests()
215 private static void lock(long id) { in lock() argument
217 rawMonitorEnter(id); in lock()
220 private static void unlock(long id) { in unlock() argument
223 rawMonitorExit(id); in unlock()
229 private static void rawWait(long id, long millis) { in rawWait() argument
232 rawMonitorWait(id, millis); in rawWait()
238 private static void rawNotify(long id) { in rawNotify() argument
241 rawMonitorNotify(id); in rawNotify()
247 private static void rawNotifyAll(long id) { in rawNotifyAll() argument
250 rawMonitorNotifyAll(id); in rawNotifyAll()
292 private static native void destroyRawMonitor(long id); in destroyRawMonitor() argument
293 private static native void rawMonitorEnter(long id); in rawMonitorEnter() argument
294 private static native void rawMonitorExit(long id); in rawMonitorExit() argument
295 private static native void rawMonitorWait(long id, long millis); in rawMonitorWait() argument
296 private static native void rawMonitorNotify(long id); in rawMonitorNotify() argument
297 private static native void rawMonitorNotifyAll(long id); in rawMonitorNotifyAll() argument