/libcore/luni/src/test/java/libcore/java/net/ |
H A D | ProxySelectorTest.java | 66 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri)); 67 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpUri)); 68 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpsUri)); 69 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); 70 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); 80 proxySelector.select(ftpUri)); 82 proxySelector.select(httpUri)); 84 proxySelector.select(httpsUri)); 85 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); 86 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUr [all...] |
H A D | OldURLTest.java | 577 public List<Proxy> select(URI uri) { method in class:OldURLTest.MockProxySelector
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | JaxenXPathTestSuite.java | 109 * <context select="..."> 119 String select = element.getAttribute("select"); 120 Context context = new Context(inputSource, url, select); 152 final String select = element.getAttribute("select"); 154 /* Such as <test exception="true" select="..." count="0"/> */ 156 return new XPathTest(context, select) { 159 xpath.evaluate(select, contextNode); 167 /* a <test> with a nested <valueOf>, both of which have select attribute 220 private final String select; field in class:JaxenXPathTestSuite.Context 222 Context(InputSource inputSource, String url, String select) argument 250 private final String select; field in class:JaxenXPathTestSuite.XPathTest 252 XPathTest(Context context, String select) argument [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | Selector.java | 31 * By invoking the {@code select} method, the key set is checked and all keys 32 * that have been canceled since last select operation are moved to the set of 33 * canceled keys. During the select operation, the channels registered with this 57 * Closes this selector. Ongoing calls to the {@code select} methods of this 107 public abstract int select() throws IOException; method in class:Selector 127 public abstract int select(long timeout) throws IOException; method in class:Selector 155 * Forces blocked {@code select} operations to return immediately. 157 * If no {@code select} operation is blocked when {@code wakeup()} is called 158 * then the next {@code select} operation will return immediately. This can 160 * {@code selectNow()}, a subsequent call of {@code select} ca [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | ProxySelector.java | 117 public abstract List<Proxy> select(URI uri); method in class:ProxySelector
|
H A D | ProxySelectorImpl.java | 31 @Override public List<Proxy> select(URI uri) { method in class:ProxySelectorImpl
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | SelectorTest.java | 47 assertEquals(1, selector.select()); 65 assertEquals(1, selector.select()); 90 assertEquals(0, selector.select()); 98 int count = selector.select(); 111 selector.select(); 113 // create a latch that will reach 0 when select returns 118 selector.select(); 126 // select doesn't ever return, so await() times out and returns false 165 assertEquals(1, selector.select()); 167 assertEquals(0, selector.select()); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | UnixSelectorTest.java | 69 assertEquals(1, sel0.select(100)); 73 assertEquals(0, sel1.select(100)); 89 assertEquals(1, sel2.select(100)); 98 assertEquals(1, sel3.select(100)); 106 assertEquals(1, sel4.select(100)); 112 assertEquals(1, sel5.select(100));
|
H A D | SelectorTest.java | 218 * @tests java.nio.channel.Selector#select() 228 * @tests java.nio.channel.Selector#select() 235 * @tests java.nio.channel.Selector#select(long) 250 * @tests java.nio.channel.Selector#select(long) 259 * @tests java.nio.channel.Selector#select(long) 263 selector.select(-1); 270 * @test java.nio.channels.Selector#select(long) 273 // make sure select(timeout) doesn't block 274 selector.select(WAIT_TIME); 278 * @test java.nio.channels.Selector#select(lon [all...] |
H A D | SelectionKeyTest.java | 304 selector.select();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
H A D | MockAbstractSelector.java | 77 public int select(long arg0) throws IOException { method in class:MockAbstractSelector 81 public int select() throws IOException { method in class:MockAbstractSelector
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_NativePluralRules.cpp | 59 UnicodeString keyword = toPluralRules(address)->select(value);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldResultSetMetaDataTest.java | 37 String query = "select * from zoo"; 240 String query = "select name, animal_id from hutch, zoo where zoo.id = 1" ; 285 String select = "select * from DecimalNumbers;"; 293 rs = st3.executeQuery(select); 350 String select = "select * from DecimalNumbers;"; 356 rs = st.executeQuery(select);
|
H A D | OldStatementTest.java | 81 st.execute("select animals from zoo"); 111 st.execute("select animals from zoooo"); 128 st.execute("select animals from zoooo"); 140 st.execute("select horse from zoooooo"); 222 "select animal_id, address from hutch where animal_id=1;", 223 "create view address as select address from hutch where animal_id=2", 248 "select animal_id, from hutch where animal_id=1;", 276 "select animal_id, address from hutch where animal_id=1;", 277 "create view address as select address from hutch where animal_id=2", 384 st.executeQuery("select * fro [all...] |
/libcore/luni/src/main/java/java/nio/ |
H A D | SelectorImpl.java | 76 * time select returns, wakeupIn is drained. 146 @Override public int select() throws IOException { method in class:SelectorImpl 151 @Override public int select(long timeout) throws IOException { method in class:SelectorImpl
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
H A D | HttpURLConnectionTest.java | 142 public java.util.List<Proxy> select(URI uri) { method in class:HttpURLConnectionTest.TestProxySelector
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | FtpURLConnection.java | 168 // Use system-wide ProxySelect to select proxy list, 177 proxyList = selector.select(uri);
|
/libcore/crypto/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 5512 * (3) The pipe is used primarily as a means of cancelling a blocking select() 5516 * SSL_ERROR_WANT_WRITE. Both will enter a select() with the proper argument. 5517 * If one leaves the select() successfully before the other enters it, the 5523 * another thread stuck in a select(), it will write a byte to the pipe, waking 5524 * up the other thread. A thread that returned from select(), on the other hand, 5529 * other file descriptors of the select(), so there's only one condition to wait 5555 * select a protocol (on the client). We eagerly acquire a pointer to the array 5721 * @param timeout_millis The timeout value for select call, with the special value 5724 * select() semantics. 5725 * @return The result of the inner select() cal [all...] |
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |