Home
last modified time | relevance | path

Searched refs:nameBuf (Results 1 – 7 of 7) sorted by relevance

/dalvik/libdex/
DOptInvocation.c47 char nameBuf[512]; in dexOptGenerateCacheFileName() local
49 char absoluteFile[sizeof(nameBuf)]; in dexOptGenerateCacheFileName()
50 const size_t kBufLen = sizeof(nameBuf) - 1; in dexOptGenerateCacheFileName()
98 snprintf(nameBuf, kBufLen, "%s/%s", dataRoot, kDexCachePath); in dexOptGenerateCacheFileName()
102 strncat(nameBuf, absoluteFile, kBufLen); in dexOptGenerateCacheFileName()
104 LOGV("Cache file for '%s' '%s' is '%s'\n", fileName, subFileName, nameBuf); in dexOptGenerateCacheFileName()
105 return strdup(nameBuf); in dexOptGenerateCacheFileName()
/dalvik/tests/023-many-interfaces/
Diface-gen.c17 char nameBuf[32]; in createFiles() local
19 sprintf(nameBuf, "src/Interface%03d.java", i); in createFiles()
20 fp = fopen(nameBuf, "w"); in createFiles()
22 fprintf(stderr, "ERROR: unable to open %s\n", nameBuf); in createFiles()
/dalvik/vm/alloc/
DHeapBitmap.c48 char nameBuf[ASHMEM_NAME_LEN] = HB_ASHMEM_NAME; in dvmHeapBitmapInit() local
56 snprintf(nameBuf, sizeof(nameBuf), HB_ASHMEM_NAME "/%s", name); in dvmHeapBitmapInit()
58 fd = ashmem_create_region(nameBuf, allocLen); in dvmHeapBitmapInit()
62 allocLen, nameBuf, maxSize, fd); in dvmHeapBitmapInit()
70 bitsLen, nameBuf); in dvmHeapBitmapInit()
DHeap.c846 char nameBuf[128]; in dvmCollectGarbageInternal() local
852 sprintf(nameBuf, "/data/misc/heap-dump-tm%d-pid%d.hprof", in dvmCollectGarbageInternal()
854 gcHeap->hprofFileName = nameBuf; in dvmCollectGarbageInternal()
/dalvik/libcore/archive/src/main/java/java/util/zip/
DZipInputStream.java74 private byte[] nameBuf = new byte[256]; field in ZipInputStream
264 if (flen > nameBuf.length) { in getNextEntry()
265 nameBuf = new byte[flen]; in getNextEntry()
269 count += x = in.read(nameBuf, count, flen - count); in getNextEntry()
274 currentEntry = createZipEntry(Util.convertUTF8WithBuf(nameBuf, charBuf, in getNextEntry()
/dalvik/vm/
DDdm.c396 char nameBuf[64]; in getThreadStats() local
403 sprintf(nameBuf, "/proc/%d/task/%d/stat", (int) pid, (int) tid); in getThreadStats()
404 fd = open(nameBuf, O_RDONLY); in getThreadStats()
406 LOGV("Unable to open '%s': %s\n", nameBuf, strerror(errno)); in getThreadStats()
414 LOGI("Unable to read '%s': got %d (errno=%d)\n", nameBuf, cc, errno); in getThreadStats()
/dalvik/libcore/archive/src/main/native/
Dzipsup.h203 PROTOTYPE ((void *handle, char *nameBuf, UDATA nameBufSize));
209 PROTOTYPE ((void *handle, char *nameBuf, UDATA nameBufSize,