/external/chromium/chrome/browser/sync/engine/ |
resolve_conflicts_command.cc | 18 ConflictResolver* resolver = session->context()->resolver(); local 19 DCHECK(resolver); 20 if (!resolver) 28 status->update_conflicts_resolved(resolver->ResolveConflicts(dir, status));
|
/external/chromium/net/base/ |
mapped_host_resolver_unittest.cc | 18 // Create a mock host resolver, with specific hostname to IP mappings. 25 // Create a remapped resolver that uses |resolver_impl|. 26 scoped_ptr<MappedHostResolver> resolver( 34 rv = resolver->Resolve(HostResolver::RequestInfo( 40 EXPECT_TRUE(resolver->AddRuleFromString("map *.google.com baz.com")); 43 rv = resolver->Resolve(HostResolver::RequestInfo( 52 rv = resolver->Resolve(HostResolver::RequestInfo(HostPortPair("foo.com", 77)), 59 EXPECT_TRUE(resolver->AddRuleFromString("Map *.org proxy:99")); 62 rv = resolver->Resolve(HostResolver::RequestInfo 72 // Create a mock host resolver, with specific hostname to IP mappings [all...] |
address_family.h | 11 // Enum wrapper around the address family types supported by host resolver 19 // HostResolverFlags is a bitflag enum used by host resolver procedures to 24 // Hint to the resolver proc that only loopback addresses are configured.
|
dnsrr_resolver_unittest.cc | 32 DnsRRResolver resolver; local 35 handle = resolver.Resolve("test.imperialviolet.org", 13172, 0, 47 DnsRRResolver resolver; local 50 handle = resolver.Resolve("google.com", kDNS_TXT, 0, 63 DnsRRResolver resolver; local 66 handle = resolver.Resolve("www.testing.notatld", kDNS_TESTING, 0, 72 ASSERT_EQ(1u, resolver.requests()); 73 ASSERT_EQ(0u, resolver.cache_hits()); 74 ASSERT_EQ(0u, resolver.inflight_joins()); 77 handle = resolver.Resolve("www.testing.notatld", kDNS_TESTING, 0 [all...] |
/external/chromium/net/proxy/ |
proxy_resolver_v8_unittest.cc | 126 ProxyResolverV8WithMockBindings resolver; local 127 int result = resolver.SetPacScriptFromDisk("direct.js"); 132 result = resolver.GetProxyForURL(kQueryUrl, &proxy_info, NULL, NULL, 138 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size()); 139 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()); 148 ProxyResolverV8WithMockBindings resolver; local 149 int result = resolver.SetPacScriptFromDisk("return_empty_string.js"); 153 result = resolver.GetProxyForURL(kQueryUrl, &proxy_info, NULL, NULL, 159 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size()); 160 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size()) 164 ProxyResolverV8WithMockBindings resolver; local 216 ProxyResolverV8WithMockBindings resolver; local 237 ProxyResolverV8WithMockBindings resolver; local 250 ProxyResolverV8WithMockBindings resolver; local 273 ProxyResolverV8WithMockBindings resolver; local 303 ProxyResolverV8WithMockBindings resolver; local 322 ProxyResolverV8WithMockBindings resolver; local 337 ProxyResolverV8WithMockBindings resolver; local 356 ProxyResolverV8WithMockBindings resolver; local 396 ProxyResolverV8WithMockBindings resolver; local 440 ProxyResolverV8WithMockBindings resolver; local 471 ProxyResolverV8WithMockBindings resolver; local 490 ProxyResolverV8WithMockBindings resolver; local 510 ProxyResolverV8WithMockBindings resolver; local 524 ProxyResolverV8WithMockBindings resolver; local [all...] |
proxy_service_unittest.cc | 118 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 121 ProxyConfig::CreateDirect()), resolver, NULL)); 130 EXPECT_TRUE(resolver->pending_requests().empty()); 152 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 155 new ProxyService(config_service, resolver, NULL)); 167 resolver->pending_set_pac_script_request()->script_data()->url()); 168 resolver->pending_set_pac_script_request()->CompleteNow(OK); 170 ASSERT_EQ(1u, resolver->pending_requests().size()); 171 EXPECT_EQ(url, resolver->pending_requests()[0]->url()); 173 // Set the result in proxy resolver 202 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 230 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 288 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 354 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 407 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 497 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 560 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 653 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 880 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 954 MockAsyncProxyResolverExpectsBytes* resolver = local 1034 MockAsyncProxyResolverExpectsBytes* resolver = local 1092 MockAsyncProxyResolverExpectsBytes* resolver = local 1185 MockAsyncProxyResolverExpectsBytes* resolver = local 1256 MockAsyncProxyResolverExpectsBytes* resolver = local 1332 MockAsyncProxyResolverExpectsBytes* resolver = local 1390 MockAsyncProxyResolverExpectsBytes* resolver = local 1458 MockAsyncProxyResolverExpectsBytes* resolver = local 1494 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 1545 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local 1595 MockAsyncProxyResolverExpectsBytes* resolver = local [all...] |
multi_threaded_proxy_resolver_unittest.cc | 197 // |resolver|. 200 explicit ForwardingProxyResolverFactory(ProxyResolver* resolver) 201 : ProxyResolverFactory(resolver->expects_pac_bytes()), 202 resolver_(resolver) {} 222 BlockableProxyResolver* resolver = new BlockableProxyResolver; local 223 resolvers_.push_back(resolver); 224 return new ForwardingProxyResolver(resolver); 238 MultiThreadedProxyResolver resolver( 243 EXPECT_TRUE(resolver.expects_pac_bytes()); 246 // resolver [all...] |
init_proxy_resolver_unittest.cc | 175 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); 185 InitProxyResolver init(&resolver, &fetcher, &log); 187 EXPECT_EQ(rule.text(), resolver.script_data()->utf16()); 211 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); 221 InitProxyResolver init(&resolver, &fetcher, &log); 224 EXPECT_EQ(NULL, resolver.script_data()); 244 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/); 253 InitProxyResolver init(&resolver, &fetcher, NULL); 256 EXPECT_EQ(NULL, resolver.script_data()); 262 RuleBasedProxyResolver resolver(&rules, true /*expects_pac_bytes*/) [all...] |
proxy_resolver_perftest.cc | 80 // proxy resolver implementation. 84 PacPerfSuiteRunner(net::ProxyResolver* resolver, 86 : resolver_(resolver), 151 // Read the PAC script from disk and initialize the proxy resolver with it. 181 net::ProxyResolverWinHttp resolver; local 182 PacPerfSuiteRunner runner(&resolver, "ProxyResolverWinHttp"); 187 net::ProxyResolverMac resolver; local 188 PacPerfSuiteRunner runner(&resolver, "ProxyResolverMac"); 198 net::ProxyResolverV8 resolver(js_bindings); 199 PacPerfSuiteRunner runner(&resolver, "ProxyResolverV8") [all...] |
/bionic/libc/private/ |
resolv_static.h | 7 * 'static' in the original NetBSD resolver code. 10 * when the resolver was being used by multiple threads. 12 * (note: the OpenBSD/FreeBSD resolver has similar 'issues')
|
/external/webkit/LayoutTests/fast/xpath/ |
xpath-detached-iframe-resolver-crash-expected.txt | 1 Ensure that using XPath namespace resolver with a detached iframe doesn't crash.
|
/frameworks/base/core/java/android/database/sqlite/ |
SqliteWrapper.java | 56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, 59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 76 public static int update(Context context, ContentResolver resolver, Uri uri, 79 return resolver.update(uri, values, where, selectionArgs); 87 public static int delete(Context context, ContentResolver resolver, Uri uri, 90 return resolver.delete(uri, where, selectionArgs); 98 public static Uri insert(Context context, ContentResolver resolver, 101 return resolver.insert(uri, values);
|
/external/webkit/Source/WebCore/rendering/ |
InlineIterator.h | 113 static inline void notifyResolverEnteredObject(InlineBidiResolver* resolver, RenderObject* object) 115 if (!resolver || !object || !object->isRenderInline()) 122 resolver->embed(embedCharFromDirection(style->direction(), unicodeBidi), FromStyleOrDOM); 125 static inline void notifyResolverWillExitObject(InlineBidiResolver* resolver, RenderObject* object) 127 if (!resolver || !object || !object->isRenderInline()) 131 resolver->embed(WTF::Unicode::PopDirectionalFormat, FromStyleOrDOM); 136 // a bidi resolver as it enters/exits inlines (so it can push/pop embedding levels). 137 static inline RenderObject* bidiNext(RenderObject* root, RenderObject* current, InlineBidiResolver* resolver = 0, bool skipInlines = true, bool* endOfInlinePtr = 0) 147 notifyResolverEnteredObject(resolver, next); 158 notifyResolverWillExitObject(resolver, current) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContentResolver.java | 27 * A mock content resolver for the LayoutLib Bridge. 30 * the widgets which expect to have a content resolver available via 66 * Stub for the layoutlib bridge content resolver. 75 * Stub for the layoutlib bridge content resolver. 83 * Stub for the layoutlib bridge content resolver. 91 * Stub for the layoutlib bridge content resolver. 99 * Stub for the layoutlib bridge content resolver.
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
XPathFactoryImpl.java | 211 * <p>Establish a default function resolver.</p> 214 * the specified resolver by default.</p> 217 * <code>resolver</code> is <code>null</code>.</p> 219 * @param resolver XPath function resolver. 221 * @throws NullPointerException If <code>resolver</code> is 224 public void setXPathFunctionResolver(XPathFunctionResolver resolver) { 226 // resolver cannot be null 227 if (resolver == null) { 234 xPathFunctionResolver = resolver; [all...] |
JAXPVariableStack.java | 42 private final XPathVariableResolver resolver; field in class:JAXPVariableStack 44 public JAXPVariableStack(XPathVariableResolver resolver) { 46 this.resolver = resolver; 63 Object varValue = resolver.resolveVariable( name );
|
JAXPExtensionsProvider.java | 46 private final XPathFunctionResolver resolver; field in class:JAXPExtensionsProvider 49 public JAXPExtensionsProvider(XPathFunctionResolver resolver) { 50 this.resolver = resolver; 54 public JAXPExtensionsProvider(XPathFunctionResolver resolver, 56 this.resolver = resolver; 76 resolver.resolveFunction ( myQName, 0 ); 128 resolver.resolveFunction ( myQName, arity ); 180 resolver.resolveFunction( myQName, arity ) [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodAndSubtypeUtil.java | 92 private static int getInputMethodSubtypeSelected(ContentResolver resolver) { 94 return Settings.Secure.getInt(resolver, 101 private static boolean isInputMethodSubtypeSelected(ContentResolver resolver) { 102 return getInputMethodSubtypeSelected(resolver) != NOT_A_SUBTYPE_ID; 105 private static void putSelectedInputMethodSubtype(ContentResolver resolver, int hashCode) { 106 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode); 111 ContentResolver resolver) { 113 resolver, Settings.Secure.ENABLED_INPUT_METHODS); 140 private static HashSet<String> getDisabledSystemIMEs(ContentResolver resolver) { 143 resolver, Settings.Secure.DISABLED_SYSTEM_INPUT_METHODS) [all...] |
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/ |
GoogleSettingsContract.java | 46 protected static boolean putString(ContentResolver resolver, Uri uri, 53 resolver.insert(uri, values); 79 * @param resolver to access the database with 83 public static String getString(ContentResolver resolver, String name) { 87 c = resolver.query(CONTENT_URI, new String[] { NameValueTable.VALUE }, 101 * @param resolver to access the database 106 public static String getString(ContentResolver resolver, String name, String defaultValue) { 107 String value = getString(resolver, name); 117 * @param resolver to access the database with 122 public static boolean putString(ContentResolver resolver, [all...] |
/frameworks/base/core/java/com/google/android/mms/util/ |
SqliteWrapper.java | 68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, 71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 88 public static int update(Context context, ContentResolver resolver, Uri uri, 91 return resolver.update(uri, values, where, selectionArgs); 99 public static int delete(Context context, ContentResolver resolver, Uri uri, 102 return resolver.delete(uri, where, selectionArgs); 110 public static Uri insert(Context context, ContentResolver resolver, 113 return resolver.insert(uri, values);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoPriorityResolverTest.java | 35 PhotoPriorityResolver resolver = new PhotoPriorityResolver(getContext()); local 39 resolver.resolvePhotoPriorityFromMetaData("com.android.providers.contacts.tests")); 42 resolver.resolvePhotoPriorityFromMetaData("no.such.package"));
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
MockReader.java | 47 private EntityResolver resolver; field in class:MockReader 70 return resolver; 103 public void setEntityResolver(EntityResolver resolver) { 104 this.resolver = resolver;
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8CustomXPathNSResolver.cpp | 41 PassRefPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(v8::Handle<v8::Object> resolver) 43 return adoptRef(new V8CustomXPathNSResolver(resolver)); 46 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver) 47 : m_resolver(resolver) 60 // Check if the resolver has a function property named lookupNamespaceURI. 75 // Catch exceptions from calling the namespace resolver. 85 // Eat exceptions from namespace resolver and return an empty string. This will most likely cause NAMESPACE_ERR.
|
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProviderTest.java | 37 ContentResolver resolver = getContext().getContentResolver(); local 40 InputStream in = resolver.openInputStream(uri); 52 ContentResolver resolver = getContext().getContentResolver(); local 57 InputStream in = resolver.openInputStream(uri); 70 ContentResolver resolver = getContext().getContentResolver(); local 73 InputStream in = resolver.openInputStream(uri);
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
XPath.java | 48 * set with {@link #setXPathVariableResolver(XPathVariableResolver resolver)}. 49 * An {@link XPathExpressionException} is raised if the variable resolver is undefined or 50 * the resolver returns <code>null</code> for the variable. 58 * set with {@link #setXPathFunctionResolver(XPathFunctionResolver resolver)}. 59 * An {@link XPathExpressionException} is raised if the function resolver is undefined or 60 * the function resolver returns <code>null</code> for the function.</p> 104 * <p>Establish a variable resolver.</p> 106 * <p>A <code>NullPointerException</code> is thrown if <code>resolver</code> is <code>null</code>.</p> 108 * @param resolver Variable resolver [all...] |