/external/lz4/programs/ |
util.h | 348 DIR *dir; local 353 if (!(dir = opendir(dirName))) { 360 while ((entry = readdir(dir)) != NULL) { 365 if (!path) { closedir(dir); return 0; } 374 if (*bufStart == NULL) { free(path); closedir(dir); return 0; } 380 if (*bufStart == NULL) { free(path); closedir(dir); return 0; } 397 closedir(dir);
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_diskstat.c | 259 DIR *dir = opendir("/sys/block/"); local 260 if (!dir) { 265 while ((dp = readdir(dir)) != NULL) { 286 DIR *pdir = opendir(basename); 289 closedir(dir); 311 closedir(dir);
|
hud_nic.c | 344 DIR *dir = opendir("/sys/class/net/"); local 345 if (!dir) { 350 while ((dp = readdir(dir)) != NULL) { 409 closedir(dir);
|
/external/mesa3d/src/gtest/src/ |
gtest-filepath.cc | 116 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 117 // FilePath("dir/file"). If a case-insensitive extension is not 159 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 163 std::string dir; local 165 dir = std::string(c_str(), last_sep + 1 - c_str()); 167 dir = kCurrentDirectoryString; 169 return FilePath(dir); 174 // Given directory = "dir", base_name = "test", number = 0, 175 // extension = "xml", returns "dir/test.xml". If number is greater 176 // than zero (e.g., 12), returns "dir/test_12.xml" [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip.h | 102 struct brw_reg dir; member in struct:brw_clip_compile::__anon30401
|
/external/mesa3d/src/util/ |
disk_cache.c | 347 char *dir; local 352 dir = ralloc_asprintf(cache, "%s/%c%c", cache->path, buf[0], buf[1]); 354 mkdir_if_needed(dir); 356 ralloc_free(dir); 372 DIR *dir; local 377 dir = opendir(dir_path); 378 if (dir == NULL) 384 entry = readdir(dir); 394 closedir(dir); [all...] |
/external/nos/test/system-test-harness/src/ |
util.cc | 71 auto dir = opendir(dir_path); local 72 if (!dir) { 82 while (auto listing = readdir(dir)) { 102 closedir(dir);
|
/external/protobuf/gtest/src/ |
gtest-filepath.cc | 115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 116 // FilePath("dir/file"). If a case-insensitive extension is not 157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 161 String dir; local 163 dir = String(c_str(), last_sep + 1 - c_str()); 165 dir = kCurrentDirectoryString; 167 return FilePath(dir); 172 // Given directory = "dir", base_name = "test", number = 0, 173 // extension = "xml", returns "dir/test.xml". If number is greater 174 // than zero (e.g., 12), returns "dir/test_12.xml" [all...] |
/external/selinux/policycoreutils/sestatus/ |
sestatus.c | 64 DIR *dir; local 68 if (!(dir = opendir(PROC_BASE))) { 73 while ((de = readdir(dir)) != NULL) { 84 closedir(dir);
|
/external/skia/src/core/ |
SkColorFilter.cpp | 213 SkSRGBGammaColorFilter(Direction dir) : fDir(dir) {} 265 uint32_t dir = buffer.read32(); local 266 if (dir <= 1) { 267 return sk_sp<SkFlattenable>(new SkSRGBGammaColorFilter(static_cast<Direction>(dir))); 279 template <SkSRGBGammaColorFilter::Direction dir> 281 static SkColorFilter* gSingleton = new SkSRGBGammaColorFilter(dir);
|
SkPath_serial.cpp | 164 uint8_t dir = (packed >> kDirection_SerializationShift) & 0x3; local 170 switch (dir) {
|
/external/skia/src/gpu/effects/ |
GrGaussianConvolutionFragmentProcessor.cpp | 266 Direction dir; local 268 dir = Direction::kX; 272 dir = Direction::kY; 282 dir, radius, sigma, static_cast<GrTextureDomain::Mode>(modeIdx), bounds);
|
/external/skia/tools/bookmaker/ |
parserCommon.cpp | 288 string dir; local 290 dir += fStack[index].fName; 292 dir += SkOSPath::SEPARATOR; 295 return dir;
|
/external/skqp/src/core/ |
SkColorFilter.cpp | 216 SkSRGBGammaColorFilter(Direction dir) : fDir(dir) {} 268 uint32_t dir = buffer.read32(); local 269 if (dir <= 1) { 270 return sk_sp<SkFlattenable>(new SkSRGBGammaColorFilter(static_cast<Direction>(dir))); 282 template <SkSRGBGammaColorFilter::Direction dir> 284 static SkColorFilter* gSingleton = new SkSRGBGammaColorFilter(dir);
|
/external/skqp/src/gpu/effects/ |
GrGaussianConvolutionFragmentProcessor.cpp | 266 Direction dir; local 268 dir = Direction::kX; 272 dir = Direction::kY; 282 dir, radius, sigma, static_cast<GrTextureDomain::Mode>(modeIdx), bounds);
|
/external/skqp/tools/bookmaker/ |
parserCommon.cpp | 288 string dir; local 290 dir += fStack[index].fName; 292 dir += SkOSPath::SEPARATOR; 295 return dir;
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
gtest-filepath.cc | 115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 116 // FilePath("dir/file"). If a case-insensitive extension is not 157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 161 String dir; local 163 dir = String(c_str(), last_sep + 1 - c_str()); 165 dir = kCurrentDirectoryString; 167 return FilePath(dir); 172 // Given directory = "dir", base_name = "test", number = 0, 173 // extension = "xml", returns "dir/test.xml". If number is greater 174 // than zero (e.g., 12), returns "dir/test_12.xml" [all...] |
/external/syslinux/core/fs/ufs/ |
ufs.c | 111 * find a dir entry, return it if found, or return NULL. 116 const struct ufs_dir_entry *dir; local 129 dir = (const struct ufs_dir_entry *)(data + offset); 130 if (dir->dir_entry_len > maxoffset - offset) 137 if (dir->inode_value && !strcmp(dname, (const char *)dir->name)) { 139 return dir; 141 offset += dir->dir_entry_len; 271 const struct ufs_dir_entry *dir; local 274 dir = ufs_find_entry(fs, parent, dname) 378 const struct ufs_dir_entry *dir; local [all...] |
/external/tensorflow/tensorflow/contrib/android/ |
asset_manager_filesystem.cc | 188 auto dir = local 190 if (dir.get() == nullptr) { 193 const char* next_file = AAssetDir_getNextFileName(dir.get()); 196 next_file = AAssetDir_getNextFileName(dir.get()); 239 auto dir = local 243 return AAssetDir_getNextFileName(dir.get()) != NULL;
|
/external/tensorflow/tensorflow/core/platform/ |
file_system.cc | 107 string dir = io::Dirname(fixed_prefix).ToString(); local 108 // If dir is empty then we need to fix up fixed_prefix and eval_pattern to 110 if (dir.empty()) { 111 dir = "."; 112 fixed_prefix = io::JoinPath(dir, fixed_prefix); 113 eval_pattern = io::JoinPath(dir, pattern); 116 // Setup a BFS to explore everything under dir. 118 dir_q.push_back(dir); 192 string dir = dir_q.front(); local 194 dir_list.push_back(dir); [all...] |
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_diagnostics.cc | 177 DIR *dir = opendir(piece.c_str()); local 178 if (dir == nullptr) { 182 while (dirent *entity = readdir(dir)) { 185 closedir(dir);
|
/external/testng/src/main/java/org/testng/internal/ |
PackageUtils.java | 80 URL dir = dirEnumeration.nextElement(); local 81 dirs.add(dir); 115 //it's not inside a deeper dir 216 File dir = new File(packagePath); local 218 if (!dir.exists() || !dir.isDirectory()) { 222 File[] dirfiles = dir.listFiles(new FileFilter() { 231 Utils.log("PackageUtils", 4, "Looking for test classes in the directory: " + dir);
|
/external/toybox/lib/ |
lib.h | 192 int mkpathat(int atfd, char *dir, mode_t lastmode, int flags); 307 char *dir; member in struct:mtab_list
|
/external/toybox/toys/pending/ |
bootchartd.c | 72 DIR *proc_dir = opendir("/proc"); 146 char *dir, dir_path[] = "/tmp/bootchart.XXXXXX"; local 148 if ((dir = mkdtemp(dir_path))) { 149 xchdir((dir = xstrdup(dir))); 150 return dir;
|
/external/v8/testing/gtest/src/ |
gtest-filepath.cc | 121 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 122 // FilePath("dir/file"). If a case-insensitive extension is not 164 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 168 std::string dir; local 170 dir = std::string(c_str(), last_sep + 1 - c_str()); 172 dir = kCurrentDirectoryString; 174 return FilePath(dir); 179 // Given directory = "dir", base_name = "test", number = 0, 180 // extension = "xml", returns "dir/test.xml". If number is greater 181 // than zero (e.g., 12), returns "dir/test_12.xml" [all...] |