Home
last modified time | relevance | path

Searched full:dir (Results 1 – 25 of 5196) sorted by relevance

12345678910>>...208

/third_party/toybox/tests/
Dchmod.test23 mkdir dir
35 type=dir
50 rm -rf dir file && mkdir dir && touch file
51 testing "750 dir 640 file" \
52 "chmod 750 dir 640 file 2>/dev/null ||
53 ls -ld dir file | cut -d' ' -f 1 | cut -d. -f 1" "drwxr-x---\n-rwxr-x---\n" "" ""
55 rm -rf dir file && mkdir dir && touch file
56 testing "666 dir file" \
57 "chmod 666 dir file &&
58 ls -ld dir file | cut -d' ' -f 1 | cut -d. -f 1" "drw-rw-rw-\n-rw-rw-rw-\n" "" ""
[all …]
Dfind.test5 mkdir dir
6 cd dir
24 "find dir -type l -a -type d -o -type p" "dir/fifo\n" "" ""
25 testing "-type l -type d -o -type p" "find dir -type l -type d -o -type p" \
26 "dir/fifo\n" "" ""
28 "find dir -type l -o -type d -a -type p" "dir/link\n" "" ""
29 testing "-type l -o -type d -type p" "find dir -type l -o -type d -type p" \
30 "dir/link\n" "" ""
32 "find dir -type l \( -type d -o -type l \)" "dir/link\n" "" ""
34 "find dir \( \( -type l \) \( -type d -o \( \( -type l \) \) \) \)" \
[all …]
Dtar.test71 mkdir dir
72 testing "create dir" "$TAR dir | SUM 3" \
75 testing "pass dir" "$TAR dir | LST" \
76 "drwxrwxr-x root/root 0 2009-02-13 23:31 dir/\n" "" ""
78 # note: does _not_ include dir entry in archive, just file
79 touch dir/file
80 testing "create file in dir" "$TAR dir/file | SUM 3" \
84 testing "create dir and dir/file" "$TAR dir | SUM 3" \
87 testing "pass dir/file" "$TAR dir | LST" \
88 …"drwxrwxr-x root/root 0 2009-02-13 23:31 dir/\n-rw-rw-r-- root/root 0 2009-02-13 23:31 dir/file\n"…
[all …]
Dchgrp.test20 mkdir -p testdir/dir/dir/dir testdir/dir2 &&
21 touch testdir/dir/file &&
22 ln -s ../dir/dir testdir/dir2/dir &&
23 ln -s ../dir/file testdir/dir2/file || exit 1
27 IN="cd testdir && chgrp -R $GRP dir dir2 &&"
31 # dir dir2 dir/dir dir/file dir/dir/dir dir2/dir dir2/file
36 testing "dir" "$IN chgrp root dir $OUT" \
38 testing "file" "$IN chgrp root dir/file $OUT" \
40 testing "dir and file" "$IN chgrp root dir dir/file $OUT" \
46 testing "symlink->dir" "$IN chgrp root dir2/dir $OUT" \
[all …]
/third_party/libphonenumber/java/
Dbuild.xml4 <property name="libphonenumber.src.dir" value="libphonenumber/src"/>
5 <property name="libphonenumber.test.dir" value="libphonenumber/test"/>
6 <property name="carrier.src.dir" value="carrier/src"/>
7 <property name="carrier.test.dir" value="carrier/test"/>
8 <property name="geocoder.src.dir" value="geocoder/src"/>
9 <property name="geocoder.test.dir" value="geocoder/test"/>
10 <property name="prefixmapper.src.dir" value="internal/prefixmapper/src"/>
11 <property name="prefixmapper.test.dir" value="internal/prefixmapper/test"/>
12 <property name="build.dir" value="build"/>
13 <property name="classes.dir" value="${build.dir}/classes"/>
[all …]
/third_party/icu/icu4j/main/shared/build/
Dlocations.properties8 icu4j.collate.dir = ${shared.dir}/../classes/collate
9 icu4j.core.dir = ${shared.dir}/../classes/core
10 icu4j.charset.dir = ${shared.dir}/../classes/charset
11 icu4j.currdata.dir = ${shared.dir}/../classes/currdata
12 icu4j.langdata.dir = ${shared.dir}/../classes/langdata
13 icu4j.localespi.dir = ${shared.dir}/../classes/localespi
14 icu4j.regiondata.dir = ${shared.dir}/../classes/regiondata
15 icu4j.translit.dir = ${shared.dir}/../classes/translit
17 icu4j.test-framework.dir = ${shared.dir}/../tests/framework
18 icu4j.core-tests.dir = ${shared.dir}/../tests/core
[all …]
Dcommon.properties17 src.dir = src
18 out.dir = out
19 bin.dir = ${out.dir}/bin
20 jar.dir = ${out.dir}/lib
36 icu4j.data.jar = ${shared.dir}/data/icudata.jar
37 icu4j.tzdata.jar = ${shared.dir}/data/icutzdata.jar
38 icu4j.testdata.jar = ${shared.dir}/data/testdata.jar
40 icu4j.core.jar = ${icu4j.core.dir}/${jar.dir}/icu4j-core.jar
41 icu4j.collate.jar = ${icu4j.collate.dir}/${jar.dir}/icu4j-collate.jar
42 icu4j.charset.jar = ${icu4j.charset.dir}/${jar.dir}/icu4j-charset.jar
[all …]
/third_party/lwip/src/apps/http/makefsdata/
Dtinydir.h159 #define _TINYDIR_DIR DIR
219 int tinydir_open(tinydir_dir *dir, const _tinydir_char_t *path);
221 int tinydir_open_sorted(tinydir_dir *dir, const _tinydir_char_t *path);
223 void tinydir_close(tinydir_dir *dir);
226 int tinydir_next(tinydir_dir *dir);
228 int tinydir_readfile(const tinydir_dir *dir, tinydir_file *file);
230 int tinydir_readfile_n(const tinydir_dir *dir, tinydir_file *file, size_t i);
232 int tinydir_open_subdir_n(tinydir_dir *dir, size_t i);
251 int tinydir_open(tinydir_dir *dir, const _tinydir_char_t *path) in tinydir_open() argument
263 if (dir == NULL || path == NULL || _tinydir_strlen(path) == 0) in tinydir_open()
[all …]
/third_party/icu/icu4j/
Dbuild.xml16 <property name="shared.dir" value="main/shared"/>
17 <import file="${shared.dir}/build/common-targets.xml"/>
81 <property name="release.dir" value="release"/>
82 <property name="doc.dir" value="doc"/>
83 <property name="maven.doc.base.dir" value="${out.dir}/mavendoc"/>
84 <property name="cldr.util.out.dir" value="${out.dir}/cldr_util"/>
85 <property name="cldr.release.dir" value="release_cldr"/>
155 <ant dir="${icu4j.core.dir}" target="clean" inheritAll="false"/>
156 <ant dir="${icu4j.collate.dir}" target="clean" inheritAll="false"/>
157 <ant dir="${icu4j.charset.dir}" target="clean" inheritAll="false"/>
[all …]
/third_party/protobuf/java/core/
Dgenerate-test-sources-build.xml2 <mkdir dir="${generated.testsources.dir}"/>
4 <arg value="--java_out=${generated.testsources.dir}"/>
5 <arg value="--proto_path=${protobuf.source.dir}"/>
6 <arg value="--proto_path=${test.proto.dir}"/>
7 <arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/>
8 <arg value="${protobuf.source.dir}/google/protobuf/unittest_custom_options.proto"/>
9 <arg value="${protobuf.source.dir}/google/protobuf/unittest_enormous_descriptor.proto"/>
10 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/>
11 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/>
12 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/>
[all …]
/third_party/alsa-lib/modules/mixer/simple/python/
Dcommon.py20 def opsIsChannel(self, dir, chn): argument
23 def opsGetRange(self, dir): argument
24 return (0, self.min[dir], self.max[dir])
26 def opsSetRange(self, dir, min, max): argument
27 self.min[dir] = min
28 self.max[dir] = max
30 def volumeToUser(self, info, dir, value): argument
34 return self.min[dir]
35 n = (value - min) * (self.max[dir] - self.min[dir])
36 return self.min[dir] + (n + (max - min) / 2) / (max - min)
[all …]
/third_party/gn/src/gn/
Danalyzer_unittest.cc39 return SourceFile(label.dir().value() + "BUILD.gn"); in BuildFileForLabel()
57 tc_dir_ = settings_.toolchain_label().dir(); in AnalyzerTest()
63 tc_other_dir_ = other_settings_.toolchain_label().dir(); in AnalyzerTest()
67 std::unique_ptr<Target> MakeTarget(const std::string& dir, in MakeTarget() argument
69 Label label(SourceDir(dir), name, tc_dir_, tc_name_); in MakeTarget()
73 std::unique_ptr<Target> MakeTargetOtherToolchain(const std::string& dir, in MakeTargetOtherToolchain() argument
75 Label label(SourceDir(dir), name, tc_other_dir_, tc_other_name_); in MakeTargetOtherToolchain()
79 std::unique_ptr<Config> MakeConfig(const std::string& dir, in MakeConfig() argument
81 Label label(SourceDir(dir), name, tc_dir_, tc_name_); in MakeConfig()
85 std::unique_ptr<Pool> MakePool(const std::string& dir, in MakePool() argument
[all …]
/third_party/gettext/gettext-tools/misc/
DMakefile.am34 archive.dir.tar.gz \
35 archive.dir.tar.bz2 \
36 archive.dir.tar.xz \
40 EXTRA_DIST += add-to-archive cvsuser.c archive.dir.tar
44 ARCHIVE_dirgz = archive.dir.tar.gz
45 ARCHIVE_dirbz2 = archive.dir.tar.bz2
46 ARCHIVE_dirxz = archive.dir.tar.xz
50 # The archive.dir.tar file appears in release tarballs.
60 # The archive.dir.tar is not stored in the version control repository.
63 $(srcdir)/archive.dir.tar:
[all …]
/third_party/e2fsprogs/contrib/
Dspd_readdir.c70 DIR *dir; member
81 static int (*real_closedir)(DIR *dir) = 0;
82 static DIR *(*real_opendir)(const char *name) = 0;
83 static DIR *(*real_fdopendir)(int fd) = 0;
84 static void *(*real_rewinddir)(DIR *dirp) = 0;
85 static struct dirent *(*real_readdir)(DIR *dir) = 0;
86 static int (*real_readdir_r)(DIR *dir, struct dirent *entry,
88 static struct dirent64 *(*real_readdir64)(DIR *dir) = 0;
89 static int (*real_readdir64_r)(DIR *dir, struct dirent64 *entry,
91 static off_t (*real_telldir)(DIR *dir) = 0;
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/
Dbuild.xml7 <mkdir dir="${classes-test.dir}" />
8 <javac srcdir="${test.dir}" destdir="${classes-test.dir}" includeantruntime="false">
10 <fileset dir="${lib.dir}" includes="**/*.jar"/>
11 <pathelement location="${classes.dir}" />
17 <mkdir dir="${report-test.dir}" />
20 <fileset dir="${lib.dir}" includes="**/*.jar"/>
21 <pathelement location="${classes.dir}" />
22 <pathelement location="${classes-test.dir}" />
25 <batchtest fork="yes" todir="${report-test.dir}">
26 <fileset dir="${test.dir}">
[all …]
/third_party/skia/third_party/externals/sfntly/java/
Dbuild.xml7 <mkdir dir="${classes-test.dir}" />
8 <javac srcdir="${test.dir}" destdir="${classes-test.dir}" includeantruntime="false">
10 <fileset dir="${lib.dir}" includes="**/*.jar"/>
11 <pathelement location="${classes.dir}" />
17 <mkdir dir="${report-test.dir}" />
20 <fileset dir="${lib.dir}" includes="**/*.jar"/>
21 <pathelement location="${classes.dir}" />
22 <pathelement location="${classes-test.dir}" />
25 <batchtest fork="yes" todir="${report-test.dir}">
26 <fileset dir="${test.dir}">
[all …]
/third_party/boost/tools/build/src/tools/
Dboostbook.jam76 docbook-xsl-dir ? # The DocBook XSL stylesheet directory. If not provided,
82 : docbook-dtd-dir ? # The DocBook DTD directory. If not provided, we use
87 : boostbook-dir ? # The BoostBook directory with the DTD and XSL subdirs.
94 check-boostbook-dir $(boostbook-dir) ;
95 find-tools $(docbook-xsl-dir) : $(docbook-dtd-dir) : $(boostbook-dir) ;
114 if $(docbook-xsl-dir)
117 .docbook-xsl-dir = [ path.make $(docbook-xsl-dir) ] ;
118 check-docbook-xsl-dir ;
120 if $(docbook-dtd-dir)
123 .docbook-dtd-dir = [ path.make $(docbook-dtd-dir) ] ;
[all …]
/third_party/protobuf/java/lite/
Dgenerate-test-sources-build.xml2 <mkdir dir="${generated.testsources.dir}"/>
4 <arg value="--java_out=lite:${generated.testsources.dir}"/>
5 <arg value="--proto_path=${protobuf.source.dir}"/>
6 <arg value="--proto_path=${protobuf.basedir}/java/core/${test.proto.dir}"/>
7 <arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/>
8 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/>
9 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/>
10 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/>
11 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public_lite.proto"/>
12 <arg value="${protobuf.source.dir}/google/protobuf/unittest_lite.proto"/>
[all …]
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/
Dresolver.js7 var dir = path.join(__dirname, 'resolver');
9 resolve('./foo', { basedir: dir }, function (err, res, pkg) {
11 t.equal(res, path.join(dir, 'foo.js'));
15 resolve('./foo.js', { basedir: dir }, function (err, res, pkg) {
17 t.equal(res, path.join(dir, 'foo.js'));
21 resolve('./foo', { basedir: dir, 'package': { main: 'resolver' } }, function (err, res, pkg) {
23 t.equal(res, path.join(dir, 'foo.js'));
27 … resolve('./foo.js', { basedir: dir, 'package': { main: 'resolver' } }, function (err, res, pkg) {
29 t.equal(res, path.join(dir, 'foo.js'));
33 resolve('./foo', { basedir: dir, filename: path.join(dir, 'baz.js') }, function (err, res) {
[all …]
Dresolver_sync.js6 var dir = path.join(__dirname, 'resolver');
9 resolve.sync('./foo', { basedir: dir }),
10 path.join(dir, 'foo.js')
14 resolve.sync('./foo.js', { basedir: dir }),
15 path.join(dir, 'foo.js')
19 resolve.sync('./foo.js', { basedir: dir, filename: path.join(dir, 'bar.js') }),
20 path.join(dir, 'foo.js')
24 resolve.sync('foo', { basedir: dir });
30 resolve.sync('foo', { basedir: dir, filename: path.join(dir, 'bar.js') });
34 message: "Cannot find module 'foo' from '" + path.join(dir, 'bar.js') + "'"
[all …]
/third_party/e2fsprogs/tests/f_bad_encryption/
Dmkimage.sh80 dir=mnt/edir
81 mkdir $dir
82 echo password | e4crypt add_key $dir
84 # Control cases: valid encrypted regular file, dir, and symlink (ino 13-15)
85 create_encrypted_file $dir/encrypted_file
86 mkdir $dir/encrypted_dir
87 ln -s target $dir/encrypted_symlink
90 mkfifo $dir/fifo
95 create_encrypted_file $dir/missing_xattr_file
96 rm_encryption_xattr $dir/missing_xattr_file
[all …]
/third_party/littlefs/tests/
Dtest_dirs.toml5 lfs_dir_open(&lfs, &dir, "/") => 0;
6 lfs_dir_read(&lfs, &dir, &info) => 1;
9 lfs_dir_read(&lfs, &dir, &info) => 1;
12 lfs_dir_read(&lfs, &dir, &info) => 0;
13 lfs_dir_close(&lfs, &dir) => 0;
24 sprintf(path, "dir%03d", i);
30 lfs_dir_open(&lfs, &dir, "/") => 0;
31 lfs_dir_read(&lfs, &dir, &info) => 1;
34 lfs_dir_read(&lfs, &dir, &info) => 1;
38 sprintf(path, "dir%03d", i);
[all …]
/third_party/glib/gio/inotify/
Dinotify-path.c101 static void ip_watched_dir_free (ip_watched_dir_t *dir);
133 ip_watched_dir_t *dir) in ip_map_path_dir() argument
135 g_assert (path && dir); in ip_map_path_dir()
136 g_hash_table_insert (path_dir_hash, dir->path, dir); in ip_map_path_dir()
141 ip_watched_dir_t *dir) in ip_map_sub_dir() argument
144 g_assert (dir && sub); in ip_map_sub_dir()
145 g_hash_table_insert (sub_dir_hash, sub, dir); in ip_map_sub_dir()
146 dir->subs = g_list_prepend (dir->subs, sub); in ip_map_sub_dir()
151 ip_watched_dir_t *dir) in ip_map_wd_dir() argument
155 g_assert (wd >= 0 && dir); in ip_map_wd_dir()
[all …]
/third_party/node/test/parallel/
Dtest-fs-opendir.js47 const dir = fs.opendirSync(testDir); constant
49 const dirent = dir.readSync();
55 // dir.read should return null when no more entries exist
56 assert.strictEqual(dir.readSync(), null);
59 assert.strictEqual(dir.path, testDir);
61 dir.closeSync();
63 assert.throws(() => dir.readSync(), dirclosedError);
64 assert.throws(() => dir.closeSync(), dirclosedError);
68 fs.opendir(testDir, common.mustSucceed((dir) => {
70 dir.read(common.mustCall((err, dirent) => {
[all …]
/third_party/ltp/testcases/commands/unzip/
Dunzip01.sh25 creating: dir/
26 creating: dir/d1/
27 creating: dir/d2/
28 creating: dir/d3/
29 creating: dir/d4/
30 $EXTRACT_MATCH: dir/d1/f1
31 $EXTRACT_MATCH: dir/d1/f2
32 $EXTRACT_MATCH: dir/d1/f3
33 creating: dir/d2/d1/
34 creating: dir/d2/d2/
[all …]

12345678910>>...208