Lines Matching refs:name
26 static bool hasDexExtension(const char* name) { in hasDexExtension() argument
27 size_t len = strlen(name); in hasDexExtension()
30 && (name[len - 5] != '/') in hasDexExtension()
31 && (strcmp(&name[len - 4], ".dex") == 0); in hasDexExtension()
358 char* name; in Dalvik_dalvik_system_DexFile_defineClass() local
361 name = dvmCreateCstrFromString(nameObj); in Dalvik_dalvik_system_DexFile_defineClass()
362 descriptor = dvmDotToDescriptor(name); in Dalvik_dalvik_system_DexFile_defineClass()
365 free(name); in Dalvik_dalvik_system_DexFile_defineClass()
475 char* name; in Dalvik_dalvik_system_DexFile_isDexOptNeeded() local
479 name = dvmCreateCstrFromString(nameObj); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
480 if (name == NULL) { in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
484 if (access(name, R_OK) != 0) { in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
485 dvmThrowFileNotFoundException(name); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
486 free(name); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
489 status = dvmDexCacheStatus(name); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
490 ALOGV("dvmDexCacheStatus(%s) returned %d", name, status); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
496 dvmThrowIOException(name); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
506 dvmThrowStaleDexCacheError(name); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()
510 free(name); in Dalvik_dalvik_system_DexFile_isDexOptNeeded()