Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 240) sorted by relevance

12345678910

/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
Dautomatic9 $dir = cwd;
10 $dir =~ s,.*/([^/]+)$,../$1,;
13 print MAKEFILE "dir = $dir\n";
17 $(dir)/foo.x : baz.z $(dir)/bar.y baz.z
26 $(dir)/bar.y baz.z : ; touch $@
37 $answer = "touch $dir/bar.y
38 \$\@ = $dir/foo.x, \$(\@D) = $dir, \$(\@F) = foo.x
39 \$* = $dir/foo, \$(*D) = $dir, \$(*F) = foo
41 \$^ = baz.z $dir/bar.y, \$(^D) = . $dir, \$(^F) = baz.z bar.y
42 \$+ = baz.z $dir/bar.y baz.z, \$(+D) = . $dir ., \$(+F) = baz.z bar.y baz.z
[all …]
DINCLUDE_DIRS8 $dir = cwd;
9 $dir =~ s,.*/([^/]+)$,../$1,;
30 ifeq ($(dir),)
31 $(warning dir is empty)
34 ifeq ($(filter $(dir),$(.INCLUDE_DIRS)),)
35 $(warning .INCLUDE_DIRS does not contain $(dir))
41 "-I$dir dir=$dir",
/ndk/sources/host-tools/make-3.81/tests/scripts/misc/
Dgeneral412 all: dir/subdir/file.a
14 dir/subdir: ; @echo mkdir -p dir/subdir
16 dir/subdir/file.b: dir/subdir ; @echo touch dir/subdir/file.b
18 dir/subdir/%.a: dir/subdir/%.b ; @echo cp $< $@',
19 … '', "mkdir -p dir/subdir\ntouch dir/subdir/file.b\ncp dir/subdir/file.b dir/subdir/file.a\n");
73 all: dir/subdir/file.$$a
75 dir/subdir: ; @echo mkdir -p '$@'
77 dir/subdir/file.$$b: dir/subdir ; @echo touch '$@'
79 dir/subdir/%.$$a: dir/subdir/%.$$b ; @echo 'cp $< $@'
81 …'', "mkdir -p dir/subdir\ntouch dir/subdir/file.\$b\ncp dir/subdir/file.\$b dir/subdir/file.\$a\n"…
/ndk/sources/host-tools/make-3.81/
Ddir.c178 DIR *dir; in vmsstat_dir() local
180 dir = opendir (name); in vmsstat_dir()
181 if (dir == 0) in vmsstat_dir()
183 closedir (dir); in vmsstat_dir()
414 static int dir_contents_file_exists_p PARAMS ((struct directory_contents *dir, char *filename));
423 register struct directory *dir; in find_directory() local
444 dir = *dir_slot; in find_directory()
446 if (HASH_VACANT (dir)) in find_directory()
453 dir = (struct directory *) xmalloc (sizeof (struct directory)); in find_directory()
454 dir->name = savestring (name, p - name); in find_directory()
[all …]
Dvmsfunctions.c37 struct DIR *dir = (struct DIR *)xmalloc (sizeof (struct DIR)); in opendir() local
39 struct FAB *dfab = &dir->fab; in opendir()
42 memset (dir, 0, sizeof *dir); in opendir()
58 free (dir); in opendir()
64 return dir; in opendir()
78 readdir (DIR *dir) in readdir() argument
80 struct FAB *dfab = &dir->fab; in readdir()
82 struct direct *dentry = &dir->dir; in readdir()
87 dnam->nam$l_rsa = dir->d_result; in readdir()
117 closedir (DIR *dir) in closedir() argument
[all …]
Dansi2knr.c414 skipspace(p, dir) in skipspace() argument
416 int dir; /* 1 for forward, -1 for backward */
420 p += dir;
421 if ( !(*p == '/' && p[dir] == '*') )
423 p += dir; p += dir;
424 while ( !(*p == '*' && p[dir] == '/') ) {
427 p += dir;
429 p += dir; p += dir;
436 scanstring(p, dir) in scanstring() argument
438 int dir;
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dse_implicit8 $dir = cwd;
9 $dir =~ s,.*/([^/]+)$,../$1,;
139 $(dir)/tmp/bar.o:
141 $(dir)/tmp/foo/bar.c: ; @echo $@
142 $(dir)/tmp/bar/bar.c: ; @echo $@
149 "dir=$dir",
150 "$dir/tmp/foo/bar.c
151 $dir/tmp/bar/bar.c
153 $dir/tmp/bar.o: {$dir/tmp/foo/bar.c} $dir/tmp/foo/bar.c $dir/tmp/bar/bar.c foo.h
161 $(dir)/tmp/foo.o: $(dir)/tmp/foo.c
[all …]
Dpatternrules9 $dir = cwd;
10 $dir =~ s,.*/([^/]+)$,../$1,;
76 $(dir)/foo.o:
78 $(dir)/foo.y:
88 install: $(dir)/foo.c
91 "dir=$dir",
92 "$dir/foo.y
93 touch $dir/foo.c
94 $dir/foo.o");
96 unlink("$dir/foo.c");
[all …]
/ndk/sources/host-tools/sed-4.2.1/build-aux/
Ddepcomp225 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
226 test "x$dir" = "x$object" && dir=
229 tmpdepfile1=$dir$base.u
231 tmpdepfile3=$dir.libs/$base.u
234 tmpdepfile1=$dir$base.u
235 tmpdepfile2=$dir$base.u
236 tmpdepfile3=$dir$base.u
312 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
313 test "x$dir" = "x$object" && dir=
316 tmpdepfile1=$dir$base.d
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-W63 mkdir('x-dir', 0777);
64 utouch(-20, 'x-dir/x');
70 '-W x-dir/x VPATH=x-dir',
71 'cp x-dir/x y');
78 '-W ./x-dir/x VPATH=x-dir',
79 'cp x-dir/x y');
82 '-W x-dir/x VPATH=./x-dir',
83 'cp ./x-dir/x y');
85 unlink(qw(y x-dir/x));
86 rmdir('x-dir');
/ndk/sources/host-tools/sed-4.2.1/lib/
Dtempname.c111 direxists (const char *dir) in direxists() argument
114 return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); in direxists()
124 __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, in __path_search() argument
146 dir = d; in __path_search()
147 else if (dir != NULL && direxists (dir)) in __path_search()
150 dir = NULL; in __path_search()
152 if (dir == NULL) in __path_search()
155 dir = P_tmpdir; in __path_search()
157 dir = "/tmp"; in __path_search()
165 dlen = strlen (dir); in __path_search()
[all …]
Ddirname.c78 char *dir = xmalloc (length + append_dot + 1); in dir_name() local
79 memcpy (dir, file, length); in dir_name()
81 dir[length++] = '.'; in dir_name()
82 dir[length] = '\0'; in dir_name()
83 return dir; in dir_name()
Dlocalcharset.c123 const char *dir; in get_charset_aliases() local
129 dir = getenv ("CHARSETALIASDIR"); in get_charset_aliases()
130 if (dir == NULL || dir[0] == '\0') in get_charset_aliases()
131 dir = relocate (LIBDIR); in get_charset_aliases()
135 size_t dir_len = strlen (dir); in get_charset_aliases()
137 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); in get_charset_aliases()
141 memcpy (file_name, dir, dir_len); in get_charset_aliases()
/ndk/tests/build/ndk-out/
Dbuild.sh2 rm -rf obj output-dir
3 export NDK_OUT=output-dir
9 if [ ! -d output-dir ]; then
13 rm -rf output-dir
/ndk/sources/host-tools/sed-4.2.1/
Dautoboot457 dir=$1
461 grep -F "/$file/" $dir/CVS/Entries 2>/dev/null |
464 git rm -n "$dir/$file" > /dev/null 2>&1 && found=yes
466 svn log -r HEAD "$dir/$file" > /dev/null 2>&1 && found=yes
468 echo "$0: no version control for $dir/$file?" >&2
474 for dir in . `(cd $1 && find * -type d -print)`; do
477 for file in `ls -a $1/$dir`; do
482 test -d $1/$dir/$file && continue
484 test "$dir/$file" = "$excluded_file" && continue 2
489 sed "$remove_intl" $1/$dir/$file | cmp -s - $dir/$gnulib_mk || {
[all …]
/ndk/build/core/
Dbuild-local.mk23 NDK_ROOT := $(dir $(lastword $(MAKEFILE_LIST)))
69 host-dir-parent = $(strip \
71 $(eval __host_dir_parent := $(dir $(__host_dir_node)))\
75 host-dir-parent = $(patsubst %/,%,$(dir $1))
78 find-project-dir = $(strip $(call find-project-dir-inner,$(abspath $1),$2))
80 find-project-dir-inner = \
84 $(call find-project-dir-inner-2)\
87 find-project-dir-inner-2 = \
94 $(eval __find_project_parent := $(call host-dir-parent,$(__find_project_path)))\
97 $(call find-project-dir-inner-2)\
[all …]
Ddefinitions-utils.mk145 parent-dir = $(patsubst %/,%,$(dir $(1:%/=%)))
147 -test-parent-dir = \
148 $(call test-expect,,$(call parent-dir))\
149 $(call test-expect,.,$(call parent-dir,foo))\
150 $(call test-expect,foo,$(call parent-dir,foo/bar))\
151 $(call test-expect,foo,$(call parent-dir,foo/bar/))
/ndk/sources/android/libthread_db/gdb-6.6/
Dlibthread_db.c132 DIR* dir; in td_ta_new() local
158 dir = opendir(path); in td_ta_new()
159 if (!dir) { in td_ta_new()
163 while ((entry = readdir(dir)) != NULL) { in td_ta_new()
176 closedir(dir); in td_ta_new()
184 closedir(dir); in td_ta_new()
188 closedir(dir); in td_ta_new()
303 DIR * dir; in td_ta_thr_iter() local
308 dir = opendir(path); in td_ta_thr_iter()
309 if (!dir) { in td_ta_thr_iter()
[all …]
/ndk/sources/android/libthread_db/gdb-7.3.x/
Dlibthread_db.c129 DIR* dir; in td_ta_new() local
155 dir = opendir(path); in td_ta_new()
156 if (!dir) { in td_ta_new()
160 while ((entry = readdir(dir)) != NULL) { in td_ta_new()
173 closedir(dir); in td_ta_new()
180 closedir(dir); in td_ta_new()
184 closedir(dir); in td_ta_new()
339 DIR * dir; in td_ta_thr_iter() local
344 dir = opendir(path); in td_ta_thr_iter()
345 if (!dir) { in td_ta_thr_iter()
[all …]
/ndk/sources/host-tools/make-3.81/config/
Ddepcomp285 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
286 test "x$dir" = "x$object" && dir=
303 tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
304 tmpdepfile2=$dir$base.o.d # libtool 1.5
305 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
306 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
309 tmpdepfile1=$dir$base.o.d
310 tmpdepfile2=$dir$base.d
311 tmpdepfile3=$dir$base.d
312 tmpdepfile4=$dir$base.d
/ndk/tests/device/test-stlport/jni/
DAndroid.mk2 LOCAL_PATH := $(dir $(call my-dir))
7 unit_path := $(dir $(LOCAL_PATH))/unit
/ndk/sources/host-tools/make-3.81/tests/
Dtest_driver.pl154 $dir = $1;
155 push (@rmdirs, $dir);
156 -d "$workpath/$dir"
157 || mkdir ("$workpath/$dir", 0777)
158 || &error ("Couldn't mkdir $workpath/$dir: $!\n");
169 foreach $dir (@dirs)
171 next if ($dir =~ /^(\..*|CVS|RCS)$/ || ! -d "$scriptpath/$dir");
172 push (@rmdirs, $dir);
173 mkdir ("$workpath/$dir", 0777)
174 || &error ("Couldn't mkdir $workpath/$dir: $!\n");
[all …]
/ndk/sources/cpufeatures/
DAndroid.mk3 include $(dir $(call my-dir))/android/cpufeatures/Android.mk
/ndk/sources/host-tools/sed-4.2.1/m4/
Dlib-link.m4262 dir="$additional_libdir"
266 if test -f "$dir/$libname$shrext"; then
267 found_dir="$dir"
268 found_so="$dir/$libname$shrext"
271 ver=`(cd "$dir" && \
276 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
277 found_dir="$dir"
278 found_so="$dir/$libname$shrext.$ver"
283 if test -f "$dir/$f"; then
284 found_dir="$dir"
[all …]
/ndk/build/tools/
Dmake-release.sh229 …DROID_NDK_ROOT/build/tools/rebuild-all-prebuilt.sh --package-dir="$PREBUILT_DIR" --build-dir="$REL…
236 …run $ANDROID_NDK_ROOT/build/tools/rebuild-all-prebuilt.sh --package-dir="$PREBUILT_DIR" --darwin-s…
248 …/package-release.sh --release=$RELEASE --prefix=$PREFIX --out-dir="$OUT_DIR" --prebuilt-dir="$PREB…

12345678910