| /third_party/toybox/tests/ |
| D | chmod.test | 23 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 …]
|
| D | find.test | 5 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 …]
|
| D | tar.test | 71 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 …]
|
| D | chgrp.test | 20 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/ |
| D | build.xml | 4 <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/ |
| D | build.xml | 16 <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"/> 184 <ant dir="${icu4j.core.dir}" target="clean" inheritAll="false"/> 185 <ant dir="${icu4j.collate.dir}" target="clean" inheritAll="false"/> 186 <ant dir="${icu4j.charset.dir}" target="clean" inheritAll="false"/> [all …]
|
| /third_party/lwip/src/apps/http/makefsdata/ |
| D | tinydir.h | 159 #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/main/shared/build/ |
| D | locations.properties | 8 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 …]
|
| D | common.properties | 17 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 …]
|
| D | common-targets.xml | 10 <dirname property="common-targets.dir" file="${ant.file.common-targets}"/> 11 <property file="${common-targets.dir}/locations.properties"/> 17 <property file="${common-targets.dir}/common.properties"/> 23 <delete dir="${out.dir}"/> 30 <echo message="source dir: ${basedir}/${src.dir}"/> 31 <echo message="output dir: ${basedir}/${bin.dir}"/> 40 <mkdir dir="${bin.dir}"/> 42 srcdir="${src.dir}" 43 destdir="${bin.dir}" 55 <mkdir dir="${bin.dir}"/> [all …]
|
| /third_party/protobuf/java/core/ |
| D | generate-test-sources-build.xml | 2 <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/vulkan-loader/loader/ |
| D | dirent_on_windows.c | 25 struct DIR { struct 32 DIR *opendir(const VkAllocationCallbacks *pAllocator, const char *name) { in opendir() argument 33 DIR *dir = 0; in opendir() local 41 …if ((dir = (DIR *)loader_alloc(pAllocator, sizeof *dir, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND)) != 0 … in opendir() 42 …(dir->name = (char *)loader_calloc(pAllocator, full_length, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND)) !… in opendir() 43 loader_strncpy(dir->name, full_length, name, base_length); in opendir() 44 loader_strncat(dir->name, full_length, all, strlen(all)); in opendir() 46 if ((dir->handle = (handle_type)_findfirst(dir->name, &dir->info)) != -1) { in opendir() 47 dir->result.d_name = 0; in opendir() 50 loader_free(pAllocator, dir->name); in opendir() [all …]
|
| /third_party/gn/src/gn/ |
| D | analyzer_unittest.cc | 39 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/alsa-lib/modules/mixer/simple/python/ |
| D | common.py | 20 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/ |
| D | test_dirs.toml | 6 lfs_dir_t dir; 7 lfs_dir_open(&lfs, &dir, "/") => 0; 9 lfs_dir_read(&lfs, &dir, &info) => 1; 12 lfs_dir_read(&lfs, &dir, &info) => 1; 15 lfs_dir_read(&lfs, &dir, &info) => 0; 16 lfs_dir_close(&lfs, &dir) => 0; 30 sprintf(path, "dir%03d", i); 36 lfs_dir_t dir; 37 lfs_dir_open(&lfs, &dir, "/") => 0; 39 lfs_dir_read(&lfs, &dir, &info) => 1; [all …]
|
| D | test_move.toml | 23 lfs_dir_t dir; 25 lfs_dir_open(&lfs, &dir, "a") => 0; 26 lfs_dir_read(&lfs, &dir, &info) => 1; 29 lfs_dir_read(&lfs, &dir, &info) => 1; 32 lfs_dir_read(&lfs, &dir, &info) => 0; 33 lfs_dir_close(&lfs, &dir) => 0; 34 lfs_dir_open(&lfs, &dir, "c") => 0; 35 lfs_dir_read(&lfs, &dir, &info) => 1; 38 lfs_dir_read(&lfs, &dir, &info) => 1; 41 lfs_dir_read(&lfs, &dir, &info) => 1; [all …]
|
| /third_party/protobuf/java/lite/ |
| D | generate-test-sources-build.xml | 2 <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/skia/third_party/externals/sfntly/java/ |
| D | build.xml | 7 <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/node/test/parallel/ |
| D | test-fs-opendir.js | 47 const dir = fs.opendirSync(testDir); constant 49 const dirent = dir.readSync(); 57 // dir.read should return null when no more entries exist 58 assert.strictEqual(dir.readSync(), null); 61 assert.strictEqual(dir.path, testDir); 63 dir.closeSync(); 65 assert.throws(() => dir.readSync(), dirclosedError); 66 assert.throws(() => dir.closeSync(), dirclosedError); 70 fs.opendir(testDir, common.mustSucceed((dir) => { 72 dir.read(common.mustSucceed((dirent) => { [all …]
|
| /third_party/alsa-lib/include/ |
| D | pcm_old.h | 72 int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t *params, int *dir); 73 unsigned int snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t *params, int *dir); 74 unsigned int snd_pcm_hw_params_get_rate_max(const snd_pcm_hw_params_t *params, int *dir); 75 …nd_pcm_hw_params_test_rate(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir); 76 …snd_pcm_hw_params_set_rate(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir); 77 …m_hw_params_set_rate_min(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir); 78 …m_hw_params_set_rate_max(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir); 80 …m_hw_params_set_rate_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int *dir); 81 unsigned int snd_pcm_hw_params_set_rate_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, int *dir… 82 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/ |
| D | sbase.c | 54 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/ |
| D | unzip01.sh | 24 creating: dir/ 25 creating: dir/d1/ 26 creating: dir/d2/ 27 creating: dir/d3/ 28 creating: dir/d4/ 29 $EXTRACT_MATCH: dir/d1/f1 30 $EXTRACT_MATCH: dir/d1/f2 31 $EXTRACT_MATCH: dir/d1/f3 32 creating: dir/d2/d1/ 33 creating: dir/d2/d2/ [all …]
|
| /third_party/skia/tests/ |
| D | OSPathTest.cpp | 14 * Will use SkOSPath::Join to append filename to dir, test that it works correctly, 17 * @param dir String representing the path to a folder. May or may not 22 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir, in test_dir_with_file() argument 29 // fullName should be "dir<SkOSPath::SEPARATOR>file" in test_dir_with_file() 30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); in test_dir_with_file() 32 // fullName should be the combined size of dir and file, plus one if in test_dir_with_file() 33 // dir did not include the final path separator. 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() 46 // dirname should be the same as dir with any trailing seperators removed. in test_dir_with_file() [all …]
|
| /third_party/ltp/testcases/kernel/fs/racer/ |
| D | fs_racer.sh | 32 DIR="$TMPDIR/race" 36 [ -e $DIR ] || mkdir $DIR 37 ./fs_racer_file_create.sh $DIR $MAX_FILES & 38 ./fs_racer_file_create.sh $DIR $MAX_FILES & 39 ./fs_racer_file_create.sh $DIR $MAX_FILES & 41 ./fs_racer_dir_create.sh $DIR $MAX_FILES & 42 ./fs_racer_dir_create.sh $DIR $MAX_FILES & 43 ./fs_racer_dir_create.sh $DIR $MAX_FILES & 45 ./fs_racer_file_rename.sh $DIR $MAX_FILES & 46 ./fs_racer_file_rename.sh $DIR $MAX_FILES & [all …]
|
| /third_party/libabigail/doc/vizualization/graph/gv/ |
| D | sa-base.gv | 6 Node1 -> Node2 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 8 Node2 -> Node3 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 10 Node2 -> Node3 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 11 Node2 -> Node4 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 13 Node2 -> Node5 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 15 Node1 -> Node2 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 16 Node1 -> Node2 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 17 Node1 -> Node6 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 19 Node6 -> Node4 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; 20 Node1 -> Node6 [dir="back",color="midnightblue",fontsize="9",style="solid",fontname="FreeSans"]; [all …]
|