Home
last modified time | relevance | path

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

12345678910>>...121

/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/vulkan-loader/loader/
Ddirent_on_windows.c33 DIR *dir = 0; in opendir() local
40 …if ((dir = (DIR *)loader_alloc(pAllocator, sizeof *dir, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND)) != 0 … in opendir()
41 …(dir->name = (char *)loader_alloc(pAllocator, base_length + strlen(all) + 1, VK_SYSTEM_ALLOCATION_… in opendir()
43 strcat(strcpy(dir->name, name), all); in opendir()
45 if ((dir->handle = (handle_type)_findfirst(dir->name, &dir->info)) != -1) { in opendir()
46 dir->result.d_name = 0; in opendir()
49 loader_free(pAllocator, dir->name); in opendir()
50 loader_free(pAllocator, dir); in opendir()
51 dir = 0; in opendir()
55 loader_free(pAllocator, dir); in opendir()
[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/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/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/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/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/rust/crates/rustix/tests/fs/
Drenameat.rs15 let dir = openat( in test_renameat() localVariable
23 let _ = openat(&dir, "foo", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat()
24 let before = statat(&dir, "foo", AtFlags::empty()).unwrap(); in test_renameat()
25 renameat(&dir, "foo", &dir, "bar").unwrap(); in test_renameat()
26 let renamed = statat(&dir, "bar", AtFlags::empty()).unwrap(); in test_renameat()
38 let dir = openat( in test_renameat_overwrite() localVariable
46 let _ = openat(&dir, "foo", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat_overwrite()
47 let _ = openat(&dir, "bar", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat_overwrite()
48 let before = statat(&dir, "foo", AtFlags::empty()).unwrap(); in test_renameat_overwrite()
49 renameat(&dir, "foo", &dir, "bar").unwrap(); in test_renameat_overwrite()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dswh-lv2-port-groups.patch11 <port label="lo" dir="input" type="control" hint="default_0">
18 - <port label="left_input" dir="input" type="audio">
19 + <port label="left_input" dir="input" type="audio" group="main_in" role="leftChannel">
22 - <port label="right_input" dir="input" type="audio">
23 + <port label="right_input" dir="input" type="audio" group="main_in" role="rightChannel">
27 - <port label="left_output" dir="output" type="audio">
28 + <port label="left_output" dir="output" type="audio" group="main_out" role="leftChannel">
32 - <port label="right_output" dir="output" type="audio">
33 + <port label="right_output" dir="output" type="audio" group="main_out" role="rightChannel">
47 - <port label="input" dir="input" type="audio">
[all …]
/third_party/skia/tests/
DRRectInPathTest.cpp15 SkPathDirection* dir, unsigned* start) { in path_contains_rrect() argument
17 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(path, &out, dir, start)); in path_contains_rrect()
19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect()
44 SkPathDirection dir, unsigned start) { in inner_path_contains_rrect() argument
54 path.addRRect(in, dir, start); in inner_path_contains_rrect()
58 REPORTER_ASSERT(reporter, outDir == dir && outStart == start); in inner_path_contains_rrect()
63 SkPathDirection dir, unsigned start) { in path_contains_rrect_check() argument
64 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_check()
72 SkPathDirection dir, unsigned start) { in path_contains_rrect_nocheck() argument
73 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_nocheck()
[all …]
/third_party/flutter/skia/tests/
DRRectInPathTest.cpp15 SkPath::Direction* dir, unsigned* start) { in path_contains_rrect() argument
17 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(path, &out, dir, start)); in path_contains_rrect()
19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect()
44 SkPath::Direction dir, unsigned start) { in inner_path_contains_rrect() argument
54 path.addRRect(in, dir, start); in inner_path_contains_rrect()
58 REPORTER_ASSERT(reporter, outDir == dir && outStart == start); in inner_path_contains_rrect()
63 SkPath::Direction dir, unsigned start) { in path_contains_rrect_check() argument
64 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_check()
72 SkPath::Direction dir, unsigned start) { in path_contains_rrect_nocheck() argument
73 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_nocheck()
[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/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/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 …]
/third_party/flutter/engine/flutter/fml/
Dfile_unittest.cc47 auto dir = in TEST() local
49 ASSERT_TRUE(dir.is_valid()); in TEST()
50 dir.reset(); in TEST()
55 fml::ScopedTemporaryDirectory dir; in TEST() local
56 ASSERT_TRUE(dir.fd().is_valid()); in TEST()
60 fml::ScopedTemporaryDirectory dir; in TEST() local
61 ASSERT_TRUE(dir.fd().is_valid()); in TEST()
64 fml::OpenFile(dir.fd(), "some.txt", true, fml::FilePermission::kWrite); in TEST()
67 ASSERT_TRUE(fml::UnlinkFile(dir.fd(), "some.txt")); in TEST()
71 fml::ScopedTemporaryDirectory dir; in TEST() local
[all …]
/third_party/harfbuzz/test/shaping/
Drecord-test.sh3 dir=`mktemp -d`
63 cp "$fontfile" "$dir/font.ttf"
68 "$dir/font.ttf" \
75 "$dir/font.ttf" \
78 if ! test -s "$dir/font.subset.ttf"; then
79 echo "Subsetter didn't produce nonempty subset font in $dir/font.subset.ttf" >&2
84 glyphs_subset=`echo "$text" | $hb_shape $options "$dir/font.subset.ttf"`
90 echo "$text" | $hb_view $options "$dir/font.ttf" --output-format=png --output-file="$dir/orig.png"
91 …echo "$text" | $hb_view $options "$dir/font.subset.ttf" --output-format=png --output-file="$dir/su…
92 if ! cmp "$dir/orig.png" "$dir/subset.png"; then
[all …]

12345678910>>...121