Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 35) sorted by relevance

12

/libcore/ojluni/src/main/java/java/lang/reflect/
DAccessibleObject.java86 public static void setAccessible(AccessibleObject[] array, boolean flag) in setAccessible() argument
89 setAccessible0(array[i], flag); in setAccessible()
118 public void setAccessible(boolean flag) throws SecurityException { in setAccessible() argument
119 setAccessible0(this, flag); in setAccessible()
123 private static void setAccessible0(AccessibleObject obj, boolean flag) in setAccessible0() argument
126 if (obj instanceof Constructor && flag == true) { in setAccessible0()
140 obj.override = flag; in setAccessible0()
/libcore/ojluni/src/main/java/java/net/
DIDN.java108 public static String toASCII(String input, int flag) { in toASCII() argument
110 return IDNA.convertIDNToASCII(input, flag).toString(); in toASCII()
156 public static String toUnicode(String input, int flag) { in toUnicode() argument
160 return convertFullStop(IDNA.convertIDNToUnicode(input, flag)).toString(); in toUnicode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultStatusTest.java33 boolean flag = false; in test_SSLEngineResultStatus_values()
38 flag = false; in test_SSLEngineResultStatus_values()
41 flag = true; in test_SSLEngineResultStatus_values()
46 assertTrue("Incorrect Status", flag); in test_SSLEngineResultStatus_values()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java235 boolean flag; in test_getSymbolLjava_util_Locale()
241 flag = false; in test_getSymbolLjava_util_Locale()
244 flag = true; in test_getSymbolLjava_util_Locale()
253 + Arrays.toString(euro), flag); in test_getSymbolLjava_util_Locale()
257 flag = false; in test_getSymbolLjava_util_Locale()
260 flag = true; in test_getSymbolLjava_util_Locale()
269 + Arrays.toString(yen), flag); in test_getSymbolLjava_util_Locale()
273 flag = false; in test_getSymbolLjava_util_Locale()
276 flag = true; in test_getSymbolLjava_util_Locale()
285 + Arrays.toString(dollar), flag); in test_getSymbolLjava_util_Locale()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DOldFormattableTest.java27 boolean flag = false; field in OldFormattableTest.Mock_Formattable
40 flag = true; in formatTo()
44 return flag; in isFormatToCalled()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DRuntimeTest.java34 static boolean flag = false; field in RuntimeTest
53 if (flag) in finalize()
100 flag = true; in test_runFinalization()
DSystemTest.java30 static boolean flag = false; field in SystemTest
267 flag = true; in test_runFinalization()
393 flag = false; in setUp()
403 if (flag) in finalize()
/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java187 e.flag = 0; in putNextEntry()
193 e.flag = 8; in putNextEntry()
219 e.flag |= EFS; in putNextEntry()
241 if ((e.flag & 8) == 0) { in closeEntry()
375 int flag = e.flag; in writeLOC() local
381 if ((flag & 8) == 8) { in writeLOC()
383 writeShort(flag); // general purpose bit flag in writeLOC()
399 writeShort(flag); // general purpose bit flag in writeLOC()
449 int flag = e.flag; in writeCEN() local
480 writeShort(flag); // general purpose bit flag in writeCEN()
DZipInputStream.java47 private int flag; field in ZipInputStream
294 flag = get16(tmpbuf, LOCFLG); in readLOC()
306 ZipEntry e = createZipEntry(((flag & EFS) != 0) in readLOC()
310 if ((flag & 1) == 1) { in readLOC()
315 if ((flag & 8) == 8) { in readLOC()
377 if ((flag & 8) == 8) { in readEnd()
DZipEntry.java45 int flag = 0; // general purpose flag field in ZipEntry
110 flag = e.flag; in ZipEntry()
DZipFile.java358 if (!zc.isUTF8() && (entry.flag & EFS) != 0) { in getInputStream()
533 e.flag = getEntryFlag(jzentry); // get the flag first in getZipEntry()
538 if (!zc.isUTF8() && (e.flag & EFS) != 0) { in getZipEntry()
554 if (!zc.isUTF8() && (e.flag & EFS) != 0) { in getZipEntry()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
DOldSHA1PRNGSecureRandomTest.java191 boolean flag = true; in testNextBytesbyteArray03()
199 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray03()
206 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray03()
209 if (flag) { in testNextBytesbyteArray03()
250 boolean flag = true; in testNextBytesbyteArray04()
258 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray04()
265 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray04()
268 if (flag) { in testNextBytesbyteArray04()
/libcore/ojluni/src/main/java/java/util/stream/
DStreamOpFlag.java553 for (StreamOpFlag flag : StreamOpFlag.values()) { in createMask()
554 mask |= flag.maskTable.get(t) << flag.bitPosition; in createMask()
566 for (StreamOpFlag flag : StreamOpFlag.values()) { in createFlagMask()
567 mask |= flag.preserve; in createFlagMask()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamFlagsTest.java53 for (StreamOpFlag flag : setFlags) in assertFlags()
54 assertTrue(flag.isKnown(value)); in assertFlags()
55 for (StreamOpFlag flag : clearFlags) in assertFlags()
56 assertTrue(!flag.isKnown(value)); in assertFlags()
/libcore/ojluni/src/main/java/java/io/
DStreamTokenizer.java439 public void eolIsSignificant(boolean flag) { in eolIsSignificant() argument
440 eolIsSignificantP = flag; in eolIsSignificant()
455 public void slashStarComments(boolean flag) { in slashStarComments() argument
456 slashStarCommentsP = flag; in slashStarComments()
472 public void slashSlashComments(boolean flag) { in slashSlashComments() argument
473 slashSlashCommentsP = flag; in slashSlashComments()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLSocketFactoryImpl.java17 public Socket createSocket(Socket socket, String s, int i, boolean flag) in createSocket() argument
29 if (!flag) { in createSocket()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java343 byte flag = 0xF; in testInitKey()
360 flag &= 0xE; in testInitKey()
362 flag &= 0xD; in testInitKey()
367 flag &= 0xB; in testInitKey()
369 flag &= 0x7; in testInitKey()
373 assertTrue(flag == 0); in testInitKey()
/libcore/ojluni/src/main/native/
Djava_util_zip_ZipFile.c94 int flag = 0; in ZipFile_open() local
97 if (mode & OPEN_READ) flag |= O_RDONLY; in ZipFile_open()
106 zfd = winFileHandleOpen(env, name, flag); in ZipFile_open()
112 zfd = JVM_Open(path, flag, 0); in ZipFile_open()
225 return ze->flag; in ZipFile_getEntryFlag()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLServerSocket.java443 public abstract void setEnableSessionCreation(boolean flag); in setEnableSessionCreation() argument
DSSLSocket.java1323 public abstract void setEnableSessionCreation(boolean flag); in setEnableSessionCreation() argument
DSSLEngine.java1825 public abstract void setEnableSessionCreation(boolean flag); in setEnableSessionCreation() argument
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatFieldTest.java74 static boolean flag = false; field in OldNumberFormatFieldTest.MyNumberFormat
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatSymbolsTest.java68 boolean flag = false; in test_getAvailableLocales_no_provider()
71 flag = true; in test_getAvailableLocales_no_provider()
75 assertTrue(flag); in test_getAvailableLocales_no_provider()
DDateFormatSymbolsTest.java55 boolean flag = false; in test_getAvailableLocales_no_provider()
58 flag = true; in test_getAvailableLocales_no_provider()
62 assertTrue(flag); in test_getAvailableLocales_no_provider()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java144 public void setEnableSessionCreation(boolean flag) { } in setEnableSessionCreation() argument

12