| /external/python/watchdog/src/watchdog/ |
| D | events.py | 4 :author: contact@tiger-222.fr (Mickaël Schoentgen) 7 ------------- 10 :show-inheritance: 11 :inherited-members: 15 :show-inheritance: 19 :show-inheritance: 23 :show-inheritance: 27 :show-inheritance: 31 :show-inheritance: 35 :show-inheritance: [all …]
|
| D | watchmedo.py | 3 :author: contact@tiger-222.fr (Mickaël Schoentgen) 35 CONFIG_KEY_PYTHON_PATH = "python-path" 42 It will be de-dented and arguments in the help 48 def __init__(self, *args: Any, max_help_position: int = 6, **kwargs: Any) -> None: 53 def _split_lines(self, text: str, width: int) -> list[str]: 59 Copyright 2018-2024 Mickaël Schoentgen & contributors 60 Copyright 2014-2018 Thomas Amland & contributors 61 Copyright 2012-2014 Google, Inc. 62 Copyright 2011-2012 Yesudeep Mangalapilly 68 cli.add_argument("--version", action="version", version=VERSION_STRING) [all …]
|
| /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/rust/android-crates-io/crates/darling_core/src/util/ |
| D | path_list.rs | 10 /// A list of `syn::Path` instances. This type is used to extract a list of paths from an 16 /// ```rust,ignore 26 pub fn new<T: Into<Path>>(vals: Vec<T>) -> Self { in new() 31 pub fn to_strings(&self) -> Vec<String> { in to_strings() 39 fn deref(&self) -> &Self::Target { in deref() 45 fn from(v: Vec<Path>) -> Self { in from() 51 fn from_list(v: &[NestedMeta]) -> Result<Self> { in from_list() 52 let mut paths = Vec::with_capacity(v.len()); in from_list() localVariable 55 paths.push(path.clone()); in from_list() 57 return Err(Error::unexpected_type("non-word").with_span(nmi)); in from_list() [all …]
|
| /external/wayland-protocols/ |
| D | import_snapshot.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 32 # Check https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags 49 def base(self) -> pathlib.PurePath: 56 check: bool = True) -> subprocess.CompletedProcess: 57 return subprocess.run(['git', '-C', self._base] + cmd, 62 def get_hash_for_version(self, version) -> str: 65 return self._git(['show-ref', '--hash', 68 def git_ref_name_for_version(self, version) -> str | None: 71 ref = self._git(['describe', '--all', '--exact-match', version], 80 paths: list[pathlib.PurePath]) -> list[pathlib.Path]: [all …]
|
| /external/google-cloud-java/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ |
| D | PatchNetworkEdgeSecurityServiceRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 98 * <code>optional string paths = 106438894;</code> 100 * @return Whether the paths field is set. 104 * <code>optional string paths = 106438894;</code> 106 * @return The paths. 110 * <code>optional string paths = 106438894;</code> 112 * @return The bytes for paths. 178 …ignore the request if it has already been completed. For example, consider a situation where you m… 190 …ignore the request if it has already been completed. For example, consider a situation where you m… 202 …ignore the request if it has already been completed. For example, consider a situation where you m…
|
| D | UpdateRegionCommitmentRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 93 * <code>optional string paths = 106438894;</code> 95 * @return Whether the paths field is set. 99 * <code>optional string paths = 106438894;</code> 101 * @return The paths. 105 * <code>optional string paths = 106438894;</code> 107 * @return The bytes for paths. 173 …ignore the request if it has already been completed. For example, consider a situation where you m… 185 …ignore the request if it has already been completed. For example, consider a situation where you m… 197 …ignore the request if it has already been completed. For example, consider a situation where you m…
|
| D | UpdateDiskRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 93 * <code>optional string paths = 106438894;</code> 95 * @return Whether the paths field is set. 99 * <code>optional string paths = 106438894;</code> 101 * @return The paths. 105 * <code>optional string paths = 106438894;</code> 107 * @return The bytes for paths. 144 …ignore the request if it has already been completed. For example, consider a situation where you m… 156 …ignore the request if it has already been completed. For example, consider a situation where you m… 168 …ignore the request if it has already been completed. For example, consider a situation where you m…
|
| D | UpdateRegionDiskRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 93 * <code>optional string paths = 106438894;</code> 95 * @return Whether the paths field is set. 99 * <code>optional string paths = 106438894;</code> 101 * @return The paths. 105 * <code>optional string paths = 106438894;</code> 107 * @return The bytes for paths. 173 …ignore the request if it has already been completed. For example, consider a situation where you m… 185 …ignore the request if it has already been completed. For example, consider a situation where you m… 197 …ignore the request if it has already been completed. For example, consider a situation where you m…
|
| D | UpdateReservationRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 27 * <code>optional string paths = 106438894;</code> 29 * @return Whether the paths field is set. 33 * <code>optional string paths = 106438894;</code> 35 * @return The paths. 39 * <code>optional string paths = 106438894;</code> 41 * @return The bytes for paths. 78 …ignore the request if it has already been completed. For example, consider a situation where you m… 90 …ignore the request if it has already been completed. For example, consider a situation where you m… 102 …ignore the request if it has already been completed. For example, consider a situation where you m…
|
| /external/selinux/python/sepolgen/src/sepolgen/ |
| D | defaults.py | 17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 33 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/swiftshader/third_party/llvm-16.0/llvm/lib/IR/ |
| D | ReplaceConstant.cpp | 1 //===- ReplaceConstant.cpp - Replace LLVM constant expression--------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 24 // Collect all reachable paths to CE from constant exprssion operands of I. in convertConstantExprsToInstructions() 39 for (Use &U : I->operands()) { in convertConstantExprsToInstructions() 41 // constant expression paths do not belong to U, ignore U. in convertConstantExprsToInstructions() 49 BasicBlock *BB = Phi->getIncomingBlock(U); in convertConstantExprsToInstructions() 50 BI = &(*(BB->getFirstInsertionPt())); in convertConstantExprsToInstructions() 53 // Go through all the paths associated with operand U, and convert all the in convertConstantExprsToInstructions() [all …]
|
| /external/pytorch/torch/onnx/_internal/fx/ |
| D | patcher.py | 1 # mypy: allow-untyped-defs 18 import safetensors # type: ignore[import] # noqa: F401 19 import transformers # type: ignore[import] # noqa: F401 28 """Context manager to temporarily patch PyTorch during FX-to-ONNX export. 30 This class is a collection of "patches" required by FX-to-ONNX exporter. 37 parameters and buffers. Downstream FX-to-ONNX exporter can create 56 def __init__(self) -> None: 57 # List of file paths processed by torch.load. 58 self.paths: List[Union[str, io.BufferedIOBase]] = [] 62 self.paths.append(f) [all …]
|
| /external/zlib/google/ |
| D | zip_writer.h | 2 // Use of this source code is governed by a BSD-style license that can be 60 // 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 be 28 // 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/libva/.github/workflows/ |
| D | docs.yml | 8 paths-ignore: 9 - '.github/workflows/**' 10 - '!.github/workflows/docs.yml' 12 paths-ignore: 13 - '.github/workflows/**' 14 - '!.github/workflows/docs.yml' 18 runs-on: ubuntu-22.04 20 - uses: actions/checkout@v4 21 - name: install prerequisites 23 sudo apt-get update [all …]
|
| /external/spdx-tools/examples/4-search/ |
| D | example_search.go | 1 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 7 // [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/python/cpython3/Lib/test/ |
| D | test_embed.py | 124 print(f"--- {cmd} failed ---") 127 print("------") 139 # --- Pass 1 --- 145 # --- Pass 2 --- 148 interp_pat = (r"^interp (\d+) <(0x[\dA-F]+)>, " 149 r"thread state <(0x[\dA-F]+)>: " 156 if line == "--- Pass {} ---".format(numloops): 172 # 5 lines per pass is super-spammy, so limit that to -vvv 229 lines = [f"--- Pass {i} ---" for i in range(1, INIT_LOOPS+1)] 235 env = dict(os.environ, PYTHONIOENCODING="utf-8:surrogateescape") [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@v4 23 - name: Set up JDK ${{ matrix.java }} 24 uses: actions/setup-java@v4 26 java-version: ${{ matrix.java }} 28 - name: Build ktfmt [all …]
|
| /external/pytorch/torch/nn/utils/ |
| D | _named_member_accessor.py | 1 # This source code is licensed under the BSD-style license found in the 9 _MISSING: torch.Tensor = object() # type: ignore[assignment] 12 def set_tensor(module: "torch.nn.Module", name: str, tensor: torch.Tensor) -> None: 22 module._parameters[name] = tensor # type: ignore[assignment] 34 ) -> torch.Tensor: 50 orig_tensor = module._parameters[name] # type: ignore[assignment] 52 module._parameters[name] = tensor # type: ignore[assignment] 56 orig_tensor = module._buffers[name] # type: ignore[assignment] 87 ) -> "torch.nn.Module": 114 def __init__(self, module: "torch.nn.Module") -> None: [all …]
|
| /external/libva-utils/.github/workflows/ |
| D | freebsd.yml | 5 paths-ignore: 6 - '.github/workflows/**' 7 - '!.github/workflows/freebsd.yml' 9 paths-ignore: 10 - '.github/workflows/**' 11 - '!.github/workflows/freebsd.yml' 17 runs-on: ubuntu-latest 19 - name: checkout libva 24 - name: checkout libva-utils 27 path: libva-utils [all …]
|
| D | ubuntu.yml | 5 paths-ignore: 6 - '.github/workflows/**' 7 - '!.github/workflows/ubuntu.yml' 9 paths-ignore: 10 - '.github/workflows/**' 11 - '!.github/workflows/ubuntu.yml' 16 ubuntu-20-04: 17 runs-on: ubuntu-20.04 19 - name: checkout libva 24 - name: checkout libva-utils [all …]
|
| /external/curl/.github/workflows/ |
| D | fuzz.yml | 3 # SPDX-License-Identifier: curl 10 - master 11 - '*/ci' 12 paths-ignore: 13 - '**/*.md' 14 - '**/CMakeLists.txt' 15 - '.circleci/**' 16 - 'appveyor.*' 17 - 'CMake/**' 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 be 16 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)
|