Searched refs:ulen (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | io_util_md.c | 48 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()
|
D | java_util_zip_ZipFile.c | 171 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() 189 ze = ZIP_GetEntry(zip, path, (jint)ulen); in ZipFile_getEntry()
|
D | zip_util.c | 1155 ZIP_GetEntry(jzfile *zip, char *name, jint ulen) in ZIP_GetEntry() argument 1224 if (ulen == 0) { in ZIP_GetEntry() 1229 if (name[ulen-1] == '/') { in ZIP_GetEntry() 1234 name[ulen] = '/'; in ZIP_GetEntry() 1235 name[ulen+1] = '\0'; in ZIP_GetEntry() 1238 ulen = 0; in ZIP_GetEntry()
|
D | zip_util.h | 271 jzentry * ZIP_GetEntry(jzfile *zip, char *name, jint ulen);
|