Home | History | Annotate | Download | only in analysis

Lines Matching refs:cacheFileName

129 int dvmOpenCachedDexFile(const char* fileName, const char* cacheFileName,
143 fd = createIfMissing ? open(cacheFileName, O_CREAT|O_RDWR, 0644) : -1;
145 fd = open(cacheFileName, O_RDONLY, 0);
150 if (directoryIsValid(cacheFileName)) {
151 ALOGE("Can't open dex cache file '%s': %s", cacheFileName, errnoString.c_str());
167 cacheFileName, fd, isBootstrap);
171 ALOGD("DexOpt: sleeping on flock(%s)", cacheFileName);
176 ALOGE("Can't lock dex cache '%s': %d", cacheFileName, cc);
191 ALOGE("Can't stat open file '%s'", cacheFileName);
192 LOGVV("DexOpt: unlocking cache file %s", cacheFileName);
195 cc = stat(cacheFileName, &fileStat);
200 LOGVV("DexOpt: unlocking cache file %s", cacheFileName);
259 fileName, cacheFileName);
286 cacheFileName);
289 cacheFileName, strerror(errno));
292 if (unlink(cacheFileName) != 0) {
294 cacheFileName, errno, strerror(errno));
297 LOGVV("DexOpt: unlocking cache file %s", cacheFileName);
1302 const char* cacheFileName =
1304 assert(cacheFileName != NULL); /* guaranteed by Class.c */
1307 size_t len = strlen(cacheFileName) +1;
1318 strcmp(cacheFileName, (const char*) ptr) != 0)
1321 cacheFileName, ptr);
1328 ALOGI("DexOpt: mismatch dep signature for '%s'", cacheFileName);
1333 ALOGV("DexOpt: dep match on '%s'", cacheFileName);
1375 const char* cacheFileName =
1377 assert(cacheFileName != NULL); /* guaranteed by Class.c */
1379 ALOGV("+++ DexOpt: found dep '%s'", cacheFileName);
1382 bufLen += strlen(cacheFileName) +1;
1400 const char* cacheFileName =
1402 assert(cacheFileName != NULL); /* guaranteed by Class.c */
1405 int len = strlen(cacheFileName) +1;
1414 memcpy(ptr, cacheFileName, len);