Searched refs:valid (Results 1 - 19 of 19) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/io/
H A DFileDescriptor.java101 * Indicates whether this FileDescriptor is valid.
103 * @return {@code true} if this FileDescriptor is valid, {@code false}
106 public boolean valid() { method in class:FileDescriptor
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMNodeIterator.java62 private boolean valid=true; field in class:DTMNodeIterator
103 valid=false;
160 if(!valid)
178 if(!valid)
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DAlgorithmParameterGenerator3Test.java174 int[] valid = {512, 576, 640, 960, 1024};
178 for (int i = 0; i < valid.length; i++) {
180 gen.init(valid[i]);
182 fail("Exception should not be thrown for valid parameter" + valid[i]);
203 int[] valid = {512, 576, 640, 960, 1024};
207 for (int i = 0; i < valid.length; i++) {
209 gen.init(valid[i], new SecureRandom());
210 gen.init(valid[i], null);
212 fail("Exception should not be thrown for valid paramete
[all...]
/dalvik/vm/compiler/template/armv5te/
H A DTEMPLATE_INVOKE_METHOD_PREDICTED_CHAIN.S30 beq .LinvokeChain @ predicted chain is valid
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DFileDescriptorTest.java96 * @tests java.io.FileDescriptor#valid()
100 method = "valid",
104 // Test for method boolean java.io.FileDescriptor.valid()
111 assertTrue("Valid fd returned false", fd.valid());
113 assertTrue("Invalid fd returned true", !fd.valid());
H A DFileInputStreamTest.java243 assertTrue("Returned invalid fd", fis.getFD().valid());
245 assertTrue("Returned invalid fd", !fis.getFD().valid());
H A DFileOutputStreamTest.java246 assertTrue("Returned invalid fd", fos.getFD().valid());
248 assertTrue("Returned invalid fd", !fos.getFD().valid());
H A DRandomAccessFileTest.java80 // Checking the remaining valid mode parameters.
138 // Checking the remaining valid mode parameters.
242 assertTrue("Test 1: Returned invalid fd.", raf.getFD().valid());
245 assertFalse("Test 2: Returned valid fd after close", raf.getFD().valid());
/dalvik/libcore/luni/src/main/java/java/net/
H A DURL.java232 boolean valid = ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z');
233 for (int i = 1; valid && (i < protocol.length()); i++) {
235 valid = ('a' <= c && c <= 'z') ||
242 if (!valid) {
329 * if the combination of all arguments do not represent a valid
351 * if the combination of all arguments do not represent a valid
375 * if the combination of all arguments do not represent a valid
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DOSNetworkSystem.java668 * Used to check if the file descriptor arrays are valid before passing them
675 if (!fd.valid()) {
680 if (!fd.valid()) {
691 if (!readFDs[i].valid()) {
696 if (!writeFDs[i].valid()) {
/dalvik/libcore/sql/src/main/java/SQLite/
H A DStringEncoder.java95 * Decodes the given string that is assumed to be a valid encoding
101 * a valid encoded string for this encoder.
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DProcessManager.java372 if (fd != null && fd.valid()) {
400 if (fd != null && fd.valid()) {
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DPlainSocketImpl.java197 if (fd.valid()) {
278 if (!fd.valid()) {
305 if (!fd.valid()) {
H A DPlainDatagramSocketImpl.java137 if (fd.valid()) {
/dalvik/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java134 boolean valid = (c >= 0x20 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xfffd);
135 if (!valid) {
564 boolean valid = (ch >= 0x20 && ch <= 0xd7ff) ||
567 if (!valid) {
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
H A DDOMConfigurationImpl.java475 boolean valid = c == 0x9 || c == 0xA || c == 0xD
478 if (!valid) {
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DTimestampTest.java161 int[][] valid = { { 99, 2, 14, 17, 52, 3, 213577212 }, // 0 valid
162 { 0, 0, 1, 0, 0, 0, 0 }, // 1 valid
163 { 106, 11, 31, 23, 59, 59, 999999999 }, // 2 valid
180 { -10, 11, 31, 23, 59, 59, 999999999 }, // 15 valid - Years
184 for (int[] element : valid) {
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
H A DPKIXCertPathReviewer.java229 * @return the valid policy tree, <b>null</b> if no valid policy exists.
249 * @return the TrustAnchor for the CertPath, <b>null</b> if no valid TrustAnchor was found.
259 * @return if the CertPath is valid
264 boolean valid = true;
269 valid = false;
273 return valid;
843 // certificate valid?
1041 // a) valid policy tree
2018 // if no valid cr
[all...]
/dalvik/libcore/luni/src/main/native/
H A Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp107 #define SOCKERR_BADDESC -240 /* The socket argument is not a valid file descriptor */
527 // valid IPv4 addresses according to the Java API. If getaddrinfo fails,
721 return "The socket argument is not a valid file descriptor";
2310 const bool valid = fd >= 0 && fd < 1024; local
2312 if (valid && FD_ISSET(fd, &fdSet)) {

Completed in 492 milliseconds