/external/chromium/net/proxy/ |
D | proxy_service_unittest.cc | 118 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; in TEST() local 121 ProxyConfig::CreateDirect()), resolver, NULL)); in TEST() 130 EXPECT_TRUE(resolver->pending_requests().empty()); in TEST() 152 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; in TEST() local 155 new ProxyService(config_service, resolver, NULL)); in TEST() 167 resolver->pending_set_pac_script_request()->script_data()->url()); in TEST() 168 resolver->pending_set_pac_script_request()->CompleteNow(OK); in TEST() 170 ASSERT_EQ(1u, resolver->pending_requests().size()); in TEST() 171 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); in TEST() 174 resolver->pending_requests()[0]->results()->UseNamedProxy("foopy"); in TEST() [all …]
|
D | proxy_resolver_v8_unittest.cc | 126 ProxyResolverV8WithMockBindings resolver; in TEST() local 127 int result = resolver.SetPacScriptFromDisk("direct.js"); in TEST() 132 result = resolver.GetProxyForURL(kQueryUrl, &proxy_info, NULL, NULL, in TEST() 138 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size()); in TEST() 139 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); in TEST() 148 ProxyResolverV8WithMockBindings resolver; in TEST() local 149 int result = resolver.SetPacScriptFromDisk("return_empty_string.js"); in TEST() 153 result = resolver.GetProxyForURL(kQueryUrl, &proxy_info, NULL, NULL, in TEST() 159 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size()); in TEST() 160 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); in TEST() [all …]
|
D | multi_threaded_proxy_resolver_unittest.cc | 200 explicit ForwardingProxyResolverFactory(ProxyResolver* resolver) in ForwardingProxyResolverFactory() argument 201 : ProxyResolverFactory(resolver->expects_pac_bytes()), in ForwardingProxyResolverFactory() 202 resolver_(resolver) {} in ForwardingProxyResolverFactory() 222 BlockableProxyResolver* resolver = new BlockableProxyResolver; in CreateProxyResolver() local 223 resolvers_.push_back(resolver); in CreateProxyResolver() 224 return new ForwardingProxyResolver(resolver); in CreateProxyResolver() 238 MultiThreadedProxyResolver resolver( in TEST() local 243 EXPECT_TRUE(resolver.expects_pac_bytes()); in TEST() 248 rv = resolver.SetPacScript( in TEST() 260 rv = resolver.GetProxyForURL( in TEST() [all …]
|
D | init_proxy_resolver_unittest.cc | 175 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); in TEST() local 185 InitProxyResolver init(&resolver, &fetcher, &log); in TEST() 187 EXPECT_EQ(rule.text(), resolver.script_data()->utf16()); in TEST() 211 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); in TEST() local 221 InitProxyResolver init(&resolver, &fetcher, &log); in TEST() 224 EXPECT_EQ(NULL, resolver.script_data()); in TEST() 244 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); in TEST() local 253 InitProxyResolver init(&resolver, &fetcher, NULL); in TEST() 256 EXPECT_EQ(NULL, resolver.script_data()); in TEST() 262 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); in TEST() local [all …]
|
D | multi_threaded_proxy_resolver.cc | 26 explicit PurgeMemoryTask(ProxyResolver* resolver) : resolver_(resolver) {} in PurgeMemoryTask() argument 48 ProxyResolver* resolver, 66 ProxyResolver* resolver() { return resolver_.get(); } in resolver() function in net::MultiThreadedProxyResolver::Executor 192 ProxyResolver* resolver = executor()->resolver(); in Run() local 193 int rv = resolver->SetPacScript(script_data_, NULL); in Run() 257 ProxyResolver* resolver = executor()->resolver(); in Run() local 258 int rv = resolver->GetProxyForURL( in Run() 297 ProxyResolver* resolver, in Executor() argument 301 resolver_(resolver) { in Executor() 303 DCHECK(resolver); in Executor() [all …]
|
D | proxy_resolver_perftest.cc | 84 PacPerfSuiteRunner(net::ProxyResolver* resolver, in PacPerfSuiteRunner() argument 86 : resolver_(resolver), in PacPerfSuiteRunner() 181 net::ProxyResolverWinHttp resolver; in TEST() local 182 PacPerfSuiteRunner runner(&resolver, "ProxyResolverWinHttp"); in TEST() 187 net::ProxyResolverMac resolver; in TEST() local 188 PacPerfSuiteRunner runner(&resolver, "ProxyResolverMac"); in TEST() 198 net::ProxyResolverV8 resolver(js_bindings); in TEST() local 199 PacPerfSuiteRunner runner(&resolver, "ProxyResolverV8"); in TEST()
|
D | mock_proxy_resolver.cc | 13 MockAsyncProxyResolverBase* resolver, in Request() argument 17 : resolver_(resolver), in Request() 37 MockAsyncProxyResolverBase* resolver, in SetPacScriptRequest() argument 40 : resolver_(resolver), in SetPacScriptRequest()
|
/external/chromium/net/base/ |
D | dnsrr_resolver_unittest.cc | 32 DnsRRResolver resolver; in TEST_F() local 35 handle = resolver.Resolve("test.imperialviolet.org", 13172, 0, in TEST_F() 47 DnsRRResolver resolver; in TEST_F() local 50 handle = resolver.Resolve("google.com", kDNS_TXT, 0, in TEST_F() 63 DnsRRResolver resolver; in TEST_F() local 66 handle = resolver.Resolve("www.testing.notatld", kDNS_TESTING, 0, in TEST_F() 72 ASSERT_EQ(1u, resolver.requests()); in TEST_F() 73 ASSERT_EQ(0u, resolver.cache_hits()); in TEST_F() 74 ASSERT_EQ(0u, resolver.inflight_joins()); in TEST_F() 77 handle = resolver.Resolve("www.testing.notatld", kDNS_TESTING, 0, in TEST_F() [all …]
|
D | mapped_host_resolver_unittest.cc | 26 scoped_ptr<MappedHostResolver> resolver( in TEST() local 34 rv = resolver->Resolve(HostResolver::RequestInfo( in TEST() 40 EXPECT_TRUE(resolver->AddRuleFromString("map *.google.com baz.com")); in TEST() 43 rv = resolver->Resolve(HostResolver::RequestInfo( in TEST() 52 rv = resolver->Resolve(HostResolver::RequestInfo(HostPortPair("foo.com", 77)), in TEST() 59 EXPECT_TRUE(resolver->AddRuleFromString("Map *.org proxy:99")); in TEST() 62 rv = resolver->Resolve(HostResolver::RequestInfo in TEST() 78 scoped_ptr<MappedHostResolver> resolver( in TEST() local 85 EXPECT_TRUE(resolver->AddRuleFromString("map *.com baz")); in TEST() 88 EXPECT_TRUE(resolver->AddRuleFromString("EXCLUDE *.google.com")); in TEST() [all …]
|
/external/webkit/Source/WebCore/rendering/ |
D | InlineIterator.h | 113 static inline void notifyResolverEnteredObject(InlineBidiResolver* resolver, RenderObject* object) in notifyResolverEnteredObject() argument 115 if (!resolver || !object || !object->isRenderInline()) in notifyResolverEnteredObject() 122 resolver->embed(embedCharFromDirection(style->direction(), unicodeBidi), FromStyleOrDOM); in notifyResolverEnteredObject() 125 static inline void notifyResolverWillExitObject(InlineBidiResolver* resolver, RenderObject* object) in notifyResolverWillExitObject() argument 127 if (!resolver || !object || !object->isRenderInline()) in notifyResolverWillExitObject() 131 resolver->embed(WTF::Unicode::PopDirectionalFormat, FromStyleOrDOM); in notifyResolverWillExitObject() 137 …bidiNext(RenderObject* root, RenderObject* current, InlineBidiResolver* resolver = 0, bool skipInl… 147 notifyResolverEnteredObject(resolver, next); 158 notifyResolverWillExitObject(resolver, current); 162 notifyResolverEnteredObject(resolver, next); [all …]
|
D | RenderBlockLineLayout.cpp | 128 …atic inline BidiRun* createRun(int start, int end, RenderObject* obj, InlineBidiResolver& resolver) in createRun() argument 130 return new (obj->renderArena()) BidiRun(start, end, obj, resolver.context(), resolver.dir()); in createRun() 133 …ct(BidiRunList<BidiRun>& runs, int start, int end, RenderObject* obj, InlineBidiResolver& resolver) in appendRunsForObject() argument 139 LineMidpointState& lineMidpointState = resolver.midpointState(); in appendRunsForObject() 153 return appendRunsForObject(runs, start, end, obj, resolver); in appendRunsForObject() 156 runs.addRun(createRun(start, end, obj, resolver)); in appendRunsForObject() 167 runs.addRun(createRun(start, nextMidpoint.m_pos + 1, obj, resolver)); in appendRunsForObject() 168 return appendRunsForObject(runs, nextMidpoint.m_pos + 1, end, obj, resolver); in appendRunsForObject() 171 runs.addRun(createRun(start, end, obj, resolver)); in appendRunsForObject() 909 InlineBidiResolver resolver; in layoutInlineChildren() local [all …]
|
/external/chromium/chrome/browser/sync/engine/ |
D | resolve_conflicts_command.cc | 18 ConflictResolver* resolver = session->context()->resolver(); in ModelChangingExecuteImpl() local 19 DCHECK(resolver); in ModelChangingExecuteImpl() 20 if (!resolver) in ModelChangingExecuteImpl() 28 status->update_conflicts_resolved(resolver->ResolveConflicts(dir, status)); in ModelChangingExecuteImpl()
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
D | JAXPExtensionsProvider.java | 46 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()
|
D | JAXPVariableStack.java | 42 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()
|
D | XPathFactoryImpl.java | 224 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()
|
D | XPathImpl.java | 88 public void setXPathVariableResolver(XPathVariableResolver resolver) { in setXPathVariableResolver() argument 89 if ( resolver == null ) { in setXPathVariableResolver() 95 this.variableResolver = resolver; in setXPathVariableResolver() 112 public void setXPathFunctionResolver(XPathFunctionResolver resolver) { in setXPathFunctionResolver() argument 113 if ( resolver == null ) { in setXPathFunctionResolver() 119 this.functionResolver = resolver; in setXPathFunctionResolver()
|
/external/webkit/Source/WebCore/xml/ |
D | XPathEvaluator.cpp | 44 XPathNSResolver* resolver, in createExpression() argument 47 return XPathExpression::createExpression(expression, resolver, ec); in createExpression() 57 XPathNSResolver* resolver, in evaluate() argument 68 RefPtr<XPathExpression> expr = createExpression(expression, resolver, ec); in evaluate()
|
D | XPathExpression.cpp | 45 …Expression::createExpression(const String& expression, XPathNSResolver* resolver, ExceptionCode& e… in createExpression() argument 50 expr->m_topExpression = parser.parseStatement(expression, resolver, ec); in createExpression()
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8CustomXPathNSResolver.cpp | 41 PassRefPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(v8::Handle<v8::Object> resolver) in create() argument 43 return adoptRef(new V8CustomXPathNSResolver(resolver)); in create() 46 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver) in V8CustomXPathNSResolver() argument 47 : m_resolver(resolver) in V8CustomXPathNSResolver()
|
D | V8CustomXPathNSResolver.h | 51 static PassRefPtr<V8CustomXPathNSResolver> create(v8::Handle<v8::Object> resolver); 57 explicit V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver);
|
/external/chromium/chrome/browser/sync/sessions/ |
D | sync_session_context.h | 55 ConflictResolver* resolver() { return resolver_; } in resolver() function 151 ConflictResolver* resolver) in ScopedSessionContextConflictResolver() argument 152 : context_(context), resolver_(resolver) { in ScopedSessionContextConflictResolver() 154 context->resolver_ = resolver; in ScopedSessionContextConflictResolver()
|
D | sync_session_unittest.cc | 102 ConflictResolver resolver; in TEST_F() local 103 EXPECT_FALSE(context_->resolver()); in TEST_F() 105 ScopedSessionContextConflictResolver s_resolver(context_.get(), &resolver); in TEST_F() 106 EXPECT_EQ(&resolver, context_->resolver()); in TEST_F() 108 EXPECT_FALSE(context_->resolver()); in TEST_F()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | QName.java | 325 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/collada/src/dae/ |
D | daeIDRef.cpp | 159 void daeIDRefResolverList::addResolver(daeIDRefResolver* resolver) { in addResolver() argument 160 resolvers.append(resolver); in addResolver() 163 void daeIDRefResolverList::removeResolver(daeIDRefResolver* resolver) { in removeResolver() argument 164 resolvers.remove(resolver); in removeResolver()
|
/external/javassist/src/main/javassist/compiler/ |
D | MemberCodeGen.java | 27 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 …]
|