Home
last modified time | relevance | path

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

/external/skqp/src/pdf/
DSkPDFTypes.cpp23 SkPDFUnion::SkPDFUnion(Type t) : fType(t) {} in SkPDFUnion() function in SkPDFUnion
25 SkPDFUnion::~SkPDFUnion() { in ~SkPDFUnion()
41 SkPDFUnion& SkPDFUnion::operator=(SkPDFUnion&& other) { in operator =()
43 this->~SkPDFUnion(); in operator =()
44 new (this) SkPDFUnion(std::move(other)); in operator =()
49 SkPDFUnion::SkPDFUnion(SkPDFUnion&& other) { in SkPDFUnion() function in SkPDFUnion
56 SkPDFUnion SkPDFUnion::copy() const {
57 SkPDFUnion u(fType);
72 SkPDFUnion& SkPDFUnion::operator=(const SkPDFUnion& other) {
75 SkPDFUnion::SkPDFUnion(const SkPDFUnion& other) {
[all …]
DSkPDFTypes.h71 class SkPDFUnion {
75 SkPDFUnion(SkPDFUnion&& other);
76 SkPDFUnion& operator=(SkPDFUnion&& other);
78 ~SkPDFUnion();
83 static SkPDFUnion Int(int32_t);
85 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
87 static SkPDFUnion Bool(bool);
89 static SkPDFUnion Scalar(SkScalar);
91 static SkPDFUnion ColorComponent(uint8_t);
102 static SkPDFUnion Name(const char*);
[all …]
/external/skia/src/pdf/
DSkPDFTypes.cpp23 SkPDFUnion::SkPDFUnion(Type t) : fType(t) {} in SkPDFUnion() function in SkPDFUnion
25 SkPDFUnion::~SkPDFUnion() { in ~SkPDFUnion()
41 SkPDFUnion& SkPDFUnion::operator=(SkPDFUnion&& other) { in operator =()
43 this->~SkPDFUnion(); in operator =()
44 new (this) SkPDFUnion(std::move(other)); in operator =()
49 SkPDFUnion::SkPDFUnion(SkPDFUnion&& other) { in SkPDFUnion() function in SkPDFUnion
56 SkPDFUnion SkPDFUnion::copy() const {
57 SkPDFUnion u(fType);
72 SkPDFUnion& SkPDFUnion::operator=(const SkPDFUnion& other) {
75 SkPDFUnion::SkPDFUnion(const SkPDFUnion& other) {
[all …]
DSkPDFTypes.h71 class SkPDFUnion {
75 SkPDFUnion(SkPDFUnion&& other);
76 SkPDFUnion& operator=(SkPDFUnion&& other);
78 ~SkPDFUnion();
83 static SkPDFUnion Int(int32_t);
85 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
87 static SkPDFUnion Bool(bool);
89 static SkPDFUnion Scalar(SkScalar);
91 static SkPDFUnion ColorComponent(uint8_t);
102 static SkPDFUnion Name(const char*);
[all …]
/external/skqp/tests/
DPDFPrimitivesTest.cpp177 SkPDFUnion pdfUnion = SkPDFUnion::Scalar(number); in assert_emit_eq_number()
187 SkPDFUnion boolTrue = SkPDFUnion::Bool(true); in TestPDFUnion()
190 SkPDFUnion boolFalse = SkPDFUnion::Bool(false); in TestPDFUnion()
193 SkPDFUnion int42 = SkPDFUnion::Int(42); in TestPDFUnion()
201 SkPDFUnion stringSimple = SkPDFUnion::String("test ) string ( foo"); in TestPDFUnion()
205 SkPDFUnion stringComplex = SkPDFUnion::String(stringComplexInput); in TestPDFUnion()
209 SkPDFUnion binaryString = SkPDFUnion::String(binaryStringInput); in TestPDFUnion()
213 SkPDFUnion name = SkPDFUnion::Name(nameInput); in TestPDFUnion()
217 SkPDFUnion name2 = SkPDFUnion::Name(nameInput2); in TestPDFUnion()
220 SkPDFUnion name3 = SkPDFUnion::Name("SimpleNameWithOnlyPrintableASCII"); in TestPDFUnion()
[all …]
/external/skia/tests/
DPDFPrimitivesTest.cpp177 SkPDFUnion pdfUnion = SkPDFUnion::Scalar(number); in assert_emit_eq_number()
187 SkPDFUnion boolTrue = SkPDFUnion::Bool(true); in TestPDFUnion()
190 SkPDFUnion boolFalse = SkPDFUnion::Bool(false); in TestPDFUnion()
193 SkPDFUnion int42 = SkPDFUnion::Int(42); in TestPDFUnion()
201 SkPDFUnion stringSimple = SkPDFUnion::String("test ) string ( foo"); in TestPDFUnion()
205 SkPDFUnion stringComplex = SkPDFUnion::String(stringComplexInput); in TestPDFUnion()
209 SkPDFUnion binaryString = SkPDFUnion::String(binaryStringInput); in TestPDFUnion()
213 SkPDFUnion name = SkPDFUnion::Name(nameInput); in TestPDFUnion()
217 SkPDFUnion name2 = SkPDFUnion::Name(nameInput2); in TestPDFUnion()
220 SkPDFUnion name3 = SkPDFUnion::Name("SimpleNameWithOnlyPrintableASCII"); in TestPDFUnion()
[all …]