Searched defs:res (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/main/native/
H A DPortability.h29 const struct addrinfo* hints, unsigned /*netid*/, unsigned /*mark*/, struct addrinfo** res) {
30 return getaddrinfo(hostname, servname, hints, res);
28 android_getaddrinfofornet(const char* hostname, const char* servname, const struct addrinfo* hints, unsigned , unsigned , struct addrinfo** res) argument
H A Dlibcore_io_Posix.cpp1564 int res = removexattr(path.c_str(), name.c_str()); local
1565 if (res < 0) {
1818 int res = setxattr(path.c_str(), name.c_str(), value.get(), valueLength, flags); local
1819 if (res < 0) {
/libcore/ojluni/src/main/native/
H A DFileKey.c58 int res; local
60 RESTARTABLE(fstat64(fdval(env, fdo), &fbuf), res);
61 if (res < 0) {
H A DPollArrayWrapper.c57 int res = poll(fds, nfds, remaining); local
58 if (res < 0 && errno == EINTR) {
70 return res;
H A Djava_util_zip_Deflater.c101 int res; local
105 res = deflateSetDictionary((z_stream *)jlong_to_ptr(addr), buf + off, len);
107 switch (res) {
130 int res; local
153 res = deflateParams(strm, level, strategy);
157 switch (res) {
192 res = deflate(strm, finish ? Z_FINISH : flush);
196 switch (res) {
H A Djava_util_zip_Inflater.c91 int res; local
94 res = inflateSetDictionary(jlong_to_ptr(addr), buf + off, len);
96 switch (res) {
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLClassLoaderTest.java103 Enumeration<URL> res = ucl.findResources("test0");
104 assertNotNull("Failed to locate resources", res);
107 while (res.hasMoreElements()) {
108 StringBuffer sb = getResContent(res.nextElement());
206 URL res = ucl.findResource("test1");
207 assertNotNull("Failed to locate resource", res);
209 StringBuffer sb = getResContent(res);
272 private StringBuffer getResContent(URL res) throws IOException { argument
274 InputStream is = res.openStream();
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DBuildStep.java81 * @param res result, where result is one of POSSIBLE, BACK,
84 public BuildStep(Vertex vtx, int res) { argument
90 result = res;
186 * @param res result code
189 public String resultToString(int res) { argument
191 switch (res) {
/libcore/ojluni/src/main/java/java/net/
H A DURLClassLoader.java358 Resource res = ucp.getResource(path, false);
359 if (res != null) {
361 return defineClass(name, res);
409 private Class defineClass(String name, Resource res) throws IOException { argument
412 URL url = res.getCodeSourceURL();
416 Manifest man = res.getManifest();
436 java.nio.ByteBuffer bb = res.getByteBuffer();
439 CodeSigner[] signers = res.getCodeSigners();
443 byte[] b = res.getBytes();
445 CodeSigner[] signers = res
[all...]
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldResultSetGetterTests.java47 ResultSet res = null; field in class:OldResultSetGetterTests
222 res = st.executeQuery(queryAllSelect);
223 assertTrue(res.next());
230 res.close();
234 res.close();
245 res.next();
247 assertNull(res.getBytes(i));
252 res.close();
253 res.getBytes(24);
265 ResultSet res
[all...]
/libcore/luni/src/main/java/java/math/
H A DBigInteger.java1135 static int multiplyByInt(int[] res, int[] a, int aSize, int factor) { argument
1140 res[i] = (int) carry;
/libcore/jsr166-tests/src/test/java/jsr166/
H A DThreadPoolExecutorSubclassTest.java66 CustomTask(final Runnable r, final V res) { argument
69 public V call() throws Exception { r.run(); return res; }};

Completed in 853 milliseconds