/external/sepolicy/ |
D | domain.te | 4 allow domain init:process sigchld; 7 allow domain kernel:fd use; 8 allow domain tmpfs:file { read getattr }; 9 allow domain tmpfs:lnk_file { read getattr }; 12 allow domain tmpfs:dir r_dir_perms; 14 # Intra-domain accesses. 15 allow domain self:process { 32 allow domain self:fd use; 33 allow domain self:dir r_dir_perms; 34 allow domain self:lnk_file r_file_perms; [all …]
|
D | te_macros | 10 # Old domain may exec the file and transition to the new domain. 13 # New domain is entered by executing the file. 15 # New domain can send SIGCHLD to its caller. 36 # file_type_trans(domain, dir_type, file_type) 37 # Allow domain to create a file labeled file_type in a 44 # Allow the domain to add entries to the directory. 46 # Allow the domain to create the file. 52 # file_type_auto_trans(domain, dir_type, file_type) 54 # they are created by domain in directories labeled dir_type. 65 # r_dir_file(domain, type) [all …]
|
D | su.te | 6 # after performing an adb root command. The domain definition is 8 type su, domain, mlstrustedsubject; 15 # Make sure that dumpstate runs the same from the "su" domain as 16 # from the "init" domain. 30 dontaudit su domain:process *; 31 dontaudit su domain:fd *; 32 dontaudit su domain:dir *; 33 dontaudit su domain:lnk_file *; 34 dontaudit su domain:{ fifo_file file } *; 35 dontaudit su domain:socket_class_set *; [all …]
|
D | seapp_contexts | 31 # domain (string) 35 # Only entries that specify domain= will be used for app process labeling. 41 isSystemServer=true domain=system_server 42 user=system seinfo=platform domain=system_app type=system_app_data_file 43 user=bluetooth seinfo=platform domain=bluetooth type=bluetooth_data_file 44 user=nfc seinfo=platform domain=nfc type=nfc_data_file 45 user=radio seinfo=platform domain=radio type=radio_data_file 46 user=shared_relro domain=shared_relro 47 user=shell seinfo=platform domain=shell type=shell_data_file 48 user=_isolated domain=isolated_app levelFrom=user [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/ |
D | InternetDomainNameTest.java | 213 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/ |
D | InternetDomainNameTest.java | 215 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/ |
D | loadmsgcat.c | 772 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 …]
|
D | dcigettext.c | 234 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/ |
D | BasicDomainHandler.java | 79 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 …]
|
D | RFC2109DomainHandler.java | 76 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 …]
|
D | RFC2965DomainAttributeHandler.java | 64 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()
|
D | NetscapeDomainHandler.java | 58 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/skia/src/gpu/effects/ |
D | GrTextureDomain.cpp | 15 GrTextureDomain::GrTextureDomain(const SkRect& domain, Mode mode, int index) in GrTextureDomain() argument 19 if (domain.contains(kFullRect) && kClamp_Mode == mode) { in GrTextureDomain() 29 SkASSERT(domain.fLeft <= domain.fRight); in GrTextureDomain() 30 SkASSERT(domain.fTop <= domain.fBottom); in GrTextureDomain() 31 fDomain.fLeft = SkScalarPin(domain.fLeft, kFullRect.fLeft, kFullRect.fRight); in GrTextureDomain() 32 fDomain.fRight = SkScalarPin(domain.fRight, kFullRect.fLeft, kFullRect.fRight); in GrTextureDomain() 33 fDomain.fTop = SkScalarPin(domain.fTop, kFullRect.fTop, kFullRect.fBottom); in GrTextureDomain() 34 fDomain.fBottom = SkScalarPin(domain.fBottom, kFullRect.fTop, kFullRect.fBottom); in GrTextureDomain() 88 const char* domain = fDomainName.c_str(); in sampleTexture() local 105 domain, domain, domain); in sampleTexture() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | RegularContiguousSet.java | 39 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 …]
|
D | Cut.java | 49 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 …]
|
D | ContiguousSet.java | 53 Range<C> range, DiscreteDomain<C> domain) { in create() argument 55 checkNotNull(domain); in create() 59 effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue())); in create() 62 effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); in create() 71 range.lowerBound.leastValueAbove(domain), in create() 72 range.upperBound.greatestValueBelow(domain)) > 0; in create() 75 ? new EmptyContiguousSet<C>(domain) in create() 76 : new RegularContiguousSet<C>(effectiveRange, domain); in create() 79 final DiscreteDomain<C> domain; field in ContiguousSet 81 ContiguousSet(DiscreteDomain<C> domain) { in ContiguousSet() argument [all …]
|
/external/apache-http/src/org/apache/http/auth/ |
D | NTUserPrincipal.java | 52 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/mdnsresponder/mDNSPosix/ |
D | nss_mdns.conf | 4 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/policycoreutils/mcstrans/src/ |
D | mcstrans.c | 103 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/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | RegularContiguousSet.java | 37 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 …]
|
D | ContiguousSet.java | 50 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/chromium-trace/trace-viewer/third_party/Paste/paste/ |
D | urlmap.py | 42 domain = port = path = None 48 if domain: 50 domain = parts.pop(0) 64 if domain: 65 s = 'http://%s' % domain 67 if not domain: 127 domain = url[0] 129 return domain, url 137 domain, url = url.split('/', 1) 140 domain, url = url, '' [all …]
|
D | urlmap.py.orig | 37 Parses a path expression like 'domain foobar.com port 20 /' or 42 domain = port = path = None 44 if parts[0] == 'domain': 47 raise ValueError("'domain' must be followed with a domain name") 48 if domain: 49 raise ValueError("'domain' given twice") 50 domain = parts.pop(0) 64 if domain: 65 s = 'http://%s' % domain 67 if not domain: [all …]
|
/external/llvm/lib/CodeGen/ |
D | ExecutionDepsFix.cpp | 77 bool hasDomain(unsigned domain) const { in hasDomain() 78 assert(domain < in hasDomain() 81 return AvailableDomains & (1u << domain); in hasDomain() 85 void addDomain(unsigned domain) { in addDomain() 86 AvailableDomains |= 1u << domain; in addDomain() 90 void setSingleDomain(unsigned domain) { in setSingleDomain() 91 AvailableDomains = 1u << domain; in setSingleDomain() 180 DomainValue *alloc(int domain = -1); 191 void force(int rx, unsigned domain); 192 void collapse(DomainValue *dv, unsigned domain); [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | HypergeometricDistributionImpl.java | 86 int[] domain = getDomain(populationSize, numberOfSuccesses, sampleSize); in cumulativeProbability() local 87 if (x < domain[0]) { in cumulativeProbability() 89 } else if (x >= domain[1]) { in cumulativeProbability() 92 ret = innerCumulativeProbability(domain[0], x, 1, populationSize, in cumulativeProbability() 199 int[] domain = getDomain(populationSize, numberOfSuccesses, sampleSize); in probability() local 200 if (x < domain[0] || x > domain[1]) { in probability() 321 final int[] domain = getDomain(populationSize, numberOfSuccesses, sampleSize); in upperCumulativeProbability() local 322 if (x < domain[0]) { in upperCumulativeProbability() 324 } else if (x > domain[1]) { in upperCumulativeProbability() 327 … ret = innerCumulativeProbability(domain[1], x, -1, populationSize, numberOfSuccesses, sampleSize); in upperCumulativeProbability()
|