/external/apache-http/src/org/apache/http/impl/cookie/ |
D | RFC2965Spec.java | 84 final String name, final String value, final CookieOrigin origin) { in createCookie() argument 86 cookie.setPath(getDefaultPath(origin)); in createCookie() 87 cookie.setDomain(getDefaultDomain(origin)); in createCookie() 92 final String name, final String value, final CookieOrigin origin) { in createCookie2() argument 94 cookie.setPath(getDefaultPath(origin)); in createCookie2() 95 cookie.setDomain(getDefaultDomain(origin)); in createCookie2() 96 cookie.setPorts(new int [] { origin.getPort() }); in createCookie2() 103 CookieOrigin origin) throws MalformedCookieException { in parse() argument 107 if (origin == null) { in parse() 111 origin = adjustEffectiveHost(origin); in parse() [all …]
|
D | CookieSpecBase.java | 59 protected static String getDefaultPath(final CookieOrigin origin) { in getDefaultPath() argument 60 String defaultPath = origin.getPath(); in getDefaultPath() 72 protected static String getDefaultDomain(final CookieOrigin origin) { in getDefaultDomain() argument 73 return origin.getHost(); in getDefaultDomain() 76 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin) in parse() argument 87 cookie.setPath(getDefaultPath(origin)); in parse() 88 cookie.setDomain(getDefaultDomain(origin)); in parse() 108 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument 113 if (origin == null) { in validate() 117 handler.validate(cookie, origin); in validate() [all …]
|
D | BestMatchSpec.java | 102 final CookieOrigin origin) throws MalformedCookieException { in parse() argument 106 if (origin == null) { in parse() 125 return getStrict().parse(helems, origin); in parse() 130 return getNetscape().parse(header, origin); in parse() 132 return getCompat().parse(helems, origin); in parse() 138 final CookieOrigin origin) throws MalformedCookieException { in validate() argument 142 if (origin == null) { in validate() 146 getStrict().validate(cookie, origin); in validate() 148 getCompat().validate(cookie, origin); in validate() 152 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match() argument [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ |
D | nsbase.py | 36 def to_text(self, origin=None, relativize=True, **kw): argument 37 target = self.target.choose_relativity(origin, relativize) 40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 42 target = target.choose_relativity(origin, relativize) 48 def to_wire(self, file, compress = None, origin = None): argument 49 self.target.to_wire(file, compress, origin) 51 def to_digestable(self, origin = None): argument 52 return self.target.to_digestable(origin) 54 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 59 if not origin is None: [all …]
|
D | mxbase.py | 40 def to_text(self, origin=None, relativize=True, **kw): argument 41 exchange = self.exchange.choose_relativity(origin, relativize) 44 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 47 exchange = exchange.choose_relativity(origin, relativize) 53 def to_wire(self, file, compress = None, origin = None): argument 56 self.exchange.to_wire(file, compress, origin) 58 def to_digestable(self, origin = None): argument 60 self.exchange.to_digestable(origin) 62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 70 if not origin is None: [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
D | RP.py | 37 def to_text(self, origin=None, relativize=True, **kw): argument 38 mbox = self.mbox.choose_relativity(origin, relativize) 39 txt = self.txt.choose_relativity(origin, relativize) 42 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 45 mbox = mbox.choose_relativity(origin, relativize) 46 txt = txt.choose_relativity(origin, relativize) 52 def to_wire(self, file, compress = None, origin = None): argument 53 self.mbox.to_wire(file, None, origin) 54 self.txt.to_wire(file, None, origin) 56 def to_digestable(self, origin = None): argument [all …]
|
D | SOA.py | 56 def to_text(self, origin=None, relativize=True, **kw): argument 57 mname = self.mname.choose_relativity(origin, relativize) 58 rname = self.rname.choose_relativity(origin, relativize) 63 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 66 mname = mname.choose_relativity(origin, relativize) 67 rname = rname.choose_relativity(origin, relativize) 79 def to_wire(self, file, compress = None, origin = None): argument 80 self.mname.to_wire(file, compress, origin) 81 self.rname.to_wire(file, compress, origin) 86 def to_digestable(self, origin = None): argument [all …]
|
D | NXT.py | 37 def to_text(self, origin=None, relativize=True, **kw): argument 38 next = self.next.choose_relativity(origin, relativize) 48 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 50 next = next.choose_relativity(origin, relativize) 74 def to_wire(self, file, compress = None, origin = None): argument 75 self.next.to_wire(file, None, origin) 78 def to_digestable(self, origin = None): argument 79 return self.next.to_digestable(origin) + self.bitmap 81 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 86 if not origin is None: [all …]
|
D | HIP.py | 46 def to_text(self, origin=None, relativize=True, **kw): argument 52 servers.append(str(server.choose_relativity(origin, relativize))) 57 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 68 server = dns.name.from_text(token.value, origin) 69 server.choose_relativity(origin, relativize) 75 def to_wire(self, file, compress = None, origin = None): argument 82 server.to_wire(file, None, origin) 84 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 101 if not origin is None: 102 server = server.relativize(origin) [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/ |
D | test_connection.py | 6 from boto.cloudfront.origin import CustomOrigin 48 self.assertTrue(isinstance(response[0].origin, CustomOrigin)) 49 self.assertEqual(response[0].origin.dns_name, "example.com") 50 self.assertEqual(response[0].origin.http_port, 80) 51 self.assertEqual(response[0].origin.https_port, 443) 52 self.assertEqual(response[0].origin.origin_protocol_policy, 'http-only') 73 self.assertTrue(isinstance(response.origin, CustomOrigin)) 74 self.assertEqual(response.origin.dns_name, "example.com") 75 self.assertEqual(response.origin.http_port, 80) 76 self.assertEqual(response.origin.https_port, 443) [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/ |
D | PX.py | 41 def to_text(self, origin=None, relativize=True, **kw): argument 42 map822 = self.map822.choose_relativity(origin, relativize) 43 mapx400 = self.mapx400.choose_relativity(origin, relativize) 46 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 49 map822 = map822.choose_relativity(origin, relativize) 51 mapx400 = mapx400.choose_relativity(origin, relativize) 57 def to_wire(self, file, compress = None, origin = None): argument 60 self.map822.to_wire(file, None, origin) 61 self.mapx400.to_wire(file, None, origin) 63 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument [all …]
|
D | SRV.py | 44 def to_text(self, origin=None, relativize=True, **kw): argument 45 target = self.target.choose_relativity(origin, relativize) 49 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 54 target = target.choose_relativity(origin, relativize) 60 def to_wire(self, file, compress = None, origin = None): argument 63 self.target.to_wire(file, compress, origin) 65 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 74 if not origin is None: 75 target = target.relativize(origin) 80 def choose_relativity(self, origin = None, relativize = True): argument [all …]
|
D | NAPTR.py | 59 def to_text(self, origin=None, relativize=True, **kw): argument 60 replacement = self.replacement.choose_relativity(origin, relativize) 68 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 75 replacement = replacement.choose_relativity(origin, relativize) 82 def to_wire(self, file, compress = None, origin = None): argument 88 self.replacement.to_wire(file, compress, origin) 90 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 109 if not origin is None: 110 replacement = replacement.relativize(origin) 116 def choose_relativity(self, origin = None, relativize = True): argument [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | llseek.c | 42 extern long long llseek (int fd, long long offset, int origin); 67 unsigned int, origin) in _syscall5() argument 70 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) in _syscall5() 81 &result, origin); in _syscall5() 90 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek() argument 93 return my_llseek (fd, offset, origin); in ext2fs_llseek() 101 result = my_llseek (fd, offset, origin); in ext2fs_llseek() 110 return lseek(fd, (off_t) offset, origin); in ext2fs_llseek() 124 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek() argument 127 return lseek64 (fd, offset, origin); in ext2fs_llseek() [all …]
|
/external/clang/test/Analysis/ |
D | uninit-vals.m | 49 Point origin; field 66 testObj->origin = makePoint(0.0, 0.0); 69 // FIXME: Assigning to 'testObj->origin' kills the default binding for the 82 testObj->origin = makePoint(0.0, 0.0); 93 IntPoint origin; field 109 clang_analyzer_eval(testObj->origin.x == 0); // expected-warning{{TRUE}} 110 clang_analyzer_eval(testObj->origin.y == 0); // expected-warning{{TRUE}} 111 clang_analyzer_eval(testObj->origin.z == 0); // expected-warning{{TRUE}} 113 testObj->origin = makeIntPoint(1, 2); 116 // FIXME: Assigning to 'testObj->origin' kills the default binding for the [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
D | name.py | 350 def to_digestable(self, origin=None): argument 365 if origin is None or not origin.is_absolute(): 368 labels.extend(list(origin.labels)) 374 def to_wire(self, file = None, compress = None, origin = None): argument 399 if origin is None or not origin.is_absolute(): 402 labels.extend(list(origin.labels)) 482 def relativize(self, origin): argument 488 if not origin is None and self.is_subdomain(origin): 489 return Name(self[: -len(origin)]) 493 def derelativize(self, origin): argument [all …]
|
D | zone.py | 75 def __init__(self, origin, rdclass=dns.rdataclass.IN, relativize=True): argument 84 self.origin = origin 97 self.origin != other.origin or \ 115 if not name.is_subdomain(self.origin): 118 name = name.relativize(self.origin) 495 l = self[n].to_text(n, origin=self.origin, 516 name = self.origin 550 def __init__(self, tok, origin, rdclass, relativize, zone_factory=Zone, argument 552 if isinstance(origin, (str, unicode)): 553 origin = dns.name.from_text(origin) [all …]
|
D | rdata.py | 162 def to_text(self, origin=None, relativize=True, **kw): argument 168 def to_wire(self, file, compress = None, origin = None): argument 175 def to_digestable(self, origin = None): argument 179 self.to_wire(f, None, origin) 255 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 275 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 297 def choose_relativity(self, origin = None, relativize = True): argument 318 def to_text(self, origin=None, relativize=True, **kw): argument 321 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument 340 def to_wire(self, file, compress = None, origin = None): argument [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudfront/ |
D | distribution.py | 30 from boto.cloudfront.origin import S3Origin, CustomOrigin 35 def __init__(self, connection=None, origin=None, enabled=False, argument 92 self.origin = origin 107 return "DistributionConfig:%s" % self.origin 112 if self.origin: 113 s += self.origin.to_xml() 152 self.origin = S3Origin() 153 return self.origin 155 self.origin = CustomOrigin() 156 return self.origin [all …]
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
D | WebSocketServletConnectionD00.java | 51 String origin = request.getHeader("Sec-WebSocket-Origin"); in handshake() local 52 if (origin == null) in handshake() 54 origin = request.getHeader("Origin"); in handshake() 56 if (origin != null) in handshake() 58 origin = QuotedStringTokenizer.quoteIfNeeded(origin,"\r\n"); in handshake() 70 if (origin != null) in handshake() 72 response.addHeader("Sec-WebSocket-Origin",origin); in handshake() 85 response.addHeader("WebSocket-Origin",origin); in handshake()
|
/external/conscrypt/src/main/java/org/conscrypt/ct/ |
D | SignedCertificateTimestamp.java | 51 private final Origin origin; field in SignedCertificateTimestamp 55 DigitallySigned signature, Origin origin) { in SignedCertificateTimestamp() argument 61 this.origin = origin; in SignedCertificateTimestamp() 80 return origin; in getOrigin() 86 public static SignedCertificateTimestamp decode(InputStream input, Origin origin) in decode() argument 99 origin in decode() 106 public static SignedCertificateTimestamp decode(byte[] input, Origin origin) in decode() argument 108 return decode(new ByteArrayInputStream(input), origin); in decode()
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
D | ParametrizedLine.h | 48 ParametrizedLine(const VectorType& origin, const VectorType& direction) in ParametrizedLine() argument 49 : m_origin(origin), m_direction(direction) {} in ParametrizedLine() 62 const VectorType& origin() const { return m_origin; } in origin() function 63 VectorType& origin() { return m_origin; } in origin() function 73 VectorType diff = p-origin(); in squaredDistance() 83 { return origin() + (p-origin()).eigen2_dot(direction()) * direction(); } in projection() 104 m_origin = other.origin().template cast<Scalar>(); in ParametrizedLine() 129 origin() = -hyperplane.normal()*hyperplane.offset(); in ParametrizedLine() 137 return -(hyperplane.offset()+origin().eigen2_dot(hyperplane.normal())) in intersection()
|
/external/e2fsprogs/lib/blkid/ |
D | llseek.c | 41 extern long long llseek(int fd, long long offset, int origin); 66 unsigned int, origin) in _syscall5() argument 69 static blkid_loff_t my_llseek(int fd, blkid_loff_t offset, int origin) in _syscall5() 77 &result, origin); in _syscall5() 81 &result, origin); in _syscall5() 126 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int origin) in blkid_llseek() argument 129 return lseek64 (fd, offset, origin); in blkid_llseek() 136 return lseek(fd, (off_t) offset, origin); in blkid_llseek()
|
/external/eigen/Eigen/src/Geometry/ |
D | ParametrizedLine.h | 48 : m_origin(other.origin()), m_direction(other.direction()) in ParametrizedLine() 58 ParametrizedLine(const VectorType& origin, const VectorType& direction) in ParametrizedLine() argument 59 : m_origin(origin), m_direction(direction) {} in ParametrizedLine() 73 const VectorType& origin() const { return m_origin; } in origin() function 74 VectorType& origin() { return m_origin; } in origin() function 84 VectorType diff = p - origin(); in squaredDistance() 94 { return origin() + direction().dot(p-origin()) * direction(); } in projection() 124 m_origin = other.origin().template cast<Scalar>(); in ParametrizedLine() 150 origin() = -hyperplane.normal()*hyperplane.offset(); in ParametrizedLine() 159 return origin() + (direction()*t); in pointAt() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/servlets/ |
D | CrossOriginFilter.java | 215 String origin = request.getHeader(ORIGIN_HEADER); in handle() local 217 if (origin != null && isEnabled(request)) in handle() 219 if (originMatches(origin)) in handle() 224 handleSimpleResponse(request, response, origin); in handle() 229 handlePreflightResponse(request, response, origin); in handle() 238 handleSimpleResponse(request, response, origin); in handle() 243 …"Cross-origin request to " + request.getRequestURI() + " with origin " + origin + " does not match… in handle() 279 for (String origin : origins) in originMatches() 281 if (origin.trim().length() == 0) in originMatches() 288 Matcher matcher = createMatcher(origin,allowedOrigin); in originMatches() [all …]
|