Searched refs:clen (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | io_util_md.c | 47 int clen = CFStringGetLength(csref); in newStringPlatform() local 48 int ulen = (clen + 1) * 2; // utf16 + zero padding in newStringPlatform() 55 rv = (*env)->NewString(env, (jchar*)chars, clen); in newStringPlatform()
|
D | zip_util.c | 314 jint clen; in findEND() local 342 clen = ENDCOM(endbuf); in findEND() 343 if (clen != 0) { in findEND() 344 zip->comment = malloc(clen + 1); in findEND() 348 if (readFullyAt(zfd, zip->comment, clen, pos + i + ENDHDR) in findEND() 354 zip->comment[clen] = '\0'; in findEND() 355 zip->clen = clen; in findEND() 1031 jint nlen, elen, clen; in newEntry() local 1055 clen = CENCOM(cen); in newEntry() 1111 if (clen > 0) { in newEntry() [all …]
|
D | java_util_zip_ZipFile.c | 257 if ((jba = (*env)->NewByteArray(env, zip->clen)) == NULL) in ZipFile_getCommentBytes() 259 (*env)->SetByteArrayRegion(env, jba, 0, zip->clen, (jbyte*)zip->comment); in ZipFile_getCommentBytes()
|
D | zip_util.h | 223 jint clen; /* length of the zip file comment */ member
|
/libcore/ojluni/src/main/java/java/io/ |
D | RandomAccessFile.java | 1123 int clen = s.length(); in writeChars() local 1124 int blen = 2*clen; in writeChars() 1126 char[] c = new char[clen]; in writeChars() 1127 s.getChars(0, clen, c, 0); in writeChars() 1128 for (int i = 0, j = 0; i < clen; i++) { in writeChars()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 56 int clen = ((ArrayDecoder)cd).decode(ba, 0, length, ca); in toString() local 57 if (clen == -1) // malformed in toString() 59 return new String(ca, 0, clen); in toString()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringCoding.java | 165 int clen = ((ArrayDecoder)cd).decode(ba, off, len, ca); in decode() local 166 return safeTrim(ca, clen, cs, isTrusted); in decode() 241 int clen = ((ArrayDecoder)cd).decode(ba, off, len, ca); in decode() local 242 return safeTrim(ca, clen, cs, isTrusted); in decode()
|