Searched refs:statBuf (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 66 struct stat statBuf; in FileBlobCache() local 67 if (fstat(fd, &statBuf) == -1) { in FileBlobCache() 74 size_t fileSize = statBuf.st_size; in FileBlobCache() 77 static_cast<off64_t>(statBuf.st_size)); in FileBlobCache()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 240 struct stat statBuf; in loadBlobCacheLocked() local 241 if (fstat(fd, &statBuf) == -1) { in loadBlobCacheLocked() 248 size_t fileSize = statBuf.st_size; in loadBlobCacheLocked() 250 ALOGE("cache file is too large: %#" PRIx64, static_cast<off64_t>(statBuf.st_size)); in loadBlobCacheLocked()
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 334 struct stat statBuf; in fileExists() local 335 int rc = stat(path.c_str(), &statBuf); in fileExists() 494 struct stat statBuf; in locktest_main() local 495 int rc = stat(argv[1], &statBuf); in locktest_main() 499 std::unique_ptr<char[]> data(new char[statBuf.st_size]); in locktest_main() 505 if (!android::base::ReadFully(fd.get(), data.get(), statBuf.st_size)) { in locktest_main() 525 std::pair<dex::u1*, size_t> result = maybeTransform(argv[2], statBuf.st_size, in locktest_main()
|
/frameworks/rs/ |
D | rsScriptC.cpp | 65 struct stat statBuf; in createCacheDir() local 66 int statReturn = stat(cacheDir, &statBuf); in createCacheDir() 94 statReturn = stat(currentDir.c_str(), &statBuf); in createCacheDir()
|