Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java1220 int clen = s.length(); in writeChars() local
1221 int blen = 2*clen; in writeChars()
1223 char[] c = new char[clen]; in writeChars()
1224 s.getChars(0, clen, c, 0); in writeChars()
1225 for (int i = 0, j = 0; i < clen; i++) { in writeChars()
/libcore/ojluni/src/main/native/
Dio_util_md.c64 int clen = CFStringGetLength(csref); in newStringPlatform() local
65 int ulen = (clen + 1) * 2; // utf16 + zero padding in newStringPlatform()
72 rv = (*env)->NewString(env, (jchar*)chars, clen); in newStringPlatform()
Dzip_util.c341 jint clen; in findEND() local
369 clen = ENDCOM(endbuf); in findEND()
370 if (clen != 0) { in findEND()
371 zip->comment = malloc(clen + 1); in findEND()
375 if (readFullyAt(zfd, zip->comment, clen, pos + i + ENDHDR) in findEND()
381 zip->comment[clen] = '\0'; in findEND()
382 zip->clen = clen; in findEND()
1112 jint nlen, elen, clen; in newEntry() local
1136 clen = CENCOM(cen); in newEntry()
1193 if (clen > 0) { in newEntry()
[all …]
DZipFile.c254 if ((jba = (*env)->NewByteArray(env, zip->clen)) == NULL) in ZipFile_getCommentBytes()
256 (*env)->SetByteArrayRegion(env, jba, 0, zip->clen, (jbyte*)zip->comment); in ZipFile_getCommentBytes()
Dzip_util.h226 jint clen; /* length of the zip file comment */ member
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java687 int clen = CENCOM(cen, pos); in getZipEntry() local
726 if (clen != 0) { in getZipEntry()
728 e.comment = zc.toString(cen, start, clen); in getZipEntry()