Home
last modified time | relevance | path

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

12345678910>>...122

/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 …]
Dtar.test71 mkdir dir
79 touch dir/file
90 echo boing > dir/that
95 ln -s ../name.././.. dir/link
100 ln dir/file dir/hardlink
104 ln dir/link dir/hlink
108 skipnot mkfifo dir/fifo
115 touch dir/${LONG:1:96} dir/${LONG:1:97}
119 ln -s dir/${LONG:1:96} dir/lshort
120 ln -s dir/${LONG:1:97} dir/llong
[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/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.mustSucceed((dirent) => {
78 dir.read(common.mustSucceed((dirent) => {
[all …]
Dtest-fs-rmdir-recursive.js72 function removeAsync(dir) { argument
74 fs.rmdir(dir, common.mustCall((err) => {
78 fs.rmdir(dir, { recursive: false }, common.mustCall((err) => {
82 fs.rmdir(dir, { recursive: true }, common.mustSucceed(() => {
84 fs.rmdir(dir, { recursive: true }, common.mustCall((err) => {
87 fs.rmdir(dir, common.mustCall((err) => {
99 let dir = nextDirPath(); variable
100 makeNonEmptyDirectory(4, 10, 2, dir, true);
101 removeAsync(dir);
104 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/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/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/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/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/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/musl/Benchmark/musl/
Dlibc_dirent.cpp28 DIR *dir = opendir("/dev/block"); in Bm_function_Opendir() local
29 if (dir == nullptr) { in Bm_function_Opendir()
32 benchmark::DoNotOptimize(dir); in Bm_function_Opendir()
34 closedir(dir); in Bm_function_Opendir()
41 const char* dir = "/dev/block"; in Bm_function_ScanDir() local
44 int n = scandir(dir, &entry, nullptr, alphasort); in Bm_function_ScanDir()
61 DIR *dir = opendir("/dev/block"); in Bm_function_Closedir() local
62 if (dir == nullptr) { in Bm_function_Closedir()
67 benchmark::DoNotOptimize(closedir(dir)); in Bm_function_Closedir()
73 DIR *dir = opendir("/dev/block"); in Bm_function_Readdir() local
[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 …]
DOSPathTest.cpp22 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir, in test_dir_with_file() argument
30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); in test_dir_with_file()
34 size_t expectedSize = dir.size() + filename.size(); in test_dir_with_file()
35 if (!dir.endsWith(SkOSPath::SEPARATOR) && !dir.isEmpty()) { in test_dir_with_file()
48 SkString strippedDir = dir; in test_dir_with_file()
53 SkDebugf("OOUCH %s %s %s\n", dir.c_str(), strippedDir.c_str(), dirname.c_str()); in test_dir_with_file()
66 SkString dir("dir"); in DEF_TEST() local
68 test_dir_with_file(reporter, dir, filename); in DEF_TEST()
71 dir.appendUnichar(SkOSPath::SEPARATOR); in DEF_TEST()
72 test_dir_with_file(reporter, dir, filename); in DEF_TEST()
[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/node/test/sequential/
Dtest-fs-opendir-recursive.js142 function processDirSync(dir) { argument
144 let dirent = dir.readSync();
147 dirent = dir.readSync();
155 const dir = fs.opendirSync(testDir, { recursive: true }); constant
156 processDirSync(dir);
157 dir.closeSync();
161 fs.opendir(testDir, { recursive: true }, common.mustSucceed((dir) => {
162 processDirSync(dir);
163 dir.close(common.mustSucceed());
169 function processDirCb(dir, cb) { argument
[all …]
/third_party/python/Lib/test/
Dtest_tempfile.py101 def nameCheck(self, name, dir, pre, suf): argument
106 if dir is not None:
110 if type(dir) is str or isinstance(dir, os.PathLike) else
120 if (dir, pre, suf) == (None, None, None):
124 self.assertEqual(os.path.abspath(ndir), os.path.abspath(dir),
125 "file %r not in directory %r" % (name, dir))
329 dir = tempfile.mkdtemp()
331 with support.swap_attr(tempfile, 'tempdir', dir):
334 os_helper.rmtree(dir)
384 def __init__(self, dir, pre, suf, bin): argument
[all …]

12345678910>>...122