/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLEngineResult.java | 154 private final Status status; field in SSLEngineResult 179 public SSLEngineResult(Status status, HandshakeStatus handshakeStatus, in SSLEngineResult() argument 182 if ((status == null) || (handshakeStatus == null) || in SSLEngineResult() 187 this.status = status; in SSLEngineResult() 199 return status; in getStatus() 235 return ("Status = " + status + in toString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ObjectTest.java | 269 int status; in test_wait() field in ObjectTest.TestThread 278 status = 1; in test_wait() 295 thread.status = 0; in test_wait() 301 assertEquals("Thread woke too early. (status=" + thread.status + ")", in test_wait() 302 0, thread.status); in test_wait() 306 assertEquals("Thread did not get notified. (status=" + thread.status + ")", in test_wait() 307 1, thread.status); in test_wait() 309 fail("Unexpectedly got an InterruptedException. (status=" + thread.status + ")"); in test_wait() 375 int status; in test_waitJI() field in ObjectTest.TestThread 382 status = 1; in test_waitJI() [all …]
|
/libcore/luni/src/main/native/ |
D | ScopedIcuULoc.h | 25 static void getLocale(const char* localeName, std::string& locale, UErrorCode* status) { in getLocale() argument 35 *status = err; in getLocale() 38 *status = err; in getLocale() 50 *status = err; in getLocale() 69 UErrorCode status = U_ZERO_ERROR; in ScopedIcuULoc() local 70 getLocale(localeName.c_str(), mLocale, &status); in ScopedIcuULoc() 71 isValid = U_SUCCESS(status); in ScopedIcuULoc()
|
D | libcore_icu_ICU.cpp | 50 UErrorCode status = U_ZERO_ERROR; in ICU_getScript() local 51 uloc_getScript(icuLocale.locale(), buffer.get(), capacity, &status); in ICU_getScript() 52 if (U_FAILURE(status)) { in ICU_getScript() 97 UErrorCode status = U_ZERO_ERROR; in ICU_getCldrVersion() local 99 ulocdata_getCLDRVersion(cldrVersion, &status); in ICU_getCldrVersion()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | SocketFlow.java | 128 private Status status = Status.NO_STATUS; field in SocketFlow 187 public Status status() { in status() method in SocketFlow 188 return status; in status() 191 void status(int status) { in status() argument 192 this.status = Status.from(status); in status() 200 .append(", status=").append(status()) in toString()
|
D | ExtendedSocketOptions.java | 273 int status = platformSocketOptions.setFlowOption(fdAccess.get(fd), in setFlowOption() local 276 f.status(status); // augment the given flow with the status in setFlowOption() 281 int status = platformSocketOptions.getFlowOption(fdAccess.get(fd), f); in getFlowOption() local 282 f.status(status); // augment the given flow with the status in getFlowOption()
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 392 FieldPosition status) { in format() argument 393 return format((double)number, toAppendTo, status); in format() 405 FieldPosition status) { in format() argument 435 public Number parse(String text, ParsePosition status) { in parse() argument 437 int start = status.index; in parse() 444 status.index = start + tempString.length(); in parse() 446 if (status.index > furthest) { in parse() 447 furthest = status.index; in parse() 453 status.index = furthest; in parse() 454 if (status.index == start) { in parse() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexFile.java | 613 private final String status; field in DexFile.OptimizationInfo 618 private OptimizationInfo(String status, String reason) { in OptimizationInfo() argument 619 this.status = status; in OptimizationInfo() 632 return status; in getStatus() 651 return isVerifiedCompilerFilter(status); in isVerified() 659 return isOptimizedCompilerFilter(status); in isOptimized() 666 return isOptimizedCompilerFilter(status) && !isProfileGuidedCompilerFilter(status); in isFullyCompiled() 686 String[] status = getDexFileOptimizationStatus(fileName, instructionSet); in getDexFileOptimizationInfo() local 687 return new OptimizationInfo(status[0], status[1]); in getDexFileOptimizationInfo()
|
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 312 #define WIFEXITED(status) (((status)&0xFF) == 0) argument 316 #define WEXITSTATUS(status) (((status)>>8)&0xFF) argument 320 #define WIFSIGNALED(status) (((status)&0xFF) > 0 && ((status)&0xFF00) == 0) argument 324 #define WTERMSIG(status) ((status)&0x7F) argument 336 int status; in UNIXProcess_waitForProcessExit() local 339 while (waitpid(pid, &status, 0) < 0) { in UNIXProcess_waitForProcessExit() 347 if (WIFEXITED(status)) { in UNIXProcess_waitForProcessExit() 351 return WEXITSTATUS(status); in UNIXProcess_waitForProcessExit() 352 } else if (WIFSIGNALED(status)) { in UNIXProcess_waitForProcessExit() 361 return WTERMSIG(status); in UNIXProcess_waitForProcessExit() [all …]
|
D | Runtime.c | 71 Runtime_nativeExit(JNIEnv *env, jclass this, jint status) in Runtime_nativeExit() argument 73 JVM_Exit(status); in Runtime_nativeExit()
|
D | Character.cpp | 155 UErrorCode status = U_ZERO_ERROR; in Character_getNameImpl() local 157 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status); in Character_getNameImpl() 158 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf); in Character_getNameImpl()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractQueuedLongSynchronizer.java | 93 volatile int status; // written by owner, atomic bit ops by others field in AbstractQueuedLongSynchronizer.Node 137 return status <= 1 || Thread.currentThread().isInterrupted(); in isReleasable() 220 if (t.status < 0) // wake up to clean link in enqueue() 244 if (h != null && (s = h.next) != null && s.status != 0) { in signalNext() 254 (s instanceof SharedNode) && s.status != 0) { in signalNextIfShared() 293 if (pred.status < 0) { in acquire() 344 } else if (node.status == 0) { in acquire() 345 node.status = WAITING; // enable signal and recheck in acquire() 372 if (s == null ? tail != q : (s.prev != q || s.status < 0)) in cleanQueue() 374 if (q.status < 0) { // cancelled in cleanQueue() [all …]
|
D | AbstractQueuedSynchronizer.java | 458 volatile int status; // written by owner, atomic bit ops by others field in AbstractQueuedSynchronizer.Node 502 return status <= 1 || Thread.currentThread().isInterrupted(); in isReleasable() 585 if (t.status < 0) // wake up to clean link in enqueue() 609 if (h != null && (s = h.next) != null && s.status != 0) { in signalNext() 619 (s instanceof SharedNode) && s.status != 0) { in signalNextIfShared() 658 if (pred.status < 0) { in acquire() 709 } else if (node.status == 0) { in acquire() 710 node.status = WAITING; // enable signal and recheck in acquire() 738 if (s == null ? tail != q : (s.prev != q || s.status < 0)) in cleanQueue() 740 if (q.status < 0) { // cancelled in cleanQueue() [all …]
|
D | StampedLock.java | 353 volatile int status; // written by owner, atomic bit ops by others field in StampedLock.Node 1161 if (h != null && (s = h.next) != null && s.status > 0) { in signalNext() 1209 if (pred.status < 0) { in acquireWrite() 1243 } else if (node.status == 0) { // enable signal in acquireWrite() 1246 node.status = WAITING; in acquireWrite() 1303 if (leader.status < 0 || leader.prev == null) in acquireRead() 1347 if (pred.status < 0) { in acquireRead() 1370 } else if (node.status == 0) { in acquireRead() 1373 node.status = WAITING; in acquireRead() 1403 if (s == null ? tail != q : (s.prev != q || s.status < 0)) in cleanQueue() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinTask.java | 273 volatile int status; // accessed directly by pool and workers field in ForkJoinTask 319 do {} while ((s = status) >= 0 && !casStatus(s, s |= (DONE | ABNORMAL))); in trySetCancelled() 336 while ((s = status) >= 0) { in trySetThrown() 375 if ((s = status) >= 0) { in doExec() 422 if ((s = status) < 0) in awaitDone() 454 while ((s = status) >= 0) { in awaitDone() 673 if ((s = status) >= 0) in join() 768 if ((s = t.status) >= 0) in invokeAll() 831 if ((s = t.status) >= 0) in invokeAll() 878 return status < 0; in isDone() [all …]
|
D | FutureTask.java | 496 final String status; in toString() local 499 status = "[Completed normally]"; in toString() 502 status = "[Completed exceptionally: " + outcome + "]"; in toString() 507 status = "[Cancelled]"; in toString() 517 status = "[Not completed]"; in toString() 520 return super.toString() + status; in toString()
|
D | SubmissionPublisher.java | 924 CompletableFuture<Void> status = new CompletableFuture<>(); in consume() local 925 subscribe(new ConsumerSubscriber<T>(status, consumer)); in consume() 926 return status; in consume() 931 final CompletableFuture<Void> status; field in SubmissionPublisher.ConsumerSubscriber 934 ConsumerSubscriber(CompletableFuture<Void> status, in ConsumerSubscriber() argument 936 this.status = status; this.consumer = consumer; in ConsumerSubscriber() 940 status.whenComplete((v, e) -> subscription.cancel()); in onSubscribe() 941 if (!status.isDone()) in onSubscribe() 945 status.completeExceptionally(ex); in onError() 948 status.complete(null); in onComplete() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldObjectTest.java | 33 int status = 0; field in OldObjectTest 131 assertEquals(3, status); in test_wait() 162 status = 3; in run() 197 assertEquals(3, status); in test_waitJI() 253 assertEquals(3, status); in test_waitJ()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileStore.java | 125 FeatureStatus status = checkIfFeaturePresent("user_xattr"); in supportsFileAttributeView() local 126 if (status == FeatureStatus.PRESENT) in supportsFileAttributeView() 128 if (status == FeatureStatus.NOT_PRESENT) in supportsFileAttributeView()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 97 public static int WEXITSTATUS(int status) { return (status & 0xff00) >> 8; } in WEXITSTATUS() argument 102 public static boolean WCOREDUMP(int status) { return (status & 0x80) != 0; } in WCOREDUMP() argument 107 public static int WTERMSIG(int status) { return status & 0x7f; } in WTERMSIG() argument 112 public static int WSTOPSIG(int status) { return WEXITSTATUS(status); } in WSTOPSIG() argument 117 public static boolean WIFEXITED(int status) { return (WTERMSIG(status) == 0); } in WIFEXITED() argument 122 public static boolean WIFSTOPPED(int status) { return (WTERMSIG(status) == 0x7f); } in WIFSTOPPED() argument 127 public static boolean WIFSIGNALED(int status) { return (WTERMSIG(status + 1) >= 2); } in WIFSIGNALED() argument
|
/libcore/tools/upstream/ |
D | pkg-status | 191 merge_status, work_status = file.status() 300 for (method, status) in self.merge_status_methods: 302 return status 311 status = self.merge_status() 312 if status in self.work_status_methods: 313 return self.work_status_methods[status]() 370 def status(self): member in JavaFile
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 168 HandshakeStatus status = engine.getHandshakeStatus(); in handshakeCompleted() local 169 switch (status) { in handshakeCompleted() 220 throw new IllegalStateException("Unexpected HandshakeStatus = " + status); in handshakeCompleted() 222 throw new IllegalStateException("Unknown HandshakeStatus = " + status); in handshakeCompleted()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 1092 private SSLEngineResult.HandshakeStatus status; 1105 status = engine.getHandshakeStatus(); 1114 log(status); 1121 return status; 1143 switch (status) { 1145 log(status); 1149 log(status); 1154 status = engine.getHandshakeStatus(); 1158 log(status); 1162 while (status == HandshakeStatus.NEED_UNWRAP) { [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 143 public void exit(int status) { in exit() argument 176 nativeExit(status); in exit() 358 public void halt(int status) { in halt() argument 369 nativeExit(status); in halt()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest1Test.java | 175 final int status = 33; in test_digestLB$LILI() local 182 return status; in test_digestLB$LILI() 185 assertEquals("returned status", status, md.digest(bytes, offset, len)); in test_digestLB$LILI()
|