/device/google/marlin/usb/ |
Usb.cpp | 330 DIR *dp; 548 DIR *dp = opendir(std::string("/sys/class/typec/"
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
XhciSched.h | 288 UINT32 DIR:1;
310 UINT32 DIR:1;
[all...] |
/external/kmod/tools/ |
depmod.c | 103 "\t-b, --basedir=DIR Use an image of a module tree.\n" 612 static int cfg_files_filter_out(DIR *d, const char *dir, const char *name) 621 INF("All cfg files need .conf: %s/%s\n", dir, name); 628 dir, name); 648 const char *dir, const char *name) 654 dirlen = strlen(dir); 658 name = basename(dir); 669 (int)dirlen, dir, name); 698 memcpy(f->path, dir, dirlen) [all...] |
/external/libchrome/base/process/ |
launch_posix.cc | 203 inline void operator()(DIR* x) const { 209 // Automatically closes |DIR*|s. 210 typedef std::unique_ptr<DIR, ScopedDIRClose> ScopedDIR;
|
/frameworks/base/tools/aapt2/cmd/ |
Compile.cpp | 78 std::string& dir = parts[parts.size() - 2]; local 79 StringPiece dir_str = dir; 83 size_t dash_pos = dir.find('-'); 85 config_str = dir_str.substr(dash_pos + 1, dir.size() - (dash_pos + 1)); 141 std::unique_ptr<DIR, decltype(closedir)*> d(opendir(root_dir.data()), closedir); 160 std::unique_ptr<DIR, decltype(closedir)*> subdir(opendir(prefix_path.data()), closedir); 653 .OptionalFlag("--dir", "Directory to scan for resources", &options.res_dir) 674 context.GetDiagnostics()->Error(DiagMessage() << "files given but --dir specified");
|
/frameworks/native/cmds/rawbu/ |
backup.cpp | 67 DIR *dir; local 72 dir = opendir(path); 74 if (dir == NULL) { 88 de = readdir(dir); 138 closedir(dir); 169 closedir(dir); 258 DIR *dir; local 265 dir = opendir(srcPath) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
basic-block.h | 355 #define FOR_BB_BETWEEN(BB, FROM, TO, DIR) \ 356 for (BB = FROM; BB != TO; BB = BB->DIR) [all...] |
/system/core/adb/ |
file_sync_service.cpp | 155 std::unique_ptr<DIR, int(*)(DIR*)> d(opendir(path), closedir);
|
/system/core/init/ |
property_service.cpp | 604 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir(PERSISTENT_PROPERTY_DIR), closedir); 605 if (!dir) { 612 while ((entry = readdir(dir.get())) != NULL) { 621 int fd = openat(dirfd(dir.get()), entry->d_name, O_RDONLY | O_NOFOLLOW);
|
/system/core/libusbhost/ |
usbhost.c | 104 DIR *devdir; 127 DIR *busdir;
|
/system/core/toolbox/ |
getevent.c | 282 DIR *dir; local 290 dir = opendir(dirname); 291 if(dir == NULL) 293 while((de = readdir(dir))) { 309 closedir(dir); 477 DIR *dir; local 479 dir = opendir(dirname); 480 if(dir == NULL [all...] |
/system/extras/perfprofd/ |
perfprofdcore.cc | 364 DIR* dir = opendir(psdir.c_str()); local 365 if (dir == NULL) { 366 W_ALOGE("Failed to open dir %s (%s)", psdir.c_str(), strerror(errno)); 371 while ((e = readdir(dir)) != 0) { 385 closedir(dir); 639 DIR* dir = opendir(dest_dir.c_str()); 640 if (dir != NULL) { 642 while ((e = readdir(dir)) != 0) [all...] |
/system/libhidl/transport/ |
ServiceManagement.cpp | 171 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), closedir); 172 if (!dir) return {}; 177 while ((dp = readdir(dir.get())) != nullptr) { 224 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(proc.c_str()), closedir); 225 if (!dir) return; 227 while ((dp = readdir(dir.get())) != nullptr) {
|
/system/tools/hidl/ |
Coordinator.cpp | 35 DIR *dir = opendir(name); local 36 if (dir == NULL) { 39 closedir(dir); 293 DIR *dir = opendir(packagePath.c_str()); local 295 if (dir == NULL) { 305 while ((ent = readdir(dir)) != NULL) { 322 closedir(dir); 323 dir = NULL [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
firmware_constants.py | 179 OPTIONS.DIR = 'directory'
|
/external/e2fsprogs/util/ |
symlinks.c | 123 static char dir[PATH_MAX]; local 127 /* get rid of unnecessary "../dir" sequences */ 129 /* find innermost occurance of "../dir", and save "dir" */ 131 char *a, *s, *d = dir; 142 if (!strcmp(dir,"//")) 144 /* note: p still points at ../dir */ 156 if (strncmp(dir, a, strlen(dir))) 158 while ((*p++ = *s++)); /* delete the ../dir */ [all...] |
/external/google-breakpad/src/client/solaris/handler/ |
solaris_lwp.cc | 102 DIR *dir; local 106 if ((dir = opendir(lwp_path)) == NULL) 110 while ((entry = readdir(dir)) != NULL) { 126 closedir(dir);
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 50 DIR *d, *f; 65 // Skip non-process dir entries 160 // For each file in the fd dir...
|
/external/ltp/testcases/kernel/sched/tool/ |
time-schedule.c | 471 DIR *dp;
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_nic.c | 344 DIR *dir = opendir("/sys/class/net/"); local 345 if (!dir) { 350 while ((dp = readdir(dir)) != NULL) { 409 closedir(dir);
|
/external/rootdev/ |
rootdev.c | 93 DIR *dirp = NULL; 427 NULL, /* default /sys dir */ 428 NULL); /* default /dev dir */
|
/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;
|
/frameworks/base/cmds/idmap/ |
scan.cpp | 243 DIR *dir = opendir(overlay_dir); local 244 if (dir == NULL) { 249 while ((dirent = readdir(dir)) != NULL) { 279 closedir(dir);
|
/frameworks/base/tools/aapt2/util/ |
Files.cpp | 227 const char kDir[] = "dir"; 273 << (type == FileType::kDirectory ? "dir '" : "file '") 285 std::unique_ptr<DIR, decltype(closedir)*> d(opendir(root_dir.data()), closedir);
|
/frameworks/native/cmds/dumpstate/ |
DumpstateUtil.cpp | 355 DIR* proc_dir;
|