/libcore/luni/src/main/native/ |
H A D | java_math_NativeBN.cpp | 175 static void NativeBN_BN_bin2bn(JNIEnv* env, jclass, jbyteArray arr, int len, jboolean neg, jlong ret) { argument 181 if (!BN_bin2bn(reinterpret_cast<const unsigned char*>(bytes.get()), len, toBigNum(ret))) { 189 static void NativeBN_litEndInts2bn(JNIEnv* env, jclass, jintArray arr, int len, jboolean neg, jlong ret0) { argument 202 size_t numBytes = len * sizeof(int);
|
H A D | libcore_icu_NativeConverter.cpp | 517 int8_t len = sizeof(replacementBytes); local 518 ucnv_getSubstChars(cnv, replacementBytes, &len, &status); 522 jbyteArray result = env->NewByteArray(len); 526 env->SetByteArrayRegion(result, 0, len, reinterpret_cast<jbyte*>(replacementBytes));
|
/libcore/ojluni/src/main/native/ |
H A D | LinuxWatchService.c | 63 arr[3] = (jint)offsetof(struct inotify_event, len);
|
H A D | jni_util.c | 39 #define MALLOC_MIN4(len) ((char *)malloc((len) + 1 < 4 ? 4 : (len) + 1)) 395 // int len = (int)strlen(str); 401 // if (len > 512) { 402 // str1 = (jchar *)malloc(len * sizeof(jchar)); 410 // for (i=0;i<len;i++) 412 // result = (*env)->NewString(env, str1, len); 423 // jint len = (*env)->GetStringLength(env, jstr); 429 // result = MALLOC_MIN4(len); 845 Canonicalize(JNIEnv *env, char *orig, char *out, int len) argument [all...] |
H A D | net_util.c | 344 in_cksum(unsigned short *addr, int len) { argument 345 int nleft = len;
|
/libcore/tools/docs/crypto/ |
H A D | update_crypto_support.py | 99 name = name[:-1 * len("/PKCS7PADDING")] + "/PKCS5PADDING"
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | BufferedInputStreamTest.java | 406 public int read(byte[] buf, int off, int len) throws IOException { 410 int toRead = len;
|
H A D | BufferedReaderTest.java | 231 /* Null buffer should throw NPE even when len == 0 */ 309 public int read(char[] buf, int off, int len) throws IOException { 312 int toRead = len;
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | LibcoreIoDerivedBase64Test.java | 296 /** Assert that actual equals the first len bytes of expected. */ 297 private static void assertSubArrayEquals(int[] expected, int len, int[] actual) { argument 299 String expectedString = intsToString(expected, len);
|
/libcore/luni/src/test/java/tests/java/security/ |
H A D | SecureClassLoaderTest.java | 231 public Class define(String name, byte[] b, int off, int len, argument 233 return defineClass(name, b, off, len, cs);
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | PrintStream.java | 475 * Writes <code>len</code> bytes from the specified byte array starting at 486 * @param len Number of bytes to write 488 public void write(byte buf[], int off, int len) { argument 492 out.write(buf, off, len);
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
H A D | BaseCalendar.java | 185 protected void setCache(int year, long jan1, int len) { argument 188 cachedFixedDateNextJan1 = jan1 + len;
|
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | Cipher.java | 2265 * @param len the number of AAD bytes 2270 * {@code len} is greater than the length of the 2283 public final void updateAAD(byte[] src, int offset, int len) { argument 2287 if ((src == null) || (offset < 0) || (len < 0) 2288 || ((len + offset) > src.length)) { 2293 if (len == 0) { 2296 spi.engineUpdateAAD(src, offset, len);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | StringTest.java | 47 private static String newString(int start, int len, char[] data) throws Exception { argument 49 return new String(data, start, len); 52 return UNSAFE_CONSTRUCTOR.newInstance(Integer.valueOf(start), Integer.valueOf(len),
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | URL.java | 634 int len = protocol.length(); 635 if (len < 1) 640 for (int i = 1; i < len; i++) {
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | ArrayDeque.java | 819 int len = a.length; 820 if (size > len) { 825 if (size < len)
|
H A D | PriorityQueue.java | 259 int len = a.length; 260 if (len == 1 || this.comparator != null)
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
H A D | FileSystemPreferences.java | 849 int len = s.length(); 850 byte[] result = new byte[2*len]; 851 for (int i=0, j=0; i<len; i++) {
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
H A D | PlatformLogger.java | 657 int len = (params != null) ? params.length : 0; 658 Object[] sparams = new String[len]; 659 for (int i = 0; i < len; i++) {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | SignatureTest.java | 234 * Class under test for sign(byte[], offset, len) 623 protected void engineUpdate(byte[] b, int off, int len) argument 683 protected void engineUpdate(byte[] b, int off, int len) argument
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Package.java | 252 int len = Math.max(di.length, si.length); 253 for (int i = 0; i < len; i++) {
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerValue.java | 319 public DerValue(byte[] buf, int offset, int len) throws IOException { argument 320 data = init(true, new ByteArrayInputStream(buf, offset, len));
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldBufferedWriterTest.java | 308 public void write(char cbuf[], int off, int len) throws IOException {
|
/libcore/luni/src/test/java/libcore/java/math/ |
H A D | OldBigDecimalConstructorsTest.java | 275 * new BigDecimal(char[] value, int offset, int len, MathContext mc); 280 int len = 12; 284 BigDecimal result = new BigDecimal(value, offset, len, mc); 368 * new BigDecimal(char[] value, int offset, int len, MathContext mc); 373 int len = 120; 378 new BigDecimal(value, offset, len, mc); 389 // (even if for quite sure the implementation will use the offset/len variant internally):
|
/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
|