Searched refs:NEW (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
D | FutureTask.java | 65 private static final int NEW = 0; field in FutureTask 108 this.state = NEW; // ensure visibility of callable in FutureTask() 125 this.state = NEW; // ensure visibility of callable in FutureTask() 133 return state != NEW; in isDone() 137 if (!(state == NEW && in cancel() 138 U.compareAndSwapInt(this, STATE, NEW, in cancel() 202 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in set() 220 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) { in setException() 228 if (state != NEW || in run() 233 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 | 215 #define NEW(type, n) ((type *) xmalloc(env, (n) * sizeof(type))) macro 259 pathv = NEW(char*, count+1); in splitPath() 268 pathv[i] = NEW(char, q - p + addSlash + 1); in splitPath() 497 errmsg = NEW(char, newsize); in throwIOException() 853 if ((c = NEW(ChildStuff, 1)) == NULL) return -1; in UNIXProcess_forkAndExec() 868 if ((c->argv = NEW(const char *, argc + 3)) == NULL) goto Catch; in UNIXProcess_forkAndExec() 875 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 | 347 assertEquals(Thread.State.NEW, th.getState()); in test_getState()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 371 return NEW; in toThreadState()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
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 | 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 | JSR166TestCase.java | 1449 static final int NEW = 0; 1453 int state = NEW;
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1743 NEW, enumConstant
|