Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFTypes.cpp25 SkPDFUnion::SkPDFUnion(Type t) : fType(t) {} in SkPDFUnion() function in SkPDFUnion
26 SkPDFUnion::SkPDFUnion(Type t, int32_t v) : fIntValue (v), fType(t) {} in SkPDFUnion() function in SkPDFUnion
27 SkPDFUnion::SkPDFUnion(Type t, bool v) : fBoolValue (v), fType(t) {} in SkPDFUnion() function in SkPDFUnion
28 SkPDFUnion::SkPDFUnion(Type t, SkScalar v) : fScalarValue (v), fType(t) {} in SkPDFUnion() function in SkPDFUnion
29 SkPDFUnion::SkPDFUnion(Type t, SkString v) : fType(t) { fSkString.init(std::move(v)); } in SkPDFUnion() function in SkPDFUnion
31 SkPDFUnion::~SkPDFUnion() { in ~SkPDFUnion()
46 SkPDFUnion& SkPDFUnion::operator=(SkPDFUnion&& other) { in operator =()
48 this->~SkPDFUnion(); in operator =()
49 new (this) SkPDFUnion(std::move(other)); in operator =()
54 SkPDFUnion::SkPDFUnion(SkPDFUnion&& other) { in SkPDFUnion() function in SkPDFUnion
[all …]
DSkPDFUnion.h32 class SkPDFUnion {
36 SkPDFUnion(SkPDFUnion&& other);
37 SkPDFUnion& operator=(SkPDFUnion&& other);
39 ~SkPDFUnion();
44 static SkPDFUnion Int(int32_t);
46 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
48 static SkPDFUnion Bool(bool);
50 static SkPDFUnion Scalar(SkScalar);
52 static SkPDFUnion ColorComponent(uint8_t);
54 static SkPDFUnion ColorComponentF(float);
[all …]
DSkPDFTypes.h30 class SkPDFUnion; variable
116 std::vector<SkPDFUnion> fValues;
117 void append(SkPDFUnion&& value);
187 std::vector<std::pair<SkPDFUnion, SkPDFUnion>> fRecords;
/external/skqp/src/pdf/
DSkPDFTypes.cpp25 SkPDFUnion::SkPDFUnion(Type t) : fType(t) {} in SkPDFUnion() function in SkPDFUnion
26 SkPDFUnion::SkPDFUnion(Type t, int32_t v) : fIntValue (v), fType(t) {} in SkPDFUnion() function in SkPDFUnion
27 SkPDFUnion::SkPDFUnion(Type t, bool v) : fBoolValue (v), fType(t) {} in SkPDFUnion() function in SkPDFUnion
28 SkPDFUnion::SkPDFUnion(Type t, SkScalar v) : fScalarValue (v), fType(t) {} in SkPDFUnion() function in SkPDFUnion
29 SkPDFUnion::SkPDFUnion(Type t, SkString v) : fType(t) { fSkString.init(std::move(v)); } in SkPDFUnion() function in SkPDFUnion
31 SkPDFUnion::~SkPDFUnion() { in ~SkPDFUnion()
46 SkPDFUnion& SkPDFUnion::operator=(SkPDFUnion&& other) { in operator =()
48 this->~SkPDFUnion(); in operator =()
49 new (this) SkPDFUnion(std::move(other)); in operator =()
54 SkPDFUnion::SkPDFUnion(SkPDFUnion&& other) { in SkPDFUnion() function in SkPDFUnion
[all …]
DSkPDFUnion.h32 class SkPDFUnion {
36 SkPDFUnion(SkPDFUnion&& other);
37 SkPDFUnion& operator=(SkPDFUnion&& other);
39 ~SkPDFUnion();
44 static SkPDFUnion Int(int32_t);
46 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
48 static SkPDFUnion Bool(bool);
50 static SkPDFUnion Scalar(SkScalar);
52 static SkPDFUnion ColorComponent(uint8_t);
54 static SkPDFUnion ColorComponentF(float);
[all …]
DSkPDFTypes.h30 class SkPDFUnion; variable
116 std::vector<SkPDFUnion> fValues;
117 void append(SkPDFUnion&& value);
187 std::vector<std::pair<SkPDFUnion, SkPDFUnion>> fRecords;
/external/skia/tests/
DPDFPrimitivesTest.cpp96 SkPDFUnion pdfUnion = SkPDFUnion::Scalar(number); in assert_emit_eq_number()
106 SkPDFUnion boolTrue = SkPDFUnion::Bool(true); in TestPDFUnion()
109 SkPDFUnion boolFalse = SkPDFUnion::Bool(false); in TestPDFUnion()
112 SkPDFUnion int42 = SkPDFUnion::Int(42); in TestPDFUnion()
120 SkPDFUnion stringSimple = SkPDFUnion::String("test ) string ( foo"); in TestPDFUnion()
124 SkPDFUnion stringComplex = SkPDFUnion::String(stringComplexInput); in TestPDFUnion()
128 SkPDFUnion binaryString = SkPDFUnion::String(binaryStringInput); in TestPDFUnion()
132 SkPDFUnion name = SkPDFUnion::Name(nameInput); in TestPDFUnion()
136 SkPDFUnion name2 = SkPDFUnion::Name(nameInput2); in TestPDFUnion()
139 SkPDFUnion name3 = SkPDFUnion::Name("SimpleNameWithOnlyPrintableASCII"); in TestPDFUnion()
[all …]
/external/skqp/tests/
DPDFPrimitivesTest.cpp96 SkPDFUnion pdfUnion = SkPDFUnion::Scalar(number); in assert_emit_eq_number()
106 SkPDFUnion boolTrue = SkPDFUnion::Bool(true); in TestPDFUnion()
109 SkPDFUnion boolFalse = SkPDFUnion::Bool(false); in TestPDFUnion()
112 SkPDFUnion int42 = SkPDFUnion::Int(42); in TestPDFUnion()
120 SkPDFUnion stringSimple = SkPDFUnion::String("test ) string ( foo"); in TestPDFUnion()
124 SkPDFUnion stringComplex = SkPDFUnion::String(stringComplexInput); in TestPDFUnion()
128 SkPDFUnion binaryString = SkPDFUnion::String(binaryStringInput); in TestPDFUnion()
132 SkPDFUnion name = SkPDFUnion::Name(nameInput); in TestPDFUnion()
136 SkPDFUnion name2 = SkPDFUnion::Name(nameInput2); in TestPDFUnion()
139 SkPDFUnion name3 = SkPDFUnion::Name("SimpleNameWithOnlyPrintableASCII"); in TestPDFUnion()
[all …]