Home
last modified time | relevance | path

Searched refs:ulen (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/native/
Dio_util_md.c48 int ulen = (clen + 1) * 2; // utf16 + zero padding in newStringPlatform() local
49 char* chars = malloc(ulen); in newStringPlatform()
54 if (CFStringGetCString(csref, chars, ulen, kCFStringEncodingUTF16)) { in newStringPlatform()
Djava_util_zip_ZipFile.c165 jsize ulen = (*env)->GetArrayLength(env, name); in ZipFile_getEntry() local
169 if (ulen > MAXNAME) { in ZipFile_getEntry()
170 path = malloc(ulen + 2); in ZipFile_getEntry()
178 (*env)->GetByteArrayRegion(env, name, 0, ulen, (jbyte *)path); in ZipFile_getEntry()
179 path[ulen] = '\0'; in ZipFile_getEntry()
183 ze = ZIP_GetEntry(zip, path, (jint)ulen); in ZipFile_getEntry()
Dzip_util.c1162 ZIP_GetEntry(jzfile *zip, char *name, jint ulen) in ZIP_GetEntry() argument
1231 if (ulen == 0) { in ZIP_GetEntry()
1236 if (name[ulen-1] == '/') { in ZIP_GetEntry()
1241 name[ulen] = '/'; in ZIP_GetEntry()
1242 name[ulen+1] = '\0'; in ZIP_GetEntry()
1245 ulen = 0; in ZIP_GetEntry()
Dzip_util.h271 jzentry * ZIP_GetEntry(jzfile *zip, char *name, jint ulen);