Home
last modified time | relevance | path

Searched refs:writeAll (Results 1 – 25 of 62) sorted by relevance

123

/external/okio/okio/src/commonTest/kotlin/okio/
DCommonRealBufferedSinkTest.kt162 @Test fun writeAll() { in writeAll() method in okio.CommonRealBufferedSinkTest
167 assertEquals(3, bufferedSink.writeAll(Buffer().writeUtf8("def"))) in writeAll()
178 assertEquals(0, bufferedSink.writeAll(Buffer())) in writeAllExhausted()
194 assertEquals(Segment.SIZE.toLong() * 3L, bufferedSink.writeAll(source)) in writeAllWritesOneSegmentAtATime()
DAbstractBufferedSinkTest.kt156 @Test fun writeAll() { in writeAll() method
159 assertEquals(6, sink.writeAll(source)) in writeAll()
215 assertEquals(0, sink.writeAll(source)) in writeAllExhausted()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/seq/
DSequenceWriterTest.java104 .writeAll(new Bean[] { new Bean(3), new Bean(1) }) in testSimpleNonArray()
105 .writeAll(Arrays.asList(new Bean(5), new Bean(7))) in testSimpleNonArray()
130 .writeAll(new Bean[] { new Bean(-7), new Bean(2) }); in testSimpleArray()
141 .writeAll((Iterable<Bean>) bean); in testSimpleArray()
/external/okhttp/okio/okio/src/test/java/okio/
DRealBufferedSinkTest.java204 @Test public void writeAll() throws IOException { in writeAll() method in RealBufferedSinkTest
209 assertEquals(3, bufferedSink.writeAll(new Buffer().writeUtf8("def"))); in writeAll()
220 assertEquals(0, bufferedSink.writeAll(new Buffer())); in writeAllExhausted()
237 assertEquals(Segment.SIZE * 3, bufferedSink.writeAll(source)); in writeAllWritesOneSegmentAtATime()
DBufferedSinkTest.java196 @Test public void writeAll() throws Exception {
199 assertEquals(6, sink.writeAll(source));
257 assertEquals(0, sink.writeAll(source));
/external/okio/okio/src/jvmTest/java/okio/
DBufferedSinkJavaTest.java205 @Test public void writeAll() throws IOException { in writeAll() method in BufferedSinkJavaTest
210 assertEquals(3, bufferedSink.writeAll(new Buffer().writeUtf8("def"))); in writeAll()
221 assertEquals(0, bufferedSink.writeAll(new Buffer())); in writeAllExhausted()
238 assertEquals(SEGMENT_SIZE * 3, bufferedSink.writeAll(source)); in writeAllWritesOneSegmentAtATime()
DBufferedSinkTest.java223 @Test public void writeAll() throws Exception { in writeAll() method in BufferedSinkTest
226 assertEquals(6, sink.writeAll(source)); in writeAll()
284 assertEquals(0, sink.writeAll(source)); in writeAllExhausted()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DRealBufferedSource.java83 buffer.writeAll(source); in readByteString()
93 buffer.writeAll(source); in readByteArray()
139 sink.writeAll(buffer); in readFully()
164 buffer.writeAll(source); in readUtf8()
176 buffer.writeAll(source); in readString()
DBufferedSink.java50 long writeAll(Source source) throws IOException; in writeAll() method
/external/okhttp/okio/okio/src/main/java/okio/
DRealBufferedSource.java82 buffer.writeAll(source); in readByteString()
92 buffer.writeAll(source); in readByteArray()
138 sink.writeAll(buffer); in readFully()
163 buffer.writeAll(source); in readUtf8()
175 buffer.writeAll(source); in readString()
DBufferedSink.java48 long writeAll(Source source) throws IOException; in writeAll() method
/external/okio/samples/src/jvmMain/kotlin/okio/samples/
DHashing.kt62 sink.writeAll(source) in <lambda>()
84 Buffer().also { it.writeAll(source) } in <lambda>()
/external/guice/core/src/com/google/inject/util/
DModules.java223 }.writeAll(overrideElements); in configure()
288 }.writeAll(elements); in configure()
316 }.writeAll(scopeBindings); in configure()
343 void writeAll(Iterable<? extends Element> elements) {
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DSequenceWriter.java195 public SequenceWriter writeAll(Object[] value) throws IOException in writeAll() method in SequenceWriter
205 public <C extends Collection<?>> SequenceWriter writeAll(C container) throws IOException { in writeAll() method in SequenceWriter
215 public SequenceWriter writeAll(Iterable<?> iterable) throws IOException in writeAll() method in SequenceWriter
/external/okio/samples/src/jvmMain/java/okio/samples/
DHashing.java61 sink.writeAll(source); in run()
82 buffer.writeAll(source); in readBuffer()
/external/mesa3d/src/mesa/swrast/
Ds_alpha.c106 span->writeAll = GL_FALSE; in _swrast_alpha_test()
155 span->writeAll = GL_FALSE; in _swrast_alpha_test()
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DRealBufferedSource.kt71 buffer.writeAll(source) in commonReadByteString()
104 buffer.writeAll(source) in commonReadByteArray()
147 sink.writeAll(buffer) in commonReadFully()
171 buffer.writeAll(source) in commonReadUtf8()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java65 frame.writeAll(headerBytes); in onlyOneLiteralHeadersFrame()
93 frame.writeAll(headerBytes); in headersWithPriority()
134 frame.writeAll(headerBlock); in headersFrameThenContinuation()
169 frame.writeAll(headerBytes); in pushPromise()
204 frame.writeAll(headerBlock); in pushPromiseThenContinuation()
470 frame.writeAll(headerBlock); in readPaddedHeadersFrame()
484 frame.writeAll(headerBlock); in readPaddedHeadersFrameZeroPadding()
512 frame.writeAll(headerBlock); in readPaddedHeadersFrameThenContinuation()
/external/okio/okio/src/commonMain/kotlin/okio/
DOptions.kt189 node.writeAll(childNodes) in <lambda>()
228 node.writeAll(childNodes) in <lambda>()
DBufferedSink.kt40 fun writeAll(source: Source): Long method
/external/okio/okio/src/nonJvmMain/kotlin/okio/
DBufferedSink.kt29 actual fun writeAll(source: Source): Long method
DRealBufferedSink.kt58 override fun writeAll(source: Source) = commonWriteAll(source) method in okio.RealBufferedSink
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DSpdy3.java340 sink.writeAll(headerBlockBuffer); in synStream()
355 sink.writeAll(headerBlockBuffer); in synReply()
370 sink.writeAll(headerBlockBuffer); in headers()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DSpdy3.java338 sink.writeAll(headerBlockBuffer); in synStream()
353 sink.writeAll(headerBlockBuffer); in synReply()
368 sink.writeAll(headerBlockBuffer); in headers()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequestBody.java118 sink.writeAll(source);

123