Home
last modified time | relevance | path

Searched refs:writeData (Results 1 – 25 of 83) sorted by relevance

1234

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DLigatureTreeWalker.java84 writer.writeData(1); in writeCoverageTable()
85 writer.writeData(ligatureSetCount); in writeCoverageTable()
88 writer.writeData(firstComponentChar(set)); in writeCoverageTable()
100 writer.writeData(1); // substFormat in writeLookupSubtable()
103 writer.writeData(0); // coverageTableOffset (will fix later) in writeLookupSubtable()
105 writer.writeData(ligatureSetCount); in writeLookupSubtable()
109 writer.writeData(0); // ligatureSet offset - will fix later in writeLookupSubtable()
122 writer.writeData(ligatureCount); in writeLookupSubtable()
126 writer.writeData(0); // ligatureTableOffset (will fix later) in writeLookupSubtable()
134 writer.writeData(entry.getLigature()); in writeLookupSubtable()
[all …]
DClassTable.java117 writer.writeData(startGlyphID); in write()
118 writer.writeData(endGlyphID); in write()
119 writer.writeData(classID); in write()
203 writer.writeData(2); // table format = 2 (class ranges) in writeClassTable()
204 writer.writeData(classRanges.size()); // class range count in writeClassTable()
220 writer.writeData(2); // format 2: Specified output glyph indices in writeLookupSubtable()
222 writer.writeData(0); // offset to coverage table (fixed later) in writeLookupSubtable()
223 writer.writeData(classTable.length); // number of glyphIDs in substitution array in writeLookupSubtable()
226 writer.writeData(classTable[i].getClassID()); in writeLookupSubtable()
230 writer.writeData(1); in writeLookupSubtable()
[all …]
DDecompTable.java153 writer.writeData(1); // format = 1 in writeLookupSubtable()
156 writer.writeData(0); // coverage table offset (fixed later) in writeLookupSubtable()
158 writer.writeData(sequenceCount); in writeLookupSubtable()
162 writer.writeData(0); // offset to sequence table (fixed later); in writeLookupSubtable()
171 writer.writeData(decompCount); // glyphCount in writeLookupSubtable()
174 writer.writeData(entry.getDecomposedCharacter(g)); in writeLookupSubtable()
180 writer.writeData(1); // format = 1 in writeLookupSubtable()
181 writer.writeData(sequenceCount); // glyphCount in writeLookupSubtable()
184 writer.writeData(decompEntries[i].getComposedCharacter()); in writeLookupSubtable()
DGDEFWriter.java38 writeData(0x0001); in writeTable()
39 writeData(0x0000); in writeTable()
42 writeData(0); // glyphClassDefOffset (will fix later); in writeTable()
43 writeData(0); // attachListOffset in writeTable()
44 writeData(0); // ligCaretListOffset in writeTable()
45 writeData(0); // markAttachClassDefOffset in writeTable()
DScriptList.java45 writer.writeData(0); // lookupOrder (must be NULL) in writeLangSysRecord()
46 writer.writeData(0xFFFF); // reqFeatureIndex (0xFFFF means none) in writeLangSysRecord()
48 writer.writeData(featureCount); in writeLangSysRecord()
51 writer.writeData(features[i].getFeatureIndex()); in writeLangSysRecord()
99 writer.writeData(0); // default langSys offset (fixed later) in writeScriptRecord()
105 writer.writeData(langSysCount - firstLangSys); in writeScriptRecord()
111 writer.writeData(0); in writeScriptRecord()
180 writer.writeData(scriptCount); in writeScriptList()
186 writer.writeData(0); in writeScriptList()
DGSUBWriter.java41 writeData(0x0001); in writeTable()
42 writeData(0x0000); in writeTable()
46 writeData(0); // script list offset (fixed later) in writeTable()
47 writeData(0); // feature list offset (fixed later) in writeTable()
48 writeData(0); // lookup list offset (fixed later) in writeTable()
DLookup.java76 writer.writeData(lookupType); in writeLookup()
77 writer.writeData(lookupFlags); in writeLookup()
78 writer.writeData(subtableCount); in writeLookup()
83 writer.writeData(0); in writeLookup()
DFeature.java43 writer.writeData(0); // featureParams (must be NULL) in writeFeature()
45 writer.writeData(lookupCount); in writeFeature()
48 writer.writeData(lookupIndices[i]); in writeFeature()
DOpenTypeTableWriter.java90 public void writeData(int value) in writeData() method in OpenTypeTableWriter
112 writeData(((charArray[0] & 0xFF) << 8) + (charArray[1] & 0xFF)); in writeTag()
113 writeData(((charArray[2] & 0xFF) << 8) + (charArray[3] & 0xFF)); in writeTag()
DLookupList.java46 writer.writeData(lookupCount); in writeLookupList()
51 writer.writeData(0); // Offset to lookup (fixed later); in writeLookupList()
DFeatureList.java55 writer.writeData(featureCount); in writeFeaturetList()
64 writer.writeData(0); in writeFeaturetList()
/external/apache-commons-io/src/test/java/org/apache/commons/io/output/
DByteArrayOutputStreamTest.java182 written = writeData(baout, ref, new int[] {4, 10, 22}); in testStream()
187 written = writeData(baout, ref, new int[] {20, 12}); in testStream()
196 written = writeData(baout, ref, new int[] {5, 47, 33, 60, 1, 0, 8}); in testStream()
267 writeData(baout, ref, 32); in testToInputStream()
269 writeData(baout, ref, 64); in testToInputStream()
277 writeData(baout, ref, new int[] {2, 4, 8, 16}); in testToInputStream()
314 writeData(baout, ref, 32); in testToInputStreamWithReset()
316 writeData(baout, ref, 64); in testToInputStreamWithReset()
326 writeData(baout, ref, new int[] {2, 4, 8, 16}); in testToInputStreamWithReset()
353 …private int writeData(final AbstractByteArrayOutputStream baout, final java.io.ByteArrayOutputStre… in writeData() method in ByteArrayOutputStreamTest
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/video/
DMediaCodecVideoRendererTest.java144 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_dropsLateBuffer()
180 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_sendsVideoSizeChangeWithCurrentFormatValues()
225 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_withMultipleQueued_sendsVideoSizeChangedWithCorrectPixelAspectRatioWhenMultipleQueued()
249 fakeSampleStream.writeData(/* startPositionUs= */ 5_000); in render_withMultipleQueued_sendsVideoSizeChangedWithCorrectPixelAspectRatioWhenMultipleQueued()
279 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_includingResetPosition_keepsOutputFormatInVideoFrameMetadataListener()
297 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_includingResetPosition_keepsOutputFormatInVideoFrameMetadataListener()
318 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withMayRenderStartOfStream_rendersFirstFrameBeforeStart()
348 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_doesNotRenderFirstFrameBeforeStart()
377 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_rendersFirstFrameAfterStart()
409 fakeSampleStream1.writeData(/* startPositionUs= */ 0); in replaceStream_rendersFirstFrameOnlyAfterStartPosition()
[all …]
DDecoderVideoRendererTest.java198 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withMayRenderStartOfStream_rendersFirstFrameBeforeStart()
229 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_doesNotRenderFirstFrameBeforeStart()
259 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_rendersFirstFrameAfterStart()
293 fakeSampleStream1.writeData(/* startPositionUs= */ 0); in replaceStream_whenStarted_rendersFirstFrameOfNewStream()
302 fakeSampleStream2.writeData(/* startPositionUs= */ 0); in replaceStream_whenStarted_rendersFirstFrameOfNewStream()
346 fakeSampleStream1.writeData(/* startPositionUs= */ 0); in replaceStream_whenNotStarted_doesNotRenderFirstFrameOfNewStream()
355 fakeSampleStream2.writeData(/* startPositionUs= */ 0); in replaceStream_whenNotStarted_doesNotRenderFirstFrameOfNewStream()
/external/angle/src/common/
DBinaryStream_unittest.cpp72 std::vector<unsigned int> writeData = {1, 2, 3, 4, 5}; in TEST() local
76 out.writeIntVector(writeData); in TEST()
81 ASSERT_EQ(writeData.size(), readData.size()); in TEST()
83 for (size_t i = 0; i < writeData.size(); ++i) in TEST()
85 ASSERT_EQ(writeData[i], readData[i]); in TEST()
/external/pigweed/pw_hdlc/java/main/dev/pigweed/pw_hdlc/
DEncoder.java34 encoder.writeData(payload); in writeUiFrame()
41 encoder.writeData(frame.getPayload()); in writeFrame()
101 writeData(ByteBuffer.wrap(wrappedControl)); in startFrame()
112 writeData(ByteBuffer.wrap(buffer)); in writeCrc()
119 writeData(buffer); in writeVarLong()
122 private void writeData(ByteBuffer data) throws IOException { in writeData() method in Encoder
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/video/
DMediaCodecVideoRendererTest.java148 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_dropsLateBuffer()
184 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_sendsVideoSizeChangeWithCurrentFormatValues()
229 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_withMultipleQueued_sendsVideoSizeChangedWithCorrectPixelAspectRatioWhenMultipleQueued()
253 fakeSampleStream.writeData(/* startPositionUs= */ 5_000); in render_withMultipleQueued_sendsVideoSizeChangedWithCorrectPixelAspectRatioWhenMultipleQueued()
283 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_includingResetPosition_keepsOutputFormatInVideoFrameMetadataListener()
301 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_includingResetPosition_keepsOutputFormatInVideoFrameMetadataListener()
322 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withMayRenderStartOfStream_rendersFirstFrameBeforeStart()
352 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_doesNotRenderFirstFrameBeforeStart()
381 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_rendersFirstFrameAfterStart()
413 fakeSampleStream1.writeData(/* startPositionUs= */ 0); in replaceStream_rendersFirstFrameOnlyAfterStartPosition()
[all …]
DDecoderVideoRendererTest.java197 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withMayRenderStartOfStream_rendersFirstFrameBeforeStart()
228 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_doesNotRenderFirstFrameBeforeStart()
258 fakeSampleStream.writeData(/* startPositionUs= */ 0); in enable_withoutMayRenderStartOfStream_rendersFirstFrameAfterStart()
292 fakeSampleStream1.writeData(/* startPositionUs= */ 0); in replaceStream_whenStarted_rendersFirstFrameOfNewStream()
301 fakeSampleStream2.writeData(/* startPositionUs= */ 0); in replaceStream_whenStarted_rendersFirstFrameOfNewStream()
345 fakeSampleStream1.writeData(/* startPositionUs= */ 0); in replaceStream_whenNotStarted_doesNotRenderFirstFrameOfNewStream()
354 fakeSampleStream2.writeData(/* startPositionUs= */ 0); in replaceStream_whenNotStarted_doesNotRenderFirstFrameOfNewStream()
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/impl/
DDataPipeProducerHandleImpl.java43 public ResultAnd<Integer> writeData(ByteBuffer elements, WriteFlags flags) { in writeData() method in DataPipeProducerHandleImpl
44 return mCore.writeData(this, elements, flags); in writeData()
/external/parameter-framework/upstream/remote-processor/
DMessage.cpp60 void CMessage::writeData(const void *pvData, size_t size) in writeData() function in CMessage
91 writeData(&size, sizeof(size)); in writeString()
94 writeData(strData.c_str(), size); in writeString()
/external/zstd/contrib/pzstd/test/
DRoundTripTest.cpp27 writeData(size_t size, double matchProba, double litProba, unsigned seed) { in writeData() function
45 return writeData(size(gen), prob(gen), prob(gen), gen()); in generateInputFile()
/external/cronet/components/cronet/android/test/src/org/chromium/net/
DHttp2TestHandler.java121 encoder().writeData(ctx, streamId, data.retain(), 0, true, ctx.newPromise()); in onDataRead()
131 encoder().writeData(ctx, streamId, content, 0, true, ctx.newPromise()); in sendResponseString()
150 encoder().writeData(ctx, streamId, data.retain(), 0, endOfStream, ctx.newPromise()); in onDataRead()
167 encoder().writeData(ctx, streamId, content, 0, true, ctx.newPromise()); in onHeadersRead()
229 encoder().writeData( in onHeadersRead()
251 encoder().writeData(ctx, streamId, content, 0, true, ctx.newPromise()); in onHeadersRead()
/external/oboe/src/opensles/
DAudioStreamBuffered.cpp146 const uint8_t *writeData = reinterpret_cast<const uint8_t *>(writeBuffer); in transfer() local
171 result = mFifoBuffer->write(writeData, framesToWrite); in transfer()
173 writeData += mFifoBuffer->convertFramesToBytes(result); in transfer()
/external/skia/tests/
DWriter32Test.cpp226 writer.writeData(nullptr); in DEF_TEST()
230 writer.writeData(data0.get()); in DEF_TEST()
234 writer.writeData(data1.get()); in DEF_TEST()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/audio/
DMediaCodecAudioRendererTest.java137 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_configuresAudioSink_afterFormatChange()
194 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_configuresAudioSink_afterGaplessFormatChange()
267 fakeSampleStream.writeData(/* startPositionUs= */ 0); in render_throwsExoPlaybackExceptionJustOnce_whenSet()

1234