/external/python/cpython3/Doc/includes/sqlite3/ |
converter_point.py | 3 class Point: 10 def adapt_point(point): 11 return ("%f;%f" % (point.x, point.y)).encode('ascii') 15 return Point(x, y) 18 sqlite3.register_adapter(Point, adapt_point) 21 sqlite3.register_converter("point", convert_point) 23 p = Point(4.0, -3.2) 29 cur.execute("create table test(p point)") 44 cur.execute('select p as "p [point]" from test' [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug281.go | 11 type Point struct { 16 Min, Max Point 19 func (p Point) Sub(q Point) Point { 20 return Point{p.X-q.X, p.Y-q.Y} 31 func (o *Obj) Points() [2]Point{ 32 return [2]Point{o.bbox.Min, o.bbox.Max} 38 o := &Obj{Rect{Point{800, 0}, Point{}}} [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug281.go | 11 type Point struct { 16 Min, Max Point 19 func (p Point) Sub(q Point) Point { 20 return Point{p.X-q.X, p.Y-q.Y} 31 func (o *Obj) Points() [2]Point{ 32 return [2]Point{o.bbox.Min, o.bbox.Max} 38 o := &Obj{Rect{Point{800, 0}, Point{}}} [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
elements.py | 21 class Point: 22 """A point class.""" 24 """Initialize a point. 33 """A boolean indicating if this point is defined.""" 37 """Determine if this point is equal to the specified point, p. 39 @param p: a point 53 """The string representation of the point value.""" 54 return 'Point: (%.4f, %.4f)' % (self.x, self.y) 57 """Calculate the distance between p and this point [all...] |
/external/clang/test/Index/ |
complete-macro-args.c | 1 struct Point { 10 void test(struct Point *p) { 17 void test2(struct Point *p) { 23 void test3(struct Point *p) { 32 void test3(struct Point *p) { 36 void test3(struct Point *p) { 54 // completion point) is not expanded by the macro definition.
|
/external/libmojo/ui/gfx/geometry/ |
point.cc | 5 #include "ui/gfx/geometry/point.h" 23 Point::Point(DWORD point) { 24 POINTS points = MAKEPOINTS(point); 29 Point::Point(const POINT& point) : x_(point.x), y_(point.y) [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
Point.java | 18 public class Point { 30 public Point(Double x, Double y) { 37 return "<Point x=" + String.valueOf(x) + " y=" + String.valueOf(y) + ">"; 42 if (obj instanceof Point) {
|
/external/swiftshader/src/Renderer/ |
Point.hpp | 23 struct Point 25 Point(); 26 Point(const int i); 27 Point(const Point &P); 28 Point(const Vector &v); 29 Point(float Px, float Py, float Pz); 31 Point &operator=(const Point &P); 51 Point &operator+=(const Vector &v) [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.h | 28 class Point { 30 Point() : x_(0.0f), y_(0.0f) {} 31 Point(float x, float y) : x_(x), y_(y) {} 38 static float Distance(const Point& p0, const Point& p1); 41 Point operator+(const Point& other) const; 42 Point operator-(const Point& other) const; 43 Point operator*(float factor) const [all...] |
/frameworks/native/libs/ui/include/ui/ |
Point.h | 25 class Point : public LightFlattenablePod<Point> 34 // Default constructor doesn't initialize the Point 35 inline Point() { 37 inline Point(int _x, int _y) : x(_x), y(_y) { 40 inline bool operator == (const Point& rhs) const { 43 inline bool operator != (const Point& rhs) const { 53 bool operator < (const Point& rhs) const { 57 inline Point& operator - () { 63 inline Point& operator += (const Point& rhs) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d2d1_1helper.h | 14 typedef D2D1_POINT_2L Point; 19 typedef D2D1_POINT_2L Point;
|
/system/bt/stack/smp/ |
p_256_ecc_pp.h | 35 } Point; 51 // base point, a point on E of order r 52 Point G; 59 bool ECC_ValidatePoint(const Point& p); 61 void ECC_PointMult_Bin_NAF(Point* q, Point* p, uint32_t* n, uint32_t keyLength);
|
/external/ImageMagick/Magick++/lib/Magick++/ |
Geometry.h | 115 // Public methods below this point are for Magick++ use only. 187 // Public methods below this point are for Magick++ use only. 198 class MagickPPExport Point; 200 // Compare two Point objects 202 (const Magick::Point& left_,const Magick::Point& right_); 204 (const Magick::Point& left_,const Magick::Point& right_); 206 class MagickPPExport Point 211 Point(); [all...] |
/external/clang/test/FixIt/ |
typo.c | 7 struct Point { 12 struct Point top_left, // expected-note{{'top_left' declared here}}
|
/external/clang/test/PCH/ |
struct.h | 3 struct Point {
|
/external/clang/test/SemaCXX/ |
arrow-operator.cpp | 29 class Point {}; 30 class Line_Segment{ public: Line_Segment(const Point&){} }; 31 class Node { public: Point Location(){ Point p; return p; } };
|
implicit-member-functions.cpp | 102 template<typename K> struct Point { 107 pair<Point<K>, Vector<K>> x; 112 // definition of Point's copy constructor, which performs overload resolution
|
/external/dng_sdk/source/ |
dng_bad_pixels.h | 135 const dng_point & Point (uint32 index) const 211 /// Returns true iff the specified point is valid, i.e., lies within the 216 /// \param pt The point to test for validity.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
Point.java | 19 public class Point { 24 public Point(float x, float y) { 30 public Point(float x, float y, long timeOffsetNano) { 36 public boolean equals(Point p) { 40 public float dist(Point a) { 46 * vector from point x to point y 48 public float crossProduct(Point a, Point b) { 54 * vector from point x to point [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_pep3118.py | 78 class Point(Structure): 152 (Point, "T{<l:x:<l:y:}", None, Point),
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_pep3118.py | 78 class Point(Structure): 152 (Point, "T{<l:x:<l:y:}", None, Point),
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pep3118.py | 78 class Point(Structure): 152 (Point, "T{<l:x:<l:y:}", None, Point),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pep3118.py | 78 class Point(Structure): 152 (Point, "T{<l:x:<l:y:}", None, Point),
|
/external/clang/test/Analysis/ |
fields.c | 24 } Point; 26 Point getit(void); 28 Point p; 38 Point p = {42, 0}; 39 Point q;
|
/external/libffi/testsuite/libffi.call/ |
pyobjc-tc.c | 10 typedef struct Point { 13 } Point; 21 Point o; 25 int doit(int o, char* s, Point p, Rect r, int last) 47 point_type.size = 0; /*sizeof(Point);*/ 48 point_type.alignment = 0; /*__alignof__(Point);*/ 91 Point p = { 1.0, 2.0 };
|