Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/lang/reflect/
DAccessibleObject.java93 public static void setAccessible(AccessibleObject[] array, boolean flag) in setAccessible() argument
99 setAccessible0(array[i], flag); in setAccessible()
128 public void setAccessible(boolean flag) throws SecurityException { in setAccessible() argument
132 setAccessible0(this, flag); in setAccessible()
137 private static void setAccessible0(AccessibleObject obj, boolean flag) in setAccessible0() argument
140 if (obj instanceof Constructor && flag == true) { in setAccessible0()
161 obj.override = flag; in setAccessible0()
/libcore/ojluni/src/main/java/java/net/
DIDN.java105 public static String toASCII(String input, int flag) { in toASCII() argument
108 return IDNA.convertIDNToASCII(input, flag).toString(); in toASCII()
160 public static String toUnicode(String input, int flag) { in toUnicode() argument
165 return convertFullStop(IDNA.convertIDNToUnicode(input, flag)).toString(); in toUnicode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java247 boolean flag; in test_getSymbolLjava_util_Locale()
253 flag = false; in test_getSymbolLjava_util_Locale()
256 flag = true; in test_getSymbolLjava_util_Locale()
265 + Arrays.toString(euro), flag); in test_getSymbolLjava_util_Locale()
269 flag = false; in test_getSymbolLjava_util_Locale()
272 flag = true; in test_getSymbolLjava_util_Locale()
281 + Arrays.toString(yen), flag); in test_getSymbolLjava_util_Locale()
285 flag = false; in test_getSymbolLjava_util_Locale()
288 flag = true; in test_getSymbolLjava_util_Locale()
297 + Arrays.toString(dollar), flag); in test_getSymbolLjava_util_Locale()
[all …]
/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/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/
DZipEntry.java55 int flag = 0; // general purpose flag field in ZipEntry
155 flag = e.flag; in ZipEntry()
529 int flag = Byte.toUnsignedInt(extra[off]); in setExtra0() local
535 if ((flag & 0x1) != 0 && (sz0 + 4) <= sz) { in setExtra0()
539 if ((flag & 0x2) != 0 && (sz0 + 4) <= sz) { in setExtra0()
543 if ((flag & 0x4) != 0 && (sz0 + 4) <= sz) { in setExtra0()
DZipOutputStream.java205 e.flag = 0; in putNextEntry()
211 e.flag = 8; in putNextEntry()
237 e.flag |= EFS; in putNextEntry()
259 if ((e.flag & 8) == 0) { in closeEntry()
389 int flag = e.flag; in writeLOC() local
394 if ((flag & 8) == 8) { in writeLOC()
396 writeShort(flag); // general purpose bit flag in writeLOC()
411 writeShort(flag); // general purpose bit flag in writeLOC()
487 int flag = e.flag; in writeCEN() local
518 writeShort(flag); // general purpose bit flag in writeCEN()
DZipInputStream.java48 private int flag; field in ZipInputStream
304 flag = get16(tmpbuf, LOCFLG); in readLOC()
316 ZipEntry e = createZipEntry(((flag & EFS) != 0) in readLOC()
320 if ((flag & 1) == 1) { in readLOC()
325 if ((flag & 8) == 8) { in readLOC()
370 if ((flag & 8) == 8) { in readEnd()
DZipFile.java401 if (!zc.isUTF8() && (entry.flag & EFS) != 0) { in getInputStream()
618 e.flag = getEntryFlag(jzentry); // get the flag first in getZipEntry()
623 if (!zc.isUTF8() && (e.flag & EFS) != 0) { in getZipEntry()
639 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/annotations/hiddenapi/java/lang/reflect/
DAccessibleObject.java38 public static void setAccessible(java.lang.reflect.AccessibleObject[] array, boolean flag) in setAccessible() argument
43 public void setAccessible(boolean flag) throws java.lang.SecurityException { in setAccessible() argument
47 private static void setAccessible0(java.lang.reflect.AccessibleObject obj, boolean flag) in setAccessible0() argument
/libcore/ojluni/src/main/java/java/util/stream/
DStreamOpFlag.java566 for (StreamOpFlag flag : StreamOpFlag.values()) { in createMask()
567 mask |= flag.maskTable.get(t) << flag.bitPosition; in createMask()
579 for (StreamOpFlag flag : StreamOpFlag.values()) { in createFlagMask()
580 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/ojluni/src/main/java/sun/nio/fs/
DUnixNativeDispatcher.java151 static void unlinkat(int dfd, byte[] path, int flag) throws UnixException { in unlinkat() argument
154 unlinkat0(dfd, buffer.address(), flag); in unlinkat()
159 private static native void unlinkat0(int dfd, long pathAddress, int flag) in unlinkat0() argument
316 static void fstatat(int dfd, byte[] path, int flag, UnixFileAttributes attrs) in fstatat() argument
321 fstatat0(dfd, buffer.address(), flag, attrs); in fstatat()
326 private static native void fstatat0(int dfd, long pathAddress, int flag, in fstatat0() argument
DLinuxDosFileAttributeView.java257 private void updateDosAttribute(int flag, boolean enable) throws IOException {
265 newValue |= flag;
267 newValue &= ~flag;
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DAccessibleObject.annotated.java36 public static void setAccessible(java.lang.reflect.AccessibleObject[] array, boolean flag) throws j… in setAccessible() argument
38 public void setAccessible(boolean flag) throws java.lang.SecurityException { throw new RuntimeExcep… in setAccessible() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java343 byte flag = 0xF; in testInitKey()
363 flag &= 0xE; in testInitKey()
365 flag &= 0xD; in testInitKey()
370 flag &= 0xB; in testInitKey()
372 flag &= 0x7; in testInitKey()
376 assertTrue(flag == 0); in testInitKey()
/libcore/ojluni/src/main/native/
DZipFile.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()
221 return ze->flag; in ZipFile_getEntryFlag()
/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()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DAclEntry.java405 for (AclEntryFlag flag: flags) { in toString()
406 sb.append(flag.name()); in toString()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLServerSocket.java459 public abstract void setEnableSessionCreation(boolean flag); in setEnableSessionCreation() argument

12