/dalvik/libdex/ |
H A D | OptInvocation.h | 30 char* dexOptGenerateCacheFileName(const char* fileName,
|
H A D | CmdUtils.c | 107 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName, argument 111 int len = strlen(fileName); 125 if (strcasecmp(fileName + len -3, "dex") != 0) { 140 result = dexUnzipToFile(fileName, tempFileName, quiet); 144 fileName = tempFileName; 163 fd = open(fileName, O_RDONLY); 167 fileName, strerror(errno)); 173 fprintf(stderr, "ERROR: Unable to map '%s'\n", fileName); 188 fileName);
|
H A D | CmdUtils.h | 63 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName,
|
H A D | OptInvocation.c | 45 char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName) argument 58 if (fileName[0] != '/') { 70 strncat(absoluteFile, fileName, kBufLen); 104 LOGV("Cache file for '%s' '%s' is '%s'\n", fileName, subFileName, nameBuf);
|
H A D | ZipArchive.h | 93 int dexZipOpenArchive(const char* fileName, ZipArchive* pArchive);
|
H A D | ZipArchive.c | 336 int dexZipOpenArchive(const char* fileName, ZipArchive* pArchive) argument 340 LOGV("Opening as zip '%s' %p\n", fileName, pArchive); 344 fd = open(fileName, O_RDONLY, 0); 347 LOGV("Unable to open '%s': %s\n", fileName, strerror(err)); 351 return dexZipPrepArchive(fd, fileName, pArchive);
|
/dalvik/vm/ |
H A D | JarFile.c | 35 * Attempt to open a file whose name is similar to <fileName>, 43 static int openAlternateSuffix(const char *fileName, const char *suffix, argument 47 size_t fileNameLen = strlen(fileName); 61 memcpy(buf, fileName, fileNameLen + 1); 82 * to the jar file at the absolute path "fileName". 84 DexCacheStatus dvmDexCacheStatus(const char *fileName) argument 96 if (dvmClassPathContains(gDvm.bootClassPath, fileName)) { 106 if (dexZipOpenArchive(fileName, &archive) != 0) { 117 LOGV("dvmDexCacheStatus: Checking cache for %s\n", fileName); 118 cachedName = dexOptGenerateCacheFileName(fileName, kDexInJarNam 186 dvmJarFileOpen(const char* fileName, const char* odexOutputName, JarFile** ppJarFile, bool isBootstrap) argument [all...] |
H A D | RawDexFile.c | 25 int dvmRawDexFileOpen(const char* fileName, const char* odexOutputName, argument
|
H A D | JarFile.h | 39 int dvmJarFileOpen(const char* fileName, const char* odexOutputName, 67 * to the jar file at the absolute path "fileName". 69 DexCacheStatus dvmDexCacheStatus(const char *fileName);
|
H A D | RawDexFile.h | 39 int dvmRawDexFileOpen(const char* fileName, const char* odexOutputName,
|
H A D | Native.h | 66 bool dvmLoadNativeCode(const char* fileName, Object* classLoader,
|
H A D | AllocTracker.c | 304 const char* fileName = dvmGetMethodSourceFile(method); local 305 if (fileName == NULL) 306 fileName = ""; 307 return fileName;
|
/dalvik/dexlist/ |
H A D | DexList.c | 91 void dumpMethod(DexFile* pDexFile, const char* fileName, argument 120 if (fileName == NULL || fileName[0] == 0) { 121 fileName = "(none)"; 142 fileName, firstLine); 157 const char* fileName; local 170 fileName = NULL; 172 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx); 182 dumpMethod(pDexFile, fileName, &pClassData->directMethods[i], i); 186 dumpMethod(pDexFile, fileName, 197 process(const char* fileName) argument [all...] |
/dalvik/dx/src/com/android/dx/util/ |
H A D | FileUtils.java | 38 * @param fileName {@code non-null;} name of the file to read 41 public static byte[] readFile(String fileName) { argument 42 File file = new File(fileName);
|
/dalvik/vm/analysis/ |
H A D | DexPrepare.h | 89 int dvmOpenCachedDexFile(const char* fileName, const char* cachedFile, 111 * "fileName" is only used for debug output. 114 const char* fileName, u4 modWhen, u4 crc, bool isBootstrap); 120 const char* fileName, u4 modWhen, u4 crc, bool isBootstrap);
|
H A D | DexPrepare.c | 82 int dvmOpenCachedDexFile(const char* fileName, const char* cacheFileName, argument 205 fileName, cacheFileName); 281 * "fileName" is only used for debug output. "modWhen" and "crc" are stored 298 const char* fileName, u4 modWhen, u4 crc, bool isBootstrap) 300 const char* lastPart = strrchr(fileName, '/'); 304 lastPart = fileName; 315 LOGW("Rejecting recursive optimization attempt on '%s'\n", fileName); 379 argv[curArg++] = (char*)fileName; 410 argv[curArg++] = cpe->fileName; 475 const char* fileName, u 297 dvmOptimizeDexFile(int fd, off_t dexOffset, long dexLength, const char* fileName, u4 modWhen, u4 crc, bool isBootstrap) argument 474 dvmContinueOptimization(int fd, off_t dexOffset, long dexLength, const char* fileName, u4 modWhen, u4 crc, bool isBootstrap) argument [all...] |
/dalvik/vm/hprof/ |
H A D | Hprof.c | 79 hprofContextInit(headCtx, strdup(tailCtx->fileName), tailCtx->fd, true, 82 LOGI("hprof: dumping heap strings to \"%s\".\n", tailCtx->fileName); 134 outFd = open(tailCtx->fileName, O_WRONLY|O_CREAT, 0644); 136 LOGE("can't open %s: %s\n", headCtx->fileName, strerror(errno)); 182 free(ctx->fileName);
|
H A D | Hprof.h | 136 * If directToDdms is set, "fileName" and "fd" will be ignored. 137 * Otherwise, "fileName" must be valid, though if "fd" >= 0 it will 141 char *fileName; member in struct:hprof_context_t 191 void hprofContextInit(hprof_context_t *ctx, char *fileName, int fd, 260 int hprofDumpHeap(const char* fileName, int fd, bool directToDdms);
|
H A D | HprofOutput.c | 62 * This will take ownership of "fileName". 65 hprofContextInit(hprof_context_t *ctx, char *fileName, int fd, argument 83 ctx->fileName = fileName;
|
/dalvik/vm/native/ |
H A D | dalvik_system_DexFile.c | 28 char* fileName; member in struct:DexOrJar 42 LOGV("Freeing DexOrJar '%s'\n", pDexOrJar->fileName); 48 free(pDexOrJar->fileName); 78 u4 hash = dvmComputeUtf8Hash(pDexOrJar->fileName); 182 pDexOrJar->fileName = sourceName; 217 LOGV("Closing DEX file %p (%s)\n", pDexOrJar, pDexOrJar->fileName); 231 u4 hash = dvmComputeUtf8Hash(pDexOrJar->fileName); 235 pDexOrJar->fileName); 238 LOGV("+++ freeing DexFile '%s' resources\n", pDexOrJar->fileName); 241 LOGV("+++ NOT freeing DexFile '%s' resources\n", pDexOrJar->fileName); [all...] |
H A D | java_lang_Runtime.c | 75 char* fileName = NULL; local 81 fileName = dvmCreateCstrFromString(fileNameObj); 83 success = dvmLoadNativeCode(fileName, classLoader, &reason); 91 free(fileName);
|
H A D | dalvik_system_VMDebug.c | 640 * static void dumpHprofData(String fileName, FileDescriptor fd) 651 char* fileName; local 663 fileName = dvmCreateCstrFromString(fileNameStr); 664 if (fileName == NULL) { 670 fileName = strdup("[fd]"); 680 result = hprofDumpHeap(fileName, fd, false); 681 free(fileName);
|
/dalvik/dx/src/junit/runner/ |
H A D | TestCaseClassLoader.java | 115 String fileName= className.replace('.', '/')+".class"; 117 data= loadJarData(path, fileName); 119 data= loadFileData(path, fileName); 133 private byte[] loadFileData(String path, String fileName) { argument 134 File file= new File(path, fileName); 158 private byte[] loadJarData(String path, String fileName) { argument 169 ZipEntry entry= zipFile.getEntry(fileName);
|
/dalvik/vm/alloc/ |
H A D | HeapDebug.c | 378 void dvmDumpHeapToFile(const char *fileName) 383 fp = fopen(fileName, "w+"); 385 LOGE("Can't open %s for writing: %s\n", fileName, strerror(errno)); 388 LOGW("Dumping heap to %s...\n", fileName); 397 LOGW("Dumped heap to %s.\n", fileName);
|
/dalvik/vm/oo/ |
H A D | Class.h | 46 char* fileName; member in struct:ClassPathEntry
|