Home
last modified time | relevance | path

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

12

/external/skqp/src/pdf/
DSkDeflate.cpp69 : fImpl(skstd::make_unique<SkDeflateWStream::Impl>()) { in SkDeflateWStream()
70 fImpl->fOut = out; in SkDeflateWStream()
71 fImpl->fInBufferIndex = 0; in SkDeflateWStream()
72 if (!fImpl->fOut) { in SkDeflateWStream()
75 fImpl->fZStream.next_in = nullptr; in SkDeflateWStream()
76 fImpl->fZStream.zalloc = &skia_alloc_func; in SkDeflateWStream()
77 fImpl->fZStream.zfree = &skia_free_func; in SkDeflateWStream()
78 fImpl->fZStream.opaque = nullptr; in SkDeflateWStream()
80 SkDEBUGCODE(int r =) deflateInit2(&fImpl->fZStream, compressionLevel, in SkDeflateWStream()
90 if (!fImpl->fOut) { in finalize()
[all …]
DSkDeflate.h50 std::unique_ptr<Impl> fImpl; variable
/external/skia/src/pdf/
DSkDeflate.cpp70 : fImpl(std::make_unique<SkDeflateWStream::Impl>()) { in SkDeflateWStream()
71 fImpl->fOut = out; in SkDeflateWStream()
72 fImpl->fInBufferIndex = 0; in SkDeflateWStream()
73 if (!fImpl->fOut) { in SkDeflateWStream()
76 fImpl->fZStream.next_in = nullptr; in SkDeflateWStream()
77 fImpl->fZStream.zalloc = &skia_alloc_func; in SkDeflateWStream()
78 fImpl->fZStream.zfree = &skia_free_func; in SkDeflateWStream()
79 fImpl->fZStream.opaque = nullptr; in SkDeflateWStream()
81 SkDEBUGCODE(int r =) deflateInit2(&fImpl->fZStream, compressionLevel, in SkDeflateWStream()
91 if (!fImpl->fOut) { in finalize()
[all …]
DSkDeflate.h50 std::unique_ptr<Impl> fImpl; variable
/external/icu/icu4c/source/i18n/
Dformattedvalue.cpp78 ConstrainedFieldPosition fImpl; member
97 impl->fImpl.reset(); in ucfpos_reset()
106 impl->fImpl.constrainCategory(category); in ucfpos_constrainCategory()
115 impl->fImpl.constrainField(category, field); in ucfpos_constrainField()
124 return impl->fImpl.getCategory(); in ucfpos_getCategory()
133 return impl->fImpl.getField(); in ucfpos_getField()
142 *pStart = impl->fImpl.getStart(); in ucfpos_getIndexes()
143 *pLimit = impl->fImpl.getLimit(); in ucfpos_getIndexes()
152 return impl->fImpl.getInt64IterationContext(); in ucfpos_getInt64IterationContext()
161 impl->fImpl.setInt64IterationContext(context); in ucfpos_setInt64IterationContext()
[all …]
Dmeasunit.cpp2116 : fImpl(nullptr), fSubTypeId(subTypeId), fTypeId(typeId) { in MeasureUnit()
2120 : fImpl(nullptr) { in MeasureUnit()
2125 : fImpl(other.fImpl), in MeasureUnit()
2128 other.fImpl = nullptr; in MeasureUnit()
2132 : fImpl(nullptr), fSubTypeId(-1), fTypeId(-1) { in MeasureUnit()
2134 fImpl = new MeasureUnitImpl(std::move(impl)); in MeasureUnit()
2142 if (fImpl != nullptr) { in operator =()
2143 delete fImpl; in operator =()
2145 if (other.fImpl) { in operator =()
2147 fImpl = new MeasureUnitImpl(other.fImpl->copy(localStatus)); in operator =()
[all …]
Dnumrange_capi.cpp48 FormattedNumberRange fImpl; member
53 : fImpl(&fData) { in UFormattedNumberRangeImpl()
54 fFormattedValue = &fImpl; in UFormattedNumberRangeImpl()
59 fImpl.fData = nullptr; in ~UFormattedNumberRangeImpl()
Dnumber_capi.cpp47 FormattedNumber fImpl; member
52 : fImpl(&fData) { in UFormattedNumberImpl()
53 fFormattedValue = &fImpl; in UFormattedNumberImpl()
58 fImpl.fData = nullptr; in ~UFormattedNumberImpl()
Dudateintervalformat.cpp133 resultImpl->fImpl = reinterpret_cast<const DateIntervalFormat*>(formatter) in udtitvfmt_formatToResult()
150 resultImpl->fImpl = reinterpret_cast<const DateIntervalFormat*>(formatter) in udtitvfmt_formatCalendarToResult()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberRangeFormatter.java19 private volatile NumberRangeFormatterImpl fImpl; field in LocalizedNumberRangeFormatter
86 if (fImpl == null) { in formatImpl()
87 fImpl = new NumberRangeFormatterImpl(resolve()); in formatImpl()
89 return fImpl.format(first, second, equalBeforeRounding); in formatImpl()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DLocalizedNumberRangeFormatter.java19 private volatile NumberRangeFormatterImpl fImpl; field in LocalizedNumberRangeFormatter
83 if (fImpl == null) { in formatImpl()
84 fImpl = new NumberRangeFormatterImpl(resolve()); in formatImpl()
86 return fImpl.format(first, second, equalBeforeRounding); in formatImpl()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp113 return fImpl->makeFromStream(std::move(stream), dataTypefaceIndex).release(); in createTypefaceFromFontId()
123 sk_sp<SkTypeface> typeface(fImpl->makeFromStream(std::move(stream), id.fTtcIndex)); in createTypefaceFromFontId()
155 return fImpl->makeFromStream(std::move(stream), ttcIndex); in onMakeFromStreamIndex()
160 return fImpl->makeFromStream(std::move(stream), args); in onMakeFromStreamArgs()
164 return fImpl->makeFromFile(path, ttcIndex); in onMakeFromFile()
168 return fImpl->makeFromData(std::move(data), ttcIndex); in onMakeFromData()
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp510 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper()
514 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
515 fImpl->fHarfBuzzFont = create_hb_font(fImpl->fTypeface.get()); in SkShaper()
516 if (!fImpl->fHarfBuzzFont) { in SkShaper()
519 fImpl->fBuffer.reset(hb_buffer_create()); in SkShaper()
520 SkASSERT(fImpl->fBuffer); in SkShaper()
523 fImpl->fBreakIterator.reset(ubrk_open(UBRK_LINE, "th", nullptr, 0, &status)); in SkShaper()
533 return fImpl->fHarfBuzzFont && in good()
534 fImpl->fBuffer && in good()
535 fImpl->fTypeface && in good()
[all …]
DSkShaper_primitive.cpp18 SkShaper::SkShaper(sk_sp<SkTypeface> tf) : fImpl(new Impl) { in SkShaper()
19 fImpl->fTypeface = tf ? std::move(tf) : SkTypeface::MakeDefault(); in SkShaper()
45 font.setTypeface(fImpl->fTypeface); in shape()
/external/skqp/src/gpu/ccpr/
DGrCCAtlas.h122 Iter(GrCCAtlasStack& stack) : fImpl(&stack.fAtlases) {} in Iter()
123 bool next() { return fImpl.next(); } in next()
124 GrCCAtlas* operator->() const { return fImpl.get(); }
126 typename GrTAllocator<GrCCAtlas>::Iter fImpl;
DGrCCCoverageProcessor.h74 , fImpl(rp->caps()->shaderCaps()->geometryShaderSupport() ? Impl::kGeometryShader in GrCCCoverageProcessor()
76 if (Impl::kGeometryShader == fImpl) { in GrCCCoverageProcessor()
105 if (Impl::kGeometryShader == fImpl) { in appendMesh()
243 , fImpl(Impl::kGeometryShader) in GrCCCoverageProcessor()
246 SkASSERT(Impl::kGeometryShader == proc.fImpl); in GrCCCoverageProcessor()
264 const Impl fImpl; variable
DGrCCCoverageProcessor.cpp190 if (Impl::kVertexShader == fImpl) { in getGLSLProcessorKey()
218 return Impl::kGeometryShader == fImpl ? this->createGSImpl(std::move(shader)) in createGLSLInstance()
241 if (Impl::kGeometryShader == fImpl) { in draw()
/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/
DGrAllocator.h356 Iter(const GrTAllocator* allocator) : fImpl(&allocator->fAllocator) {} in Iter()
361 bool next() { return fImpl.next(); } in next()
367 T* get() const { return (T*) fImpl.get(); } in get()
376 GrAllocator::Iter fImpl;
/external/skia/src/core/
DSkVM.cpp332 o->writeDecAsText(fImpl->regs); in dump()
334 o->writeDecAsText(fImpl->instructions.size()); in dump()
336 for (Val i = 0; i < (Val)fImpl->instructions.size(); i++) { in dump()
337 if (i == fImpl->loop) { write(o, "loop:\n"); } in dump()
340 if (i >= fImpl->loop) { write(o, " "); } in dump()
341 const InterpreterInstruction& inst = fImpl->instructions[i]; in dump()
2402 const void* jit_entry = fImpl->jit_entry.load(); in eval()
2415 switch (fImpl->strides.size()) { in eval()
2428 default: SkASSERT(fImpl->strides.size() <= 7); in eval()
2434 SkOpts::interpret_skvm(fImpl->instructions.data(), (int)fImpl->instructions.size(), in eval()
[all …]
DSkRemoteGlyphCache.h84 std::unique_ptr<SkStrikeServerImpl> fImpl; variable
148 std::unique_ptr<SkStrikeClientImpl> fImpl;
DSkRemoteGlyphCache.cpp862 : fImpl(new SkStrikeServerImpl{dhm}) { } in SkStrikeServer()
878 return fImpl->serializeTypeface(tf); in serializeTypeface()
882 fImpl->writeStrikeData(memory); in writeStrikeData()
885 SkStrikeServerImpl* SkStrikeServer::impl() { return fImpl.get(); } in impl()
888 fImpl->setMaxEntriesInDescriptorMapForTesting(count); in setMaxEntriesInDescriptorMapForTesting()
891 return fImpl->remoteStrikeMapSizeForTesting(); in remoteStrikeMapSizeForTesting()
1113 : fImpl{new SkStrikeClientImpl{std::move(discardableManager), isLogging, strikeCache}} {} in SkStrikeClient()
1118 return fImpl->readStrikeData(memory, memorySize); in readStrikeData()
1122 return fImpl->deserializeTypeface(buf, len); in deserializeTypeface()
DSkContourMeasure.cpp488 fImpl = std::make_unique<Impl>(path, forceClosed, resScale); in reset()
490 fImpl.reset(); in reset()
495 if (!fImpl) { in next()
498 while (fImpl->hasNextSegments()) { in next()
499 auto cm = fImpl->buildSegments(); in next()
/external/skia/include/ports/
DSkFontMgr_indirect.h31 : fImpl(std::move(impl)), fProxy(std::move(proxy)) in SkFontMgr_Indirect()
60 sk_sp<SkFontMgr> fImpl; variable
/external/skqp/include/ports/
DSkFontMgr_indirect.h31 : fImpl(std::move(impl)), fProxy(std::move(proxy)) in SkFontMgr_Indirect()
61 sk_sp<SkFontMgr> fImpl; variable

12