Searched refs:clen (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | io_util_md.c | 55 int clen = CFStringGetLength(csref); in newStringPlatform() local 56 int ulen = (clen + 1) * 2; // utf16 + zero padding in newStringPlatform() 63 rv = (*env)->NewString(env, (jchar*)chars, clen); in newStringPlatform()
|
D | zip_util.c | 305 jint clen; in findEND() local 333 clen = ENDCOM(endbuf); in findEND() 334 if (clen != 0) { in findEND() 335 zip->comment = malloc(clen + 1); in findEND() 339 if (readFullyAt(zfd, zip->comment, clen, pos + i + ENDHDR) in findEND() 345 zip->comment[clen] = '\0'; in findEND() 346 zip->clen = clen; in findEND() 1029 jint nlen, elen, clen; in newEntry() local 1053 clen = CENCOM(cen); in newEntry() 1110 if (clen > 0) { in newEntry() [all …]
|
D | ZipFile.c | 259 if ((jba = (*env)->NewByteArray(env, zip->clen)) == NULL) in ZipFile_getCommentBytes() 261 (*env)->SetByteArrayRegion(env, jba, 0, zip->clen, (jbyte*)zip->comment); in ZipFile_getCommentBytes()
|
D | zip_util.h | 225 jint clen; /* length of the zip file comment */ member
|
/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/io/ |
D | RandomAccessFile.java | 1202 int clen = s.length(); in writeChars() local 1203 int blen = 2*clen; in writeChars() 1205 char[] c = new char[clen]; in writeChars() 1206 s.getChars(0, clen, c, 0); in writeChars() 1207 for (int i = 0, j = 0; i < clen; i++) { in writeChars()
|