Home
last modified time | relevance | path

Searched refs:resolver (Results 1 – 25 of 234) sorted by relevance

12345678910

/external/chromium-libpac/test/
Dproxy_resolver_v8_unittest.cc151 ProxyResolverV8WithMockBindings resolver(new MockJSBindings()); in TEST() local
152 int result = resolver.SetPacScript(SCRIPT(DIRECT_JS)); in TEST()
155 result = resolver.GetProxyForURL(kQueryUrl, kQueryHost, &kResults); in TEST()
162 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size()); in TEST()
163 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); in TEST()
167 ProxyResolverV8WithMockBindings resolver(new MockJSBindings()); in TEST() local
168 int result = resolver.SetPacScript(SCRIPT(RETURN_EMPTY_STRING_JS)); in TEST()
171 result = resolver.GetProxyForURL(kQueryUrl, kQueryHost, &kResults); in TEST()
177 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size()); in TEST()
178 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); in TEST()
[all …]
/external/google-breakpad/src/processor/
Dbasic_source_line_resolver_unittest.cc170 BasicSourceLineResolver resolver; member in __anona1815d2c0111::TestBasicSourceLineResolver
177 ASSERT_TRUE(resolver.LoadModule(&module1, testdata_dir + "/module1.out")); in TEST_F()
178 ASSERT_TRUE(resolver.HasModule(&module1)); in TEST_F()
180 ASSERT_TRUE(resolver.LoadModule(&module2, testdata_dir + "/module2.out")); in TEST_F()
181 ASSERT_TRUE(resolver.HasModule(&module2)); in TEST_F()
189 resolver.FillSourceLineInfo(&frame); in TEST_F()
198 resolver.FillSourceLineInfo(&frame); in TEST_F()
206 windows_frame_info.reset(resolver.FindWindowsFrameInfo(&frame)); in TEST_F()
216 resolver.FillSourceLineInfo(&frame); in TEST_F()
218 windows_frame_info.reset(resolver.FindWindowsFrameInfo(&frame)); in TEST_F()
[all …]
Dminidump_stackwalk.cc81 BasicSourceLineResolver resolver; in PrintMinidumpProcess() local
82 MinidumpProcessor minidump_processor(symbol_supplier.get(), &resolver); in PrintMinidumpProcess()
100 PrintProcessState(process_state, output_stack_contents, &resolver); in PrintMinidumpProcess()
Dmicrodump_stackwalk.cc86 BasicSourceLineResolver resolver; in PrintMicrodumpProcess() local
87 StackFrameSymbolizer frame_symbolizer(symbol_supplier.get(), &resolver); in PrintMicrodumpProcess()
97 PrintProcessState(process_state, false, &resolver); in PrintMicrodumpProcess()
/external/guice/core/test/com/google/inject/
DTypeLiteralTypeResolutionTest.java98 TypeLiteral<?> resolver = TypeLiteral.get(arrayListOfString); in testDirectInheritance() local
100 resolver.getReturnType(List.class.getMethod("subList", int.class, int.class)).getType()); in testDirectInheritance()
102 resolver.getParameterTypes(Collection.class.getMethod("add", Object.class))); in testDirectInheritance()
106 TypeLiteral<?> resolver = TypeLiteral.get(arrayListOfString); in testGenericSupertype() local
108 resolver.getSupertype(Collection.class).getType()); in testGenericSupertype()
110 resolver.getSupertype(Iterable.class).getType()); in testGenericSupertype()
112 resolver.getSupertype(AbstractList.class).getType()); in testGenericSupertype()
113 assertEquals(Object.class, resolver.getSupertype(Object.class).getType()); in testGenericSupertype()
117 TypeLiteral<?> resolver = TypeLiteral.get(MyInteger.class); in testRecursiveTypeVariable() local
118 assertEquals(MyInteger.class, resolver.getParameterTypes(comparableCompareTo).get(0).getType()); in testRecursiveTypeVariable()
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
De164.py24 import dns.resolver
64 def query(number, domains, resolver=None): argument
69 if resolver is None:
70 resolver = dns.resolver.get_default_resolver()
76 return resolver.query(qname, 'NAPTR')
77 except dns.resolver.NXDOMAIN:
79 raise dns.resolver.NXDOMAIN
/external/avahi/avahi-gobject/
Dga-service-resolver.c64 AvahiServiceResolver *resolver; member
84 priv->resolver = NULL; in ga_service_resolver_init()
97 GaServiceResolver *resolver = GA_SERVICE_RESOLVER(object); in ga_service_resolver_set_property() local
99 GA_SERVICE_RESOLVER_GET_PRIVATE(resolver); in ga_service_resolver_set_property()
101 g_assert(priv->resolver == NULL); in ga_service_resolver_set_property()
133 GaServiceResolver *resolver = GA_SERVICE_RESOLVER(object); in ga_service_resolver_get_property() local
135 GA_SERVICE_RESOLVER_GET_PRIVATE(resolver); in ga_service_resolver_get_property()
281 if (priv->resolver) in ga_service_resolver_dispose()
282 avahi_service_resolver_free(priv->resolver); in ga_service_resolver_dispose()
283 priv->resolver = NULL; in ga_service_resolver_dispose()
[all …]
/external/curl/lib/
Dasyn-ares.c131 CURLcode Curl_resolver_init(void **resolver) in Curl_resolver_init() argument
133 int status = ares_init((ares_channel*)resolver); in Curl_resolver_init()
152 void Curl_resolver_cleanup(void *resolver) in Curl_resolver_cleanup() argument
154 ares_destroy((ares_channel)resolver); in Curl_resolver_cleanup()
179 if(conn->data && conn->data->state.resolver) in Curl_resolver_cancel()
180 ares_cancel((ares_channel)conn->data->state.resolver); in Curl_resolver_cancel()
224 int max = ares_getsock((ares_channel)conn->data->state.resolver, in Curl_resolver_getsock()
230 timeout = ares_timeout((ares_channel)conn->data->state.resolver, &maxtime, in Curl_resolver_getsock()
260 bitmask = ares_getsock((ares_channel)data->state.resolver, socks, in waitperform()
288 ares_process_fd((ares_channel)data->state.resolver, ARES_SOCKET_BAD, in waitperform()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeResolverTest.java51 TypeResolver resolver = new TypeResolver(); in testWhere_typeVariableSelfMapping() local
53 assertEquals(t, resolver.where(t, t).resolveType(t)); in testWhere_typeVariableSelfMapping()
57 TypeResolver resolver = new TypeResolver(); in testWhere_parameterizedSelfMapping() local
59 assertEquals(t, resolver.where(t, t).resolveType(t)); in testWhere_parameterizedSelfMapping()
63 TypeResolver resolver = new TypeResolver(); in testWhere_genericArraySelfMapping() local
65 assertEquals(t, resolver.where(t, t).resolveType(t)); in testWhere_genericArraySelfMapping()
69 TypeResolver resolver = new TypeResolver(); in testWhere_rawClassSelfMapping() local
71 resolver.where(String.class, String.class).resolveType(String.class)); in testWhere_rawClassSelfMapping()
75 TypeResolver resolver = new TypeResolver(); in testWhere_wildcardSelfMapping() local
77 assertEquals(t, resolver.where(t, t).resolveType(t)); in testWhere_wildcardSelfMapping()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DJAXPExtensionsProvider.java46 private final XPathFunctionResolver resolver; field in JAXPExtensionsProvider
49 public JAXPExtensionsProvider(XPathFunctionResolver resolver) { in JAXPExtensionsProvider() argument
50 this.resolver = resolver; in JAXPExtensionsProvider()
54 public JAXPExtensionsProvider(XPathFunctionResolver resolver, in JAXPExtensionsProvider() argument
56 this.resolver = resolver; in JAXPExtensionsProvider()
76 resolver.resolveFunction ( myQName, 0 ); in functionAvailable()
128 resolver.resolveFunction ( myQName, arity ); in extFunction()
180 resolver.resolveFunction( myQName, arity ); in extFunction()
DJAXPVariableStack.java42 private final XPathVariableResolver resolver; field in JAXPVariableStack
44 public JAXPVariableStack(XPathVariableResolver resolver) { in JAXPVariableStack() argument
46 this.resolver = resolver; in JAXPVariableStack()
63 Object varValue = resolver.resolveVariable( name ); in getVariableOrParam()
DXPathFactoryImpl.java224 public void setXPathFunctionResolver(XPathFunctionResolver resolver) { in setXPathFunctionResolver() argument
227 if (resolver == null) { in setXPathFunctionResolver()
234 xPathFunctionResolver = resolver; in setXPathFunctionResolver()
250 public void setXPathVariableResolver(XPathVariableResolver resolver) { in setXPathVariableResolver() argument
253 if (resolver == null) { in setXPathVariableResolver()
260 xPathVariableResolver = resolver; in setXPathVariableResolver()
/external/avahi/avahi-daemon/
DAndroid.mk24 dbus-async-address-resolver.c \
25 dbus-async-host-name-resolver.c \
26 dbus-async-service-resolver.c \
31 dbus-sync-address-resolver.c \
32 dbus-sync-host-name-resolver.c \
33 dbus-sync-service-resolver.c \
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DYaml.java45 import org.yaml.snakeyaml.resolver.Resolver;
52 protected final Resolver resolver; field in Yaml
153 Resolver resolver) { in Yaml() argument
167 this.resolver = resolver; in Yaml()
237 Serializer serializer = new Serializer(new Emitter(output, dumperOptions), resolver, in dumpAll()
337 Serializer serializer = new Serializer(emitter, resolver, dumperOptions, null); in serialize()
448 Composer composer = new Composer(new ParserImpl(sreader), resolver); in loadFromReader()
463 Composer composer = new Composer(new ParserImpl(new StreamReader(yaml)), resolver); in loadAll()
531 Composer composer = new Composer(new ParserImpl(new StreamReader(yaml)), resolver); in compose()
546 final Composer composer = new Composer(new ParserImpl(new StreamReader(yaml)), resolver); in composeAll()
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Ddnsproxy.py27 from third_party.dns import resolver
42 self.resolver = resolver.get_default_resolver()
43 self.resolver.nameservers = name_servers
72 answers = self.resolver.query(hostname, rdtype)
73 except resolver.NXDOMAIN:
75 except resolver.NoNameservers:
79 except (resolver.NoAnswer, resolver.Timeout) as ex:
/external/parameter-framework/upstream/remote-process/
Dmain.cpp92 tcp::resolver resolver(io_service); in main() local
99 asio::connect(connectionSocket, resolver.resolve(tcp::resolver::query(host, port))); in main()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/
DSerializer.java49 import org.yaml.snakeyaml.resolver.Resolver;
53 private final Resolver resolver; field in Serializer
64 public Serializer(Emitable emitter, Resolver resolver, DumperOptions opts, Tag rootTag) { in Serializer() argument
66 this.resolver = resolver; in Serializer()
164 Tag detectedTag = this.resolver.resolve(NodeId.scalar, scalarNode.getValue(), true); in serializeNode()
165 Tag defaultTag = this.resolver.resolve(NodeId.scalar, scalarNode.getValue(), false); in serializeNode()
174 boolean implicitS = node.getTag().equals(this.resolver.resolve(NodeId.sequence, in serializeNode()
185 Tag implicitTag = this.resolver.resolve(NodeId.mapping, null, true); in serializeNode()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/composer/
DComposer.java39 import org.yaml.snakeyaml.resolver.Resolver;
50 private final Resolver resolver; field in Composer
54 public Composer(Parser parser, Resolver resolver) { in Composer() argument
56 this.resolver = resolver; in Composer()
167 nodeTag = resolver.resolve(NodeId.scalar, ev.getValue(), ev.getImplicit() in composeScalarNode()
187 nodeTag = resolver.resolve(NodeId.sequence, null, startEvent.getImplicit()); in composeSequenceNode()
212 nodeTag = resolver.resolve(NodeId.mapping, null, startEvent.getImplicit()); in composeMappingNode()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DQName.java325 PrefixResolver resolver) in QName() argument
327 this(qname, namespaceContext, resolver, false); in QName()
342 PrefixResolver resolver, boolean validate) in QName() argument
369 _namespaceURI = resolver.getNamespaceForPrefix(prefix, in QName()
412 public QName(String qname, PrefixResolver resolver) in QName() argument
414 this(qname, resolver, false); in QName()
427 public QName(String qname, PrefixResolver resolver, boolean validate) in QName() argument
445 _namespaceURI = resolver.getNamespaceForPrefix(prefix); in QName()
/external/v8/test/mjsunit/es6/debug-promises/
Dasync-task-event.js50 var resolver; variable
52 resolver = resolve;
59 resolver();
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/partialconstruct/
DFragmentComposer.java24 import org.yaml.snakeyaml.resolver.Resolver;
29 public FragmentComposer(Parser parser, Resolver resolver, String nodeName) { in FragmentComposer() argument
30 super(parser, resolver); in FragmentComposer()
/external/webrtc/webrtc/p2p/stunprober/
Dstunprober.cc294 rtc::AsyncResolverInterface* resolver = in ResolveServerName() local
296 if (!resolver) { in ResolveServerName()
299 resolver->SignalDone.connect(this, &StunProber::OnServerResolved); in ResolveServerName()
300 resolver->Start(addr); in ResolveServerName()
312 void StunProber::OnServerResolved(rtc::AsyncResolverInterface* resolver) { in OnServerResolved() argument
315 if (resolver->GetError() == 0) { in OnServerResolved()
316 rtc::SocketAddress addr(resolver->address().ipaddr(), in OnServerResolved()
317 resolver->address().port()); in OnServerResolved()
325 rtc::Bind(&rtc::AsyncResolverInterface::Destroy, resolver, false)); in OnServerResolved()
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java27 protected MemberResolver resolver; field in MemberCodeGen
35 resolver = new MemberResolver(cp); in MemberCodeGen()
226 CtClass type = resolver.lookupClassByJvmName(decl.getClassName()); in atTryStmnt()
295 CtClass clazz = resolver.lookupClassByName(expr.getClassName()); in atNewExpr()
486 = resolver.lookupClass(((Symbol)e.oprand1()).get(), false); in atCallExpr()
506 resolver.recordPackage(className); in atCallExpr()
511 targetClass = resolver.lookupClass(javaLangObject, true); in atCallExpr()
513 targetClass = resolver.lookupClassByJvmName(className); in atCallExpr()
561 found = resolver.lookupMethod(targetClass, thisClass, thisMethod, in atMethodCallCore()
1040 CtField f = resolver.lookupField(((Symbol)e.oprand1()).get(), in fieldAccess()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DConstructorMappingTest.java28 import org.yaml.snakeyaml.resolver.Resolver;
55 Resolver resolver = new Resolver(); in construct() local
56 Composer composer = new Composer(parser, resolver); in construct()
/external/google-breakpad/src/third_party/libdisasm/
Dx86_disasm.c130 DISASM_RESOLVER resolver, void *r_arg ){ in x86_disasm_forward() argument
159 if ( resolver ) { in x86_disasm_forward()
160 next_addr = resolver(op, &insn, r_arg); in x86_disasm_forward()
176 resolver, r_arg ); in x86_disasm_forward()

12345678910