Home | History | Annotate | Download | only in tests

Lines Matching refs:get

74     SkRefPtr<SkPDFInt> int1Again(int1.get());
76 catalog.addObject(int1.get(), false);
77 catalog.addObject(int2.get(), false);
78 catalog.addObject(int3.get(), false);
80 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int1.get()) == 3);
81 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int2.get()) == 3);
82 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int3.get()) == 3);
85 catalog.emitObjectNumber(&buffer, int1.get());
86 catalog.emitObjectNumber(&buffer, int2.get());
87 catalog.emitObjectNumber(&buffer, int3.get());
88 catalog.emitObjectNumber(&buffer, int1Again.get());
99 SkRefPtr<SkPDFObjRef> int2ref = new SkPDFObjRef(int2.get());
103 catalog.addObject(int1.get(), false);
104 catalog.addObject(int2.get(), false);
105 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int1.get()) == 3);
106 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int2.get()) == 3);
119 CheckObjectOutput(reporter, int42.get(), "42", true);
123 CheckObjectOutput(reporter, realHalf.get(), "0.5", true);
129 CheckObjectOutput(reporter, bigScalar.get(), "111000", true);
131 CheckObjectOutput(reporter, bigScalar.get(), "110999.75", true);
135 CheckObjectOutput(reporter, biggerScalar.get(), "50000000", true);
139 CheckObjectOutput(reporter, smallestScalar.get(), "0.00001526", true);
145 CheckObjectOutput(reporter, stringSimple.get(), "(test \\) string \\( foo)",
150 CheckObjectOutput(reporter, stringComplex.get(),
155 CheckObjectOutput(reporter, name.get(), "/Test#20name#09with#23tab", false);
159 CheckObjectOutput(reporter, array.get(), "[]", true);
160 array->append(int42.get());
161 CheckObjectOutput(reporter, array.get(), "[42]", true);
162 array->append(realHalf.get());
163 CheckObjectOutput(reporter, array.get(), "[42 0.5]", true);
166 array->append(int0.get());
167 CheckObjectOutput(reporter, array.get(), "[42 0.5 0]", true);
170 array->setAt(0, int1.get());
171 CheckObjectOutput(reporter, array.get(), "[1 0.5 0]", true);
175 CheckObjectOutput(reporter, dict.get(), "<<>>", true);
178 dict->insert(n1.get(), int42.get());
179 CheckObjectOutput(reporter, dict.get(), "<</n1 42\n>>", true);
184 dict->insert(n2.get(), realHalf.get());
185 dict->insert(n3.get(), array.get());
186 CheckObjectOutput(reporter, dict.get(),
193 SkRefPtr<SkPDFStream> stream = new SkPDFStream(streamData.get());
195 CheckObjectOutput(reporter, stream.get(),
198 stream->insert(n1.get(), int42.get());
199 CheckObjectOutput(reporter, stream.get(),