| /third_party/python/Doc/library/ |
| D | glob.rst | 1 :mod:`glob` --- Unix style pathname pattern expansion 4 .. module:: glob 7 **Source code:** :source:`Lib/glob.py` 11 -------------- 14 single: * (asterisk); in glob-style wildcards 15 single: ? (question mark); in glob-style wildcards 16 single: [] (square brackets); in glob-style wildcards 17 single: ! (exclamation); in glob-style wildcards 18 single: - (minus); in glob-style wildcards 19 single: . (dot); in glob-style wildcards [all …]
|
| D | fnmatch.rst | 1 :mod:`fnmatch` --- Unix filename pattern matching 13 -------------- 15 This module provides support for Unix shell-style wildcards, which are *not* the 17 special characters used in shell-style wildcards are: 20 single: * (asterisk); in glob-style wildcards 21 single: ? (question mark); in glob-style wildcards 22 single: [] (square brackets); in glob-style wildcards 23 single: ! (exclamation); in glob-style wildcards 24 single: - (minus); in glob-style wildcards 26 +------------+------------------------------------+ [all …]
|
| /third_party/curl/src/ |
| D | tool_urlglob.c | 10 * This software is licensed as described in the file COPYING, which 15 * copies of the Software, and permit persons to whom the Software is 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 * SPDX-License-Identifier: curl 38 glob->error = string, glob->pos = column, code 40 static CURLcode glob_fixed(struct URLGlob *glob, char *fixed, size_t len) in glob_fixed() argument 42 struct URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed() 43 pat->type = UPTSet; in glob_fixed() 44 pat->content.Set.size = 1; in glob_fixed() 45 pat->content.Set.ptr_s = 0; in glob_fixed() [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/ |
| D | test_decode.py | 1 # Copyright 2019-2022 Huawei Technologies Co., Ltd 7 # http://www.apache.org/licenses/LICENSE-2.0 10 # distributed under the License is distributed on an "AS IS" BASIS, 18 import glob 30 DATA_DIR = ["../data/dataset/test_tf_file_3_images/train-0000-of-0001.data"] 89 unsupported_list = glob.glob('unsupported_image*') 99 assert len(glob.glob('unsupported_image.gif')) == 1 100 # delete the dump file which is not supported 101 os.remove(glob.glob('unsupported_image.gif')[0]) 109 abnormal_list = glob.glob('abnormal_image*') [all …]
|
| /third_party/vk-gl-cts/external/amber/src/tools/ |
| D | copyright.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 11 # distributed under the License is distributed on an "AS IS" BASIS, 18 usage: copyright.py [--check] 20 With --check, prints out all the files missing the copyright notice and exits 40 http://www.apache.org/licenses/LICENSE-2.0 43 distributed under the License is distributed on an "AS IS" BASIS, 55 for glob in skip_glob_list: 56 for match in fnmatch.filter(dirs, glob): 63 def filtered_descendants(glob): argument 64 """Returns glob-matching filenames under the current directory, but skips [all …]
|
| D | check_language.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 12 # distributed under the License is distributed on an "AS IS" BASIS, 19 and flag non-inclusive terminology which is identified. 31 r"(?i)black[-_]?list", 32 r"(?i)white[-_]?list", 33 r"(?i)gr[ea]y[-_]?list", 35 r"(?i)black[-_]?hat", 36 r"(?i)white[-_]?hat", 37 r"(?i)gr[ea]y[-_]?hat", 77 r"(?i)red[-_]?line", [all …]
|
| /third_party/ffmpeg/compat/solaris/ |
| D | make_sunver.pl | 8 # This file is free software; you can redistribute it and/or modify it 13 # This program is distributed in the hope that it will be useful, but 26 # Each glob pattern, C++ mangled pattern or literal in the input script is 29 # A comment with the original pattern and its type is left in the output 60 if (($so = $file) =~ s/\.a$/.so/ && -e $so) { 61 printf STDERR "omitted $file -> $so\n"; 70 # so use elfdump -s in the native case and GNU readelf -s otherwise. 71 # GNU objdump -t cannot be used since it produces a variable number of 77 if (-f $elfdump) { 78 open ELFDUMP,$elfdump.' -s '.(join ' ',@OBJECTS).'|' or die $!; [all …]
|
| /third_party/python/Lib/test/ |
| D | test_glob.py | 1 import glob 49 if self.dir_fd is not None: 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) [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
| D | check_copyright.py | 2 # coding=utf-8 9 # http://www.apache.org/licenses/LICENSE-2.0 12 # distributed under the License is distributed on an "AS IS" BASIS, 46 YEARS = '(2014-2016|2015-2016|2015-2020|2016|2016-2017|2017|2017-2019|2018|2019|2020|2021)' 50 MIT_BEGIN_RE = re.compile('Permission is hereby granted, ' 62 http://www.apache.org/licenses/LICENSE-2.0 65 distributed under the License is distributed on an "AS IS" BASIS, 79 for glob in skip_glob_dir_list: 80 for match in fnmatch.filter(dirs, glob): 89 def filtered_descendants(glob): argument [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/utils/ |
| D | check_copyright.py | 2 # coding=utf-8 9 # http://www.apache.org/licenses/LICENSE-2.0 12 # distributed under the License is distributed on an "AS IS" BASIS, 46 YEARS = '(2014-2016|2015-2016|2015-2020|2016|2016-2017|2017|2017-2019|2018|2019|2020|2021)' 50 MIT_BEGIN_RE = re.compile('Permission is hereby granted, ' 62 http://www.apache.org/licenses/LICENSE-2.0 65 distributed under the License is distributed on an "AS IS" BASIS, 79 for glob in skip_glob_dir_list: 80 for match in fnmatch.filter(dirs, glob): 89 def filtered_descendants(glob): argument [all …]
|
| /third_party/spirv-tools/utils/ |
| D | check_copyright.py | 2 # coding=utf-8 9 # http://www.apache.org/licenses/LICENSE-2.0 12 # distributed under the License is distributed on an "AS IS" BASIS, 54 # A regular expression to make a range of years in the form <year1>-<year2>. 58 YEAR_RANGE_REGEX += str(year1) + '-' + str(year2) + '|' 59 YEAR_RANGE_REGEX = YEAR_RANGE_REGEX[:-1] + ')' 61 # In the copyright info, the year can be a single year or a range. This is a 69 MIT_BEGIN_RE = re.compile('Permission is hereby granted, ' 81 http://www.apache.org/licenses/LICENSE-2.0 84 distributed under the License is distributed on an "AS IS" BASIS, [all …]
|
| /third_party/skia/infra/bots/assets/chromebook_x86_64_gles/ |
| D | create.py | 5 # Use of this source code is governed by a BSD-style license that can be 14 import glob 37 'sudo','apt-get','install', 38 'libgles2-mesa-dev', 39 'libegl1-mesa-dev' 47 to_copy = glob.glob(os.path.join(gl_path,'libGL*')) 48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*'))) 49 to_copy.extend(glob.glob(os.path.join(gl_path,'libdrm*'))) 66 parser.add_argument('--target_dir', '-t', required=True) 70 # this script is called via `sk` and not directly.
|
| /third_party/skia/infra/bots/assets/chromebook_arm_gles/ |
| D | create.py | 5 # Use of this source code is governed by a BSD-style license that can be 14 import glob 37 'sudo','apt-get','install', 38 'libgles2-mesa-dev', 39 'libegl1-mesa-dev' 47 to_copy = glob.glob(os.path.join(gl_path,'libGL*')) 48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*'))) 49 to_copy.extend(glob.glob(os.path.join(gl_path,'libmali*'))) 66 parser.add_argument('--target_dir', '-t', required=True) 70 # this script is called via `sk` and not directly.
|
| /third_party/lz4/tests/ |
| D | test-lz4-versions.py | 5 # Copyright (C) 2011-present, Takayuki Matsuoka 11 import glob 28 parser.add_argument("--verbose", action="store_true", help="increase output verbosity") 61 # favor compilation speed for faster total test time, actual runtime is very short 62 env["CFLAGS"] = env_or_empty(env, 'CFLAGS') + " -O0" 71 stdout, stderr = git(['tag', '-l', 'r[0-9][0-9][0-9]']) 72 tags = stdout.decode('utf-8').split() 73 stdout, stderr = git(['tag', '-l', 'v[1-9].[0-9].[0-9]']) 74 tags += stdout.decode('utf-8').split() 113 git(['--work-tree=' + r_dir, 'checkout', tag, '--', '.'], False) [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| D | GlobPattern.cpp | 1 //===-- GlobPattern.cpp - Glob pattern matcher implementation -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file implements a glob pattern matcher. 11 //===----------------------------------------------------------------------===// 26 // For example, "a-cf-hz" is expanded to "abcfghz". 30 // Expand X-Y. in expand() 38 // If it doesn't start with something like X-Y, in expand() 40 if (S[1] != '-') { in expand() 46 // It must be in the form of X-Y. in expand() [all …]
|
| /third_party/skia/tools/ |
| D | BUILD_simulator.py | 5 # Use of this source code is governed by a BSD-style license that can be 9 # mostly to see the effects of glob(). 13 import glob 37 # If pattern doesn't include **, glob.glob more-or-less does the right 39 return glob.glob(pattern) 61 # Simulates BUILD file glob(). 77 'glob': BUILD_glob, 93 print >>out, "This file is auto-generated by tools/BUILD_simulator.py."
|
| /third_party/mindspore/mindspore-src/source/tests/st/profiler/ |
| D | test_ascend_profiler.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 10 # distributed under the License is distributed on an "AS IS" BASIS, 16 import glob 89 output = self.expand_dims(output, -1) 109 … assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output/op_summary*")) == 1 110 … assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output/op_statistic*")) == 1 111 assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/device_*/data/l2_cache.data*")) >= 2 117 assert glob.glob(f"{tmpdir}/profiler*/*PROF*/host/sqlite*") == [] 118 assert glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output") == [] 119 assert glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_log") == [] [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/ |
| D | test_environment_variable_of_ir_print.py | 1 # Copyright 2020-2024 Huawei Technologies Co., Ltd 7 # http://www.apache.org/licenses/LICENSE-2.0 10 # distributed under the License is distributed on an "AS IS" BASIS, 17 import glob 63 ir_files = glob.glob(os.path.join("graph_save_path", '*_validate*.ir')) 64 ir_files_not_exist = glob.glob( 95 ir_files_1 = glob.glob(os.path.join("graph_save_path_1", '*_validate*.ir')) 102 ir_files_2 = glob.glob(os.path.join("graph_save_path_2", '*_validate*.ir'))
|
| /third_party/skia/third_party/externals/freetype/builds/meson/ |
| D | generate_reference_docs.py | 3 # Copyright (C) 2020-2021 by 6 # This file is part of the FreeType project, and may only be used, modified, 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( [all …]
|
| /third_party/openssl/util/ |
| D | ck_errf.pl | 2 # Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. 9 # This is just a quick script to scan for cases where the 'error' 10 # function name in a XXXerr() macro is wrong. 31 -conf FILE Use the named config file FILE instead of the default. 33 -debug Verbose output debugging on stderr. 35 -internal Generate code that is to be built as part of OpenSSL itself. 38 -strict If any error was found, fail with exit code 1, otherwise 0. 40 -help Show this help text. 43 if '-internal' was NOT specified on the command line. 50 last unless $arg =~ /-.*/; [all …]
|
| /third_party/musl/libc-test/src/functionalext/supplement/regex/ |
| D | glob.c | 7 * http://www.apache.org/licenses/LICENSE-2.0 10 * distributed under the License is distributed on an "AS IS" BASIS, 16 #include <glob.h> 22 * @tc.desc : Verify glob process success 28 int ret = glob("./*", GLOB_NOSORT, NULL, &buf); in glob_0100() 35 * @tc.desc : Verify glob process fail. when no found matches 41 int ret = glob("./does-not-match", GLOB_NOSORT, NULL, &buf); in glob_0200()
|
| /third_party/mindspore/mindspore-src/source/tests/st/dump/ |
| D | test_dump_format.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 10 # distributed under the License is distributed on an "AS IS" BASIS, 18 import glob 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] 89 Description: Test e2e dump in Ascend with trans_flag is configured to true. [all …]
|
| /third_party/skia/third_party/externals/brotli/ |
| D | BUILD | 2 # Brotli is a generic-purpose lossless compression algorithm. 49 "--pedantic-errors", 50 "-Wall", 51 "-Wconversion", 52 "-Werror", 53 "-Wextra", 54 "-Wlong-long", 55 "-Wmissing-declarations", 56 "-Wmissing-prototypes", 57 "-Wno-strict-aliasing", [all …]
|
| /third_party/python/Tools/peg_generator/scripts/ |
| D | test_pypi_packages.py | 5 import glob 26 "-t", "--tree", action="count", help="Compare parse tree to official AST", default=0 30 def get_packages() -> Generator[str, None, None]: 32 glob.glob("./data/pypi/*.tar.gz") 33 + glob.glob("./data/pypi/*.zip") 34 + glob.glob("./data/pypi/*.tgz") 40 def extract_files(filename: str) -> None: 50 def find_dirname(package_name: str) -> str: 55 assert False # This is to fix mypy, should never be reached 58 def run_tests(dirname: str, tree: int) -> int: [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/marl/ |
| D | BUILD.bazel | 7 # https://www.apache.org/licenses/LICENSE-2.0 10 # distributed under the License is distributed on an "AS IS" BASIS, 17 srcs = glob( 23 exclude = glob([ 29 "//conditions:default": glob(["src/**/*.S"]), 31 hdrs = glob([ 38 "@bazel_tools//src/conditions:linux_x86_64": ["-pthread"], 48 srcs = glob([
|