Home
last modified time | relevance | path

Searched refs:fImpl (Results 1 – 25 of 40) sorted by relevance

12

/external/skia/src/pdf/
DSkDeflate.cpp68 : fImpl(skstd::make_unique<SkDeflateWStream::Impl>()) { in SkDeflateWStream()
69 fImpl->fOut = out; in SkDeflateWStream()
70 fImpl->fInBufferIndex = 0; in SkDeflateWStream()
71 if (!fImpl->fOut) { in SkDeflateWStream()
74 fImpl->fZStream.next_in = nullptr; in SkDeflateWStream()
75 fImpl->fZStream.zalloc = &skia_alloc_func; in SkDeflateWStream()
76 fImpl->fZStream.zfree = &skia_free_func; in SkDeflateWStream()
77 fImpl->fZStream.opaque = nullptr; in SkDeflateWStream()
79 SkDEBUGCODE(int r =) deflateInit2(&fImpl->fZStream, compressionLevel, in SkDeflateWStream()
89 if (!fImpl->fOut) { in finalize()
[all …]
/external/skqp/src/pdf/
DSkDeflate.cpp68 : fImpl(skstd::make_unique<SkDeflateWStream::Impl>()) { in SkDeflateWStream()
69 fImpl->fOut = out; in SkDeflateWStream()
70 fImpl->fInBufferIndex = 0; in SkDeflateWStream()
71 if (!fImpl->fOut) { in SkDeflateWStream()
74 fImpl->fZStream.next_in = nullptr; in SkDeflateWStream()
75 fImpl->fZStream.zalloc = &skia_alloc_func; in SkDeflateWStream()
76 fImpl->fZStream.zfree = &skia_free_func; in SkDeflateWStream()
77 fImpl->fZStream.opaque = nullptr; in SkDeflateWStream()
79 SkDEBUGCODE(int r =) deflateInit2(&fImpl->fZStream, compressionLevel, in SkDeflateWStream()
89 if (!fImpl->fOut) { in finalize()
[all …]
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp340 fImpl = NULL; in init()
407 fImpl = new DecimalFormatImpl(this, *pattern, adoptedSymbols.getAlias(), parseErr, status); in construct()
408 if (fImpl) { in construct()
426 fCurrencyPluralInfo = new CurrencyPluralInfo(fImpl->fSymbols->getLocale(), status); in construct()
440 fImpl->applyPatternFavorCurrencyPrecision( in construct()
463 fCurrencyPluralInfo = new CurrencyPluralInfo(fImpl->fSymbols->getLocale(), status); in handleCurrencySignInPattern()
514 NumberingSystem *ns = NumberingSystem::createInstance(fImpl->fSymbols->getLocale(),status); in setupCurrencyAffixPatterns()
525 UResourceBundle *resource = ures_open(NULL, fImpl->fSymbols->getLocale().getName(), &error); in setupCurrencyAffixPatterns()
595 delete fImpl; in ~DecimalFormat()
626 if (fImpl == NULL) { in operator =()
[all …]
/external/skqp/src/core/
DSkRefDict.cpp18 SkRefDict::SkRefDict() : fImpl(nullptr) {} in SkRefDict()
29 Impl* rec = fImpl; in find()
44 Impl* rec = fImpl; in set()
59 fImpl = rec->fNext; in set()
75 rec->fNext = fImpl; in set()
76 fImpl = rec; in set()
80 Impl* rec = fImpl; in removeAll()
87 fImpl = nullptr; in removeAll()
DSkPipe.h42 std::unique_ptr<Impl> fImpl; variable
73 std::unique_ptr<Impl> fImpl; variable
/external/skia/src/core/
DSkRefDict.cpp18 SkRefDict::SkRefDict() : fImpl(nullptr) {} in SkRefDict()
29 Impl* rec = fImpl; in find()
44 Impl* rec = fImpl; in set()
59 fImpl = rec->fNext; in set()
75 rec->fNext = fImpl; in set()
76 fImpl = rec; in set()
80 Impl* rec = fImpl; in removeAll()
87 fImpl = nullptr; in removeAll()
DSkPipe.h42 std::unique_ptr<Impl> fImpl; variable
73 std::unique_ptr<Impl> fImpl; variable
/external/skia/tools/shape/
DSkShaper_harfbuzz.cpp452 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper()
456 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
457 fImpl->fHarfBuzzFont = create_hb_font(fImpl->fTypeface.get()); in SkShaper()
458 SkASSERT(fImpl->fHarfBuzzFont); in SkShaper()
459 fImpl->fBuffer.reset(hb_buffer_create()); in SkShaper()
460 SkASSERT(fImpl->fBuffer); in SkShaper()
464 fImpl->fBreakIterator.reset(icu::BreakIterator::createLineInstance(thai, status)); in SkShaper()
474 return fImpl->fHarfBuzzFont && in good()
475 fImpl->fBuffer && in good()
476 fImpl->fTypeface && in good()
[all …]
DSkShaper_primitive.cpp16 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper()
17 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
42 paint.setTypeface(fImpl->fTypeface); in shape()
/external/skqp/tools/shape/
DSkShaper_harfbuzz.cpp450 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper()
451 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
452 fImpl->fHarfBuzzFont = create_hb_font(fImpl->fTypeface.get()); in SkShaper()
453 SkASSERT(fImpl->fHarfBuzzFont); in SkShaper()
454 fImpl->fBuffer.reset(hb_buffer_create()); in SkShaper()
455 SkASSERT(fImpl->fBuffer); in SkShaper()
459 fImpl->fBreakIterator.reset(icu::BreakIterator::createLineInstance(thai, status)); in SkShaper()
469 return fImpl->fHarfBuzzFont && in good()
470 fImpl->fBuffer && in good()
471 fImpl->fTypeface && in good()
[all …]
DSkShaper_primitive.cpp16 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper()
17 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
42 paint.setTypeface(fImpl->fTypeface); in shape()
/external/skqp/src/pipe/
DSkPipeReader.cpp778 SkPipeDeserializer::SkPipeDeserializer() : fImpl(new Impl) {} in SkPipeDeserializer()
782 fImpl->fProcs = procs; in setDeserialProcs()
796 SkPipeInflator inflator(&fImpl->fImages, &fImpl->fPictures, in readImage()
797 &fImpl->fTypefaces, &fImpl->fFactories, in readImage()
798 fImpl->fProcs); in readImage()
812 return sk_ref_sp(fImpl->fImages.get(index - 1)); in readImage()
826 SkPipeInflator inflator(&fImpl->fImages, &fImpl->fPictures, in readPicture()
827 &fImpl->fTypefaces, &fImpl->fFactories, in readPicture()
828 fImpl->fProcs); in readPicture()
842 return sk_ref_sp(fImpl->fPictures.get(index - 1)); in readPicture()
[all …]
DSkPipeCanvas.cpp937 SkPipeSerializer::SkPipeSerializer() : fImpl(new Impl) {} in SkPipeSerializer()
940 if (fImpl->fCanvas) { in ~SkPipeSerializer()
946 fImpl->fDeduper.resetCaches(); in resetCache()
962 int index = fImpl->fDeduper.findPicture(picture); in writePicture()
966 index = fImpl->fDeduper.findOrDefinePicture(picture); in writePicture()
973 int index = fImpl->fDeduper.findImage(image); in writeImage()
976 fImpl->fDeduper.setStream(stream); in writeImage()
977 index = fImpl->fDeduper.findOrDefineImage(image); in writeImage()
983 SkASSERT(nullptr == fImpl->fCanvas); in beginWrite()
984 fImpl->fCanvas.reset(new SkPipeCanvas(cull, &fImpl->fDeduper, stream)); in beginWrite()
[all …]
/external/skia/src/pipe/
DSkPipeReader.cpp778 SkPipeDeserializer::SkPipeDeserializer() : fImpl(new Impl) {} in SkPipeDeserializer()
782 fImpl->fProcs = procs; in setDeserialProcs()
796 SkPipeInflator inflator(&fImpl->fImages, &fImpl->fPictures, in readImage()
797 &fImpl->fTypefaces, &fImpl->fFactories, in readImage()
798 fImpl->fProcs); in readImage()
812 return sk_ref_sp(fImpl->fImages.get(index - 1)); in readImage()
826 SkPipeInflator inflator(&fImpl->fImages, &fImpl->fPictures, in readPicture()
827 &fImpl->fTypefaces, &fImpl->fFactories, in readPicture()
828 fImpl->fProcs); in readPicture()
842 return sk_ref_sp(fImpl->fPictures.get(index - 1)); in readPicture()
[all …]
DSkPipeCanvas.cpp937 SkPipeSerializer::SkPipeSerializer() : fImpl(new Impl) {} in SkPipeSerializer()
940 if (fImpl->fCanvas) { in ~SkPipeSerializer()
946 fImpl->fDeduper.resetCaches(); in resetCache()
962 int index = fImpl->fDeduper.findPicture(picture); in writePicture()
966 index = fImpl->fDeduper.findOrDefinePicture(picture); in writePicture()
973 int index = fImpl->fDeduper.findImage(image); in writeImage()
976 fImpl->fDeduper.setStream(stream); in writeImage()
977 index = fImpl->fDeduper.findOrDefineImage(image); in writeImage()
983 SkASSERT(nullptr == fImpl->fCanvas); in beginWrite()
984 fImpl->fCanvas.reset(new SkPipeCanvas(cull, &fImpl->fDeduper, stream)); in beginWrite()
[all …]
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp114 return fImpl->makeFromStream(std::move(stream), dataTypefaceIndex).release(); in createTypefaceFromFontId()
124 sk_sp<SkTypeface> typeface(fImpl->makeFromStream(std::move(stream), id.fTtcIndex)); in createTypefaceFromFontId()
163 return fImpl->makeFromStream(std::move(stream), ttcIndex); in onMakeFromStreamIndex()
167 return fImpl->makeFromFile(path, ttcIndex); in onMakeFromFile()
171 return fImpl->makeFromData(std::move(data), ttcIndex); in onMakeFromData()
/external/skqp/src/fonts/
DSkFontMgr_indirect.cpp114 return fImpl->makeFromStream(std::move(stream), dataTypefaceIndex).release(); in createTypefaceFromFontId()
124 sk_sp<SkTypeface> typeface(fImpl->makeFromStream(std::move(stream), id.fTtcIndex)); in createTypefaceFromFontId()
163 return fImpl->makeFromStream(std::move(stream), ttcIndex); in onMakeFromStreamIndex()
167 return fImpl->makeFromFile(path, ttcIndex); in onMakeFromFile()
171 return fImpl->makeFromData(std::move(data), ttcIndex); in onMakeFromData()
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.h99 , fImpl(caps.shaderCaps()->geometryShaderSupport() ? Impl::kGeometryShader in GrCCCoverageProcessor()
102 if (Impl::kGeometryShader == fImpl) { in GrCCCoverageProcessor()
116 if (Impl::kGeometryShader == fImpl) { in appendMesh()
241 const Impl fImpl; variable
DGrCCCoverageProcessor.cpp70 if (Impl::kGeometryShader == fImpl) { in getGLSLProcessorKey()
104 return Impl::kGeometryShader == fImpl ? this->createGSImpl(std::move(shader)) in createGLSLInstance()
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.h110 , fImpl(rp->caps()->shaderCaps()->geometryShaderSupport() ? Impl::kGeometryShader in GrCCCoverageProcessor()
113 if (Impl::kGeometryShader == fImpl) { in GrCCCoverageProcessor()
125 if (Impl::kGeometryShader == fImpl) { in appendMesh()
251 const Impl fImpl; variable
DGrCCCoverageProcessor.cpp73 if (Impl::kVertexShader == fImpl) { in getGLSLProcessorKey()
107 return Impl::kGeometryShader == fImpl ? this->createGSImpl(std::move(shader)) in createGLSLInstance()
/external/skqp/src/gpu/
DGrAllocator.h322 Iter(const GrTAllocator* allocator) : fImpl(&allocator->fAllocator) {} in Iter()
327 bool next() { return fImpl.next(); } in next()
333 T* get() const { return (T*) fImpl.get(); } in get()
342 GrAllocator::Iter fImpl;
/external/skia/src/gpu/
DGrAllocator.h322 Iter(const GrTAllocator* allocator) : fImpl(&allocator->fAllocator) {} in Iter()
327 bool next() { return fImpl.next(); } in next()
333 T* get() const { return (T*) fImpl.get(); } in get()
342 GrAllocator::Iter fImpl;
/external/skqp/include/ports/
DSkFontMgr_indirect.h31 : fImpl(std::move(impl)), fProxy(std::move(proxy)) in SkFontMgr_Indirect()
61 sk_sp<SkFontMgr> fImpl; variable
/external/skia/include/ports/
DSkFontMgr_indirect.h31 : fImpl(std::move(impl)), fProxy(std::move(proxy)) in SkFontMgr_Indirect()
61 sk_sp<SkFontMgr> fImpl; variable

12