Home
last modified time | relevance | path

Searched refs:fileNameLen (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/
DApkParsing.cpp38 const size_t fileNameLen = strlen(fileName); in ValidLibraryPathLastSlash() local
40 if (fileNameLen < minLength) { in ValidLibraryPathLastSlash()
65 if (memchr(fileName + APK_LIB_LEN, '/', fileNameLen - APK_LIB_LEN) != lastSlash) { in ValidLibraryPathLastSlash()
71 if (strncmp(fileName + fileNameLen - LIB_SUFFIX_LEN, LIB_SUFFIX.data(), LIB_SUFFIX_LEN) != 0 in ValidLibraryPathLastSlash()
/frameworks/base/tools/aapt/
DPackage.cpp269 int fileNameLen = storageName.length(); in processFile() local
271 if (fileNameLen > excludeExtensionLen in processFile()
272 && (0 == strcmp(storageName.c_str() + (fileNameLen - excludeExtensionLen), in processFile()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp195 const size_t fileNameLen = strlen(fileName); in copyFileIfChanged() local
196 char localFileName[nativeLibPath.size() + fileNameLen + 2]; in copyFileIfChanged()
206 - nativeLibPath.size() - 1) != fileNameLen) { in copyFileIfChanged()