Home
last modified time | relevance | path

Searched refs:SkPDFUnion (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/pdf/
DSkPDFTypes.cpp21 SkPDFUnion::SkPDFUnion(Type t) : fType(t) {} in SkPDFUnion() function in SkPDFUnion
23 SkPDFUnion::~SkPDFUnion() { in ~SkPDFUnion()
38 SkPDFUnion& SkPDFUnion::operator=(SkPDFUnion&& other) { in operator =()
40 this->~SkPDFUnion(); in operator =()
41 new (this) SkPDFUnion(other.move()); in operator =()
46 SkPDFUnion::SkPDFUnion(SkPDFUnion&& other) { in SkPDFUnion() function in SkPDFUnion
53 SkPDFUnion SkPDFUnion::copy() const {
54 SkPDFUnion u(fType);
69 SkPDFUnion& SkPDFUnion::operator=(const SkPDFUnion& other) {
72 SkPDFUnion::SkPDFUnion(const SkPDFUnion& other) {
[all …]
DSkPDFTypes.h66 class SkPDFUnion {
69 SkPDFUnion move() { return static_cast<SkPDFUnion&&>(*this); } in move()
72 SkPDFUnion(SkPDFUnion&& other);
73 SkPDFUnion& operator=(SkPDFUnion&& other);
75 ~SkPDFUnion();
80 static SkPDFUnion Int(int32_t);
82 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
84 static SkPDFUnion Bool(bool);
86 static SkPDFUnion Scalar(SkScalar);
97 static SkPDFUnion Name(const char*);
[all …]
/external/skia/tests/
DPDFPrimitivesTest.cpp193 SkPDFUnion boolTrue = SkPDFUnion::Bool(true); in TestPDFUnion()
196 SkPDFUnion boolFalse = SkPDFUnion::Bool(false); in TestPDFUnion()
199 SkPDFUnion int42 = SkPDFUnion::Int(42); in TestPDFUnion()
202 SkPDFUnion realHalf = SkPDFUnion::Scalar(SK_ScalarHalf); in TestPDFUnion()
205 SkPDFUnion bigScalar = SkPDFUnion::Scalar(110999.75f); in TestPDFUnion()
208 SkPDFUnion biggerScalar = SkPDFUnion::Scalar(50000000.1f); in TestPDFUnion()
211 SkPDFUnion smallestScalar = SkPDFUnion::Scalar(1.0f / 65536); in TestPDFUnion()
214 SkPDFUnion stringSimple = SkPDFUnion::String("test ) string ( foo"); in TestPDFUnion()
218 SkPDFUnion stringComplex = SkPDFUnion::String(stringComplexInput); in TestPDFUnion()
224 SkPDFUnion name = SkPDFUnion::Name(nameInput); in TestPDFUnion()
[all …]