Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 973) sorted by relevance

12345678910>>...39

/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/
DInternetDomainNameTest.java213 final InternetDomainName domain = InternetDomainName.from(name); in testPublicSuffix() local
214 assertTrue(name, domain.isPublicSuffix()); in testPublicSuffix()
215 assertTrue(name, domain.hasPublicSuffix()); in testPublicSuffix()
216 assertFalse(name, domain.isUnderPublicSuffix()); in testPublicSuffix()
217 assertFalse(name, domain.isTopPrivateDomain()); in testPublicSuffix()
218 assertEquals(domain, domain.publicSuffix()); in testPublicSuffix()
222 final InternetDomainName domain = InternetDomainName.from(name); in testPublicSuffix() local
223 assertFalse(name, domain.isPublicSuffix()); in testPublicSuffix()
224 assertFalse(name, domain.hasPublicSuffix()); in testPublicSuffix()
225 assertFalse(name, domain.isUnderPublicSuffix()); in testPublicSuffix()
[all …]
/external/guava/guava-tests/test/com/google/common/net/
DInternetDomainNameTest.java215 final InternetDomainName domain = InternetDomainName.from(name); in testPublicSuffix() local
216 assertTrue(name, domain.isPublicSuffix()); in testPublicSuffix()
217 assertTrue(name, domain.hasPublicSuffix()); in testPublicSuffix()
218 assertFalse(name, domain.isUnderPublicSuffix()); in testPublicSuffix()
219 assertFalse(name, domain.isTopPrivateDomain()); in testPublicSuffix()
220 assertEquals(domain, domain.publicSuffix()); in testPublicSuffix()
224 final InternetDomainName domain = InternetDomainName.from(name); in testPublicSuffix() local
225 assertFalse(name, domain.isPublicSuffix()); in testPublicSuffix()
226 assertFalse(name, domain.hasPublicSuffix()); in testPublicSuffix()
227 assertFalse(name, domain.isUnderPublicSuffix()); in testPublicSuffix()
[all …]
/external/e2fsprogs/intl/
Dloadmsgcat.c772 struct loaded_domain *domain, in _nl_init_domain_conv() argument
784 domain->codeset_cntr = in _nl_init_domain_conv()
787 domain->conv = (__gconv_t) -1; in _nl_init_domain_conv()
790 domain->conv = (iconv_t) -1; in _nl_init_domain_conv()
793 domain->conv_tab = NULL; in _nl_init_domain_conv()
848 if (__gconv_open (outcharset, charset, &domain->conv, in _nl_init_domain_conv()
851 domain->conv = (__gconv_t) -1; in _nl_init_domain_conv()
868 domain->conv = iconv_open (outcharset, charset); in _nl_init_domain_conv()
874 domain->conv = iconv_open (outcharset, charset); in _nl_init_domain_conv()
889 _nl_free_domain_conv (struct loaded_domain *domain) in _nl_free_domain_conv() argument
[all …]
Ddcigettext.c234 struct loaded_l10nfile *domain; member
309 static char *plural_lookup (struct loaded_l10nfile *domain,
434 struct loaded_l10nfile *domain; in DCIGETTEXT() local
494 retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation, in DCIGETTEXT()
617 domain = _nl_find_domain (dirname, single_locale, xdomainname, binding); in DCIGETTEXT()
619 if (domain != NULL) in DCIGETTEXT()
621 retval = _nl_find_msg (domain, binding, msgid1, &retlen); in DCIGETTEXT()
627 for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) in DCIGETTEXT()
629 retval = _nl_find_msg (domain->successor[cnt], binding, in DCIGETTEXT()
634 domain = domain->successor[cnt]; in DCIGETTEXT()
[all …]
/external/apache-http/src/org/apache/http/impl/cookie/
DBasicDomainHandler.java79 String domain = cookie.getDomain(); in validate() local
80 if (domain == null) { in validate()
88 if (!host.endsWith(domain)) { in validate()
89 if (domain.startsWith(".")) { in validate()
90 domain = domain.substring(1, domain.length()); in validate()
92 if (!host.equals(domain)) { in validate()
94 "Illegal domain attribute \"" + domain in validate()
99 if (!host.equals(domain)) { in validate()
101 "Illegal domain attribute \"" + domain in validate()
115 String domain = cookie.getDomain(); in match() local
[all …]
DRFC2109DomainHandler.java76 String domain = cookie.getDomain(); in validate() local
77 if (domain == null) { in validate()
80 if (!domain.equals(host)) { in validate()
81 int dotIndex = domain.indexOf('.'); in validate()
84 + domain in validate()
89 if (!domain.startsWith(".")) { in validate()
91 + domain in validate()
95 dotIndex = domain.indexOf('.', 1); in validate()
96 if (dotIndex < 0 || dotIndex == domain.length() - 1) { in validate()
98 + domain in validate()
[all …]
DRFC2965DomainAttributeHandler.java64 public void parse(final SetCookie cookie, String domain) in parse() argument
69 if (domain == null) { in parse()
73 if (domain.trim().length() == 0) { in parse()
77 domain = domain.toLowerCase(Locale.ENGLISH); in parse()
78 if (!domain.startsWith(".")) { in parse()
84 domain = '.' + domain; in parse()
86 cookie.setDomain(domain); in parse()
104 public boolean domainMatch(String host, String domain) { in domainMatch() argument
105 boolean match = host.equals(domain) in domainMatch()
106 || (domain.startsWith(".") && host.endsWith(domain)); in domainMatch()
DNetscapeDomainHandler.java58 String domain = cookie.getDomain(); in validate() local
60 int domainParts = new StringTokenizer(domain, ".").countTokens(); in validate()
62 if (isSpecialDomain(domain)) { in validate()
65 + domain in validate()
72 + domain in validate()
85 private static boolean isSpecialDomain(final String domain) { in isSpecialDomain() argument
86 final String ucDomain = domain.toUpperCase(Locale.ENGLISH); in isSpecialDomain()
105 String domain = cookie.getDomain(); in match() local
106 if (domain == null) { in match()
109 return host.endsWith(domain); in match()
/external/libbrillo/brillo/errors/
Derror.cc15 const std::string& domain, in LogError() argument
25 << "Domain=" << domain << ", Code=" << code << ", Message=" << message; in LogError()
30 const std::string& domain, in Create() argument
33 return Create(location, domain, code, message, ErrorPtr()); in Create()
37 const std::string& domain, in Create() argument
41 LogError(location, domain, code, message); in Create()
43 new Error(location, domain, code, message, std::move(inner_error))); in Create()
48 const std::string& domain, in AddTo() argument
52 *error = Create(location, domain, code, message, std::move(*error)); in AddTo()
56 LogError(location, domain, code, message); in AddTo()
[all …]
/external/guava/guava/src/com/google/common/collect/
DRegularContiguousSet.java39 RegularContiguousSet(Range<C> range, DiscreteDomain<C> domain) { in RegularContiguousSet() argument
40 super(domain); in RegularContiguousSet()
46 ? ContiguousSet.create(range.intersection(other), domain) in intersectionInCurrentDomain()
47 : new EmptyContiguousSet<C>(domain); in intersectionInCurrentDomain()
58 return new EmptyContiguousSet<C>(domain); in subSetImpl()
71 return contains(target) ? (int) domain.distance(first(), (C) target) : -1; in indexOf()
80 return equalsOrThrow(previous, last) ? null : domain.next(previous); in iterator()
92 return equalsOrThrow(previous, first) ? null : domain.previous(previous); in descendingIterator()
106 return range.lowerBound.leastValueAbove(domain);
110 return range.upperBound.greatestValueBelow(domain);
[all …]
DCut.java49 abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain); in withLowerBoundType() argument
50 abstract Cut<C> withUpperBoundType(BoundType boundType, DiscreteDomain<C> domain); in withUpperBoundType() argument
55 abstract C leastValueAbove(DiscreteDomain<C> domain); in leastValueAbove() argument
56 abstract C greatestValueBelow(DiscreteDomain<C> domain); in greatestValueBelow() argument
62 Cut<C> canonical(DiscreteDomain<C> domain) { in canonical() argument
132 DiscreteDomain<Comparable<?>> domain) { in withLowerBoundType() argument
136 DiscreteDomain<Comparable<?>> domain) { in withUpperBoundType() argument
146 DiscreteDomain<Comparable<?>> domain) { in leastValueAbove() argument
147 return domain.minValue(); in leastValueAbove()
150 DiscreteDomain<Comparable<?>> domain) { in greatestValueBelow() argument
[all …]
/external/curl/tests/data/
Dtest3119 Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
20 Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/
21 Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/
22 Set-Cookie: overwrite=this2 ; domain=127.0.0.1; path=/overwrite
23 Set-Cookie: sec1value=secure1 ; domain=127.0.0.1; path=/secure1/ ; secure
24 Set-Cookie: sec2value=secure2 ; domain=127.0.0.1; path=/secure2/ ; secure=
25 Set-Cookie: sec3value=secure3 ; domain=127.0.0.1; path=/secure3/ ; secure=
26 Set-Cookie: sec4value=secure4 ; secure=; domain=127.0.0.1; path=/secure4/ ;
27 Set-Cookie: sec5value=secure5 ; secure; domain=127.0.0.1; path=/secure5/ ;
28 Set-Cookie: sec6value=secure6 ; secure ; domain=127.0.0.1; path=/secure6/ ;
[all …]
/external/apache-http/src/org/apache/http/auth/
DNTUserPrincipal.java52 private final String domain; field in NTUserPrincipal
56 final String domain, in NTUserPrincipal() argument
63 if (domain != null) { in NTUserPrincipal()
64 this.domain = domain.toUpperCase(Locale.ENGLISH); in NTUserPrincipal()
66 this.domain = null; in NTUserPrincipal()
68 if (this.domain != null && this.domain.length() > 0) { in NTUserPrincipal()
70 buffer.append(this.domain); in NTUserPrincipal()
84 return this.domain; in getDomain()
95 hash = LangUtils.hashCode(hash, this.domain); in hashCode()
106 && LangUtils.equals(this.domain, that.domain)) { in equals()
/external/skia/src/gpu/effects/
DGrTextureDomain.cpp23 static bool can_ignore_rect(GrTextureProxy* proxy, const SkRect& domain) { in can_ignore_rect() argument
27 return domain.contains(kFullRect); in can_ignore_rect()
33 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode mode, int index) in GrTextureDomain() argument
41 if (kClamp_Mode == mode && can_ignore_rect(proxy, domain)) { in GrTextureDomain()
51 SkASSERT(domain.fLeft <= domain.fRight); in GrTextureDomain()
52 SkASSERT(domain.fTop <= domain.fBottom); in GrTextureDomain()
53 fDomain.fLeft = SkScalarPin(domain.fLeft, 0.0f, kFullRect.fRight); in GrTextureDomain()
54 fDomain.fRight = SkScalarPin(domain.fRight, fDomain.fLeft, kFullRect.fRight); in GrTextureDomain()
55 fDomain.fTop = SkScalarPin(domain.fTop, 0.0f, kFullRect.fBottom); in GrTextureDomain()
56 fDomain.fBottom = SkScalarPin(domain.fBottom, fDomain.fTop, kFullRect.fBottom); in GrTextureDomain()
[all …]
DGrTextureDomain.h56 GrTextureDomain(GrTextureProxy*, const SkRect& domain, Mode, int index = -1);
58 const SkRect& domain() const { return fDomain; } in domain() function
129 static uint32_t DomainKey(const GrTextureDomain& domain) { in DomainKey() argument
131 return domain.mode(); in DomainKey()
157 const SkRect& domain,
166 fTextureDomain.domain().fLeft, fTextureDomain.domain().fTop, in dumpInfo()
167 fTextureDomain.domain().fRight, fTextureDomain.domain().fBottom); in dumpInfo()
178 const SkRect& domain,
206 fTextureDomain.domain().fLeft, fTextureDomain.domain().fTop, in dumpInfo()
207 fTextureDomain.domain().fRight, fTextureDomain.domain().fBottom, in dumpInfo()
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.conf4 domain local
5 domain 254.169.in-addr.arpa
6 domain 8.e.f.ip6.int
7 domain 9.e.f.ip6.int
8 domain a.e.f.ip6.int
9 domain b.e.f.ip6.int
10 domain 8.e.f.ip6.arpa
11 domain 9.e.f.ip6.arpa
12 domain a.e.f.ip6.arpa
13 domain b.e.f.ip6.arpa
/external/selinux/mcstrans/src/
Dmcstrans.c103 typedef struct domain { struct
113 struct domain *next; argument
361 destroy_domain(domain_t *domain) { in destroy_domain() argument
366 for (ptr = domain->trans_to_raw[i]; ptr;) { in destroy_domain()
372 domain->trans_to_raw[i] = NULL; in destroy_domain()
376 for (ptr = domain->raw_to_trans[i]; ptr;) { in destroy_domain()
385 domain->raw_to_trans[i] = NULL; in destroy_domain()
387 while (domain->base_classifications) { in destroy_domain()
388 base_classification_t *next = domain->base_classifications->next; in destroy_domain()
389 free(domain->base_classifications->trans); in destroy_domain()
[all …]
/external/python/cpython2/Lib/
Dcookielib.py743 domain, domain_specified, domain_initial_dot, argument
765 self.domain = domain.lower()
799 limit = self.domain + p + self.path
843 def domain_return_ok(self, domain, request): argument
904 def is_blocked(self, domain): argument
906 if user_domain_match(domain, blocked_domain):
919 def is_not_allowed(self, domain): argument
923 if user_domain_match(domain, allowed_domain):
994 if self.is_blocked(cookie.domain):
995 _debug(" domain %s is in user block-list", cookie.domain)
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularContiguousSet.java37 RegularContiguousSet(Range<C> range, DiscreteDomain<C> domain) { in RegularContiguousSet() argument
38 super(domain); in RegularContiguousSet()
44 ? ContiguousSet.create(range.intersection(other), domain) in intersectionInCurrentDomain()
45 : new EmptyContiguousSet<C>(domain); in intersectionInCurrentDomain()
56 return new EmptyContiguousSet<C>(domain); in subSetImpl()
73 return equalsOrThrow(previous, last) ? null : domain.next(previous); in iterator()
87 return range.lowerBound.leastValueAbove(domain); in first()
91 return range.upperBound.greatestValueBelow(domain); in last()
95 long distance = domain.distance(first(), last()); in size()
120 checkArgument(this.domain.equals(other.domain)); in intersection()
[all …]
DContiguousSet.java50 Range<C> range, DiscreteDomain<C> domain) { in create() argument
52 checkNotNull(domain); in create()
56 effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue())); in create()
59 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create()
68 range.lowerBound.leastValueAbove(domain), in create()
69 range.upperBound.greatestValueBelow(domain)) > 0; in create()
72 ? new EmptyContiguousSet<C>(domain) in create()
73 : new RegularContiguousSet<C>(effectiveRange, domain); in create()
76 final DiscreteDomain<C> domain; field in ContiguousSet
78 ContiguousSet(DiscreteDomain<C> domain) { in ContiguousSet() argument
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DExecutionDepsFix.cpp71 bool hasDomain(unsigned domain) const { in hasDomain()
72 return AvailableDomains & (1u << domain); in hasDomain()
76 void addDomain(unsigned domain) { in addDomain()
77 AvailableDomains |= 1u << domain; in addDomain()
81 void setSingleDomain(unsigned domain) { in setSingleDomain()
82 AvailableDomains = 1u << domain; in setSingleDomain()
142 DomainValue *Alloc(int domain = -1);
148 void Force(int rx, unsigned domain);
149 void Collapse(DomainValue *dv, unsigned domain);
155 void visitHardInstr(MachineInstr*, unsigned domain);
[all …]
/external/autotest/client/cros/
Dpower_rapl.py47 for domain in set(domains):
48 rapl_list.append(Rapl(domain))
98 def __init__(self, domain): argument
107 if domain not in VALID_DOMAINS:
109 (domain, ", ".join(VALID_DOMAINS)))
110 super(Rapl, self).__init__(domain)
113 logging.debug("RAPL %s joules_per_lsb = %.3e", domain,
164 msr = self._DOMAIN_MSRS[self.domain]['energy_status']
168 def domain(self): member in Rapl
174 return self.domain
[all …]
/external/curl/lib/
Dcookie.c109 free(co->domain); in freecookie()
330 static bool isip(const char *domain) in isip() argument
337 if(Curl_inet_pton(AF_INET, domain, &addr) in isip()
339 || Curl_inet_pton(AF_INET6, domain, &addr6) in isip()
371 const char *domain, /* default domain */ in Curl_cookie_add() argument
502 is_ip = isip(domain ? domain : whatptr); in Curl_cookie_add()
507 domain=":"; in Curl_cookie_add()
509 if(!domain in Curl_cookie_add()
510 || (is_ip && !strcmp(whatptr, domain)) in Curl_cookie_add()
511 || (!is_ip && tailmatch(whatptr, domain))) { in Curl_cookie_add()
[all …]
/external/v8/tools/
Dcallstats.py158 def run_site(site, domain, args, timeout=None): argument
160 print "RUNNING DOMAIN %s" % domain
171 result = result_template.format(domain=domain, count=count)
261 domain = None
262 if args.domain:
263 domain = args.domain
265 domain = item['domain']
271 domain = m.group(2)
272 entry = [site, domain, None, item['timeout']]
273 if domain not in domains:
[all …]
/external/syslinux/com32/lib/pci/
Dscan.c66 int get_module_name_from_pcimap(struct pci_domain *domain, in get_module_name_from_pcimap() argument
81 for_each_pci_func(dev, domain) { in get_module_name_from_pcimap()
141 for_each_pci_func(dev, domain) { in get_module_name_from_pcimap()
173 int get_class_name_from_pci_ids(struct pci_domain *domain, char *pciids_path) in get_class_name_from_pci_ids() argument
186 for_each_pci_func(dev, domain) { in get_class_name_from_pci_ids()
227 for_each_pci_func(dev, domain) { in get_class_name_from_pci_ids()
251 for_each_pci_func(dev, domain) { in get_class_name_from_pci_ids()
266 int get_name_from_pci_ids(struct pci_domain *domain, char *pciids_path) in get_name_from_pci_ids() argument
285 for_each_pci_func(dev, domain) { in get_name_from_pci_ids()
335 for_each_pci_func(dev, domain) { in get_name_from_pci_ids()
[all …]

12345678910>>...39