Home
last modified time | relevance | path

Searched full:resolve (Results 1 – 25 of 5506) sorted by relevance

12345678910>>...221

/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/util/
DUriUtilTest.java19 import static com.google.android.exoplayer2.util.UriUtil.resolve;
32 * Tests normal usage of {@link UriUtil#resolve(String, String)}.
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()
46 assertThat(resolve(base, "?y")).isEqualTo("http://a/b/c/d;p?y"); in resolveNormal()
47 assertThat(resolve(base, "g?y")).isEqualTo("http://a/b/c/g?y"); in resolveNormal()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/util/
DUriUtilTest.java19 import static com.google.android.exoplayer2.util.UriUtil.resolve;
32 * Tests normal usage of {@link UriUtil#resolve(String, String)}.
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()
46 assertThat(resolve(base, "?y")).isEqualTo("http://a/b/c/d;p?y"); in resolveNormal()
47 assertThat(resolve(base, "g?y")).isEqualTo("http://a/b/c/g?y"); in resolveNormal()
[all …]
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DTestUtils.java93 results.add(workingDir.resolve(path)); in permutations()
97 results.add(p.resolve(".")); in permutations()
98 results.add(p.resolve(".").resolve(".")); in permutations()
103 results.add(p.resolve("..").resolve(fileName)); in permutations()
104 results.add(p.resolve("..").resolve(".").resolve(fileName)); in permutations()
105 results.add(p.resolve("..").resolve(".").resolve(fileName).resolve(".")); in permutations()
106 results.add(p.resolve(".").resolve("..").resolve(".").resolve(fileName)); in permutations()
115 results.add(p.resolve(childName).resolve("..")); in permutations()
116 results.add(p.resolve(childName).resolve(".").resolve(".").resolve("..")); in permutations()
117 results.add(p.resolve(childName).resolve("..").resolve(".")); in permutations()
[all …]
/external/linux-kselftest/tools/testing/selftests/openat2/
Dresolve_test.c139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
163 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
167 .path = "root", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
[all …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_format_map.json264 "resolve": "false", string
272 "resolve": "true", string
280 "resolve": "display->supportsEitherGPUFamily(2, 1)", string
288 "resolve": "display->supportsMacGPUFamily(1)", string
296 "resolve": "display->supportsMacGPUFamily(1)", string
304 "resolve": "true", string
312 "resolve": "display->supportsEitherGPUFamily(2, 1)", string
320 "resolve": "display->supportsMacGPUFamily(1)", string
328 "resolve": "display->supportsMacGPUFamily(1)", string
336 "resolve": "display->supportsMacGPUFamily(1)", string
[all …]
/external/python/cpython3/Tools/c-analyzer/c_parser/parser/
D_func_body.py46 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)
80 resolve(kind, None, name, text, None)
84 for member, inline, text in _parse_body(text, resolve, source, anon_name, ident):
93 yield resolve(kind, data, name, text, None), text
97 resolve(None, None, None, text)
98 # XXX This isn't great. Calling resolve() should have
105 yield resolve('statement', compound_bare, None, text, parent), text
108 yield resolve('statement', compound_labeled, None, text, parent), text
[all …]
/external/kotlinx.atomicfu/atomicfu-gradle-plugin/src/test/kotlin/kotlinx/atomicfu/plugin/gradle/test/
DMppProjectTest.kt17 resolve("projects/mpp-simple/mpp-simple.gradle.kts") in createProject()
20 resolve("projects/mpp-simple/settings.gradle.kts") in createProject()
24 resolve("projects/mpp-simple/src/commonMain/kotlin/IntArithmetic.kt") in createProject()
28 resolve("projects/mpp-simple/src/commonTest/kotlin/ArithmeticTest.kt") in createProject()
74 resolve("projects/mpp-simple/mpp-simple.gradle.kts") in createProject()
77 resolve("projects/mpp-simple/settings.gradle.kts") in createProject()
80 resolve("projects/mpp-simple/gradle.properties_jvm") in createProject()
84 resolve("projects/mpp-simple/src/commonMain/kotlin/IntArithmetic.kt") in createProject()
88 resolve("projects/mpp-simple/src/commonTest/kotlin/ArithmeticTest.kt") in createProject()
127 resolve("projects/mpp-simple/mpp-simple.gradle.kts") in createProject()
[all …]
/external/starlark-go/resolve/
Dresolve_test.go12 "go.starlark.net/resolve"
18 resolve.AllowGlobalReassign = option(src, "globalreassign")
19 resolve.AllowRecursion = option(src, "recursion")
20 resolve.AllowSet = option(src, "set")
21 resolve.LoadBindsGlobally = option(src, "loadbindsglobally")
30 filename := starlarktest.DataFile("resolve", "testdata/resolve.star")
41 if err := resolve.File(f, isPredeclared, isUniversal); err != nil {
42 for _, err := range err.(resolve.ErrorList) {
56 if err := resolve.File(file, isPredeclared, isUniversal); err != nil {
59 fn := file.Stmts[0].(*syntax.DefStmt).Function.(*resolve.Function)
[all …]
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/
DJavaLayoutHtmlGenerator.kt33 NodeKind.Module -> URI("/").resolve(node.name + "/") in <lambda>()
34 …NodeKind.Package -> tryGetContainerUri(node.getOwnerOrReport())?.resolve(node.name.replace('.', '/… in <lambda>()
36 …in NodeKind.classLike -> tryGetContainerUri(node.getOwnerOrReport())?.resolve("${node.classNodeNam… in <lambda>()
43 NodeKind.Package -> tryGetContainerUri(node)?.resolve("package-summary.html") in <lambda>()
44 in NodeKind.classLike -> tryGetContainerUri(node)?.resolve("#") in <lambda>()
59 NodeKind.AllTypes -> outlineRootUri(node).resolve ("classes.html") in <lambda>()
68 }?.resolve(outlineRoot) in <lambda>()
71 …fun URI.resolveInPage(node: DocumentationNode): URI = resolve("#${node.signatureForAnchor(logger).… in <lambda>()
74 val fileForClass = parentDir.resolve(node.classNodeNameWithOuterClass() + ".html") in <lambda>()
86 val directoryForPackage = parentDir.resolve(node.name.replace('.', File.separatorChar)) in <lambda>()
[all …]
/external/ktfmt/core/src/test/java/com/facebook/ktfmt/cli/
DMainTest.kt54 val fooBar = root.resolve("foo.bar") in expandArgsToFileNames - single file arg is used as is()
61 val fooBar = root.resolve("foo.bar") in expandArgsToFileNames - single arg which is not a file is not returned()
67 val dir = root.resolve("dir") in expandArgsToFileNames - single arg which is a directory is resolved to its recursively contained kt files()
69 val foo = dir.resolve("foo.kt") in expandArgsToFileNames - single arg which is a directory is resolved to its recursively contained kt files()
71 val bar = dir.resolve("bar.kt") in expandArgsToFileNames - single arg which is a directory is resolved to its recursively contained kt files()
78 val dir1 = root.resolve("dir1") in expandArgsToFileNames - multiple directory args are resolved to their recursively contained kt files()
80 val foo1 = dir1.resolve("foo1.kt") in expandArgsToFileNames - multiple directory args are resolved to their recursively contained kt files()
82 val bar1 = dir1.resolve("bar1.kt") in expandArgsToFileNames - multiple directory args are resolved to their recursively contained kt files()
85 val dir2 = root.resolve("dir2") in expandArgsToFileNames - multiple directory args are resolved to their recursively contained kt files()
87 val foo2 = dir1.resolve("foo2.kt") in expandArgsToFileNames - multiple directory args are resolved to their recursively contained kt files()
[all …]
/external/skia/src/gpu/ganesh/
DGrTextureResolveRenderTask.cpp23 Resolve* resolve; in addProxy() local
30 resolve = &fResolves[index]; in addProxy()
31 newFlags = ~resolve->fFlags & flags; in addProxy()
32 resolve->fFlags |= flags; in addProxy()
39 resolve = &fResolves.emplace_back(flags); in addProxy()
47 resolve->fMSAAResolveRect = renderTargetProxy->msaaDirtyRect(); in addProxy()
75 // manipulate the resolve proxies. in gatherProxyIntervals()
85 // Resolve all msaa back-to-back, before regenerating mipmaps. in onExecute()
88 const Resolve& resolve = fResolves[i]; in onExecute() local
89 if (GrSurfaceProxy::ResolveFlags::kMSAA & resolve.fFlags) { in onExecute()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnnotationsResolutionTest.java59 // resolve annotation expression in solveJavaParserMarkerAnnotation()
60 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveJavaParserMarkerAnnotation()
75 // resolve annotation expression in solveJavaParserSingleMemberAnnotation()
76 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveJavaParserSingleMemberAnnotation()
91 // resolve annotation expression in solveJavaParserNormalAnnotation()
92 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveJavaParserNormalAnnotation()
108 // resolve annotation expression in solveReflectionMarkerAnnotation()
109 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveReflectionMarkerAnnotation()
128 // resolve annotation expression in solveReflectionSingleMemberAnnotation()
129 ResolvedAnnotationDeclaration resolved = annotationExpr.resolve(); in solveReflectionSingleMemberAnnotation()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver.hpp31 * The basic_resolver class template provides the ability to resolve a query
81 * This function is used to resolve a query into a list of endpoint entries.
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.
120 iterator resolve(const query& q, asio::error_code& ec) in resolve() function in asio::ip::basic_resolver
122 return this->service.resolve(this->implementation, q, ec); in resolve()
127 * This function is used to asynchronously resolve a query into a list of
132 * @param handler The handler to be called when the resolve operation
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_nir_analyze_boolean_resolves.c31 * a boolean resolve on Gen <= 5. Instructions that need a boolean resolve
37 /** Returns the resolve status for the given source
39 * If the source has a parent instruction then the resolve status is the
50 /* If the source instruction needs resolve, then from the perspective in get_resolve_status_for_src()
61 /** Marks the given source as needing a resolve
64 * needing a resolve. Otherwise, we leave it alone.
92 /* For ALU instructions, the resolve status is handled in a in analyze_boolean_resolves_block()
98 * 2) Look at the destination and see if we have to resolve in analyze_boolean_resolves_block()
102 * 3) If the instruction has a resolve status other than in analyze_boolean_resolves_block()
134 /* This is a single-source instruction. Just copy the resolve in analyze_boolean_resolves_block()
[all …]
/external/robolectric/robolectric/src/main/java/org/robolectric/internal/
DMavenManifestFactory.java41 manifestFile = getBaseDir().resolve(manifestPath); in identify()
45 final Path resDir = baseDir.resolve(config.resourceDir()); in identify()
46 final Path assetDir = baseDir.resolve(config.assetDir()); in identify()
59 Path libDir = baseDir.resolve(libraryDirName); in identify()
63 libDir.resolve(Config.DEFAULT_MANIFEST_NAME), in identify()
64 libDir.resolve(Config.DEFAULT_RES_FOLDER), in identify()
65 libDir.resolve(Config.DEFAULT_ASSET_FOLDER), in identify()
111 final Properties properties = getProperties(baseDir.resolve("project.properties")); in findLibraries()
112 Properties overrideProperties = getProperties(baseDir.resolve("test-project.properties")); in findLibraries()
118 Path libraryDir = baseDir.resolve(lib); in findLibraries()
[all …]
/external/turbine/java/com/google/turbine/binder/lookup/
DImportIndex.java60 CanonicalSymbolResolver resolve, in create() argument
74 return namedImport(log, cpi, i, resolve); in create()
98 /** Fully resolve the canonical name of a non-static named import. */
100 TurbineLogWithSource log, TopLevelIndex cpi, ImportDecl i, CanonicalSymbolResolver resolve) { in namedImport() argument
109 sym = resolveNext(log, resolve, sym, bit); in namedImport()
124 TurbineLogWithSource log, CanonicalSymbolResolver resolve, ClassSymbol sym, Ident bit) {
125 ClassSymbol next = resolve.resolveOne(sym, bit);
136 * Resolve the base class symbol of a possibly non-canonical static named import. For example,
138 * java.util.Map.Entry}. We cannot resolve {@code Entry} as a member of {@code HashMap} until the
139 * hierarchy analysis is complete, so for now we resolve the base {@code java.util.HashMap} and
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
DCompilationUnitTest.java47 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRoot()
48 … Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "Z.java")); in testGetSourceRoot()
58 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRootWithBadPackageDeclaration()
59 … Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "A.java")); in testGetSourceRootWithBadPackageDeclaration()
68 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetSourceRootInDefaultPackage()
69 Path testFile = sourceRoot.resolve(Paths.get("B.java")); in testGetSourceRootInDefaultPackage()
78 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetPrimaryTypeName()
79 …Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryTyp… in testGetPrimaryTypeName()
93 …Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "res… in testGetPrimaryType()
94 …Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "PrimaryTyp… in testGetPrimaryType()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/promise-polyfill/
DPromise.js17 doResolve(fn, resolve.bind(this), reject.bind(this));
29 (me._state ? deferred.resolve : deferred.reject)(me._value);
40 deferred.resolve(ret);
44 function resolve(newValue) { function in MakePromise
50 doResolve(then.bind(newValue), resolve.bind(this), reject.bind(this));
104 return new Promise(function(resolve, reject) { argument
108 resolve: resolve, property
114 Promise.resolve = function (value) { function in Promise
119 return new Promise(function (resolve) { argument
120 resolve(value);
[all …]
/external/skia/tests/
DGrSurfaceResolveTest.cpp114 // resolve. in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
127 // In metal and vulkan if we prefer discardable msaa attachments we will also auto resolve. The in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
134 // should trigger the resolve and the texture should have the correct data. in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
140 // Next try doing a GrDirectContext::flush which will not trigger a resolve on gpus without in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
151 // Now doing a surface flush (even without any queued up normal work) should still resolve the in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
157 // Test using SkSurface::resolve with a GrDirectContext::flush in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
164 // Calling resolve again should cause no issues as it is a no-op (there is an assert in the in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
165 // resolve op that the surface's msaa is dirty, we shouldn't hit that assert). in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
171 // Try resolving in the middle of draw calls. Non automatic resolve gpus should only see the in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
184 // Test that a resolve between draws to a different surface doesn't cause the OpsTasks for that in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DFileWritingTest.kt66 val testPath = fsRoot.resolve("Test.kt") in filerDefaultPackage()
74 val testPath = fsRoot.resolve("Test.kt") in pathDefaultPackage()
80 FileSpec.get("", type).writeTo(fsRoot.resolve("sub")) in pathDefaultPackageWithSubdirectory()
82 val testPath = fsRoot.resolve("sub/Test.kt") in pathDefaultPackageWithSubdirectory()
100 val fooPath = fsRoot.resolve(fs.getPath("foo", "Test.kt")) in pathNestedClasses()
101 val barPath = fsRoot.resolve(fs.getPath("foo", "bar", "Test.kt")) in pathNestedClasses()
102 val bazPath = fsRoot.resolve(fs.getPath("foo", "bar", "baz", "Test.kt")) in pathNestedClasses()
131 val fooPath = fsRoot.resolve(fs.getPath("foo", "Test.kt")) in filerNestedClasses()
132 val barPath = fsRoot.resolve(fs.getPath("foo", "bar", "Test.kt")) in filerNestedClasses()
133 val bazPath = fsRoot.resolve(fs.getPath("foo", "bar", "baz", "Test.kt")) in filerNestedClasses()
[all …]
/external/ltp/testcases/kernel/syscalls/openat2/
Dopenat202.c5 * openat2() tests with various resolve flags.
17 uint64_t resolve; member
26 {"resolve-no-xdev", "/proc/version", RESOLVE_NO_XDEV, EXDEV},
27 {"resolve-no-magiclinks", "/proc/self/exe", RESOLVE_NO_MAGICLINKS, ELOOP},
28 {"resolve-no-symlinks", FOO_SYMLINK, RESOLVE_NO_SYMLINKS, ELOOP},
29 {"resolve-beneath", "/proc/version", RESOLVE_BENEATH, EXDEV},
30 {"resolve-beneath", "../foo", RESOLVE_BENEATH, EXDEV},
31 {"resolve-no-in-root", "/proc/version", RESOLVE_IN_ROOT, ENOENT},
46 how->resolve = tc->resolve; in run()
/external/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/
DMultiProjectSingleOutTest.kt10 val testDataRoot = testDataFolder.resolve(testDataRootPath) in prepareTestData()
14 resolve("build.gradle").copy(tmpRoot.resolve("build.gradle")) in prepareTestData()
15 resolve("settings.gradle").copy(tmpRoot.resolve("settings.gradle")) in prepareTestData()
16 resolve("subA").copy(tmpRoot.resolve("subA")) in prepareTestData()
17 resolve("subB").copy(tmpRoot.resolve("subB")) in prepareTestData()
DBasicTest.kt10 val testDataRoot = testDataFolder.resolve(testDataRootPath) in prepareTestData()
13 testDataRoot.resolve("src").copy(tmpRoot.resolve("src")) in prepareTestData()
14 testDataRoot.resolve("classDir").copy(tmpRoot.resolve("classDir")) in prepareTestData()
15 testDataRoot.resolve("build.gradle").copy(tmpRoot.resolve("build.gradle")) in prepareTestData()
16 testDataRoot.resolve("settings.gradle").copy(tmpRoot.resolve("settings.gradle")) in prepareTestData()
DRebuildAfterSourceChangeTest.kt11 val testDataRoot = testDataFolder.resolve(testDataRootPath) in <lambda>()
14 testDataRoot.resolve("src").copy(tmpRoot.resolve("src")) in <lambda>()
15 testDataRoot.resolve("build.gradle").copy(tmpRoot.resolve("build.gradle")) in <lambda>()
16 testDataRoot.resolve("settings.gradle").copy(tmpRoot.resolve("settings.gradle")) in <lambda>()
41 testDataRoot.resolve("src1").copy(tmpRoot.resolve("src")) in <lambda>()
/external/starlark-go/cmd/starlark/
Dstarlark.go20 "go.starlark.net/resolve"
38 flag.BoolVar(&resolve.AllowFloat, "float", resolve.AllowFloat, "obsolete; no effect")
39 flag.BoolVar(&resolve.AllowSet, "set", resolve.AllowSet, "allow set data type")
40 flag.BoolVar(&resolve.AllowLambda, "lambda", resolve.AllowLambda, "allow lambda expressions")
41 …flag.BoolVar(&resolve.AllowRecursion, "recursion", resolve.AllowRecursion, "allow while statements…
42 …flag.BoolVar(&resolve.AllowGlobalReassign, "globalreassign", resolve.AllowGlobalReassign, "allow r…

12345678910>>...221