Home
last modified time | relevance | path

Searched refs:bool (Results 1 – 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DWeakReferenceTest.java24 static Boolean bool; field in WeakReferenceTest
27 bool = null; in doneSuite()
36 bool = Boolean.valueOf(true); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
39 WeakReference wr = new WeakReference(bool, rq); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
46 assertTrue("should always pass", bool.booleanValue()); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
50 new WeakReference(bool, null); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
61 bool = Boolean.valueOf(true); in test_ConstructorLjava_lang_Object()
63 WeakReference wr = new WeakReference(bool); in test_ConstructorLjava_lang_Object()
72 assertTrue("should always pass", bool.booleanValue()); in test_ConstructorLjava_lang_Object()
DSoftReferenceTest.java26 static Boolean bool; field in SoftReferenceTest
30 bool = null; in doneSuite()
39 bool = Boolean.valueOf(true); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
41 SoftReference sr = new SoftReference(bool, rq); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
50 new SoftReference(bool, null); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
61 bool = Boolean.valueOf(true); in test_ConstructorLjava_lang_Object()
63 SoftReference sr = new SoftReference(bool); in test_ConstructorLjava_lang_Object()
75 bool = Boolean.valueOf(false); in test_get()
76 SoftReference sr = new SoftReference(bool); in test_get()
77 assertTrue("Same object not returned.", bool == sr.get()); in test_get()
DPhantomReferenceTest.java29 static Boolean bool; field in PhantomReferenceTest
32 bool = null; in doneSuite()
40 bool = Boolean.valueOf(false); in test_get()
41 PhantomReference pr = new PhantomReference(bool, rq); in test_get()
132 bool = Boolean.valueOf(true); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
134 PhantomReference pr = new PhantomReference(bool, rq); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
142 assertTrue("should always pass", bool.booleanValue()); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
146 new PhantomReference(bool, null); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue()
/libcore/support/src/test/java/libcore/java/io/
DNullPrintStream.java48 public void print(boolean bool) {} in print() argument
58 public void println(boolean bool) {} in println() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DInvocationTargetExceptionTest.java38 public void parmTest(int x, short y, String s, boolean bool, Object o, in parmTest() argument
47 boolean bool, Object o, long l, byte b, char c, double d, in printTest() argument
DMethodTest.java42 public void parmTest(int x, short y, String s, boolean bool, Object o, in parmTest() argument
51 boolean bool, Object o, long l, byte b, char c, double d, in printTest() argument
/libcore/tools/expected_upstream/
Dojluni_refresh_files.py108 repo: Repo, checkout_only: bool) -> None: argument
209 def create_commits(repo: Repo, checkout_only: bool) -> None: argument
Dojluni_merge_to_main.py203 last_expected_change_id: str, discard_working_tree: bool) -> Head: argument
410 bug_id: str, use_rerere: bool, is_absorbed: bool, argument
411 discard_working_tree: bool) -> None: argument
Dcommon_util.py424 def has_file(self, path: str) -> bool:
438 def has_file_in_tree(path: str, tree: Tree) -> bool:
Dojluni_modify_expectation.py188 def source_not_exists(src_path_or_class: str) -> bool:
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java984 boolean bool = !client.getTcpNoDelay(); in test_getTcpNoDelay()
985 client.setTcpNoDelay(bool); in test_getTcpNoDelay()
987 client.getTcpNoDelay() == bool); in test_getTcpNoDelay()
1517 boolean bool; in test_setTcpNoDelayZ()
1518 client.setTcpNoDelay(bool = !client.getTcpNoDelay()); in test_setTcpNoDelayZ()
1519 …tTrue("Failed to set no delay setting: " + client.getTcpNoDelay(), client.getTcpNoDelay() == bool); in test_setTcpNoDelayZ()
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java416 boolean bool = !s.getTcpNoDelay(); in test_getTcpNoDelay()
417 s.setTcpNoDelay(bool); in test_getTcpNoDelay()
419 s.getTcpNoDelay() == bool); in test_getTcpNoDelay()
564 boolean bool; in test_setTcpNoDelayZ()
565 s.setTcpNoDelay(bool = !s.getTcpNoDelay()); in test_setTcpNoDelayZ()
567 s.getTcpNoDelay() == bool); in test_setTcpNoDelayZ()
/libcore/ojluni/src/test/java/util/Random/
DRandomTestCoverage.java52 boolean bool = rng.nextBoolean(); in coverRandomGenerator()
/libcore/ojluni/src/main/java/java/security/
DProvider.java1851 boolean bool = (supportedFormats != null) in hasKeyAttributes()
1853 b = Boolean.valueOf(bool); in hasKeyAttributes()