Searched refs:nameLength (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/main/native/ |
D | java_util_jar_StrictJarFile.cpp | 44 static jobject constructString(JNIEnv* env, const char* name, const uint16_t nameLength) { in constructString() argument 45 jbyteArray javaNameBytes = env->NewByteArray(nameLength); in constructString() 49 env->SetByteArrayRegion(javaNameBytes, 0, nameLength, reinterpret_cast<const jbyte*>(name)); in constructString() 57 const uint16_t nameLength) { in newZipEntry() argument 73 static_cast<jint>(nameLength), in newZipEntry() 79 const uint16_t nameLength) { in newZipEntry() argument 80 return newZipEntry(env, entry, constructString(env, name, nameLength), nameLength); in newZipEntry()
|
/libcore/luni/src/main/java/java/util/zip/ |
D | ZipEntry.java | 55 int nameLength = -1; field in ZipEntry 72 int nameLength, long localHeaderRelOffset, long dataOffset) { in ZipEntry() argument 82 this.nameLength = nameLength; in ZipEntry() 343 nameLength = ze.nameLength; in ZipEntry() 415 nameLength = it.readShort() & 0xffff; in ZipEntry() 423 byte[] nameBytes = new byte[nameLength]; in ZipEntry()
|
D | ZipInputStream.java | 249 int nameLength = peekShort(LOCNAM - LOCVER); in getNextEntry() local 250 if (nameLength == 0) { in getNextEntry() 255 String name = readString(nameLength); in getNextEntry()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataTest.java | 749 int nameLength = meta.getMaxCursorNameLength(); in test_getMaxCursorNameLength() local 750 if (nameLength > 0) { in test_getMaxCursorNameLength() 752 statement.setCursorName(new String(new byte[nameLength + 1])); in test_getMaxCursorNameLength() 757 } else if (nameLength < 0) { in test_getMaxCursorNameLength()
|