/external/skia/src/core/ |
D | SkPicture.cpp | 145 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procs) { in MakeFromStream() argument 146 return MakeFromStreamPriv(stream, procs, nullptr, kNestedSKPLimit); in MakeFromStream() 150 const SkDeserialProcs* procs) { in MakeFromData() argument 155 return MakeFromStreamPriv(&stream, procs, nullptr, kNestedSKPLimit); in MakeFromData() 158 sk_sp<SkPicture> SkPicture::MakeFromData(const SkData* data, const SkDeserialProcs* procs) { in MakeFromData() argument 163 return MakeFromStreamPriv(&stream, procs, nullptr, kNestedSKPLimit); in MakeFromData() 176 SkDeserialProcs procs; in MakeFromStreamPriv() local 178 procs = *procsPtr; in MakeFromStreamPriv() 186 SkPictureData::CreateFromStream(stream, info, procs, typefaces, in MakeFromStreamPriv() 192 if (!stream->readS32(&ssize) || ssize >= 0 || !procs.fPictureProc) { in MakeFromStreamPriv() [all …]
|
D | SkFlattenable.cpp | 128 sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const { in serialize() 130 if (procs) { in serialize() 131 writer.setSerialProcs(*procs); in serialize() 141 const SkSerialProcs* procs) const { in serialize() 143 if (procs) { in serialize() 144 writer.setSerialProcs(*procs); in serialize() 151 size_t size, const SkDeserialProcs* procs) { in Deserialize() argument 153 if (procs) { in Deserialize() 154 buffer.setDeserialProcs(*procs); in Deserialize()
|
D | SkPictureData.cpp | 139 const SkSerialProcs& procs) { in WriteTypefaces() argument 150 if (procs.fTypefaceProc) { in WriteTypefaces() 151 auto data = procs.fTypefaceProc(tf, procs.fTypefaceCtx); in WriteTypefaces() 219 static SkSerialProcs skip_typeface_proc(const SkSerialProcs& procs) { in skip_typeface_proc() argument 220 SkSerialProcs newProcs = procs; in skip_typeface_proc() 231 void SkPictureData::serialize(SkWStream* stream, const SkSerialProcs& procs, in serialize() argument 246 buffer.setSerialProcs(skip_typeface_proc(procs)); in serialize() 269 WriteTypefaces(stream, *typefaceSet, procs); in serialize() 279 pic->serialize(stream, &procs, typefaceSet, /*textBlobsOnly=*/ false); in serialize() 314 const SkDeserialProcs& procs, in parseStreamTag() argument [all …]
|
/external/linux-kselftest/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 72 static struct child_args procs[MAX_PROCESSES]; variable 97 kill(procs[pidx].cpid, 15); in __handle_error() 271 create_processes(num_processes, num_threads, procs); in main() 273 disp_processes(num_processes, procs); in main() 279 disp_processes(num_processes, procs); in main() 285 pid = procs[pidx].cpid; in main() 288 validate(get_cs_cookie(0) == get_cs_cookie(procs[pidx].thr_tids[0])); in main() 293 disp_processes(num_processes, procs); in main() 297 validate(get_cs_cookie(pid) == get_cs_cookie(procs[pidx].thr_tids[0])); in main() 303 disp_processes(num_processes, procs); in main() [all …]
|
/external/skia/tests/ |
D | SerialProcsTest.cpp | 109 SkSerialProcs procs; in makes() local 110 procs.fPictureProc = proc; in makes() 111 procs.fPictureCtx = ctx; in makes() 112 return procs; in makes() 116 SkDeserialProcs procs; in maked() local 117 procs.fPictureProc = proc; in maked() 118 procs.fPictureCtx = const_cast<void*>(ctx); in maked() 119 return procs; in maked() 221 SkSerialProcs procs; in DEF_TEST() local 222 procs.fTypefaceProc = [](SkTypeface* tf, void* ctx) -> sk_sp<SkData> { in DEF_TEST() [all …]
|
D | MultiPictureDocumentTest.cpp | 101 SkSerialProcs procs; in DEF_TEST() local 102 procs.fImageProc = SkSharingSerialContext::serializeImage; in DEF_TEST() 103 procs.fImageCtx = &ctx; in DEF_TEST() 106 sk_sp<SkDocument> multipic = SkMakeMultiPictureDocument(&stream, &procs); in DEF_TEST() 341 SkSerialProcs procs; in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local 342 procs.fImageProc = SkSharingSerialContext::serializeImage; in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 343 procs.fImageCtx = &ctx; in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 347 sk_sp<SkDocument> multipic = SkMakeMultiPictureDocument(&stream, &procs, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/tools/ |
D | remote_demo.cpp | 153 SkDeserialProcs procs; in final_draw() local 157 procs.fTypefaceProc = decode; in final_draw() 158 procs.fTypefaceCtx = client; in final_draw() 160 auto pic = SkPicture::MakeFromData(picData, &procs); in final_draw() 167 auto picUnderTest = SkPicture::MakeFromData(picData, &procs); in final_draw() 242 SkSerialProcs procs; in renderer() local 246 procs.fTypefaceProc = encode; in renderer() 247 procs.fTypefaceCtx = &server; in renderer() 249 stream = pic->serialize(&procs); in renderer()
|
D | DDLPromiseImageHelper.cpp | 100 SkSerialProcs procs; in recreateSKP() local 102 procs.fImageCtx = this; in recreateSKP() 103 procs.fImageProc = [](SkImage* image, void* ctx) -> sk_sp<SkData> { in recreateSKP() 112 sk_sp<SkData> compressedPictureData = inputPicture->serialize(&procs); in recreateSKP() 296 SkDeserialProcs procs; in reinflateSKP() local 297 procs.fImageCtx = (void*) &procContext; in reinflateSKP() 298 procs.fImageProc = CreatePromiseImages; in reinflateSKP() 300 return SkPicture::MakeFromData(compressedPictureData, &procs); in reinflateSKP()
|
D | get_images_from_skps.cpp | 131 SkDeserialProcs procs; in get_images_from_file() local 132 procs.fImageProc = [](const void* data, size_t size, void* ctx) -> sk_sp<SkImage> { in get_images_from_file() 136 procs.fImageCtx = &sniff; in get_images_from_file() 137 return SkPicture::MakeFromStream(stream.get(), &procs) != nullptr; in get_images_from_file()
|
/external/skia/include/core/ |
D | SkPicture.h | 57 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/ |
D | SkMultiPictureDocument.cpp | 67 MultiPictureDocument(SkWStream* s, const SkSerialProcs* procs, in MultiPictureDocument() 70 , fProcs(procs ? *procs : SkSerialProcs()) in MultiPictureDocument() 116 sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* wStream, const SkSerialProcs* procs, in SkMakeMultiPictureDocument() argument 118 return sk_make_sp<MultiPictureDocument>(wStream, procs, onEndPage); in SkMakeMultiPictureDocument() 200 const SkDeserialProcs* procs) { in SkMultiPictureDocumentRead() argument 210 auto picture = SkPicture::MakeFromStream(stream, procs); in SkMultiPictureDocumentRead()
|
/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/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/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/skia/experimental/tools/ |
D | coreGraphicsPdf2png.cpp | 53 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/perfetto/src/trace_processor/importers/fuchsia/ |
D | fuchsia_trace_parser.cc | 195 ProcessTracker* procs = context_->process_tracker.get(); in ParseFuchsiaRecord() local 281 procs->UpdateThread(static_cast<uint32_t>(tinfo.tid), in ParseFuchsiaRecord() 289 procs->GetOrCreateProcess(static_cast<uint32_t>(tinfo.pid)); in ParseFuchsiaRecord() 353 procs->UpdateThread(static_cast<uint32_t>(tinfo.tid), in ParseFuchsiaRecord() 361 procs->UpdateThread(static_cast<uint32_t>(tinfo.tid), in ParseFuchsiaRecord() 383 procs->UpdateThread(static_cast<uint32_t>(tinfo.tid), in ParseFuchsiaRecord() 397 procs->GetOrCreateProcess(static_cast<uint32_t>(tinfo.pid)); in ParseFuchsiaRecord() 410 procs->GetOrCreateProcess(static_cast<uint32_t>(tinfo.pid)); in ParseFuchsiaRecord() 423 procs->GetOrCreateProcess(static_cast<uint32_t>(tinfo.pid)); in ParseFuchsiaRecord() 436 procs->UpdateThread(static_cast<uint32_t>(tinfo.tid), in ParseFuchsiaRecord() [all …]
|
/external/libcxx/fuzzing/ |
D | fuzz_test.cpp | 108 const std::map<std::string, FuzzProc> procs = { variable 171 for (const auto &p : procs) in usage() 182 if (argc < 4 || dashR != argv[1] || procs.find(argv[2]) == procs.end()) in main() 185 FuzzProc fp = procs.find(argv[2])->second; in main()
|
/external/drm_hwcomposer/.ci/android_headers/hardware/ |
D | hwcomposer.h | 424 void (*invalidate)(const struct hwc_procs* procs); 446 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp); 468 void (*hotplug)(const struct hwc_procs* procs, int disp, int connected); 652 hwc_procs_t const* procs);
|
/external/python/rsa/rsa/ |
D | parallel.py | 65 procs = [mp.Process(target=_find_prime, args=(nbits, pipe_send)) 68 for p in procs: 77 for p in procs:
|
/external/skia/gm/ |
D | blurrect.cpp | 145 constexpr Proc procs[] = { in onDraw() local 151 this->drawProcs(canvas, r, paint, false, procs, std::size(procs)); in onDraw() 153 this->drawProcs(canvas, r, paintWithRadial, false, procs, std::size(procs)); in onDraw() 155 this->drawProcs(canvas, r, paint, true, procs, std::size(procs)); in onDraw() 157 this->drawProcs(canvas, r, paintWithRadial, true, procs, std::size(procs)); in onDraw() 160 canvas->translate(0, std::size(procs) * r.height() * 4/3 * scales[s]); in onDraw() 168 bool doClip, const Proc procs[], size_t procsCount) { in drawProcs() argument 177 procs[i](canvas, r, paint); in drawProcs()
|
D | srcmode.cpp | 88 const Proc procs[] = { in drawContent() local 109 for (size_t y = 0; y < std::size(procs); ++y) { in drawContent() 110 procs[y](canvas, paint, font); in drawContent() 118 canvas->translate(0, (H * 5 / 4) * std::size(procs)); in drawContent()
|
/external/musl/src/linux/x32/ |
D | sysinfo.c | 16 short procs; member 42 info->procs = tmp.procs ; in __lsysinfo()
|
/external/llvm/utils/lit/lit/ |
D | TestRunner.py | 191 procs = [] 319 procs.append(subprocess.Popen(args, cwd=cmd_shenv.cwd, 327 timeoutHelper.addProcess(procs[-1]) 333 procs[-1].stdin.close() 334 procs[-1].stdin = None 338 input = procs[-1].stdout 340 input = procs[-1].stderr 352 procData = [None] * len(procs) 353 procData[-1] = procs[-1].communicate() 355 for i in range(len(procs) - 1): [all …]
|
/external/python/cpython3/Tools/c-analyzer/c_common/ |
D | scriptutil.py | 171 procs = spec(parser) 172 _add_procs(processors, procs) 179 def _add_procs(flattened, procs): argument 181 if not procs: 183 if callable(procs): 184 flattened.append(procs) 187 for proc in procs: 459 procs = argspec(parser) 460 _add_procs(processors, procs)
|