/frameworks/base/tools/aapt/ |
DirectoryWalker.h | 59 dir = NULL; 60 dir = opendir(mBasePath.string() ); 62 if (dir == NULL) 74 struct dirent* entryPtr = readdir(dir); 89 closedir(dir); 95 DIR* dir; member in class:SystemDirectoryWalker
|
/hardware/interfaces/drm/1.0/default/include/ |
PluginLoader.h | 35 PluginLoader(const char *dir, const char *entry) { 40 String8 pluginDir(dir); 42 DIR* pDir = opendir(pluginDir.string());
|
/hardware/interfaces/drm/1.0/vts/functional/ |
vendor_modules.cpp | 36 DIR* dir = opendir(directory.c_str()); local 37 if (dir == NULL) { 41 while ((entry = readdir(dir))) { 48 closedir(dir);
|
/prebuilts/go/darwin-x86/src/go/build/ |
doc.go | 27 // If DIR is a directory listed in the Go path, a package with 28 // source in DIR/src/foo/bar can be imported as "foo/bar" and 29 // has its compiled form installed to "DIR/pkg/GOOS_GOARCH/foo/bar.a" 30 // (or, for gccgo, "DIR/pkg/gccgo/foo/libbar.a"). 35 // command with source in DIR/src/foo/quux is installed into 36 // DIR/bin/quux, not DIR/bin/foo/quux. The foo/ is stripped 37 // so that you can add DIR/bin to your PATH to get at the
|
/prebuilts/go/linux-x86/src/go/build/ |
doc.go | 27 // If DIR is a directory listed in the Go path, a package with 28 // source in DIR/src/foo/bar can be imported as "foo/bar" and 29 // has its compiled form installed to "DIR/pkg/GOOS_GOARCH/foo/bar.a" 30 // (or, for gccgo, "DIR/pkg/gccgo/foo/libbar.a"). 35 // command with source in DIR/src/foo/quux is installed into 36 // DIR/bin/quux, not DIR/bin/foo/quux. The foo/ is stripped 37 // so that you can add DIR/bin to your PATH to get at the
|
/system/extras/iotop/ |
tasklist.cpp | 32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); 33 if (!dir) { 38 while ((entry = readdir(dir.get())) != nullptr) {
|
/external/ImageMagick/MagickCore/ |
nt-base.c | 520 % NTCloseDirectory() closes the named directory stream and frees the DIR 525 % int NTCloseDirectory(DIR *entry) 529 % o entry: Specifies a pointer to a DIR structure. 532 MagickPrivate int NTCloseDirectory(DIR *entry) 535 assert(entry != (DIR *) NULL); 537 entry=(DIR *) RelinquishMagickMemory(entry); 656 % double NTCloseDirectory(DIR *entry) 660 % o x: Specifies a pointer to a DIR structure. [all...] |
/external/linux-kselftest/tools/testing/selftests/sysctl/ |
sysctl.sh | 40 if [ ! -d $DIR ]; then 41 echo "$0: $DIR not present" >&2 50 if [ -z $DIR ]; then 51 DIR="/sys/module/test_sysctl/" 122 if [ ! -d $DIR ]; then
|
/test/vts/drivers/hal/common/driver_base/ |
DriverBase.cpp | 44 DIR* dir = opendir(path); local 46 while ((entry = readdir(dir)) != NULL) { 47 DIR* sub_dir = NULL; 138 DIR* srcdir = opendir(product_path); 156 LOG(DEBUG) << "dir " << dent->d_name; 163 LOG(ERROR) << "More than one product dir found."; 279 DIR* srcdir = opendir(basepath.c_str()); 319 DIR* srcdir = opendir(gcov_output_basepath_);
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
firmware_summary.py | 375 print ' -d, --%s <directory>' % OPTIONS.DIR 414 OPTIONS.DIR: log_root_dir, 423 OPTIONS.DIR + '=', 438 elif opt in ('-d', '--%s' % OPTIONS.DIR): 439 options[OPTIONS.DIR] = arg 458 summary = FirmwareSummary(options[OPTIONS.DIR],
|
/frameworks/native/cmds/installd/ |
utils.cpp | 115 DIR* dir = opendir(user_path.c_str()); local 116 if (dir == nullptr) { 122 while ((ent = readdir(dir))) { 131 closedir(dir); 136 closedir(dir); 179 /* /data/data is dir, return /data/data for legacy system */ 269 << "Unexpected dir structure for secondary dex " << location; 288 << "Unexpected dir structure for secondary dex " << location; 312 DIR* dir = opendir(path.c_str()) local 726 DIR* dir = opendir(parent.c_str()); local 794 LOG(ERROR) << "Invalid path depth " << path << " when tested against " << dir; local [all...] |
/external/e2fsprogs/lib/ss/ |
help.c | 123 #include <sys/dir.h> 131 DIR *d; 140 if ((d = opendir(info_dir)) == (DIR *)NULL) { 147 ; /* get number of non-NULL dir entries */
|
/external/libpcap/ |
grammar.h | 93 DIR = 303, 215 #define DIR 303
|
/external/libxml2/ |
check-xinclude-test-suite.py | 12 DIR="xinclude-test-suite" 18 os.chdir(DIR)
|
/hardware/interfaces/cas/1.0/default/ |
FactoryLoader.h | 96 DIR* pDir = opendir(dirPath.string()); 131 DIR* pDir = opendir(dirPath.string());
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
file_utils.cpp | 46 DIR *const dir = opendir(dirPath); local 47 if (dir == NULL) { 50 closedir(dir); 61 DIR *const dir = opendir(dirPath); local 62 if (dir == NULL) { 63 AKLOGE("Cannot open dir %s.", dirPath); 67 while ((dirent = readdir(dir)) != NULL) { 79 closedir(dir); [all...] |
/system/core/bootstat/ |
boot_event_record_store.cpp | 116 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); 120 CHECK_NE(static_cast<DIR*>(nullptr), dir.get()); 123 while ((entry = readdir(dir.get())) != NULL) {
|
/system/vold/ |
Loop.cpp | 114 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(root.c_str()), closedir);
|
/external/libchrome/base/process/ |
process_iterator.h | 116 DIR* procfs_dir_;
|
/external/libxcam/xcore/ |
x3a_analyzer_manager.cpp | 66 DIR *dir_3a = NULL; 73 XCAM_LOG_INFO ("doesn't find environment=>XCAM_3A_LIB, change to default dir:%s", dir_path);
|
/external/ltp/testcases/kernel/controllers/libcontrollers/ |
libcontrollers.c | 47 DIR *dp; 107 error_function("Could not close dir ", fullpath);
|
/external/ltp/testcases/kernel/fs/fs_fill/ |
fs_fill.c | 40 char dir[PATH_MAX]; member in struct:worker 46 DIR *d; 51 tst_fill_fs(w->dir, 0); 55 d = SAFE_OPENDIR(w->dir); 63 w->dir, ent->d_name); 110 snprintf(workers[i].dir, sizeof(workers[i].dir), 112 SAFE_MKDIR(workers[i].dir, 0700);
|
/external/ltp/testcases/kernel/syscalls/nftw/ |
nftw64.h | 51 #define MAXOPENDIRS 1024 /* max opendirs to try to exhaust dir streams */ 60 #define DIR 0
|
/external/python/cpython2/Tools/nuget/ |
build.bat | 57 echo build.bat [-x86] [-x64] [--out DIR] [-r] [-h]
62 echo --out [DIR] Override output directory
|
/external/squashfs-tools/squashfs-tools/ |
mksquashfs.h | 44 DIR *linuxdir; 52 struct dir_info *dir; member in struct:dir_ent
|