Searched refs:nameBuf (Results 1 – 3 of 3) sorted by relevance
/dalvik/libdex/ |
D | OptInvocation.cpp | 49 char nameBuf[512]; in dexOptGenerateCacheFileName() local 50 char absoluteFile[sizeof(nameBuf)]; in dexOptGenerateCacheFileName() 51 const size_t kBufLen = sizeof(nameBuf) - 1; in dexOptGenerateCacheFileName() 99 snprintf(nameBuf, kBufLen, "%s/%s", dataRoot, kCacheDirectoryName); in dexOptGenerateCacheFileName() 103 strncat(nameBuf, absoluteFile, kBufLen); in dexOptGenerateCacheFileName() 105 ALOGV("Cache file for '%s' '%s' is '%s'", fileName, subFileName, nameBuf); in dexOptGenerateCacheFileName() 106 return strdup(nameBuf); in dexOptGenerateCacheFileName()
|
/dalvik/tests/023-many-interfaces/ |
D | iface-gen.c | 17 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/ |
D | Misc.cpp | 669 char nameBuf[64]; in dvmGetThreadStats() local 676 sprintf(nameBuf, "/proc/self/task/%d/stat", (int) tid); in dvmGetThreadStats() 677 fd = open(nameBuf, O_RDONLY); in dvmGetThreadStats() 679 ALOGV("Unable to open '%s': %s", nameBuf, strerror(errno)); in dvmGetThreadStats() 687 ALOGI("Unable to read '%s': %s", nameBuf, msg); in dvmGetThreadStats()
|