| /external/skia/site/docs/user/sample/ | 
| D | pdf.md | 1 ---4 ---
 9 <fiddle-embed-sk name='@PDF'></fiddle-embed-sk>
 11 <!-- https://fiddle.skia.org/c/@PDF docs/examples/PDF.cpp -->
 13 ---
 19 PDF-ish way to handle it.
 23 - **drop** means to draw nothing.
 25 - **ignore** means to draw without the effect
 27 - **expand** means to implement something in a non-PDF-ish way. This may mean to
 28   rasterize vector graphics, to expand paths with path effects into many
 [all …]
 
 | 
| /external/python/cpython3/Lib/test/ | 
| D | test_embed.py | 100             print(f"--- {cmd} failed ---")103             print(f"------")
 115         # --- Pass 1 ---
 121         # --- Pass 2 ---
 124         interp_pat = (r"^interp (\d+) <(0x[\dA-F]+)>, "
 125                       r"thread state <(0x[\dA-F]+)>: "
 132             if line == "--- Pass {} ---".format(numloops):
 204         lines = [f"--- Pass {i} ---" for i in range(1, INIT_LOOPS+1)]
 210         env = dict(os.environ, PYTHONIOENCODING="utf-8:surrogateescape")
 216         expected_stream_encoding = "utf-8"
 [all …]
 
 | 
| D | test_venv.py | 4 Copyright (C) 2011-2012 Vinay Sajip.62         self.exe = os.path.split(executable)[-1]
 82     def get_text_file_contents(self, *args, encoding='utf-8'):
 167                         '-m',
 170                         '--upgrade',
 189         cmd = [envpy, '-c', None]
 204             ('Lib', 'site-packages'),
 212             ('lib', 'python%d.%d' % sys.version_info[:2], 'site-packages'),
 215     def create_contents(self, paths, filename):  argument
 220         for subdirs in paths:
 [all …]
 
 | 
| /external/selinux/python/sepolgen/src/sepolgen/ | 
| D | defaults.py | 17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA33         ignore = re.compile(r"^\s*(?:#.+)?$")
 37                 if ignore.match(line): continue
 45         paths = self.config.get(pathset, None)
 46         if paths is None:
 48         paths = paths.split(":")
 49         for p in paths:
 52         return os.path.join(paths[0], testfilename)
 
 | 
| /external/zlib/google/ | 
| D | zip_writer.h | 2 // Use of this source code is governed by a BSD-style license that can be60   // Should ignore missing files and directories?
 78   // Adds the entries at |paths| to the ZIP file. These can be a mixed bag of
 81   bool AddMixedEntries(Paths paths);
 100   // Adds file entries. All the paths should be existing files.
 101   bool AddFileEntries(Paths paths);
 107   // Adds directory entries. All the paths should be existing directories. If
 110   bool AddDirectoryEntries(Paths paths);
 121   void Filter(std::vector<base::FilePath>* paths);
 147   // Should ignore missing files and directories?
 
 | 
| D | zip.h | 2 // Use of this source code is governed by a BSD-style license that can be28 // Paths passed as span to avoid copying them.
 29 using Paths = base::span<const base::FilePath>;  variable
 36 // All parameters paths are expected to be relative to the source directory.
 46   // Opens files specified in |paths|.
 48   virtual bool Open(Paths paths, std::vector<base::File>* files) = 0;
 108   // The relative paths to the files and directories that should be included in
 112   // These paths must be relative to |src_dir| and will be used as the file
 116   // All the paths in |src_files| are included in the created ZIP file,
 118   Paths src_files;
 [all …]
 
 | 
| /external/spdx-tools/utils/ | 
| D | filesystem.go | 2 // main tools-golang packages.3 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 18 // path patterns to ignore), and returns a slice of relative paths to all files
 21 	// paths is a _pointer_ to a slice -- not just a slice.
 23 	// in the sub-function.
 24 	paths := &[]string{}
 48 		*paths = append(*paths, shortPath)
 52 	return *paths, err
 122 	// if no match, don't ignore
 
 | 
| /external/spdx-tools/examples/4-search/ | 
| D | example_search.go | 1 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later7 // [SPDX short-form IDs](https://spdx.org/ids/); filling those IDs into the
 18 	"github.com/spdx/tools-golang/idsearcher"
 20 	"github.com/spdx/tools-golang/tvsaver"
 28 		fmt.Printf("Usage: %v <package-name> <package-root-dir> <spdx-file-out>\n", args[0])
 29 		fmt.Printf("  Build a SPDX 2.2 document with one package called <package-name>;\n")
 30 		fmt.Printf("  create files with hashes corresponding to the files in <package-root-dir>;\n")
 31 		fmt.Printf("  search for SPDX short-form IDs, and use them to fill in license data\n")
 32 		fmt.Printf("  where possible; and save it out as a tag-value file to <spdx-file-out>.\n")
 36 	// get the command-line arguments
 [all …]
 
 | 
| /external/robolectric/.github/workflows/ | 
| D | gradle_wrapper_validation.yml | 5     branches: [ master, 'robolectric-*.x' ]6     paths-ignore:
 7       - '**.md'
 11     paths-ignore:
 12       - '**.md'
 20     runs-on: ubuntu-22.04
 22       - uses: actions/checkout@v3
 23       - uses: gradle/wrapper-validation-action@v1
 
 | 
| D | graphics_tests.yml | 5     branches: [ master, 'robolectric-*.x' ]6     paths-ignore:
 7       - '**.md'
 11     paths-ignore:
 12       - '**.md'
 21         device: [ macos-12, ubuntu-22.04, self-hosted ]
 22     runs-on: ${{ matrix.device }}
 25       - uses: actions/checkout@v3
 27       - name: Set up JDK 11
 28         uses: actions/setup-java@v3
 [all …]
 
 | 
| D | gradle_tasks_validation.yml | 5     branches: [ master, 'robolectric-*.x' ]6     paths-ignore:
 7       - '**.md'
 11     paths-ignore:
 12       - '**.md'
 19     runs-on: ubuntu-22.04
 22       - uses: actions/checkout@v3
 24       - name: Set up JDK
 25         uses: actions/setup-java@v3
 28           java-version: 11
 [all …]
 
 | 
| D | check_code_formatting.yml | 5     branches: [ master, 'robolectric-*.x' ]6     paths-ignore:
 7       - '**.md'
 11     paths-ignore:
 12       - '**.md'
 19     runs-on: ubuntu-22.04
 22       - uses: actions/checkout@v3
 24           fetch-depth: 0
 26       - name: Set up JDK 11
 27         uses: actions/setup-java@v3
 [all …]
 
 | 
| /external/ktfmt/.github/workflows/ | 
| D | build_and_test.yml | 5     paths-ignore:6       - '**.md'
 8     paths-ignore:
 9       - '**.md'
 13     runs-on: ubuntu-latest
 20     - uses: actions/checkout@v1
 23     - name: Set up JDK ${{ matrix.java }}
 24       uses: actions/setup-java@v1
 26         java-version: ${{ matrix.java }}
 27     - name: Build ktfmt
 [all …]
 
 | 
| /external/python/cpython2/Tools/scripts/ | 
| D | pysource.py | 9 - has_python_ext() checks whether a file name ends in '.py[w]'.10 - look_like_python() checks whether the file is not binary and either has
 12 - can_be_compiled() checks whether the file can be compiled by compile().
 14 The file also must be of appropriate size - not bigger than a megabyte.
 25 binary_re = re.compile('[\x00-\x08\x0E-\x1F\x7F]')
 36     except OSError, err: # Permission denied - ignore the file
 46     except IOError, err: # Access denied, or a special file - ignore it
 91 def walk_python_files(paths, is_python=looks_like_python, exclude_dirs=None):  argument
 93     Recursively yield all Python source files below the given paths.
 95     paths: a list of files and/or directories to be checked.
 [all …]
 
 | 
| /external/python/cpython3/Tools/scripts/ | 
| D | pysource.py | 9 - has_python_ext() checks whether a file name ends in '.py[w]'.10 - look_like_python() checks whether the file is not binary and either has
 12 - can_be_compiled() checks whether the file can be compiled by compile().
 14 The file also must be of appropriate size - not bigger than a megabyte.
 25 binary_re = re.compile(br'[\x00-\x08\x0E-\x1F\x7F]')
 36     except OSError as err: # Permission denied - ignore the file
 46     except IOError as err: # Access denied, or a special file - ignore it
 91 def walk_python_files(paths, is_python=looks_like_python, exclude_dirs=None):  argument
 93     Recursively yield all Python source files below the given paths.
 95     paths: a list of files and/or directories to be checked.
 [all …]
 
 | 
| /external/curl/.github/workflows/ | 
| D | fuzz.yml | 3 # SPDX-License-Identifier: curl10     - master
 11     - '*/ci'
 12     paths-ignore:
 13     - '**/*.md'
 14     - '.azure-pipelines.yml'
 15     - '.circleci/**'
 16     - '.cirrus.yml'
 17     - 'appveyor.yml'
 18     - 'packages/**'
 [all …]
 
 | 
| D | codeql-analysis.yml | 3 # SPDX-License-Identifier: curl10     - master
 11     - '*/ci'
 12     paths-ignore:
 13     - '**/*.md'
 14     - '.azure-pipelines.yml'
 15     - '.circleci/**'
 16     - '.cirrus.yml'
 17     - 'appveyor.yml'
 18     - 'packages/**'
 [all …]
 
 | 
| /external/skia/tools/ | 
| D | check-headers-self-sufficient | 5 # Use of this source code is governed by a BSD-style license that can be16 self-sufficient and idempotent.
 18 Otherwise, test all checked-in headers except for those in the ignore list.
 21 ignore = re.compile('|'.join([  variable
 63 # test header for self-sufficiency and idempotency.
 66     cmd = ['c++', '--std=c++14', '-I.', '-o', '/dev/null', '-c', '-x', 'c++', '-']
 104         paths = [os.path.relpath(os.path.abspath(arg), skia_dir) for arg in argv[1:]]
 108         paths = [path for path in subprocess.check_output(['git', 'ls-files']).splitlines()
 109                  if path.endswith('.h') and not ignore.match(path)]
 110     compile_headers(paths)
 
 | 
| /external/oss-fuzz/infra/ | 
| D | presubmit.py | 8 #        http://www.apache.org/licenses/LICENSE-2.044 # TODO: Check for -fsanitize=fuzzer in files as well.
 48   """Returns False if |build_sh_file| contains -lFuzzingEngine.
 50   so that -fsanitize=fuzzer is used."""
 58     if '-lFuzzingEngine' in uncommented_code:
 60           'Error: build.sh contains deprecated "-lFuzzingEngine" on line: {0}. '
 66 def check_lib_fuzzing_engine(paths):  argument
 67   """Calls _check_one_lib_fuzzing_engine on each path in |paths|. Returns True
 69   return all([_check_one_lib_fuzzing_engine(path) for path in paths])
 105   # Note that some projects like boost only have auto-ccs. However, forgetting
 [all …]
 
 | 
| /external/angle/build/ios/ | 
| D | update_bundle_filelist.py | 3 # Use of this source code is governed by a BSD-style license that can be16 from the file list with globs as well. These lines are prefixed with '-' and are
 44 # Use of this source code is governed by a BSD-style license that can be
 51 _HEADER_PATTERN = re.compile(r"""# Copyright [0-9]+ The Chromium Authors
 52 # Use of this source code is governed by a BSD-style license that can be
 61 _START_IGNORE_EXPANSIONS_OUTSIDE_GLOBLIST_DIR = '# push(ignore-relative)'
 62 _STOP_IGNORE_EXPANSIONS_OUTSIDE_GLOBLIST_DIR = '# pop(ignore-relative)'
 86     with subprocess.Popen([git_cmd, 'ls-files', '--error-unmatch', directory],
 98       files = [f.decode('utf-8') for f in output[0].splitlines()]
 100       # Need paths to be relative to directory in order to match expansions.
 [all …]
 
 | 
| /external/cronet/build/ios/ | 
| D | update_bundle_filelist.py | 3 # Use of this source code is governed by a BSD-style license that can be16 from the file list with globs as well. These lines are prefixed with '-' and are
 44 # Use of this source code is governed by a BSD-style license that can be
 51 _HEADER_PATTERN = re.compile(r"""# Copyright [0-9]+ The Chromium Authors
 52 # Use of this source code is governed by a BSD-style license that can be
 61 _START_IGNORE_EXPANSIONS_OUTSIDE_GLOBLIST_DIR = '# push(ignore-relative)'
 62 _STOP_IGNORE_EXPANSIONS_OUTSIDE_GLOBLIST_DIR = '# pop(ignore-relative)'
 86     with subprocess.Popen([git_cmd, 'ls-files', '--error-unmatch', directory],
 98       files = [f.decode('utf-8') for f in output[0].splitlines()]
 100       # Need paths to be relative to directory in order to match expansions.
 [all …]
 
 | 
| /external/pigweed/pw_presubmit/py/pw_presubmit/ | 
| D | build.py | 7 #     https://www.apache.org/licenses/LICENSE-2.065 def bazel(ctx: PresubmitContext, cmd: str, *args: str) -> None:
 73         num_jobs.extend(('--jobs', str(ctx.num_jobs)))
 77         keep_going.append('--keep_going')
 85                 '--verbose_failures',
 86                 '--verbose_explanations',
 87                 '--worker_verbose',
 88                 f'--symlink_prefix={ctx.output_dir / ".bazel-"}',
 106 def _gn_value(value) -> str:
 121     # Fall-back case handles integers as well as strings that already
 [all …]
 
 | 
| /external/licenseclassifier/v2/tools/identify_license/ | 
| D | identify_license.go | 7 //     http://www.apache.org/licenses/LICENSE-2.025 //	LICENSE1: BSD-2-Clause (confidence: 0.833)
 57 …tracePhases   = flag.String("trace_phases", "", "comma-separated list of phases of the license cla…
 58 …traceLicenses = flag.String("trace_licenses", "", "comma-separated list of licenses for the licens…
 59 …flag.String("ignore_paths_re", "", "comma-separated list of regular expressions that match file pa…
 64 func expandFiles(ctx context.Context, paths []string) ([]string, error) {
 69 		return nil, fmt.Errorf("could not parse ignore paths: %v", err)
 79 	for _, p := range paths {
 166 	paths, err := expandFiles(context.Background(), flag.Args())
 176 	if errs := be.ClassifyLicensesWithContext(ctx, *numTasks, paths, *headers); errs != nil {
 
 | 
| /external/mesa3d/docs/relnotes/ | 
| D | 17.3.4.rst | 15 ----------------19    2d3a4c3cbc995b3e192361dce710d8c749e046e7575aa1b7d8fc9e6b4df28f84  mesa-17.3.4.tar.gz
 20    71f995e233bc5df1a0dd46c980d1720106e7f82f02d61c1ca50854b5e02590d0  mesa-17.3.4.tar.xz
 23 ------------
 28 ---------
 30 -  `Bug 90311 <https://bugs.freedesktop.org/show_bug.cgi?id=90311>`__ -
 32 -  `Bug 101442 <https://bugs.freedesktop.org/show_bug.cgi?id=101442>`__
 33    - Piglit shaders@ssa@fs-if-def-else-break fails with sb but passes
 35 -  `Bug 102435 <https://bugs.freedesktop.org/show_bug.cgi?id=102435>`__
 36    - [skl,kbl] [drm] GPU HANG: ecode 9:0:0x86df7cf9, in csgo_linux64
 [all …]
 
 | 
| /external/spdx-tools/idsearcher/ | 
| D | idsearcher.go | 1 // Package idsearcher is used to search for short-form IDs in files4 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
 10 	"github.com/spdx/tools-golang/spdx/v2_3"
 17 	"github.com/spdx/tools-golang/builder"
 18 	"github.com/spdx/tools-golang/spdx/v2_1"
 19 	"github.com/spdx/tools-golang/spdx/v2_2"
 20 	"github.com/spdx/tools-golang/utils"
 32 	// section, followed by the per-Document package name and a random UUID.
 35 	// BuilderPathsIgnored lists certain paths to be omitted from the built
 42 	// SearcherPathsIgnored lists certain paths that should not be searched
 [all …]
 
 |