Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/native/
Dcanonicalize_md.c111 p += strlen(p) + 1; in joinNames()
199 if (strlen(original) > PATH_MAX) { in canonicalize()
221 end = path + strlen(path); in canonicalize()
258 int rn = strlen(r); in canonicalize()
259 if (rn + (int)strlen(p) >= len) { in canonicalize()
DLinuxNativeDispatcher.c195 len = strlen(name); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent()
202 len = strlen(dir); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent()
209 len = strlen(fstype); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent()
216 len = strlen(options); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent()
DSystem.c150 int prefix_len = (int) strlen(JNI_LIB_PREFIX); in System_mapLibraryName()
151 int suffix_len = (int) strlen(JNI_LIB_SUFFIX); in System_mapLibraryName()
216 char* java_path = malloc(strlen("java.library.path=") + strlen(library_path) + 1); in System_specialProperties()
DProcessEnvironment_md.c74 jsize valLength = strlen(valBeg); in ProcessEnvironment_environ()
DUNIXProcess_md.c515 size_t newsize = strlen(format) + strlen(detail) + 3 * sizeof(errnum); in throwIOException()
618 int filelen = strlen(file); in JDK_execvpe()
623 int dirlen = strlen(dir); in JDK_execvpe()
Dio_util_md.c104 char *p = (char *)ps + strlen(ps) - 1; in fileOpen()
DUnixNativeDispatcher.c304 jsize len = (jsize)strlen(buf); in Java_sun_nio_fs_UnixNativeDispatcher_getcwd()
327 len = strlen(msg); in Java_sun_nio_fs_UnixNativeDispatcher_strerror()
756 jsize len = strlen(ptr->d_name); in Java_sun_nio_fs_UnixNativeDispatcher_readdir()
896 len = (jsize)strlen(target); in Java_sun_nio_fs_UnixNativeDispatcher_readlink0()
917 jsize len = (jsize)strlen(resolved); in Java_sun_nio_fs_UnixNativeDispatcher_realpath0()
1043 jsize len = strlen(p->pw_name); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1099 jsize len = strlen(g->gr_name); in Java_sun_nio_fs_UnixNativeDispatcher_getgrgid()
Dnet_util_md.c476 size = strlen(format) + strlen(hostname) + strlen(error_string) + 2; in ThrowUnknownHostExceptionWithGaiError()
Dzip_util.c813 if (strlen(name) >= PATH_MAX) { in ZIP_Get_From_Cache()
1164 return ZIP_GetEntry2(zip, name, strlen(name), JNI_FALSE); in ZIP_GetEntry()
1489 *nameLenP = strlen(entry->name); in ZIP_FindEntry()
DZipFile.c292 len = (int)strlen(ze->comment); in ZipFile_getEntryBytes()
/libcore/ojluni/src/main/java/java/io/
DDataOutputStream.java347 int strlen = str.length(); in writeUTF() local
352 for (int i = 0; i < strlen; i++) { in writeUTF()
381 for (i=0; i<strlen; i++) { in writeUTF()
387 for (;i < strlen; i++){ in writeUTF()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp269 char* copy = new char[strlen(bytes) + 1]; in newInternedString()
565 return strlen(mPrefix) == prefixLength in matchesQName()
702 bufferAndInvoke(commentMethod, data, comment, strlen(comment)); in comment()
1267 int length = strlen(source[i]); in ExpatParser_cloneAttributes()
Djava_lang_StringToReal.cpp158 if ((unprocessedDigits = strlen (s)) > 0) in createDouble()
551 if ((unprocessedDigits = strlen (s)) > 0) in createFloat()
/libcore/luni/src/test/native/
Dlibcore_libcore_icu_LocaleDataTest.cpp205 locale_name_length_ = strlen(locale_name_); in LocaleNameIterator()