/external/fio/ |
diskutil.c | 225 DIR *dirhandle = NULL; 356 struct dirent *dir; local 359 DIR *D; 365 while ((dir = readdir(D)) != NULL) { 368 if (!strcmp(dir->d_name, ".") || !strcmp(dir->d_name, "..")) 371 sprintf(full_path, "%s/%s", path, dir->d_name); 373 if (!strcmp(dir->d_name, "dev")) {
|
/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 399 _("%s: usage is %s [ --version ] [ -a ] [ -v ] [ -V ] [ -i ] [ -c [loyear,]hiyear ] [ -t [lotime,]hitime] ][ -d dir ] [ zonename ... ]\n"), 422 DIR * dp; 1044 struct dirent * dir; local 1045 DIR * dp; 1076 while ((dir = readdir(dp)) != NULL) { 1079 if (strcmp(dir->d_name, ".") == 0 1080 || strcmp(dir->d_name, "..") == 0) { 1086 strcat(subpath, dir->d_name); 1088 strcpy(subpath, dir->d_name);
|
/external/kmod/libkmod/ |
libkmod-config.c | 699 static bool conf_files_filter_out(struct kmod_ctx *ctx, DIR *d, 791 DIR *d;
|
/external/libpcap/ |
grammar.y | 94 (q).dir = (d),\ 309 %token TYPE SUBTYPE DIR ADDR1 ADDR2 ADDR3 ADDR4 RA TA 334 %type <i> NUM action reason type subtype type_subtype dir 568 | DIR dir { $$ = gen_p80211_fcdir(cstate, $2); } 640 dir: NUM label
|
pcap-usb-linux.c | 162 DIR* dir; local 207 dir = opendir(SYS_USB_BUS_DIR); 208 if (dir != NULL) { 209 while ((ret == 0) && ((data = readdir(dir)) != 0)) { 221 closedir(dir); 226 dir = opendir(PROC_USB_BUS_DIR); 227 if (dir != NULL) { 228 while ((ret == 0) && ((data = readdir(dir)) != 0)) { 242 closedir(dir); 287 DIR* dir; local [all...] |
/external/syslinux/com32/rosh/ |
rosh.c | 788 * d the open DIR 792 void rosh_ls_arg_dir(const char *filestr, DIR * d, const int *optarr) 823 DIR *d; 918 ROSH_DEBUG(" dir implemented as ls\n"); 1206 case 'D': /* run 'dir' */ 1207 if (strncasecmp("dir", argv[0], tlen) == 0)
|
/system/core/fs_mgr/ |
fs_mgr_fstab.cpp | 406 std::unique_ptr<DIR, int (*)(DIR*)> fstabdir(opendir(fstabdir_name.c_str()), closedir);
|
/system/vold/ |
CommandListener.cpp | 311 DIR *dir; local 318 if (!(dir = opendir("/proc"))) { 323 while ((de = readdir(dir))) { 344 closedir(dir); 357 DIR *d = opendir(directory); 360 cli->sendMsg(ResponseCode::OperationFailed, "Failed to open asec dir", true); 686 unique_fd dir(open("/proc", O_RDONLY | O_DIRECTORY | O_CLOEXEC)); 687 if (dir.get() == -1) { 695 openat(dir.get(), pid_str.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)) [all...] |
/external/libusb-compat/ |
configure | 510 if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534 rmdir conf$$.dir 2>/dev/null 638 for dir in $PATH /usr/ucb; d [all...] |
/external/strace/ |
configure | 519 if test -d conf$$.dir; then 520 rm -f conf$$.dir/conf$$.file 522 rm -f conf$$.dir 523 mkdir conf$$.dir 2>/dev/null 529 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 532 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 543 rmdir conf$$.dir 2>/dev/null [all...] |
/external/valgrind/ |
configure | 517 if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541 rmdir conf$$.dir 2>/dev/null [all...] |
/toolchain/binutils/binutils-2.25/gprof/ |
configure | 472 if test -d conf$$.dir; then 473 rm -f conf$$.dir/conf$$.file 475 rm -f conf$$.dir 476 mkdir conf$$.dir 2>/dev/null 482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 496 rmdir conf$$.dir 2>/dev/null [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
configure | 472 if test -d conf$$.dir; then 473 rm -f conf$$.dir/conf$$.file 475 rm -f conf$$.dir 476 mkdir conf$$.dir 2>/dev/null 482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 496 rmdir conf$$.dir 2>/dev/null [all...] |
/external/ImageMagick/ |
configure | 525 if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549 rmdir conf$$.dir 2>/dev/null [all...] |
/external/bison/ |
configure | 517 if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541 rmdir conf$$.dir 2>/dev/null [all...] |
/bionic/tools/versioner/src/ |
versioner.cpp | 87 DIR* dir = opendir(dir_path.c_str()); 88 if (!dir) { 93 while ((dent = readdir(dir))) { 113 closedir(dir);
|
/external/blktrace/btreplay/ |
btrecord.c | 106 static int find_traces = 0; // Boolean: Find traces in dir 110 "\t[ -d <dir> : --input-directory=<dir> ] Default: .\n" \ 111 "\t[ -D <dir> : --output-directory=<dir>] Default: .\n" \ 360 DIR *dir = opendir(idir); local 362 if (dir == NULL) { 367 while ((ent = readdir(dir)) != NULL) { 381 closedir(dir); [all...] |
/external/e2fsprogs/contrib/ |
fsstress.c | 295 DIR *opendir_path(pathname_t *); 1127 DIR *opendir_path(pathname_t * name) 1131 DIR *rval; 1391 (" %s [-c][-d dir][-e errtg][-f op_name=freq][-l loops][-n nops]\n", 1398 (" -d dir specifies the base directory for operations\n"); 2106 DIR *dir; local [all...] |
/external/elfutils/libdwfl/ |
libdwflP.h | 414 DIR *dir; member in struct:__libdwfl_pid_arg
|
/external/iputils/ |
rarpd.c | 222 DIR *d;
|
/external/kmod/testsuite/ |
testsuite.c | 630 DIR *dir; local 646 dir = opendir(dirname); 648 if (!dir) { 653 while ((dirent = readdir(dir))) { 673 rewinddir(dir); 676 while ((dirent = readdir(dir))) { 687 closedir(dir);
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
filetransfermsg.c | 255 DIR* pDir = NULL; 268 rfbLog("File [%s]: Method [%s]: not able to open the dir\n", 315 rfbLog("File [%s]: Method [%s]: ERROR Couldn't close dir\n",
|
handlefiletransferrequest.c | 66 * for Xvnc. This sets the ftproot to the Home dir of the user running the Xvnc 106 DIR* dir = NULL; local 128 if((dir = opendir(path)) == NULL) { 134 closedir(dir); 135 dir = NULL; 251 * In case of dir open failure an empty list will be sent, just the header of 275 rfbLog("File [%s]: Method [%s]: Socket error while reading dir name" 295 rfbLog("File [%s]: Method [%s]: Socket error while reading dir name\n", 362 rfbLog("File [%s]: Method [%s]: Error while reading dir name length\n" [all...] |
/external/ltp/testcases/kernel/fs/fsstress/ |
fsstress.c | 268 DIR *opendir_path(pathname_t *); 1100 DIR *opendir_path(pathname_t * name) 1104 DIR *rval; 1366 (" %s [-c][-d dir][-e errtg][-f op_name=freq][-l loops][-n nops]\n", 1373 (" -d dir specifies the base directory for operations\n"); 2081 DIR *dir; local [all...] |
/external/ltp/utils/ffsb-6.0-rc2/ |
ffsb_fs.c | 192 DIR *dirptr = NULL; 243 /* Set up bench/age dir */ 331 /* Set up bench/age dir */ 344 /* Set up meta dir */
|