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.c56 int ulen = (clen + 1) * 2; // utf16 + zero padding in newStringPlatform() local
57 char* chars = malloc(ulen); in newStringPlatform()
62 if (CFStringGetCString(csref, chars, ulen, kCFStringEncodingUTF16)) { in newStringPlatform()
DZipFile.c171 jsize ulen = (*env)->GetArrayLength(env, name); in ZipFile_getEntry() local
175 if (ulen > MAXNAME) { in ZipFile_getEntry()
176 path = malloc(ulen + 2); in ZipFile_getEntry()
184 (*env)->GetByteArrayRegion(env, name, 0, ulen, (jbyte *)path); in ZipFile_getEntry()
185 path[ulen] = '\0'; in ZipFile_getEntry()
186 ze = ZIP_GetEntry2(zip, path, (jint)ulen, addSlash); in ZipFile_getEntry()
Dzip_util.c1161 ZIP_GetEntry(jzfile *zip, char *name, jint ulen) in ZIP_GetEntry() argument
1163 if (ulen == 0) { in ZIP_GetEntry()
1166 return ZIP_GetEntry2(zip, name, ulen, JNI_TRUE); in ZIP_GetEntry()
1188 ZIP_GetEntry2(jzfile *zip, char *name, jint ulen, jboolean addSlash) in ZIP_GetEntry2() argument
1190 unsigned int hsh = hashN(name, ulen); in ZIP_GetEntry2()
1211 if (ze && equals(ze->name, ze->nlen, name, ulen)) { in ZIP_GetEntry2()
1237 if (ze && equals(ze->name, ze->nlen, name, ulen)) { in ZIP_GetEntry2()
1262 if (name[ulen-1] == '/') { in ZIP_GetEntry2()
1267 name[ulen++] = '/'; in ZIP_GetEntry2()
1268 name[ulen] = '\0'; in ZIP_GetEntry2()
Dzip_util.h273 jzentry * ZIP_GetEntry(jzfile *zip, char *name, jint ulen);
279 jzentry * ZIP_GetEntry2(jzfile *zip, char *name, jint ulen, jboolean addSlash);