/external/skia/src/core/ |
D | SkPicture.cpp | 134 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 …]
|
D | SkFlattenable.cpp | 116 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()
|
D | SkPictureData.cpp | 125 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/src/core/ |
D | SkPicture.cpp | 134 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 …]
|
D | SkFlattenable.cpp | 116 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()
|
D | SkPictureData.cpp | 125 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/skia/gm/ |
D | blurrect.cpp | 128 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/skqp/gm/ |
D | blurrect.cpp | 128 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/skqp/tests/ |
D | SerialProcsTest.cpp | 93 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/ |
D | SerialProcsTest.cpp | 93 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/syzkaller/syz-fuzzer/ |
D | workqueue.go | 24 procs int member 64 func newWorkQueue(procs int, needCandidates chan struct{}) *WorkQueue { 66 procs: procs, 107 wantCandidates = len(wq.candidate) < wq.procs 130 return len(wq.candidate) < wq.procs
|
/external/skqp/include/core/ |
D | SkPicture.h | 62 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/skia/include/core/ |
D | SkPicture.h | 62 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/skqp/site/user/api/ |
D | SkPicture_Reference.md | 13 … 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… 137 …procs</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/skia/site/user/api/ |
D | SkPicture_Reference.md | 13 … 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… 137 …procs</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/skia/src/utils/ |
D | SkMultiPictureDocument.cpp | 56 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/src/utils/ |
D | SkMultiPictureDocument.cpp | 56 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/skia/tools/ |
D | remote_demo.cpp | 151 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/skqp/tools/ |
D | remote_demo.cpp | 151 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/swiftshader/third_party/LLVM/utils/lit/lit/ |
D | TestRunner.py | 67 procs = [] 163 procs.append(subprocess.Popen(args, cwd=cwd, 172 procs[-1].stdin.close() 173 procs[-1].stdin = None 177 input = procs[-1].stdout 179 input = procs[-1].stderr 191 procData = [None] * len(procs) 192 procData[-1] = procs[-1].communicate() 194 for i in range(len(procs) - 1): 195 if procs[i].stdout is not None: [all …]
|
/external/strace/tests-m32/ |
D | qual_fault.test | 45 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/ |
D | qual_fault.test | 45 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/ |
D | qual_fault.test | 45 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/ |
D | SkImageEncoder_CG.cpp | 42 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/ |
D | SkImageEncoder_CG.cpp | 42 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()
|