Home
last modified time | relevance | path

Searched refs:NEW (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DFutureTask.java94 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/
DProgressSource.java36 public enum State { NEW, CONNECTED, UPDATE, DELETE }; enumConstant
76 this.state = State.NEW; in ProgressSource()
/libcore/ojluni/src/main/native/
DUNIXProcess_md.c220 #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/
DOldThreadStateTest.java23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE,
DOldThreadTest.java348 assertEquals(Thread.State.NEW, th.getState()); in test_getState()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java124 private static final int NEW = 0; // 0x0 field in FutureTask
/libcore/ojluni/src/main/java/sun/misc/
DVM.java389 return NEW; in toThreadState()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java163 NEW, enumConstant
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java149 NEW, enumConstant
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java487 NEW, enumConstant
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorSubclassTest.java1252 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()
DThreadPoolExecutorTest.java1223 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()
DJSR166TestCase.java1598 static final int NEW = 0;
1602 int state = NEW;
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorSubclassTest.java1230 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()
DThreadPoolExecutorTest.java1201 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()
DJSR166TestCase.java1489 static final int NEW = 0;
1493 int state = NEW;
/libcore/ojluni/src/main/java/java/lang/
DThread.java1932 NEW, enumConstant
/libcore/api/
Dcurrent.txt4037 enum_constant public static final java.lang.Thread.State NEW;