Home
last modified time | relevance | path

Searched refs:procs (Results 1 – 25 of 159) sorted by relevance

1234567

/external/skia/src/core/
DSkPicture.cpp137 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procs) { in MakeFromStream() argument
138 return MakeFromStream(stream, procs, nullptr); in MakeFromStream()
142 const SkDeserialProcs* procs) { in MakeFromData() argument
147 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
150 sk_sp<SkPicture> SkPicture::MakeFromData(const SkData* data, const SkDeserialProcs* procs) { in MakeFromData() argument
155 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
165 SkDeserialProcs procs; in MakeFromStream() local
167 procs = *procsPtr; in MakeFromStream()
175 SkPictureData::CreateFromStream(stream, info, procs, typefaces)); in MakeFromStream()
180 if (!stream->readS32(&ssize) || ssize >= 0 || !procs.fPictureProc) { in MakeFromStream()
[all …]
DSkFlattenable.cpp116 sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const { in serialize()
118 if (procs) { in serialize()
119 writer.setSerialProcs(*procs); in serialize()
129 const SkSerialProcs* procs) const { in serialize()
131 if (procs) { in serialize()
132 writer.setSerialProcs(*procs); in serialize()
139 size_t size, const SkDeserialProcs* procs) { in Deserialize() argument
141 if (procs) { in Deserialize()
142 buffer.setDeserialProcs(*procs); in Deserialize()
DSkPictureData.cpp121 const SkSerialProcs& procs) { in WriteTypefaces() argument
132 if (procs.fTypefaceProc) { in WriteTypefaces()
133 auto data = procs.fTypefaceProc(tf, procs.fTypefaceCtx); in WriteTypefaces()
192 static SkSerialProcs skip_typeface_proc(const SkSerialProcs& procs) { in skip_typeface_proc() argument
193 SkSerialProcs newProcs = procs; in skip_typeface_proc()
204 void SkPictureData::serialize(SkWStream* stream, const SkSerialProcs& procs, in serialize() argument
219 buffer.setSerialProcs(skip_typeface_proc(procs)); in serialize()
242 WriteTypefaces(stream, *typefaceSet, procs); in serialize()
252 pic->serialize(stream, &procs, typefaceSet, /*textBlobsOnly=*/ false); in serialize()
287 const SkDeserialProcs& procs, in parseStreamTag() argument
[all …]
/external/skqp/src/core/
DSkPicture.cpp134 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procs) { in MakeFromStream() argument
135 return MakeFromStream(stream, procs, nullptr); in MakeFromStream()
139 const SkDeserialProcs* procs) { in MakeFromData() argument
144 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
147 sk_sp<SkPicture> SkPicture::MakeFromData(const SkData* data, const SkDeserialProcs* procs) { in MakeFromData() argument
152 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
162 SkDeserialProcs procs; in MakeFromStream() local
164 procs = *procsPtr; in MakeFromStream()
172 SkPictureData::CreateFromStream(stream, info, procs, typefaces)); in MakeFromStream()
177 if (!stream->readS32(&ssize) || ssize >= 0 || !procs.fPictureProc) { in MakeFromStream()
[all …]
DSkFlattenable.cpp116 sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const { in serialize()
118 if (procs) { in serialize()
119 writer.setSerialProcs(*procs); in serialize()
129 const SkSerialProcs* procs) const { in serialize()
131 if (procs) { in serialize()
132 writer.setSerialProcs(*procs); in serialize()
139 size_t size, const SkDeserialProcs* procs) { in Deserialize() argument
141 if (procs) { in Deserialize()
142 buffer.setDeserialProcs(*procs); in Deserialize()
DSkPictureData.cpp125 const SkSerialProcs& procs) { in WriteTypefaces() argument
136 if (procs.fTypefaceProc) { in WriteTypefaces()
137 auto data = procs.fTypefaceProc(tf, procs.fTypefaceCtx); in WriteTypefaces()
192 static SkSerialProcs skip_typeface_proc(const SkSerialProcs& procs) { in skip_typeface_proc() argument
193 SkSerialProcs newProcs = procs; in skip_typeface_proc()
199 void SkPictureData::serialize(SkWStream* stream, const SkSerialProcs& procs, in serialize() argument
214 buffer.setSerialProcs(skip_typeface_proc(procs)); in serialize()
237 WriteTypefaces(stream, *typefaceSet, procs); in serialize()
248 pic->serialize(stream, &procs, typefaceSet); in serialize()
283 const SkDeserialProcs& procs, in parseStreamTag() argument
[all …]
/external/skqp/tests/
DSerialProcsTest.cpp93 SkSerialProcs procs; in makes() local
94 procs.fPictureProc = proc; in makes()
95 procs.fPictureCtx = ctx; in makes()
96 return procs; in makes()
100 SkDeserialProcs procs; in maked() local
101 procs.fPictureProc = proc; in maked()
102 procs.fPictureCtx = const_cast<void*>(ctx); in maked()
103 return procs; in maked()
203 SkSerialProcs procs; in DEF_TEST() local
204 procs.fTypefaceProc = [](SkTypeface* tf, void* ctx) -> sk_sp<SkData> { in DEF_TEST()
[all …]
/external/skia/tests/
DSerialProcsTest.cpp92 SkSerialProcs procs; in makes() local
93 procs.fPictureProc = proc; in makes()
94 procs.fPictureCtx = ctx; in makes()
95 return procs; in makes()
99 SkDeserialProcs procs; in maked() local
100 procs.fPictureProc = proc; in maked()
101 procs.fPictureCtx = const_cast<void*>(ctx); in maked()
102 return procs; in maked()
202 SkSerialProcs procs; in DEF_TEST() local
203 procs.fTypefaceProc = [](SkTypeface* tf, void* ctx) -> sk_sp<SkData> { in DEF_TEST()
[all …]
/external/skqp/gm/
Dblurrect.cpp128 constexpr Proc procs[] = { in onDraw() local
134 this->drawProcs(canvas, r, paint, false, procs, SK_ARRAY_COUNT(procs)); in onDraw()
136 this->drawProcs(canvas, r, paintWithRadial, false, procs, SK_ARRAY_COUNT(procs)); in onDraw()
138 this->drawProcs(canvas, r, paint, true, procs, SK_ARRAY_COUNT(procs)); in onDraw()
140 this->drawProcs(canvas, r, paintWithRadial, true, procs, SK_ARRAY_COUNT(procs)); in onDraw()
143 canvas->translate(0, SK_ARRAY_COUNT(procs) * r.height() * 4/3 * scales[s]); in onDraw()
152 bool doClip, const Proc procs[], size_t procsCount) { in drawProcs() argument
161 procs[i](canvas, r, paint); in drawProcs()
/external/llvm-project/polly/www/
Dpolly.sh10 procs=`cat /proc/cpuinfo | grep processor | wc -l`
12 procs=1
31 make -j$procs -l$procs
/external/skqp/include/core/
DSkPicture.h62 const SkDeserialProcs* procs = nullptr);
78 const SkDeserialProcs* procs = nullptr);
88 const SkDeserialProcs* procs = nullptr);
164 sk_sp<SkData> serialize(const SkSerialProcs* procs = nullptr) const;
176 void serialize(SkWStream* stream, const SkSerialProcs* procs = nullptr) const;
/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestGdbRemoteProcessInfo.py16 procs = self.prep_debug_monitor_and_inferior()
50 procs = self.prep_debug_monitor_and_inferior()
51 self.assertIsNotNone(procs)
66 self.assertEqual(reported_pid, procs["inferior"].pid)
85 procs = self.prep_debug_monitor_and_inferior()
115 procs = self.prep_debug_monitor_and_inferior()
139 procs = self.prep_debug_monitor_and_inferior()
/external/skqp/src/utils/
DSkMultiPictureDocument.cpp56 MultiPictureDocument(SkWStream* s, const SkSerialProcs* procs) in MultiPictureDocument()
58 , fProcs(procs ? *procs : SkSerialProcs()) in MultiPictureDocument()
98 sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* wStream, const SkSerialProcs* procs) { in SkMakeMultiPictureDocument() argument
99 return sk_make_sp<MultiPictureDocument>(wStream, procs); in SkMakeMultiPictureDocument()
181 const SkDeserialProcs* procs) { in SkMultiPictureDocumentRead() argument
191 auto picture = SkPicture::MakeFromStream(stream, procs); in SkMultiPictureDocumentRead()
/external/skqp/tools/
Dremote_demo.cpp151 SkDeserialProcs procs; in final_draw() local
155 procs.fTypefaceProc = decode; in final_draw()
156 procs.fTypefaceCtx = client; in final_draw()
158 auto pic = SkPicture::MakeFromData(picData, &procs); in final_draw()
165 auto picUnderTest = SkPicture::MakeFromData(picData, &procs); in final_draw()
239 SkSerialProcs procs; in renderer() local
243 procs.fTypefaceProc = encode; in renderer()
244 procs.fTypefaceCtx = &server; in renderer()
246 stream = pic->serialize(&procs); in renderer()
/external/skia/tools/
Dremote_demo.cpp151 SkDeserialProcs procs; in final_draw() local
155 procs.fTypefaceProc = decode; in final_draw()
156 procs.fTypefaceCtx = client; in final_draw()
158 auto pic = SkPicture::MakeFromData(picData, &procs); in final_draw()
165 auto picUnderTest = SkPicture::MakeFromData(picData, &procs); in final_draw()
240 SkSerialProcs procs; in renderer() local
244 procs.fTypefaceProc = encode; in renderer()
245 procs.fTypefaceCtx = &server; in renderer()
247 stream = pic->serialize(&procs); in renderer()
/external/skia/include/core/
DSkPicture.h57 const SkDeserialProcs* procs = nullptr);
73 const SkDeserialProcs* procs = nullptr);
83 const SkDeserialProcs* procs = nullptr);
165 sk_sp<SkData> serialize(const SkSerialProcs* procs = nullptr) const;
179 void serialize(SkWStream* stream, const SkSerialProcs* procs = nullptr) const;
/external/skia/src/utils/
DSkMultiPictureDocument.cpp58 MultiPictureDocument(SkWStream* s, const SkSerialProcs* procs, in MultiPictureDocument()
61 , fProcs(procs ? *procs : SkSerialProcs()) in MultiPictureDocument()
107 sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* wStream, const SkSerialProcs* procs, in SkMakeMultiPictureDocument() argument
109 return sk_make_sp<MultiPictureDocument>(wStream, procs, onEndPage); in SkMakeMultiPictureDocument()
191 const SkDeserialProcs* procs) { in SkMultiPictureDocumentRead() argument
201 auto picture = SkPicture::MakeFromStream(stream, procs); in SkMultiPictureDocumentRead()
/external/skqp/site/user/api/
DSkPicture_Reference.md13 … const <a href='undocumented#SkDeserialProcs'>SkDeserialProcs</a>* procs = nullptr);
15 … const <a href='undocumented#SkDeserialProcs'>SkDeserialProcs</a>* procs = nullptr);
17 … const <a href='undocumented#SkDeserialProcs'>SkDeserialProcs</a>* procs = nullptr);
21 …serialize</a>(const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>* procs = nullptr) const;
22 …'>stream</a>, const <a href='undocumented#SkSerialProcs'>SkSerialProcs</a>* procs = nullptr) const;
129 …eam'>stream</a>, const <a href='undocumented#SkDeserialProcs'>SkDeserialProcs</a>* procs = nullptr)
136 <a href='#SkPicture_MakeFromStream_procs'>procs</a>-><a href='#SkDeserialProcs_fPictureProc'>fPictu…
137procs</a>-><a href='#SkDeserialProcs_fPictureProc'>fPictureProc</a> is nullptr, default decoding i…
138 …FromStream_procs'>procs</a>-><a href='#SkDeserialProcs_fPictureProc'>fPictureProc</a>; <a href='#S…
146 <tr> <td><a name='SkPicture_MakeFromStream_procs'><code><strong>procs</strong></code></a></td>
[all …]
/external/strace/tests-m32/
Dqual_fault.test45 local trace fault err first step procs extra
51 procs=$1; shift
87 "$procs" "$outexp" "$outgot" "$outout" "$outpid"
89 for i in $(seq 0 $((procs - 1)) )
/external/strace/tests-mx32/
Dqual_fault.test45 local trace fault err first step procs extra
51 procs=$1; shift
87 "$procs" "$outexp" "$outgot" "$outout" "$outpid"
89 for i in $(seq 0 $((procs - 1)) )
/external/strace/tests/
Dqual_fault.test45 local trace fault err first step procs extra
51 procs=$1; shift
87 "$procs" "$outexp" "$outgot" "$outout" "$outpid"
89 for i in $(seq 0 $((procs - 1)) )
/external/skia/src/ports/
DSkImageEncoder_CG.cpp42 CGDataConsumerCallbacks procs; in SkStreamToCGDataConsumer() local
43 procs.putBytes = consumer_put; in SkStreamToCGDataConsumer()
44 procs.releaseConsumer = consumer_release; in SkStreamToCGDataConsumer()
47 return SkUniqueCFRef<CGDataConsumerRef>(CGDataConsumerCreate(stream, &procs)); in SkStreamToCGDataConsumer()
/external/skqp/src/ports/
DSkImageEncoder_CG.cpp42 CGDataConsumerCallbacks procs; in SkStreamToCGDataConsumer() local
43 procs.putBytes = consumer_put; in SkStreamToCGDataConsumer()
44 procs.releaseConsumer = consumer_release; in SkStreamToCGDataConsumer()
47 return SkUniqueCFRef<CGDataConsumerRef>(CGDataConsumerCreate(stream, &procs)); in SkStreamToCGDataConsumer()
/external/skqp/experimental/tools/
DcoreGraphicsPdf2png.cpp53 CGDataConsumerCallbacks procs; in main() local
54 procs.putBytes = [](void* f, const void* buf, size_t s) { in main()
57 procs.releaseConsumer = [](void* info) { fclose((FILE*)info); }; in main()
61 CGDataConsumerRef consumer = CGDataConsumerCreate(ofile, &procs); in main()
/external/skia/experimental/tools/
DcoreGraphicsPdf2png.cpp53 CGDataConsumerCallbacks procs; in main() local
54 procs.putBytes = [](void* f, const void* buf, size_t s) { in main()
57 procs.releaseConsumer = [](void* info) { fclose((FILE*)info); }; in main()
61 CGDataConsumerRef consumer = CGDataConsumerCreate(ofile, &procs); in main()

1234567