Home
last modified time | relevance | path

Searched +full:dir +full:- +full:glob (Results 1 – 25 of 201) sorted by relevance

123456789

/third_party/toybox/tests/
Dfind.test3 [ -f testing.sh ] && . testing.sh
5 mkdir dir
6 cd dir
9 # fs timestamp granularity isn't always enough for -newer to tell, so wait
11 ln -s fifo link
16 touch perm/all-read-only
17 chmod a=r perm/all-read-only
23 testing "-type l -a -type d -o -type p" \
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" \
[all …]
/third_party/python/Lib/test/
Dtest_glob.py1 import glob
53 def glob(self, *parts, **kwargs): member in GlobTests
59 res = glob.glob(p, **kwargs)
60 res2 = glob.iglob(p, **kwargs)
61 self.assertCountEqual(glob.iglob(p, **kwargs), res)
64 self.assertCountEqual(glob.glob(os.fsencode(p), **kwargs), bres)
65 self.assertCountEqual(glob.iglob(os.fsencode(p), **kwargs), bres)
68 res2 = glob.glob(pattern, **kwargs)
77 self.assertCountEqual(glob.iglob(pattern, **kwargs), res2)
80 self.assertCountEqual(glob.glob(bpattern, **kwargs), bres2)
[all …]
Dtest_unicode_file.py4 import os, glob, time, shutil
43 # Filename should appear in glob output
45 os.path.abspath(filename)==os.path.abspath(glob.glob(glob.escape(filename))[0]))
49 # Normalize the unicode strings, as round-tripping the name via the OS
76 # Note - due to the implementation of shutil.move,
78 # different file systems - and this test can't ensure that.
102 # The '_test' functions 'entry points with params' - ie, what the
103 # top-level 'test' functions would be if they could take params
129 # Make dir with encoded, chdir with unicode, checkdir with encoded
131 ext = ".dir"
[all …]
/third_party/tex-hyphen/
Dtex-hyphen-language.gemspec2 s.name = 'tex-hyphen-language'
4 s.date = '2018-12-30'
9 s.files = ['hyph-utf8/source/generic/hyph-utf8/spec/tex/hyphen/language_spec.rb'] +
10 Dir.glob('hyph-utf8/source/generic/hyph-utf8/lib/tex/hyphen/*') +
11 Dir.glob('hyph-utf8/source/generic/hyph-utf8/lib/tex/hyphen/texlive/*') +
12 Dir.glob('hyph-utf8/tex/generic/hyph-utf8/patterns/tex/*')
/third_party/skia/third_party/externals/freetype/builds/meson/
Dgenerate_reference_docs.py3 # Copyright (C) 2020-2021 by
17 import glob
27 "--input-dir",
29 help="Top-level FreeType source directory.",
33 "--version", required=True, help='FreeType version (e.g. "2.x.y").'
37 "--output-dir", required=True, help="Output directory."
48 glob.glob(os.path.join(args.input_dir, "include", "freetype", "*.h"))
49 + glob.glob(
54 + glob.glob(
70 "-m",
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/dump/
Dtest_dynamic_shape.py7 # http://www.apache.org/licenses/LICENSE-2.0
20 import glob
68 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
106 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
120 output_name = "Add.Add-op*.0.*.*.output.0.DefaultFormat.npy"
121 output_path = glob.glob(os.path.join(dump_file_path, output_name))[0]
185 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
220 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
236 output_name = "Add.Add-op*.0.*.*.output.0.DefaultFormat.npy"
237 output_path = glob.glob(os.path.join(dump_file_path, output_name))[0]
[all …]
Dtest_data_dump.py1 # Copyright 2020-2023 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
20 import glob
54 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
68 output_name = "Add.Default_Add-op*.0.0.*.output.0.DefaultFormat.npy"
71 output_name = "Add.Default_Add-op*.0.0.*.output.0.DefaultFormat.npy"
74 output_name = "Add.Default_Add-op*.0.0.*.output.0.DefaultFormat.npy"
75 output_path = glob.glob(os.path.join(dump_file_path, output_name))[0]
193 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
213 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
[all …]
Dtest_dump_format.py7 # http://www.apache.org/licenses/LICENSE-2.0
18 import glob
43 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
59 output_name = "Conv2D.Conv2D-op*.0.0.*.output.0.DefaultFormat.npy"
60 output_path = glob.glob(os.path.join(dump_data_path, output_name))[0]
67 output_name = "Conv2D.Conv2D-op*.0.0.*.output.0.NC1HWC0.npy"
68 output_path = glob.glob(os.path.join(dump_data_path, output_name))[0]
74 output_name = "Conv2D.Conv2D-op*.*.*.*.output.0.NCHW.npy"
75 output_path = glob.glob(os.path.join(dump_data_path, output_name))[0]
Dtest_e2e_dump_kbk_dynamic_shape.py1 # Copyright 2021-2024 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
20 import glob
58 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
80 output_name = "Add.Default_network-Net_Add-op0.0.0.*.output.0.DefaultFormat.npy"
81 output_path = glob.glob(os.path.join(dump_data_path, output_name))[0]
87 output_path = glob.glob(os.path.join(dump_data_path, statistic_file_name))[0]
Dtest_e2e_dump_kbk_overflow.py1 # Copyright 2021-2024 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
19 import glob
43 with tempfile.TemporaryDirectory(dir='/tmp') as tmp_dir:
61 output_name = "Conv2D.Default_Conv2D-op*.output.0.DefaultFormat.npy"
62 output_path = glob.glob(os.path.join(dump_data_path, output_name))[0]
/third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/
DBuild-Mac-Clang-x86_64-Debug-CommandBuffer.json13 "-kind",
15 "-xcode-version",
17 "-output-dir",
28 "xcode-select",
29 "-switch",
40 "-u",
42 "--chrome-dir",
44 "--output-dir",
45 "[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Debug",
46 "--extra-gn-args",
[all …]
/third_party/mindspore/mindspore-src/source/cmake/
Dutils.cmake58 if(${IP_POS} EQUAL -1)
67 set(REGEX_IP_ADDRESS "^([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)$")
148 set(${_LIB_NAME}_LIB ${_LIB_NAME}_LIB-NOTFOUND)
217 file(REMOVE_RECURSE "${_MS_LIB_CACHE}/${pkg_name}-subbuild")
230 set(oneValueArgs URL SHA256 GIT_REPOSITORY GIT_TAG VER EXE DIR HEAD_ONLY CMAKE_PATH RELEASE
261 "${CMAKE_CXX_COMPILER_VERSION}-${CMAKE_C_COMPILER_VERSION}
262 ${ARGN_STRIPPED}-${${pkg_name}_USE_STATIC_LIBS}-${${pkg_name}_PATCHES_HASH}
263 ${${pkg_name}_CXXFLAGS}-${${pkg_name}_CFLAGS}-${${pkg_name}_LDFLAGS}")
265 set(${pkg_name}_CONFIG_TXT "${${pkg_name}_CONFIG_TXT}--${CMAKE_OSX_DEPLOYMENT_TARGET}")
267 string(REPLACE ";" "-" ${pkg_name}_CONFIG_TXT ${${pkg_name}_CONFIG_TXT})
[all …]
/third_party/skia/infra/bots/recipes/sync_and_compile.expected/
DBuild-Mac-Clang-x86_64-Debug-CommandBuffer.json5 "-u",
31 "-u",
33 "--json-output",
35 "ensure-directory",
36 "--mode",
46 "-u",
48 "--json-output",
59 "-u",
61 "--spec-path",
63 "--patch_root",
[all …]
/third_party/python/Lib/distutils/
Dfilelist.py19 dir
20 directory from which files will be taken -- only used if
38 def findall(self, dir=os.curdir): argument
39 self.allfiles = findall(dir)
49 # -- List-like methods ---------------------------------------------
65 # -- Other miscellaneous utility methods ---------------------------
69 for i in range(len(self.files) - 1, 0, -1):
70 if self.files[i] == self.files[i - 1]:
74 # -- "File template" methods ---------------------------------------
80 patterns = dir = dir_pattern = None
[all …]
/third_party/protobuf/ruby/
Dgoogle-protobuf.gemspec2 s.name = "google-protobuf"
4 …git_tag = "v#{s.version.to_s.sub('.rc.', '-rc')}" # Converts X.Y.Z.rc.N to vX.Y.Z-rcN, used …
5 s.licenses = ["BSD-3-Clause"]
8 s.homepage = "https://developers.google.com/protocol-buffers"
13 s.files = Dir.glob('lib/**/*.rb')
18 s.files += Dir.glob('ext/**/*')
20 s.add_development_dependency "rake-compiler-dock", ">= 1.0.1", "< 2.0"
26 s.add_development_dependency "rake-compiler", "~> 1.1.0"
27 s.add_development_dependency "test-unit", '~> 3.0', '>= 3.0.9'
28 s.add_development_dependency "rubygems-tasks", "~> 0.2.4"
/third_party/python/Lib/distutils/command/
Dbuild_py.py8 import glob
20 ('build-lib=', 'd', "directory to \"build\" (copy) to"),
22 ('no-compile', None, "don't compile .py files [default]"),
24 "also compile with optimization: -O1 for \"python -O\", "
25 "-O2 for \"python -OO\", and -O0 to disable [default: -O0]"),
30 negative_opt = {'no-compile' : 'compile'}
48 # options -- list of packages and list of modules.
69 # the right thing to do, but perhaps it should be an option -- in
75 # wrong thing to do: if a file is read-only in the working
78 # without problems. (This might be a Unix-specific issue.) Thus
[all …]
/third_party/typescript/scripts/
DproduceLKG.mjs2 import fs from "fs-extra";
4 import glob from "glob";
13 const copyright = fs.readFileSync(path.join(__dirname, "../CopyrightNotice.txt"), "utf-8");
31 const dir = await fs.readdir(source);
34 for (const d of dir) {
82 await fs.writeFile(path.join(dest, ".gitattributes"), `* text eol=lf`, "utf-8");
90 const content = await fs.readFile(path.join(source, fileName), "utf-8");
105 const files = glob.sync(pattern, { cwd: source }).map(f => path.basename(f));
/third_party/musl/src/regex/
Dglob.c2 #include <glob.h>
23 if (!new) return -1; in append()
24 (*tail)->next = new; in append()
25 new->next = NULL; in append()
26 memcpy(new->name, name, len+1); in append()
27 if (mark && len && name[len-1]!='/') { in append()
28 new->name[len] = '/'; in append()
29 new->name[len+1] = 0; in append()
40 /* Special-case the remaining pattern being all slashes, in in do_glob()
41 * which case we can use caller-passed type if it's a dir. */ in do_glob()
[all …]
/third_party/tex-hyphen/collaboration/source/hyphenator/
Dgenerate-js-Hyphenator.rb9 $path_root=File.expand_path(Dir.getwd + "/../../../hyph-utf8")
10 $path_sources="#{$path_root}/source/generic/hyph-utf8"
11 $path_plain="#{$path_root}/tex/generic/hyph-utf8/patterns/txt"
12 $path_repository=File.expand_path(Dir.getwd + "/../../collaboration/hyphenator")
13 $path_js=File.expand_path(Dir.getwd + "/../../repository/hyphenator")
19 languages["sr-latn"] = languages["sh-latn"]
20 languages["sr-cyrl"] = languages["sh-cyrl"]
23 Dir.chdir("#{$path_plain}")
24 files = Dir.glob("*.pat.txt")
25 # files = Dir.glob("*sl.pat.txt")
[all …]
/third_party/skia/third_party/externals/libwebp/swig/
DREADME5 ------------------
6 $ gcc -shared -fPIC -fno-strict-aliasing -O2 \
7 -I/path/to/your/jdk/includes \
9 -lwebp \
10 -o libwebp_jni.so
12 -------------------------------------- BEGIN PSEUDO EXAMPLE
23 * usage: java -cp libwebp.jar:. libwebp_jni_example
36 -------------------------------------- END PSEUDO EXAMPLE
38 $ javac -cp libwebp.jar libwebp_jni_example.java
39 $ java -Djava.library.path=. -cp libwebp.jar:. libwebp_jni_example
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/profiler/parser/
Dascend_msprof_exporter.py7 # http://www.apache.org/licenses/LICENSE-2.0
17 import glob
55 … self.mindstudio_profiler_output = mindstudio_profiler_output # mindstudio_profiler_output dir
56 # PROF* dir
149 … logger.warning("Can`t find get_msprof_info.py path, use single-export mode instead.")
153 cmd = ['python', script_path, '-dir', host_dir]
156 … logger.warning('Check the drvVersion can`t find the result, use single-export mode instead.')
168 … logger.warning('Get the drvVersion error, use single-export mode instead. detail : %s', err)
189 …msprof_analyze_cmd = [self._msprof_cmd, "--analyze=on", "--rule=communication,communication_matrix…
190 "--output={}".format(self.prof_root_dir)]
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_filelist.py21 global-include *.x
22 global-include *.txt
23 global-exclude *.tmp
24 recursive-include f *.oo
25 recursive-exclude global *.x
26 graft dir
52 for glob, regex in (
63 self.assertEqual(glob_to_re(glob), regex)
75 l('.hg/last-message.txt'),
81 l('dir/graft-one'),
[all …]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/
Dmain.go7 // http://www.apache.org/licenses/LICENSE-2.0
15 // intrinsic-gen parses the <tint>/src/intrinsics.def file, then scans the
28 "dawn.googlesource.com/tint/tools/src/cmd/intrinsic-gen/gen"
29 "dawn.googlesource.com/tint/tools/src/cmd/intrinsic-gen/parser"
30 "dawn.googlesource.com/tint/tools/src/cmd/intrinsic-gen/resolver"
32 "dawn.googlesource.com/tint/tools/src/glob"
46 intrinsic-gen generates the intrinsic table for the Tint compiler
48 intrinsic-gen parses the <tint>/src/intrinsics.def file, then scans the project
52 intrinsic-gen
83 files, err := glob.Scan(projectRoot, glob.MustParseConfig(`{
[all …]
/third_party/skia/infra/bots/recipes/compute_buildstats.expected/
Dnormal_bot.json5 "-u",
31 "-u",
33 "--json-output",
35 "ensure-directory",
36 "--mode",
46 "-u",
48 "--json-output",
59 "-u",
61 "--spec-path",
63 "--patch_root",
[all …]
Dtrybot.json5 "-u",
31 "-u",
33 "--json-output",
35 "ensure-directory",
36 "--mode",
46 "-u",
48 "--json-output",
59 "-u",
62 "--host",
63 "https://skia-review.googlesource.com",
[all …]

123456789