| /external/bazelbuild-rules_python/gazelle/python/ |
| D | resolve.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 24 "github.com/bazelbuild/bazel-gazelle/config" 25 "github.com/bazelbuild/bazel-gazelle/label" 26 "github.com/bazelbuild/bazel-gazelle/repo" 27 "github.com/bazelbuild/bazel-gazelle/resolve" 28 "github.com/bazelbuild/bazel-gazelle/rule" 44 // Resolver satisfies the resolve.Resolver interface. It resolves dependencies 55 // If nil is returned, the rule will not be indexed. If any non-nil slice is 57 func (py *Resolver) Imports(c *config.Config, r *rule.Rule, f *rule.File) []resolve.ImportSpec { 61 provides := make([]resolve.ImportSpec, 0, len(srcs)+1) [all …]
|
| /external/pigweed/ |
| D | rollup.config.js | 7 // https://www.apache.org/licenses/LICENSE-2.0 15 import commonjs from '@rollup/plugin-commonjs'; 16 import resolve from '@rollup/plugin-node-resolve'; 17 import pluginTypescript from '@rollup/plugin-typescript'; 18 import path from 'path'; 19 import nodePolyfills from 'rollup-plugin-node-polyfills'; 20 import postcss from 'rollup-plugin-postcss'; 21 import sourceMaps from 'rollup-plugin-sourcemaps'; 39 resolve(), 42 // Resolve source maps to the original source [all …]
|
| /external/python/cpython3/Tools/c-analyzer/c_parser/parser/ |
| D | _func_body.py | 3 from ._regexes import ( 7 from ._common import ( 13 from ._compound_decl_body import DECL_BODY_PARSERS 46 def parse_function_body(name, text, resolve, source, anon_name, parent): argument 53 text, resolve = continue_text(source, text or '{', resolve) 69 resolve(None, None, None, text) 74 name = inline_name or anon_name('inline-') 76 # We must set the internal "text" from _iter_source() to the 80 resolve(kind, None, name, text, None) 84 for member, inline, text in _parse_body(text, resolve, source, anon_name, ident): [all …]
|
| D | _global.py | 3 from ._regexes import ( 6 from ._common import ( 11 from ._compound_decl_body import DECL_BODY_PARSERS 12 #from ._func_body import parse_function_body 13 from ._func_body import parse_function_statics as parse_function_body 47 yield from parse_body(source) 82 yield srcinfo.resolve(forward_kind, None, forward_name) 87 yield srcinfo.resolve('typedef', data, name, parent=None) 93 name = compound_name or anon_name('inline-') 95 yield srcinfo.resolve(kind, name=name, data=None) [all …]
|
| /external/ksp/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/ |
| D | ErrorTypeProcessor.kt | 3 * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. 9 * http://www.apache.org/licenses/LICENSE-2.0 39 result.add(errorAtTop.type.resolve().print() ?: "") in process() 40 result.add(errorInComponent.type.resolve().print() ?: "") in process() 41 … errorInComponent.type.resolve().arguments.forEach { result.add(it.type!!.resolve().print()) } in process() 43 "errorInComponent is assignable from errorAtTop: ${ in process() 44 errorAtTop.type.resolve().isAssignableFrom(errorAtTop.type.resolve()) in process() 48 "errorInComponent is assignable from class C: ${ in process() 49 errorAtTop.type.resolve().isAssignableFrom(classC.asStarProjectedType()) in process() 53 "Any is assignable from errorInComponent: ${ in process() [all …]
|
| /external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/ip/ |
| D | basic_resolver.hpp | 5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) 60 * The basic_resolver class template provides the ability to resolve a query 131 /// Move-construct a basic_resolver from another. 133 * This constructor moves a resolver from one object to another. 135 * @param other The other basic_resolver object from which the move will 138 * @note Following the move, the moved-from object is in the same state as if 150 /// Move-construct a basic_resolver from another. 152 * This constructor moves a resolver from one object to another. 154 * @param other The other basic_resolver object from which the move will 157 * @note Following the move, the moved-from object is in the same state as if [all …]
|
| /external/pigweed/pw_protobuf_compiler/ts/ |
| D | build.ts | 7 // https://www.apache.org/licenses/LICENSE-2.0 15 import { exec, ExecException } from 'child_process'; 16 import fs from 'fs'; 17 import path from 'path'; 18 import generateTemplate from './codegen/template_replacement'; 19 import * as argModule from 'arg'; 22 const googProtobufPath = require.resolve('google-protobuf'); 23 const googProtobufModule = fs.readFileSync(googProtobufPath, 'utf-8'); 27 '--proto': [String], 28 '--out': String, [all …]
|
| /external/mesa3d/src/intel/compiler/elk/ |
| D | elk_nir_analyze_boolean_resolves.c | 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 28 * a boolean resolve on Gen <= 5. Instructions that need a boolean resolve 29 * will have the booleans portion of the instr->pass_flags field set to 34 /** Returns the resolve status for the given source 36 * If the source has a parent instruction then the resolve status is the 43 nir_instr *src_instr = src->ssa->parent_instr; in get_resolve_status_for_src() 44 uint8_t resolve_status = src_instr->pass_flags & ELK_NIR_BOOLEAN_MASK; in get_resolve_status_for_src() 46 /* If the source instruction needs resolve, then from the perspective in get_resolve_status_for_src() 54 /** Marks the given source as needing a resolve 57 * needing a resolve. Otherwise, we leave it alone. [all …]
|
| /external/autotest/client/site_tests/login_LoginPin/ |
| D | login_LoginPin.py | 3 # Use of this source code is governed by a BSD-style license that can be 6 from dbus.mainloop.glib import DBusGMainLoop 7 from gi.repository import GObject 9 from autotest_lib.client.bin import test 10 from autotest_lib.client.cros import cryptohome 11 from autotest_lib.client.common_lib import error, lsbrelease_utils 12 from autotest_lib.client.common_lib.cros import chrome, session_manager 43 tab.Navigate('chrome://os-settings/osPrivacy/lockScreen') 47 const getAuthToken = new Promise((resolve, reject) => { 48 … chrome.quickUnlockPrivate.getAuthToken('%s', function(auth_token) { resolve(auth_token.token); }) [all …]
|
| /external/skia/tests/ |
| D | GrSurfaceResolveTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 77 if (!surface->readPixels(actual, 0, 0)) { in check_pixels() 112 auto tex = managedTex->texture(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 114 // resolve. in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 127 const GrCaps* caps = dContext->priv().caps(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 128 // In metal and vulkan if we prefer discardable msaa attachments we will also auto resolve. The in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 131 bool autoResolves = caps->msaaResolvesAutomatically() || in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 132 caps->preferDiscardableMSAAAttachment(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 135 // should trigger the resolve and the texture should have the correct data. in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 136 surface->getCanvas()->clear(SK_ColorRED); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() [all …]
|
| /external/python/setuptools/setuptools/_vendor/nspektr/ |
| D | __init__.py | 5 from setuptools.extern.packaging.requirements import Requirement 6 from setuptools.extern.packaging.version import Version 7 from setuptools.extern.more_itertools import always_iterable 8 from setuptools.extern.jaraco.context import suppress 9 from setuptools.extern.jaraco.functools import apply 11 from ._compat import metadata, repair_extras 14 def resolve(req: Requirement) -> metadata.Distribution: function 16 Resolve the requirement to its distribution. 20 >>> resolve(Requirement('pytest<3')) # doctest: +IGNORE_EXCEPTION_DETAIL 35 return resolve(req) [all …]
|
| /external/minijail/tools/ |
| D | seccomp_policy_lint_unittest.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 18 from pathlib import Path 46 f'seccomp: {path.resolve()} does not contain any dangerous' 47 ' syscalls, so does not require review from' 48 ' chromeos-security@', 51 with path.open('r', encoding='utf-8') as check_file: 66 f'seccomp: {path.resolve()} contains dangerous syscalls,' 67 ' so requires review from chromeos-security@', 70 with path.open('r', encoding='utf-8') as check_file: 85 f'seccomp: {path.resolve()} contains dangerous syscalls,' [all …]
|
| /external/perfetto/python/test/ |
| D | resolver_unittest.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 from perfetto.trace_uri_resolver.util import parse_trace_uri 18 from perfetto.trace_uri_resolver.util import to_list 19 from perfetto.trace_uri_resolver.util import _cs_list 20 from perfetto.trace_uri_resolver.util import and_list 21 from perfetto.trace_uri_resolver.util import or_list 22 from perfetto.trace_uri_resolver.resolver import _args_dict_from_uri 23 from perfetto.trace_uri_resolver.resolver import Constraint 24 from perfetto.trace_uri_resolver.resolver import ConstraintClass 25 from perfetto.trace_uri_resolver.resolver import TraceUriResolver [all …]
|
| /external/aws-sdk-java-v2/codegen-maven-plugin/src/main/java/software/amazon/awssdk/codegen/maven/plugin/ |
| D | GenerationMojo.java | 48 private static final String MODEL_FILE = "service-2.json"; 50 private static final String WAITERS_FILE = "waiters-2.json"; 51 private static final String PAGINATORS_FILE = "paginators-1.json"; 52 private static final String ENDPOINT_RULE_SET_FILE = "endpoint-rule-set.json"; 53 private static final String ENDPOINT_TESTS_FILE = "endpoint-tests.json"; 56 …r(property = "codeGenResources", defaultValue = "${basedir}/src/main/resources/codegen-resources/") 74 … this.sourcesDirectory = Paths.get(outputDirectory).resolve("generated-sources").resolve("sdk"); in execute() 75 …this.resourcesDirectory = Paths.get(outputDirectory).resolve("generated-resources").resolve("sdk-r… in execute() 76 …this.testsDirectory = Paths.get(outputDirectory).resolve("generated-test-sources").resolve("sdk-te… in execute() 78 findModelRoots().forEach(p -> { in execute() [all …]
|
| /external/perfetto/python/perfetto/trace_uri_resolver/ |
| D | registry.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 16 from typing import Dict, List, Type, Union 18 from perfetto.trace_uri_resolver import util 19 from perfetto.trace_uri_resolver.resolver import TraceContent 20 from perfetto.trace_uri_resolver.resolver import TraceGenerator 21 from perfetto.trace_uri_resolver.resolver import TraceUri 22 from perfetto.trace_uri_resolver.resolver import TraceUriResolver 44 def resolve(self, ref: TraceListReference) -> List['ResolverRegistry.Result']: member in ResolverRegistry 50 ref: TraceReference) -> List['ResolverRegistry.Result']: 54 for outer in ref.resolve() [all …]
|
| /external/pigweed/pw_web/log-viewer/test/ |
| D | log-view.test.js | 7 // https://www.apache.org/licenses/LICENSE-2.0 15 import { assert } from '@open-wc/testing'; 16 import { MockLogSource } from '../src/custom/mock-log-source'; 17 import { createLogViewer } from '../src/createLogViewer'; 18 import { LocalStateStorage, StateService } from '../src/shared/state'; 19 import { NodeType, Orientation, ViewNode } from '../src/shared/view-node'; 23 const logViewer = document.querySelector('log-viewer'); 28 // See: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver#observation_errors 45 describe('log-view', () => { 54 const logViewerEl = document.querySelector('log-viewer'); [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/util/ |
| D | UriUtilTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 import static com.google.android.exoplayer2.util.UriUtil.resolve; 32 * Tests normal usage of {@link UriUtil#resolve(String, String)}. 34 * <p>The test cases are taken from RFC-3986 5.4.1. 40 assertThat(resolve(base, "g:h")).isEqualTo("g:h"); in resolveNormal() 41 assertThat(resolve(base, "g")).isEqualTo("http://a/b/c/g"); in resolveNormal() 42 assertThat(resolve(base, "g/")).isEqualTo("http://a/b/c/g/"); in resolveNormal() 43 assertThat(resolve(base, "/g")).isEqualTo("http://a/g"); in resolveNormal() 44 assertThat(resolve(base, "//g")).isEqualTo("http://g"); in resolveNormal() 45 assertThat(resolve(base, "//g:80")).isEqualTo("http://g:80"); in resolveNormal() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/util/ |
| D | UriUtilTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 import static com.google.android.exoplayer2.util.UriUtil.resolve; 32 * Tests normal usage of {@link UriUtil#resolve(String, String)}. 34 * <p>The test cases are taken from RFC-3986 5.4.1. 40 assertThat(resolve(base, "g:h")).isEqualTo("g:h"); in resolveNormal() 41 assertThat(resolve(base, "g")).isEqualTo("http://a/b/c/g"); in resolveNormal() 42 assertThat(resolve(base, "g/")).isEqualTo("http://a/b/c/g/"); in resolveNormal() 43 assertThat(resolve(base, "/g")).isEqualTo("http://a/g"); in resolveNormal() 44 assertThat(resolve(base, "//g")).isEqualTo("http://g"); in resolveNormal() 45 assertThat(resolve(base, "//g:80")).isEqualTo("http://g:80"); in resolveNormal() [all …]
|
| /external/cronet/build/android/ |
| D | tombstones.py | 4 # Use of this source code is governed by a BSD-style license that can be 18 from multiprocessing.pool import ThreadPool 22 from devil.android import device_denylist 23 from devil.android import device_errors 24 from devil.android import device_utils 25 from devil.utils import run_tests_helper 26 from pylib import constants 27 from pylib.symbols import stack_symbolizer 74 """Retrieve the tombstone data from the device 88 """Deletes a tombstone from the device. [all …]
|
| /external/angle/build/android/ |
| D | tombstones.py | 4 # Use of this source code is governed by a BSD-style license that can be 18 from multiprocessing.pool import ThreadPool 22 from devil.android import device_denylist 23 from devil.android import device_errors 24 from devil.android import device_utils 25 from devil.utils import run_tests_helper 26 from pylib import constants 27 from pylib.symbols import stack_symbolizer 74 """Retrieve the tombstone data from the device 88 """Deletes a tombstone from the device. [all …]
|
| /external/parameter-framework/asio-1.10.6/include/asio/ip/ |
| D | basic_resolver.hpp | 5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) 31 * The basic_resolver class template provides the ability to resolve a query 76 return this->service.cancel(this->implementation); in cancel() 81 * This function is used to resolve a query into a list of endpoint entries. 85 * @returns A forward-only iterator that can be used to traverse the list 95 iterator resolve(const query& q) in resolve() function in asio::ip::basic_resolver 98 iterator i = this->service.resolve(this->implementation, q, ec); in resolve() 99 asio::detail::throw_error(ec, "resolve"); in resolve() 105 * This function is used to resolve a query into a list of endpoint entries. 111 * @returns A forward-only iterator that can be used to traverse the list [all …]
|
| /external/cronet/net/dns/ |
| D | host_resolver_system_task.h | 2 // Use of this source code is governed by a BSD-style license that can be 18 #include "third_party/abseil-cpp/absl/types/optional.h" 25 // Calls SystemHostResolverCall() (or in some tests, HostResolverProc::Resolve) 31 // Whenever we try to resolve the host, we post a delayed task to check if host 34 // the results from the first attempt that finishes and ignore the results from 47 // thread-safe since it may be run from multiple worker threads. If 52 // within |unresponsive_delay| time. We keep attempting to resolve the host 64 static constexpr size_t kDefaultRetryAttempts = -1; 75 // in the case of some-tests which inject custom host resolving behaviors. 78 // Maximum number retry attempts to resolve the hostname. [all …]
|
| /external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
| D | reaching_fndefs_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 from tensorflow.python.autograph.pyct import anno 18 from tensorflow.python.autograph.pyct import cfg 19 from tensorflow.python.autograph.pyct import naming 20 from tensorflow.python.autograph.pyct import parser 21 from tensorflow.python.autograph.pyct import qual_names 22 from tensorflow.python.autograph.pyct import transformer 23 from tensorflow.python.autograph.pyct.static_analysis import activity 24 from tensorflow.python.autograph.pyct.static_analysis import reaching_definitions 25 from tensorflow.python.autograph.pyct.static_analysis import reaching_fndefs [all …]
|
| /external/bazel-skylib/gazelle/bzl/ |
| D | gazelle.go | 7 http://www.apache.org/licenses/LICENSE-2.0 20 // https://github.com/bazelbuild/bazel-skylib. 35 "github.com/bazelbuild/bazel-gazelle/config" 36 "github.com/bazelbuild/bazel-gazelle/label" 37 "github.com/bazelbuild/bazel-gazelle/language" 38 "github.com/bazelbuild/bazel-gazelle/pathtools" 39 "github.com/bazelbuild/bazel-gazelle/repo" 40 "github.com/bazelbuild/bazel-gazelle/resolve" 41 "github.com/bazelbuild/bazel-gazelle/rule" 78 // https://pkg.go.dev/github.com/bazelbuild/bazel-gazelle/resolve?tab=doc#Resolver [all …]
|
| /external/AFLplusplus/benchmark/ |
| D | benchmark.py | 3 # Author: Chris Ball <chris@printf.net>, ported from Marc "van Hauser" Heuse's "benchmark.sh". 5 from dataclasses import asdict, dataclass 6 from decimal import Decimal 7 from enum import Enum, auto 8 from pathlib import Path 9 from typing import Dict, List, Optional, Tuple 53 …Target(source=Path("../utils/persistent_mode/test-instr.c").resolve(), binary=Path("test-instr-per… 54 Target(source=Path("../test-instr.c").resolve(), binary=Path("test-instr")) 61 …"AFL_NO_UI": "1", "AFL_TRY_AFFINITY": "1", "PATH": f'{str(Path("../").resolve())}:{os.environ["PAT… 65 parser.add_argument("-b", "--basedir", help="directory to use for temp files", type=str, default="/… [all …]
|