Lines Matching defs:dirName
1005 const String8& dirName, const String8& fileName)
1010 if (dirName.length() > 0) {
1011 sourceName.appendPath(dirName);
1148 AssetDir* AssetManager::openDir(const char* dirName)
1156 assert(dirName != NULL);
1158 //printf("+++ openDir(%s) in '%s'\n", dirName, (const char*) mAssetBase);
1181 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1182 scanAndMergeZipLocked(pMergedInfo, ap, kAssetsRoot, dirName);
1184 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string());
1185 scanAndMergeDirLocked(pMergedInfo, ap, kAssetsRoot, dirName);
1211 AssetDir* AssetManager::openNonAssetDir(void* cookie, const char* dirName)
1219 assert(dirName != NULL);
1221 //printf("+++ openDir(%s) in '%s'\n", dirName, (const char*) mAssetBase);
1235 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1236 scanAndMergeZipLocked(pMergedInfo, ap, NULL, dirName);
1238 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string());
1239 scanAndMergeDirLocked(pMergedInfo, ap, NULL, dirName);
1264 const asset_path& ap, const char* rootDir, const char* dirName)
1271 //printf("scanAndMergeDir: %s %s %s %s\n", appName, locale, vendor,dirName);
1283 if (dirName[0] != '\0')
1284 path.appendPath(dirName);
1328 if (dirName[0] != '\0')
1329 path.appendPath(dirName);
1458 String8 sourceName, zipName, dirName;
1469 if (rootDir != NULL) dirName = rootDir;
1470 dirName.appendPath(baseDirName);
1476 * with the characters in "dirName", is followed by a '/', and has no
1488 int dirNameLen = dirName.length();
1499 //printf("Comparing %s in %s?\n", nameBuf, dirName.string());
1501 (strncmp(nameBuf, dirName.string(), dirNameLen) == 0 &&
1519 createZipSourceNameLocked(zipName, dirName, info.getFileName()));
1549 createZipSourceNameLocked(zipName, dirName, info.getFileName()));
1708 const char* dirName)
1714 fncScanAndMergeDirLocked(pMergedInfo, ap, NULL, NULL, dirName);
1716 fncScanAndMergeDirLocked(pMergedInfo, ap, mLocale, NULL, dirName);
1718 fncScanAndMergeDirLocked(pMergedInfo, ap, NULL, mVendor, dirName);
1720 fncScanAndMergeDirLocked(pMergedInfo, ap, mLocale, mVendor, dirName);
1733 const char* dirName)
1743 if (dirName[0] != '\0') {
1744 partialPath.appendPath(dirName);
1759 String8 subdir(dirName);
1770 if (dirName[0] == '\0') {