/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | CharsetEncoder.java | 917 ByteBuffer buf = encode(cb); 918 return buf.hasRemaining();
|
/libcore/ojluni/src/main/native/ |
H A D | zip_util.h | 248 ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm); 274 jint ZIP_Read(jzfile *zip, jzentry *entry, jlong pos, void *buf, jint len);
|
H A D | jni_util.c | 160 char buf[256]; local 161 int n = JVM_GetLastErrorString(buf, sizeof(buf)); 164 jstring s = JNU_NewStringPlatform(env, buf); 396 // jchar buf[512]; 408 // str1 = buf; 413 // if (str1 != buf) 455 // jchar buf[512]; 467 // str1 = buf; 478 // if (str1 != buf) [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | X509CRLTest.java | 112 byte[] buf = new byte[ris.available()]; 113 dis.readFully(buf); 114 return buf; 130 final BufferedReader buf = new BufferedReader(new InputStreamReader(ris)); 133 while ((line = buf.readLine()) != null) {
|
H A D | X509CertificateTest.java | 176 final BufferedReader buf = new BufferedReader(new InputStreamReader(ris)); 177 String line = buf.readLine(); 182 line = buf.readLine(); 202 final BufferedReader buf = new BufferedReader(new InputStreamReader(ris)); 204 String line = buf.readLine(); 221 byte[] buf = new byte[ris.available()]; 222 dis.readFully(buf); 223 return buf;
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Properties.java | 483 char[] buf = new char[newLength]; 484 System.arraycopy(lineBuf, 0, buf, 0, lineBuf.length); 485 lineBuf = buf;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldStringTest.java | 37 char[] buf = { 'W', 'o', 'r', 'l', 'd' }; field in class:OldStringTest 365 "World", String.valueOf(buf));
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerInputStream.java | 117 DerInputStream(DerInputBuffer buf) { argument 118 buffer = buf;
|
H A D | ObjectIdentifier.java | 268 ObjectIdentifier (DerInputBuffer buf) throws IOException argument 270 DerInputStream in = new DerInputStream(buf);
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | DatagramChannelImpl.java | 550 public int read(ByteBuffer buf) throws IOException { argument 551 if (buf == null) 566 n = IOUtil.read(fd, buf, -1, nd); 606 public int write(ByteBuffer buf) throws IOException { argument 607 if (buf == null) 622 n = IOUtil.write(fd, buf, -1, nd);
|
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | BufferTest.java | 533 byte[] buf = new byte[5]; 535 b.get(buf); 539 b.get(buf, 1, 3); 572 b.put(buf); 576 b.put(buf, 1, 3); 638 public static native long jniGetDirectBufferAddress(Buffer buf); argument 639 public static native long jniGetDirectBufferCapacity(Buffer buf); argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | StringTest.java | 144 char[] buf = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; 145 String s = new String(buf, 0, buf.length);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | URLConnection.java | 1744 byte buf[] = new byte[len]; 1745 if (is.read(buf, 0, len) < len) { 1751 c[i] = buf[i] & 0xff;
|
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | ParseUtil.java | 141 char[] buf = new char[newLen]; 142 System.arraycopy(retCC, 0, buf, 0, retLen); 143 retCC = buf;
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | X509CertImpl.java | 1991 StringBuffer buf = new StringBuffer(); 1993 byte2hex(digest[i], buf); 1995 fingerPrint = buf.toString(); 2005 private static void byte2hex(byte b, StringBuffer buf) { argument 2010 buf.append(hexChars[high]); 2011 buf.append(hexChars[low]);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
H A D | JarFileTest.java | 65 byte[] buf = new byte[666]; 69 iRead = is.read(buf, 0, buf.length); 70 if (iRead > 0) bs.write(buf, 0, iRead);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | RecursiveActionTest.java | 1229 long[] buf = Arrays.copyOfRange(array, lo, mid); 1230 for (int i = 0, j = lo, k = mid; i < buf.length; j++) 1231 array[j] = (k == hi || buf[i] < array[k]) ? 1232 buf[i++] : array[k++];
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XmlPullParserFactoryTest.java | 202 public XmlSerializer text(char[] buf, int start, int len) throws IOException { argument
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | MacTest.java | 313 byte [] buf = new byte[10]; 314 ByteBuffer bBuf = ByteBuffer.wrap(buf, 0, 10); 324 macs[i].update(buf); 329 macs[i].update(buf, 0, 3);
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | UNIXProcess.java | 298 if (buf == null) // asynchronous close()?
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Posix.cpp | 467 static jobject makeStructUtsname(JNIEnv* env, const struct utsname& buf) { argument 468 TO_JAVA_STRING(sysname, buf.sysname); 469 TO_JAVA_STRING(nodename, buf.nodename); 470 TO_JAVA_STRING(release, buf.release); 471 TO_JAVA_STRING(version, buf.version); 472 TO_JAVA_STRING(machine, buf.machine); 1043 char buf[NI_MAXHOST]; // NI_MAXHOST is longer than INET6_ADDRSTRLEN. local 1045 int rc = getnameinfo(reinterpret_cast<sockaddr*>(&ss), sa_len, buf, sizeof(buf), NULL, 0, flags); 1050 return env->NewStringUTF(buf); 1190 char buf[IF_NAMESIZE]; local 1911 struct utsname buf; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeImpl.java | 397 void getTextContent(StringBuilder buf) throws DOMException { argument 400 buf.append(content);
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | ZipInputStream.java | 375 ((PushbackInputStream)in).unread(buf, len - n, n);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 675 byte[] buf = new byte[128]; 676 int read = bufIn.read(buf); 677 out.write(buf, 0, read);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | DecimalFormatTest.java | 743 StringBuffer buf = new StringBuffer(); 745 format.format(new Long(1970), buf, new FieldPosition(0)); 746 assertEquals("1970", buf.toString()); 748 format.format(new Long(1970), buf, new FieldPosition(0)); 749 assertEquals("19701970", buf.toString()); 753 format.format(new Long(1970), buf, new FieldPosition(0)); 754 assertEquals("197019701,970", buf.toString());
|