/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | FutureTask.java | 94 private static final int NEW = 0; field in FutureTask 137 this.state = NEW; // ensure visibility of callable in FutureTask() 154 this.state = NEW; // ensure visibility of callable in FutureTask() 162 return state != NEW; in isDone() 166 if (!(state == NEW && in cancel() 167 U.compareAndSwapInt(this, STATE, NEW, in cancel() 231 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in set() 249 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in setException() 257 if (state != NEW || in run() 262 if (c != null && state == NEW) { in run() [all …]
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressSource.java | 36 public enum State { NEW, CONNECTED, UPDATE, DELETE }; enumConstant 76 this.state = State.NEW; in ProgressSource()
|
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 220 #define NEW(type, n) ((type *) xmalloc(env, (n) * sizeof(type))) macro 264 pathv = NEW(char*, count+1); in splitPath() 273 pathv[i] = NEW(char, q - p + addSlash + 1); in splitPath() 516 errmsg = NEW(char, newsize); in throwIOException() 875 if ((c = NEW(ChildStuff, 1)) == NULL) return -1; in UNIXProcess_forkAndExec() 890 if ((c->argv = NEW(const char *, argc + 3)) == NULL) goto Catch; in UNIXProcess_forkAndExec() 897 if ((c->envv = NEW(const char *, envc + 1)) == NULL) goto Catch; in UNIXProcess_forkAndExec()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE,
|
D | OldThreadTest.java | 348 assertEquals(Thread.State.NEW, th.getState()); in test_getState()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | FutureTask.java | 124 private static final int NEW = 0; // 0x0 field in FutureTask
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 389 return NEW; in toThreadState()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Thread.annotated.java | 163 NEW, enumConstant
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Thread.annotated.java | 149 NEW, enumConstant
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Thread.java | 487 NEW, enumConstant
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ThreadPoolExecutorSubclassTest.java | 1252 assertEquals(LatchAwaiter.NEW, r1.state); in testSaturatedExecute4() 1253 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4() 1254 assertEquals(LatchAwaiter.NEW, r3.state); in testSaturatedExecute4() 1263 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4()
|
D | ThreadPoolExecutorTest.java | 1223 assertEquals(LatchAwaiter.NEW, r1.state); in testSaturatedExecute4() 1224 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4() 1225 assertEquals(LatchAwaiter.NEW, r3.state); in testSaturatedExecute4() 1234 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4()
|
D | JSR166TestCase.java | 1598 static final int NEW = 0; 1602 int state = NEW;
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadPoolExecutorSubclassTest.java | 1230 assertEquals(LatchAwaiter.NEW, r1.state); in testSaturatedExecute4() 1231 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4() 1232 assertEquals(LatchAwaiter.NEW, r3.state); in testSaturatedExecute4() 1241 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4()
|
D | ThreadPoolExecutorTest.java | 1201 assertEquals(LatchAwaiter.NEW, r1.state); in testSaturatedExecute4() 1202 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4() 1203 assertEquals(LatchAwaiter.NEW, r3.state); in testSaturatedExecute4() 1212 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4()
|
D | JSR166TestCase.java | 1489 static final int NEW = 0; 1493 int state = NEW;
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1932 NEW, enumConstant
|
/libcore/api/ |
D | current.txt | 4037 enum_constant public static final java.lang.Thread.State NEW;
|