Home
last modified time | relevance | path

Searched refs:inflater (Results 1 – 25 of 107) sorted by relevance

12345

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DSevenZNativeHeapTest.java55 DelegatingInflater delegatingInflater = new DelegatingInflater(inputStream.inflater); in testEndInflaterOnCloseStream()
56 inputStream.inflater = delegatingInflater; in testEndInflaterOnCloseStream()
64 private final Inflater inflater; field in SevenZNativeHeapTest.DelegatingInflater
66 public DelegatingInflater(Inflater inflater) { in DelegatingInflater() argument
67 this.inflater = inflater; in DelegatingInflater()
74 inflater.end(); in end()
79 inflater.setInput(b, off, len); in setInput()
84 inflater.setInput(b); in setInput()
89 inflater.setDictionary(b, off, len); in setDictionary()
94 inflater.setDictionary(b); in setDictionary()
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DInflaterSource.java29 private final Inflater inflater; field in InflaterSource
39 public InflaterSource(Source source, Inflater inflater) { in InflaterSource() argument
40 this(Okio.buffer(source), inflater); in InflaterSource()
48 InflaterSource(BufferedSource source, Inflater inflater) { in InflaterSource() argument
50 if (inflater == null) throw new IllegalArgumentException("inflater == null"); in InflaterSource()
52 this.inflater = inflater; in InflaterSource()
67 int bytesInflated = inflater.inflate(tail.data, tail.limit, Segment.SIZE - tail.limit); in read()
73 if (inflater.finished() || inflater.needsDictionary()) { in read()
95 if (!inflater.needsInput()) return false; in refill()
98 if (inflater.getRemaining() != 0) throw new IllegalStateException("?"); // TODO: possible? in refill()
[all …]
DGzipSource.java49 private final Inflater inflater; field in GzipSource
62 this.inflater = new Inflater(true); in GzipSource()
64 this.inflaterSource = new InflaterSource(this.source, inflater); in GzipSource()
174 checkEqual("ISIZE", source.readIntLe(), inflater.getTotalOut()); in consumeTrailer()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DInflaterSource.java31 private final Inflater inflater; field in InflaterSource
41 public InflaterSource(Source source, Inflater inflater) { in InflaterSource() argument
42 this(Okio.buffer(source), inflater); in InflaterSource()
50 InflaterSource(BufferedSource source, Inflater inflater) { in InflaterSource() argument
52 if (inflater == null) throw new IllegalArgumentException("inflater == null"); in InflaterSource()
54 this.inflater = inflater; in InflaterSource()
69 int bytesInflated = inflater.inflate(tail.data, tail.limit, Segment.SIZE - tail.limit); in read()
75 if (inflater.finished() || inflater.needsDictionary()) { in read()
97 if (!inflater.needsInput()) return false; in refill()
100 if (inflater.getRemaining() != 0) throw new IllegalStateException("?"); // TODO: possible? in refill()
[all …]
DGzipSource.java51 private final Inflater inflater; field in GzipSource
64 this.inflater = new Inflater(true); in GzipSource()
66 this.inflaterSource = new InflaterSource(this.source, inflater); in GzipSource()
176 checkEqual("ISIZE", source.readIntLe(), inflater.getTotalOut()); in consumeTrailer()
/external/okio/okio/src/jvmMain/kotlin/okio/
DInflaterSource.kt35 internal constructor(private val source: BufferedSource, private val inflater: Inflater) : Source { constant in okio.InflaterSource
44 constructor(source: Source, inflater: Inflater) : this(source.buffer(), inflater)
51 if (inflater.finished() || inflater.needsDictionary()) return -1L in read()
79 val bytesInflated = inflater.inflate(tail.data, tail.limit, toRead) in readOrInflate()
109 if (!inflater.needsInput()) return false in refill()
117 inflater.setInput(head.data, head.pos, bufferBytesHeldByInflater) in refill()
124 val toRelease = bufferBytesHeldByInflater - inflater.remaining in releaseBytesAfterInflate()
134 inflater.end() in timeout()
145 inline fun Source.inflate(inflater: Inflater = Inflater()): InflaterSource =
146 InflaterSource(this, inflater)
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGzipInflatingBuffer.java164 private Inflater inflater; field in GzipInflatingBuffer
220 if (inflater != null) { in close()
221 inflater.end(); in close()
222 inflater = null; in close()
397 if (inflater == null) { in initializeInflater()
398 inflater = new Inflater(true); in initializeInflater()
400 inflater.reset(); in initializeInflater()
405 inflater.setInput(inflaterInput, inflaterInputStart, bytesRemainingInInflaterInput); in initializeInflater()
414 checkState(inflater != null, "inflater is null"); in inflate()
417 int inflaterTotalIn = inflater.getTotalIn(); in inflate()
[all …]
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DFragmentVisibilityTests.kt50 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>()
51 return inflater.inflate(R.layout.auto_play, container, false) in <lambda>()
68 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>()
69 return inflater.inflate(R.layout.auto_play, container, false) in <lambda>()
85 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>()
86 return inflater.inflate(R.layout.auto_play_gone, container, false) in <lambda>()
106 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>()
107 return inflater.inflate(R.layout.auto_play, container, false) in <lambda>()
133 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>()
134 return inflater.inflate(R.layout.auto_play, container, false) in <lambda>()
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DTemplateLayout.java140 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate() local
141 final View templateRoot = onInflateTemplate(inflater, templateResource); in inflateTemplate()
169 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate() argument
174 inflater = in inflateTemplate()
175 LayoutInflater.from(new FallbackThemeWrapper(inflater.getContext(), fallbackTheme)); in inflateTemplate()
177 return inflater.inflate(template, this, false); in inflateTemplate()
190 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate() argument
191 return inflateTemplate(inflater, 0, template); in onInflateTemplate()
/external/setupdesign/main/src/com/google/android/setupdesign/
DGlifPreferenceLayout.java94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView() argument
99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate() argument
103 return super.onInflateTemplate(inflater, template); in onInflateTemplate()
110 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated() local
112 (RecyclerView) inflater.inflate(R.layout.sud_glif_preference_recycler_view, this, false); in onTemplateInflated()
DSetupWizardPreferenceLayout.java93 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView() argument
98 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate() argument
102 return super.onInflateTemplate(inflater, template); in onInflateTemplate()
109 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated() local
111 (RecyclerView) inflater.inflate(R.layout.sud_preference_recycler_view, this, false); in onTemplateInflated()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DCoders.java140 final Inflater inflater = new Inflater(true); in decode() local
147 new ByteArrayInputStream(ONE_ZERO_BYTE)), inflater); in decode()
148 return new DeflateDecoderInputStream(inflaterInputStream, inflater); in decode()
161 Inflater inflater; field in Coders.DeflateDecoder.DeflateDecoderInputStream
164 Inflater inflater) { in DeflateDecoderInputStream() argument
166 this.inflater = inflater; in DeflateDecoderInputStream()
189 inflater.end(); in close()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate/
DDeflateCompressorInputStream.java46 private final Inflater inflater; field in DeflateCompressorInputStream
68 inflater = new Inflater(!parameters.withZlibHeader()); in DeflateCompressorInputStream()
69 … in = new InflaterInputStream(countingStream = new CountingInputStream(inputStream), inflater); in DeflateCompressorInputStream()
106 inflater.end(); in close()
/external/okio/okio/src/jvmTest/java/okio/
DInflaterSourceTest.java149 Inflater inflater = new Inflater(); in sourceExhaustedPrematurelyOnRead() local
150 InflaterSource source = new InflaterSource(deflatedSource, inflater); in sourceExhaustedPrematurelyOnRead()
173 Inflater inflater = new Inflater(); in readOrInflateMakesByteByByteProgress() local
174 InflaterSource source = new InflaterSource(deflatedSource, inflater); in readOrInflateMakesByteByByteProgress()
179 assertThat(inflater.getBytesRead()).isEqualTo(i); in readOrInflateMakesByteByByteProgress()
186 assertThat(inflater.getBytesRead()).isEqualTo(deflatedByteCount); in readOrInflateMakesByteByByteProgress()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothHidInputCounterTask.java53 ViewInflater inflater = new ViewInflater(); in onCreate() local
54 inflater.getErrors().clear(); in onCreate()
58 View view = inflater.inflate(getActivity(), xml); in onCreate()
/external/dagger2/java/dagger/hilt/android/internal/managers/
DViewComponentManager.java171 private LayoutInflater inflater; field in ViewComponentManager.FragmentContextWrapper
191 if (inflater == null) { in getSystemService()
196 inflater = baseInflater.cloneInContext(this); in getSystemService()
198 return inflater; in getSystemService()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DTrackSelectionView.java58 private final LayoutInflater inflater; field in TrackSelectionView
105 inflater = LayoutInflater.from(context); in TrackSelectionView()
113 inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); in TrackSelectionView()
122 addView(inflater.inflate(R.layout.exo_list_divider, this, false)); in TrackSelectionView()
126 inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); in TrackSelectionView()
264 addView(inflater.inflate(R.layout.exo_list_divider, this, false)); in updateViews()
271 (CheckedTextView) inflater.inflate(trackViewLayoutId, this, false); in updateViews()
/external/deqp/framework/common/
DtcuTestHierarchyUtil.cpp127 DefaultHierarchyInflater inflater (testCtx); in writeXmlCaselistsToFiles() local
130 TestHierarchyIterator iter (root, inflater, *caseListFilter); in writeXmlCaselistsToFiles()
185 DefaultHierarchyInflater inflater (testCtx); in writeTxtCaselistsToFiles() local
188 TestHierarchyIterator iter (root, inflater, *caseListFilter); in writeTxtCaselistsToFiles()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DInputMarginView.java60 LayoutInflater inflater = (LayoutInflater) context in initializeViews() local
62 inflater.inflate(R.layout.input_margin_view, this); in initializeViews()
/external/replicaisland/src/com/replica/replicaisland/
DCustomToastSystem.java33 …LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE… in CustomToastSystem() local
34 mView = inflater.inflate(R.layout.custom_toast, null); in CustomToastSystem()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DFrontPageFragment.java40 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
43 View view = inflater.inflate(R.layout.fragment_front_page, container, false); in onCreateView()
DAboutFragment.java41 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView() argument
44 return inflater.inflate(R.layout.fragment_about, container, false); in onCreateView()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DBaseEpoxyFragment.kt25 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in onCreateView()
26 inflater.inflate(R.layout.fragment_base, container, false).apply { in onCreateView()
DFontFragment.java28 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView() argument
30 View view = inflater.inflate(R.layout.fragment_font, container, false); in onCreateView()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/pgs/
DPgsDecoder.java45 @Nullable private Inflater inflater; field in PgsDecoder
71 if (inflater == null) { in maybeInflateData()
72 inflater = new Inflater(); in maybeInflateData()
74 if (Util.inflate(buffer, inflatedBuffer, inflater)) { in maybeInflateData()

12345