Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Djava_util_jar_StrictJarFile.cpp44 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/
DZipEntry.java55 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()
DZipInputStream.java249 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/
DDatabaseMetaDataTest.java749 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()