/frameworks/native/cmds/installd/ |
installd.c | 405 DIR *dir; local 409 dir = opendir(user_data_dir); 410 if (dir != NULL) { 411 while ((dirent = readdir(dir))) { 428 closedir(dir);
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/ |
omx_proxy_camera.c | 560 DIR *d; 561 struct dirent *dir; local 572 while ((dir = readdir(d)) != NULL) 574 filename = dir->d_name;
|
/packages/experimental/procstatlog/ |
procstatlog.c | 225 DIR *proc_dir = opendir("/proc");
|
/system/core/init/ |
property_service.c | 520 DIR* dir = opendir(PERSISTENT_PROPERTY_DIR); local 527 if (dir) { 528 dir_fd = dirfd(dir); 529 while ((entry = readdir(dir)) != NULL) { 571 closedir(dir);
|
/system/extras/tests/fstest/ |
perm_checker.c | 363 DIR *d;
|
/external/e2fsprogs/ |
configure | 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null [all...] |
/external/libcap-ng/libcap-ng-0.7/ |
configure | 483 if test -d conf$$.dir; then 484 rm -f conf$$.dir/conf$$.file 486 rm -f conf$$.dir 487 mkdir conf$$.dir 2>/dev/null 493 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 496 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 507 rmdir conf$$.dir 2>/dev/null [all...] |
/external/libvorbis/ |
configure | 493 if test -d conf$$.dir; then 494 rm -f conf$$.dir/conf$$.file 496 rm -f conf$$.dir 497 mkdir conf$$.dir 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514 rmdir conf$$.dir 2>/dev/null 618 for dir in $PATH /usr/ucb; d [all...] |
/external/chromium/base/ |
file_util_posix.cc | 99 DIR* dir = opendir(path.value().c_str()); local 100 if (dir) { 108 while (readdir_r(dir, &ent_buf, &ent) == 0 && ent) { 137 closedir(dir); 179 FilePath dir = FilePath(directories.top()); local 181 success = (rmdir(dir.value().c_str()) == 0); 433 FILE* CreateAndOpenTemporaryFileInDir(const FilePath& dir, FilePath* path) { 434 int fd = CreateAndOpenFdForTemporaryFile(dir, path); 444 bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file) 715 DIR* dir = opendir(source.value().c_str()); local [all...] |
process_util_posix.cc | 277 // A class to handle auto-closing of DIR*'s. 280 inline void operator()(DIR* x) const { 286 typedef scoped_ptr_malloc<DIR, ScopedDIRClose> ScopedDIR; [all...] |
/external/icu4c/tools/tzcode/ |
zdump.c | 352 _("%s: usage is %s [ --version ] [ -a ] [ -v ] [ -i ] [ -c [loyear,]hiyear ] [ -d dir ] [ zonename ... ]\n"), 358 DIR * dp; 988 struct dirent * dir; local 989 DIR * dp; 1020 while ((dir = readdir(dp)) != NULL) { 1023 if (strcmp(dir->d_name, ".") == 0 1024 || strcmp(dir->d_name, "..") == 0) { 1030 strcat(subpath, dir->d_name); 1032 strcpy(subpath, dir->d_name);
|
/external/linux-tools-perf/ |
builtin-script.c | 835 DIR *scripts_dir, *lang_dir; 886 DIR *scripts_dir, *lang_dir;
|
/external/linux-tools-perf/util/ |
event.c | 63 DIR *tasks; 329 DIR *proc;
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbevents.c | 346 static int find_pid(DIR *proc, const char *wanted_name) 379 DIR *proc;
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
SDL_gsevents.c | 320 static int find_pid(DIR *proc, const char *wanted_name) 352 DIR *proc;
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/ |
Registry.cpp | 443 DIR *dp; 463 LOG_I("delete dir: %s", pathname.c_str()); 465 LOG_E("remove UUID-dir failed! errno: %d", e); 493 DIR *dp; 528 LOG_I("delete dir: %s", pathname.c_str()); 530 LOG_E("remove SPID-dir failed! error: %d", e);
|
/ndk/sources/host-tools/make-3.81/ |
dir.c | 35 # include <sys/dir.h> 179 DIR *dir; 181 dir = opendir (name); 182 if (dir == 0) 184 closedir (dir); 217 dev_t dev; /* Device and inode numbers of this dir. */ 242 DIR *dirstream; /* Stream reading this directory. */ 417 static int dir_contents_file_exists_p PARAMS ((struct directory_contents *dir, char *filename)); 426 register struct directory *dir; 178 DIR *dir; local 423 register struct directory *dir; local 808 register struct directory *dir; local 891 register struct directory_contents *dir; local 991 register struct directory *dir = *dir_slot; local 1102 struct directory *dir = find_directory ((char *)directory); local [all...] |
/external/libpng/ |
configure | 469 if test -d conf$$.dir; then 470 rm -f conf$$.dir/conf$$.file 472 rm -f conf$$.dir 473 mkdir conf$$.dir 2>/dev/null 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 493 rmdir conf$$.dir 2>/dev/null 596 for dir in $PATH /usr/ucb; d [all...] |
/external/libusb/ |
configure | 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null 593 for dir in $PATH /usr/ucb; d [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/grub/ |
configure | 801 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 820 --bindir=DIR user executables [EPREFIX/bin] 821 --sbindir=DIR system admin executables [EPREFIX/sbin] 822 --libexecdir=DIR program executables [EPREFIX/libexec] 823 --datadir=DIR read-only architecture-independent data [PREFIX/share] 824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 826 --localstatedir=DIR modifiable single-machine data [PREFIX/var [all...] |
/external/srtp/ |
configure | 799 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 818 --bindir=DIR user executables [EPREFIX/bin] 819 --sbindir=DIR system admin executables [EPREFIX/sbin] 820 --libexecdir=DIR program executables [EPREFIX/libexec] 821 --datadir=DIR read-only architecture-independent data [PREFIX/share] 822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 824 --localstatedir=DIR modifiable single-machine data [PREFIX/var [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...] |
/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/bluetooth/bluedroid/btif/src/ |
btif_config_util.cpp | 496 DIR *dirp;
|