/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 …]
|
D | NetscapeDomainHandler.java | 53 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument 55 super.validate(cookie, origin); in validate() 57 String host = origin.getHost(); in validate() 97 public boolean match(Cookie cookie, CookieOrigin origin) { in match() argument 101 if (origin == null) { in match() 104 String host = origin.getHost(); in match()
|
D | BasicPathHandler.java | 62 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument 64 if (!match(cookie, origin)) { in validate() 67 + "\". Path of origin: \"" + origin.getPath() + "\""); in validate() 71 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match() argument 75 if (origin == null) { in match() 78 String targetpath = origin.getPath(); in match()
|
D | BasicDomainHandler.java | 65 public void validate(final Cookie cookie, final CookieOrigin origin) in validate() argument 70 if (origin == null) { in validate() 78 String host = origin.getHost(); in validate() 107 public boolean match(final Cookie cookie, final CookieOrigin origin) { in match() argument 111 if (origin == null) { in match() 114 String host = origin.getHost(); in match()
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Line.java | 51 private Vector3f origin; field in Line 60 origin = new Vector3f(); in Line() 70 public Line(Vector3f origin, Vector3f direction) { in Line() argument 71 this.origin = origin; in Line() 81 return origin; in getOrigin() 89 public void setOrigin(Vector3f origin) { in setOrigin() argument 90 this.origin = origin; in setOrigin() 117 point.subtract(origin, compVec1); in distanceSquared() 119 origin.add(direction.mult(lineParameter, compVec2), compVec2); in distanceSquared() 147 BufferUtils.populateFromBuffer(origin, points, 0); in orthogonalLineFit() [all …]
|
D | Ray.java | 58 public Vector3f origin = new Vector3f(); field in Ray 82 public Ray(Vector3f origin, Vector3f direction) { in Ray() argument 83 setOrigin(origin); in Ray() 209 Vector3f diff = origin.subtract(v0, tempVa); in intersects() 249 store.set(origin).addLocal(direction.x * t, in intersects() 286 float diffX = origin.x - v0.x; in intersects() 287 float diffY = origin.y - v0.y; in intersects() 288 float diffZ = origin.z - v0.z; in intersects() 374 float numerator = -(p.getNormal().dot(origin) - p.getConstant()); in intersectsWherePlane() 380 loc.set(direction).multLocal(ratio).addLocal(origin); in intersectsWherePlane() [all …]
|
D | LineSegment.java | 56 private Vector3f origin; field in LineSegment 61 origin = new Vector3f(); in LineSegment() 66 this.origin = new Vector3f(ls.getOrigin()); in LineSegment() 75 public LineSegment(Vector3f origin, Vector3f direction, float extent) { in LineSegment() argument 76 this.origin = origin; in LineSegment() 86 …this.origin = new Vector3f(0.5f * (start.x + end.x), 0.5f * (start.y + end.y), 0.5f * (start.z + e… in LineSegment() 93 this.origin = new Vector3f(ls.getOrigin()); in set() 114 point.subtract(origin, compVec1); in distanceSquared() 119 origin.add(direction.mult(segmentParameter, compVec1), in distanceSquared() 122 origin.add(direction.mult(extent, compVec1), compVec1); in distanceSquared() [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/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/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 …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
D | PositionMetric.java | 57 protected float getAbsolutePosition(float size, Origin origin) { in getAbsolutePosition() argument 58 switch(origin) { in getAbsolutePosition() 66 throw new IllegalArgumentException("Unsupported Origin: " + origin); in getAbsolutePosition() 70 protected float getRelativePosition(float size, Origin origin) { in getRelativePosition() argument 73 switch(origin) { in getRelativePosition() 81 throw new IllegalArgumentException("Unsupported Origin: " + origin); in getRelativePosition()
|
/external/skia/src/utils/ |
D | SkCanvasStack.cpp | 17 void SkCanvasStack::pushCanvas(SkCanvas* canvas, const SkIPoint& origin) { in pushCanvas() argument 27 data->origin = origin; in pushCanvas() 35 localBounds.offset(origin - fCanvasData[i-1].origin); in pushCanvas() 73 tempMatrix.postTranslate(SkIntToScalar(-fCanvasData[i].origin.x()), in didSetMatrix() 74 SkIntToScalar(-fCanvasData[i].origin.y())); in didSetMatrix() 99 deviceRgn.translate(-fCanvasData[i].origin.x(), in onClipRegion() 100 -fCanvasData[i].origin.y(), &tempRegion); in onClipRegion()
|
/external/skia/tests/ |
D | FloatingPointTextureTest.cpp | 43 for (int origin = 0; origin < 2; ++origin) { in DEF_GPUTEST() local 50 desc.fOrigin = 0 == origin ? in DEF_GPUTEST() 90 for (int origin = 0; origin < 2; ++origin) { in DEF_GPUTEST() local 97 desc.fOrigin = 0 == origin ? in DEF_GPUTEST()
|
/external/skia/src/gpu/gl/ |
D | GrGLShaderVar.h | 87 Origin origin = kDefault_Origin, 92 fOrigin = origin; 103 Origin origin = kDefault_Origin, 108 fOrigin = origin; 120 Origin origin = kDefault_Origin, 125 fOrigin = origin; 137 Origin origin = kDefault_Origin, 142 fOrigin = origin; 154 void setOrigin(Origin origin) { fOrigin = origin; } in setOrigin() argument
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
D | PieRenderer.java | 55 PointF origin = new PointF(plotArea.centerX(), plotArea.centerY()); in onRender() local 64 … RectF rec = new RectF(origin.x - radius, origin.y - radius, origin.x + radius, origin.y + radius); in onRender() 161 protected void drawSegmentLabel(Canvas canvas, PointF origin, in drawSegmentLabel() argument 163 canvas.drawText(seg.getTitle(), origin.x, origin.y, f.getLabelPaint()); in drawSegmentLabel() 200 private PointF calculateLineEnd(PointF origin, float rad, float deg) { in calculateLineEnd() argument 207 return new PointF(origin.x + (float) x, origin.y + (float) y); in calculateLineEnd()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYPlot.java | 530 public void centerOnDomainOrigin(Number origin) { in centerOnDomainOrigin() argument 531 centerOnDomainOrigin(origin, null, BoundaryMode.AUTO); in centerOnDomainOrigin() 542 public void centerOnDomainOrigin(Number origin, Number extent, BoundaryMode mode) { in centerOnDomainOrigin() argument 543 if (origin == null) { in centerOnDomainOrigin() 547 setUserDomainOrigin(origin); in centerOnDomainOrigin() 567 public void centerOnRangeOrigin(Number origin) { in centerOnRangeOrigin() argument 568 centerOnRangeOrigin(origin, null, BoundaryMode.AUTO); in centerOnRangeOrigin() 580 public void centerOnRangeOrigin(Number origin, Number extent, BoundaryMode mode) { in centerOnRangeOrigin() argument 581 if (origin == null) { in centerOnRangeOrigin() 585 setUserRangeOrigin(origin); in centerOnRangeOrigin() [all …]
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | origin-alignment.ll | 8 ; Check origin instrumentation of stores. 9 ; Check that debug info for origin propagation code is set correctly. 16 ; 8-aligned store => 8-aligned origin store, origin address is not realigned 31 ; 4-aligned store => 4-aligned origin store, origin address is not realigned 46 ; 2-aligned store => 4-aligned origin store, origin address is realigned 61 ; 1-aligned store => 4-aligned origin store, origin address is realigned
|
/external/zlib/src/contrib/minizip/ |
D | ioapi.c | 21 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin) argument 25 #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin) argument 41 …ll_zseek64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin) in call_zseek64() argument 44 …*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset,origin); in call_zseek64() 51 …urn (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,origin); in call_zseek64() 91 …ong ZCALLBACK fseek64_file_func OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)); 161 static long ZCALLBACK fseek_file_func (voidpf opaque, voidpf stream, uLong offset, int origin) in fseek_file_func() argument 165 switch (origin) in fseek_file_func() 184 static long ZCALLBACK fseek64_file_func (voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) in fseek64_file_func() argument 188 switch (origin) in fseek64_file_func()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.cpp | 33 box(const resource::point &origin, const resource::point &size) : in box() argument 34 pipe({ (unsigned)origin[0], (unsigned)origin[1], in box() 35 (unsigned)origin[2], (unsigned)size[0], in box() 56 resource::copy(command_queue &q, const point &origin, const point ®ion, in copy() argument 58 point p = offset + origin; in copy() 67 const point &origin, const point ®ion) { in add_map() argument 68 maps.emplace_back(q, *this, flags, blocking, origin, region); in add_map() 173 const resource::point &origin, in mapping() argument 181 box(origin + r.offset, region)); in mapping()
|