/external/cronet/net/websockets/ |
D | websocket_inflater_test.cc | 25 WebSocketInflater inflater; in TEST() local 26 ASSERT_TRUE(inflater.Initialize(15)); in TEST() 28 EXPECT_EQ(0u, inflater.CurrentOutputSize()); in TEST() 32 WebSocketInflater inflater; in TEST() local 33 ASSERT_TRUE(inflater.Initialize(15)); in TEST() 36 ASSERT_TRUE(inflater.AddBytes("\xf2\x48\xcd\xc9\xc9\x07\x00", 7)); in TEST() 37 ASSERT_TRUE(inflater.Finish()); in TEST() 38 actual1 = inflater.GetOutput(inflater.CurrentOutputSize()); in TEST() 41 EXPECT_EQ(0u, inflater.CurrentOutputSize()); in TEST() 43 ASSERT_TRUE(inflater.AddBytes("\xf2\x00\x11\x00\x00", 5)); in TEST() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/ |
D | SevenZNativeHeapTest.java | 55 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/ |
D | InflaterSource.java | 29 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 …]
|
D | GzipSource.java | 49 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/ |
D | InflaterSource.java | 31 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 …]
|
D | GzipSource.java | 51 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/ |
D | InflaterSource.kt | 35 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/ |
D | GzipInflatingBuffer.java | 164 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/sample/src/androidTest/java/com/airbnb/lottie/samples/ |
D | FragmentVisibilityTests.kt | 51 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 96 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 97 return inflater.inflate(R.layout.auto_play, container, false) in <lambda>() 114 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 115 return inflater.inflate(R.layout.auto_play, container, false) in <lambda>() 131 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 132 return inflater.inflate(R.layout.auto_play_gone, container, false) in <lambda>() 151 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 152 return inflater.inflate(R.layout.auto_play, container, false) in <lambda>() 177 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() [all …]
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | TemplateLayout.java | 140 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/ |
D | SetupWizardPreferenceLayout.java | 93 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()
|
D | GlifPreferenceLayout.java | 94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView() argument 99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate() argument 107 return super.onInflateTemplate(inflater, template); in onInflateTemplate() 114 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated() local 116 (RecyclerView) inflater.inflate(R.layout.sud_glif_preference_recycler_view, this, false); in onTemplateInflated()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | Coders.java | 140 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/ |
D | DeflateCompressorInputStream.java | 46 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/ |
D | InflaterSourceTest.java | 149 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/dagger2/java/dagger/hilt/android/internal/managers/ |
D | ViewComponentManager.java | 175 private LayoutInflater inflater; field in ViewComponentManager.FragmentContextWrapper 185 FragmentContextWrapper.this.inflater = null; 214 if (inflater == null) { in getSystemService() 219 inflater = baseInflater.cloneInContext(this); in getSystemService() 221 return inflater; in getSystemService()
|
/external/cronet/net/server/ |
D | web_socket_encoder.cc | 229 auto inflater = std::make_unique<WebSocketInflater>(kInflaterChunkSize, in CreateServer() local 232 !inflater->Initialize(response.PermissiveClientMaxWindowBits())) { in CreateServer() 238 FOR_SERVER, std::move(deflater), std::move(inflater))); in CreateServer() 275 auto inflater = std::make_unique<WebSocketInflater>(kInflaterChunkSize, in CreateClient() local 278 !inflater->Initialize(params.PermissiveServerMaxWindowBits())) { in CreateClient() 284 std::move(inflater))); in CreateClient() 289 std::unique_ptr<WebSocketInflater> inflater) in WebSocketEncoder() argument 292 inflater_(std::move(inflater)) {} in WebSocketEncoder()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothHidInputCounterTask.java | 53 ViewInflater inflater = new ViewInflater(); in onCreate() local 54 inflater.getErrors().clear(); in onCreate() 58 View view = inflater.inflate(getActivity(), xml); in onCreate()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | TrackSelectionView.java | 82 private final LayoutInflater inflater; field in TrackSelectionView 125 inflater = LayoutInflater.from(context); in TrackSelectionView() 134 inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); in TrackSelectionView() 143 addView(inflater.inflate(R.layout.exo_list_divider, this, false)); in TrackSelectionView() 147 inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); in TrackSelectionView() 292 addView(inflater.inflate(R.layout.exo_list_divider, this, false)); in updateViews() 299 (CheckedTextView) inflater.inflate(trackViewLayoutId, this, false); in updateViews()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | TrackSelectionView.java | 60 private final LayoutInflater inflater; field in TrackSelectionView 108 inflater = LayoutInflater.from(context); in TrackSelectionView() 116 inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); in TrackSelectionView() 125 addView(inflater.inflate(R.layout.exo_list_divider, this, false)); in TrackSelectionView() 129 inflater.inflate(android.R.layout.simple_list_item_single_choice, this, false); in TrackSelectionView() 283 addView(inflater.inflate(R.layout.exo_list_divider, this, false)); in updateViews() 290 (CheckedTextView) inflater.inflate(trackViewLayoutId, this, false); in updateViews()
|
/external/deqp/framework/common/ |
D | tcuTestHierarchyUtil.cpp | 127 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/nullaway/nullaway/src/test/resources/com/uber/nullaway/testdata/android-error/ |
D | CoreFragmentWithoutOnAttach.java | 24 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument 26 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
|
D | AndroidxFragmentWithoutOnAttach.java | 24 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument 26 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
|
D | SupportLibraryFragmentWithoutOnAttach.java | 24 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { in onCreateView() argument 26 return super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
|
/external/robolectric/integration_tests/androidx_test/src/main/java/org/robolectric/integrationtests/axt/ |
D | ActivityWithPlatformMenu.java | 22 MenuInflater inflater = new MenuInflater(this); in onCreateOptionsMenu() local 24 inflater.inflate(R.menu.menu, menu); in onCreateOptionsMenu()
|