Home
last modified time | relevance | path

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

12345678910>>...128

/third_party/toybox/tests/
Dchmod.test23 mkdir dir
35 type=dir
50 rm -rf dir file && mkdir dir && touch file
55 rm -rf dir file && mkdir dir && touch file
60 rm -rf dir file && mkdir dir && touch file
65 rm -rf dir file && mkdir dir && touch file
69 rm -rf dir file && mkdir dir && touch file
73 rm -rf dir file && mkdir dir && touch file
77 rm -rf dir file && mkdir dir && touch file
81 rm -rf dir file && mkdir dir && touch file
[all …]
/third_party/lwip/src/apps/http/makefsdata/
Dtinydir.h219 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()
275 dir->_files = NULL; in tinydir_open()
[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 …]
Dlocations-eclipse.properties7 shared.dir = ${workspace_loc:/icu4j-shared}
9 icu4j.core.dir = ${workspace_loc:/icu4j-core}
10 icu4j.charset.dir = ${workspace_loc:/icu4j-charset}
11 icu4j.collate.dir = ${workspace_loc:/icu4j-collate}
12 icu4j.currdata.dir = ${workspace_loc:/icu4j-currdata}
13 icu4j.langdata.dir = ${workspace_loc:/icu4j-langdata}
14 icu4j.localespi.dir = ${workspace_loc:/icu4j-localespi}
15 icu4j.regiondata.dir = ${workspace_loc:/icu4j-regiondata}
16 icu4j.translit.dir = ${workspace_loc:/icu4j-translit}
18 icu4j.test-framework.dir = ${workspace_loc:/icu4j-test-framework}
[all …]
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/
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 …]
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 …]
/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
63 $(srcdir)/archive.dir.tar:
64 if test -f $(gettextsrcdir)/archive.dir.tar.gz; then \
65 gzip -d -c < $(gettextsrcdir)/archive.dir.tar.gz > $@-t && mv $@-t $@; \
[all …]
/third_party/node/test/parallel/
Dtest-fs-opendir.js47 const dir = fs.opendirSync(testDir); constant
49 const dirent = dir.readSync();
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) => {
79 dir.read(common.mustCall((err, dirent) => {
[all …]
Dtest-fs-rmdir-recursive.js65 function removeAsync(dir) { argument
67 fs.rmdir(dir, common.mustCall((err) => {
71 fs.rmdir(dir, { recursive: false }, common.mustCall((err) => {
75 fs.rmdir(dir, { recursive: true }, common.mustSucceed(() => {
77 fs.rmdir(dir, { recursive: true }, common.mustSucceed(() => {
79 fs.rmdir(dir, common.mustCall((err) => {
91 let dir = nextDirPath(); variable
92 makeNonEmptyDirectory(4, 10, 2, dir, true);
93 removeAsync(dir);
96 dir = nextDirPath();
[all …]
/third_party/glib/glib/
Dgdir.c88 GDir dir; in g_dir_open_with_errno() local
101 dir.wdirp = _wopendir (wpath); in g_dir_open_with_errno()
106 if (dir.wdirp == NULL) in g_dir_open_with_errno()
109 dir.dirp = opendir (path); in g_dir_open_with_errno()
111 if (dir.dirp == NULL) in g_dir_open_with_errno()
115 return g_memdup2 (&dir, sizeof dir); in g_dir_open_with_errno()
141 GDir *dir; in g_dir_open() local
143 dir = g_dir_open_with_errno (path, flags); in g_dir_open()
145 if (dir == NULL) in g_dir_open()
158 return dir; in g_dir_open()
[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/e2fsprogs/tests/f_bad_encryption/
Dmkimage.sh80 dir=mnt/edir
81 mkdir $dir
82 echo password | e4crypt add_key $dir
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
98 mkdir $dir/missing_xattr_dir
[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/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 …]
Dtest_move.toml21 lfs_dir_open(&lfs, &dir, "a") => 0;
22 lfs_dir_read(&lfs, &dir, &info) => 1;
25 lfs_dir_read(&lfs, &dir, &info) => 1;
28 lfs_dir_read(&lfs, &dir, &info) => 0;
29 lfs_dir_close(&lfs, &dir) => 0;
30 lfs_dir_open(&lfs, &dir, "c") => 0;
31 lfs_dir_read(&lfs, &dir, &info) => 1;
34 lfs_dir_read(&lfs, &dir, &info) => 1;
37 lfs_dir_read(&lfs, &dir, &info) => 1;
41 lfs_dir_read(&lfs, &dir, &info) => 0;
[all …]
/third_party/alsa-lib/include/
Dpcm_old.h69 int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t *params, int *dir);
70 unsigned int snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t *params, int *dir);
71 unsigned int snd_pcm_hw_params_get_rate_max(const snd_pcm_hw_params_t *params, int *dir);
72 …nd_pcm_hw_params_test_rate(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir);
73 …snd_pcm_hw_params_set_rate(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir);
74 …m_hw_params_set_rate_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir);
75 …m_hw_params_set_rate_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir);
77 …m_hw_params_set_rate_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int *dir);
78 unsigned int snd_pcm_hw_params_set_rate_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, int *dir
79 unsigned int snd_pcm_hw_params_set_rate_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, int *dir);
[all …]
/third_party/cef/tests/ceftests/
Dscoped_temp_dir_unittest.cc18 CefScopedTempDir dir; in TEST() local
19 EXPECT_TRUE(dir.Set(test_path)); in TEST()
20 EXPECT_TRUE(dir.IsValid()); in TEST()
25 CefScopedTempDir dir; in TEST() local
26 EXPECT_TRUE(dir.Set(test_path)); in TEST()
30 CefString path = dir.Take(); in TEST()
32 EXPECT_FALSE(dir.IsValid()); in TEST()
38 CefScopedTempDir dir; in TEST() local
39 EXPECT_TRUE(dir.Set(test_path)); in TEST()
49 CefScopedTempDir dir; in TEST() local
[all …]
/third_party/alsa-lib/modules/mixer/simple/
Dsbase.c54 static long to_user(struct selem_base *s, int dir, struct helem_base *c, long value)
58 return s->dir[dir].min;
59 n = (int64_t) (value - c->min) * (s->dir[dir].max - s->dir[dir].min);
60 return s->dir[dir].min + (n + (c->max - c->min) / 2) / (c->max - c->min);
63 static long from_user(struct selem_base *s, int dir, struct helem_base *c, long value)
66 if (s->dir[dir].max == s->dir[dir].min)
68 n = (int64_t) (value - s->dir[dir].min) * (c->max - c->min);
69 …return c->min + (n + (s->dir[dir].max - s->dir[dir].min) / 2) / (s->dir[dir].max - s->dir[dir].min…
77 unsigned int dir, ok_flag; in update_ranges() local
81 for (dir = 0; dir < 2; dir++) { in update_ranges()
[all …]
/third_party/ltp/testcases/commands/unzip/datafiles/
Ddir.out1 dir/d1
2 dir/d1/f1
3 dir/d1/f2
4 dir/d1/f3
5 dir/d2
6 dir/d2/d1
7 dir/d2/d2
8 dir/d2/d3
9 dir/d2/f1
10 dir/d2/f2
[all …]
/third_party/e2fsprogs/contrib/
Dspd_readdir.c70 DIR *dir; member
81 static int (*real_closedir)(DIR *dir) = 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;
92 static void (*real_seekdir)(DIR *dir, off_t offset) = 0;
93 static int (*real_dirfd)(DIR *dir) = 0;
189 static struct dir_s *alloc_dirstruct(DIR *dir) in alloc_dirstruct() argument
[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 …]
/third_party/e2fsprogs/lib/ext2fs/
Dnewdir.c32 struct ext2_dir_entry *dir = NULL; in ext2fs_new_dir_block() local
46 dir = (struct ext2_dir_entry *) buf; in ext2fs_new_dir_block()
51 retval = ext2fs_set_rec_len(fs, fs->blocksize - csum_size, dir); in ext2fs_new_dir_block()
63 dir->inode = dir_ino; in ext2fs_new_dir_block()
64 ext2fs_dirent_set_name_len(dir, 1); in ext2fs_new_dir_block()
65 ext2fs_dirent_set_file_type(dir, filetype); in ext2fs_new_dir_block()
66 dir->name[0] = '.'; in ext2fs_new_dir_block()
68 dir->rec_len = EXT2_DIR_REC_LEN(1); in ext2fs_new_dir_block()
73 dir = (struct ext2_dir_entry *) (buf + dir->rec_len); in ext2fs_new_dir_block()
74 retval = ext2fs_set_rec_len(fs, rec_len, dir); in ext2fs_new_dir_block()
[all …]
/third_party/e2fsprogs/tests/f_badsymlinks2/
Dmkimage.sh39 local dir=$1
48 mkdir -p $dir
51 ino=$(symlink 1 $dir/empty)
55 symlink 1 $dir/fast_min > /dev/null
57 ino=$(symlink 10 $dir/fast_isize_too_small)
60 ino=$(symlink 10 $dir/fast_isize_too_large)
63 symlink $((59 - overhead)) $dir/fast_max > /dev/null
65 symlink $((60 - overhead)) $dir/slow_min > /dev/null
67 ino=$(symlink 100 $dir/slow_isize_too_small)
70 ino=$(symlink 100 $dir/slow_isize_too_large)
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/shape/
Drecord-test.sh3 dir=`mktemp -d`
63 cp "$fontfile" "$dir/font.ttf"
70 --output-file="$dir/font.subset.ttf" \
71 "$dir/font.ttf"
78 --output-file="$dir/font.subset.ttf" \
79 "$dir/font.ttf"
80 if ! test -s "$dir/font.subset.ttf"; then
81 echo "Subsetter didn't produce nonempty subset font in $dir/font.subset.ttf" >&2
86 glyphs_subset=`echo "$text" | $hb_shape $options "$dir/font.subset.ttf"`
92 echo "$text" | $hb_view $options "$dir/font.ttf" --output-format=png --output-file="$dir/orig.png"
[all …]

12345678910>>...128