/external/clang/tools/scan-build/ |
scan-build | 60 my $Dir = shift; 62 Diag ("Preprocessed versions of these sources were deposited in '$Dir/failures'.\n"); 108 my $Dir = shift @_; 110 if (!defined $Dir) { 112 $Dir = $ENV{'TMPDIR'}; 113 if (!defined $Dir) { $Dir = "/tmp"; } 116 $Dir = "/tmp"; 122 while ($Dir =~ /\/$/) { chop $Dir; } [all...] |
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
dynamic-dnsmasq.pl | 235 opendir(DIR,"/proc") || die "Couldn't opendir /proc: $!\n"; 236 my @dirs = grep(/^\d+$/, readdir(DIR)); 237 closedir(DIR);
|
/external/webkit/PerformanceTests/SunSpider/ |
sunspider | 182 my ($dir, $pattern) = @_; 186 opendir DIR, $dir or die; 187 for my $file (readdir DIR) { 189 my $age = -M "$dir/$file"; 196 closedir DIR; 198 return "$dir/$newestFile";
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ |
runtests.pl | 47 local ($dir, $path) = @_; 50 local $dir_path = $path . $dir; 53 opendir ( DIR, ${dir_path} ); 54 local @testdir_contents = readdir( DIR ); 55 closedir( DIR ); 228 # make sure that the test dir exists 236 # make sure that the test dir ends with a trailing slash
|
/external/grub/util/ |
grub-install.in | 66 --root-directory=DIR install GRUB images under the directory DIR 76 grub-install copies GRUB images into the DIR/boot directory specfied by
|
/system/core/toolbox/ |
schedtop.c | 158 DIR *d; 195 static void update_table(DIR *d, uint32_t flags) 274 DIR *d;
|
wipe.c | 83 DIR *dir; local 87 dir = opendir(path); 89 if (dir == NULL) { 103 de = readdir(dir); 130 closedir(dir); 153 dir = opendir(path); 154 if (dir == NULL) { 174 closedir(dir);
|
lsof.c | 142 DIR *dir = opendir(info->path); local 143 if (dir == NULL) { 153 while ((de = readdir(dir))) { 159 closedir(dir); 232 DIR *dir = opendir("/proc"); local 233 if (dir == NULL) { 239 while ((de = readdir(dir))) { 250 closedir(dir); [all...] |
ps.c | 176 DIR *d; 195 DIR *d;
|
/bootable/recovery/tools/ota/ |
check-lost+found.c | 100 DIR *dir = opendir(fn); local 101 if (dir == NULL) { 106 while ((ent = readdir(dir))) { 110 closedir(dir);
|
/build/tools/droiddoc/test/stubs/ |
func.sh | 20 export EXPECTED=$DIR/expected
|
/external/oprofile/libutil/ |
op_file.c | 44 int create_dir(char const * dir) 46 if (mkdir(dir, 0755)) { 47 /* FIXME: Does not verify existing is a dir */ 123 * MATCH_DIR_ONLY_RECURSION, the behavior is the same, whether or not the dir 125 * NO_RECURSION and MATCH_ANY_ENTRY_RECURSION do depend on the dir entry 133 DIR * dir; local 139 if (!(dir = opendir(base_dir))) 141 while ((ent = readdir(dir)) != 0) { 192 closedir(dir); [all...] |
/external/qemu/android/utils/ |
dirscanner.c | 94 DIR* dir; member in struct:DirScanner 101 s->dir = opendir(s->root); 103 if (s->dir == NULL) 113 if (s->dir) { 114 closedir(s->dir); 115 s->dir = NULL; 124 if (!s || s->dir == NULL) 130 s->entry = readdir(s->dir);
|
/external/webkit/Source/WebCore/platform/efl/ |
FileSystemEfl.cpp | 119 DIR* dir; local 132 dir = opendir(cpath.data()); 133 if (!dir) 137 while (de = readdir(dir)) { 155 closedir(dir);
|
/external/webkit/Tools/Scripts/ |
bisect-builds | 105 [-d|--download-directory dir] nightly build download directory (default: ~/Library/Caches/WebKit-Nightlies) 215 DIR => File::Spec->tmpdir(), 307 opendir(DIR, $localDirectory) || die "$!"; 308 foreach my $file (readdir(DIR)) { 313 closedir(DIR);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_file.c | 136 DIR *dir = NULL; local 153 dir = opendir(path); 154 if (dir == NULL) 159 while ((ent = readdir(dir)) != NULL ) 202 closedir(dir); 235 DIR *dir; local 257 dir = opendir(tmpPathBuf1); 259 if (dir == NULL [all...] |
/frameworks/base/media/libstagefright/id3/ |
testid3.cpp | 119 DIR *dir = opendir(path); local 121 if (dir == NULL) { 125 rewinddir(dir); 128 while ((ent = readdir(dir)) != NULL) { 150 closedir(dir); 151 dir = NULL;
|
/system/core/netcfg/ |
netcfg.c | 78 DIR *d;
|
/system/extras/libpagemap/ |
pm_kernel.c | 63 DIR *proc; 64 struct dirent *dir; local 80 while ((dir = readdir(proc))) { 81 if (sscanf(dir->d_name, "%d", &pid) < 1)
|
/system/netd/ |
PppController.cpp | 135 DIR *d = opendir("/sys/class/tty");
|
/external/bluetooth/bluez/compat/ |
dun.c | 96 DIR *dir; local 98 dir = opendir(path); 99 if (!dir) 105 while ((de = readdir(dir)) != NULL) { 111 closedir(dir); 117 closedir(dir); 128 DIR *dir; local 130 dir = opendir(PROC_BASE) [all...] |
/external/bluetooth/glib/gio/ |
glocalfileenumerator.c | 74 GDir *dir; member in struct:_GLocalFileEnumerator 76 DIR *dir; member in struct:_GLocalFileEnumerator 121 if (local->dir) 124 g_dir_close (local->dir); 126 closedir (local->dir); 128 local->dir = NULL; 205 GDir *dir; local 208 dir = g_dir_open (filename, 0, error != NULL ? &dir_error : NULL); 209 if (dir == NULL) 220 DIR *dir; local [all...] |
/ndk/sources/android/libthread_db/gdb-6.6/ |
libthread_db.c | 132 DIR* dir; local 158 dir = opendir(path); 159 if (!dir) { 163 while ((entry = readdir(dir)) != NULL) { 176 closedir(dir); 184 closedir(dir); 188 closedir(dir); 303 DIR * dir; local [all...] |
/ndk/sources/android/libthread_db/gdb-7.1.x/ |
libthread_db.c | 129 DIR* dir; local 155 dir = opendir(path); 156 if (!dir) { 160 while ((entry = readdir(dir)) != NULL) { 173 closedir(dir); 180 closedir(dir); 184 closedir(dir); 339 DIR * dir; local [all...] |
/system/vold/ |
Process.cpp | 89 DIR *dir = opendir(path); local 90 if (!dir) 99 while ((de = readdir(dir))) { 115 closedir(dir); 120 closedir(dir); 181 DIR* dir; local 184 if (!(dir = opendir("/proc"))) { 189 while ((de = readdir(dir))) { [all...] |