/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | CountOutputStream.java | 26 private int bytesWritten = 0; field in CountOutputStream 46 bytesWritten += len; in write() 57 bytesWritten += buf.length; in write() 68 bytesWritten++; in write() 77 return bytesWritten; in getBytesWritten()
|
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
D | CountingOutputStream.java | 28 private long bytesWritten = 0; field in CountingOutputStream 43 return bytesWritten; in getNumBytesWritten() 48 bytesWritten++; in write() 54 bytesWritten += b.length; in write() 60 bytesWritten += len; in write()
|
/external/skia/tests/ |
D | Writer32Test.cpp | 17 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); in check_contents() 45 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten()); in test_rewind() 52 REPORTER_ASSERT(reporter, sizeof(array) - 4 == writer.bytesWritten()); in test_rewind() 54 REPORTER_ASSERT(reporter, sizeof(array) == writer.bytesWritten()); in test_rewind() 65 REPORTER_ASSERT(reporter, 100*4 == writer.bytesWritten()); in test_rewind() 69 REPORTER_ASSERT(reporter, writer.bytesWritten() < 16); in test_rewind() 87 size_t size = writer.bytesWritten(); in test_ptr() 104 REPORTER_ASSERT(reporter, i*4 == writer->bytesWritten()); in test1() 110 REPORTER_ASSERT(reporter, sizeof(buffer) == writer->bytesWritten()); in test1() 124 REPORTER_ASSERT(reporter, writer->bytesWritten() == len); in test2() [all …]
|
D | PDFGlyphsToUnicodeTest.cpp | 25 const size_t streamSize = stream.bytesWritten(); in stream_equals() 96 buffer.bytesWritten())); in DEF_TEST() 114 buffer.bytesWritten())); in DEF_TEST() 128 buffer.bytesWritten())); in DEF_TEST() 145 buffer.bytesWritten())); in DEF_TEST() 182 buffer2.bytesWritten())); in DEF_TEST()
|
D | SerializationTest.cpp | 157 size_t bytesWritten = writer.bytesWritten(); in TestObjectSerializationNoAlign() local 158 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestObjectSerializationNoAlign() 166 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4); in TestObjectSerializationNoAlign() 172 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); in TestObjectSerializationNoAlign() 181 REPORTER_ASSERT(reporter, offsetAfter - offsetBefore == bytesWritten); in TestObjectSerializationNoAlign() 195 size_t bytesWritten = writer.bytesWritten(); in TestFlattenableSerialization() local 196 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestFlattenableSerialization() 198 SkASSERT(bytesWritten <= 4096); in TestFlattenableSerialization() 203 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4); in TestFlattenableSerialization() 210 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); in TestFlattenableSerialization() [all …]
|
D | PDFOpaqueSrcModeToSrcOverTest.cpp | 36 REPORTER_ASSERT(r, srcMode.bytesWritten() == srcOverMode.bytesWritten()); in DEF_TEST() 45 REPORTER_ASSERT(r, srcMode.bytesWritten() > srcOverMode.bytesWritten()); in DEF_TEST()
|
D | PipeTest.cpp | 59 size_t offset0 = stream.bytesWritten(); in DEF_TEST() 66 size_t offset1 = stream.bytesWritten(); in DEF_TEST() 110 size_t offset2 = stream.bytesWritten(); in DEF_TEST() 130 size_t offset0 = stream.bytesWritten(); in DEF_TEST() 137 size_t offset1 = stream.bytesWritten(); in DEF_TEST() 185 size_t offset2 = stream.bytesWritten(); in DEF_TEST()
|
D | PDFDocumentTest.cpp | 26 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); in test_empty() 40 REPORTER_ASSERT(reporter, stream.bytesWritten() < 256); in test_abort() 108 REPORTER_ASSERT(reporter, stream.bytesWritten() != 0); in test_close() 143 return stream.bytesWritten(); in count_bytes()
|
D | ImageIsOpaqueTest.cpp | 28 SkASSERT(wb.bytesWritten() < storageBytes); in test_flatten() 30 SkReadBuffer rb(storage.get(), wb.bytesWritten()); in test_flatten() 36 REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten()); in test_flatten()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipher.java | 307 final int bytesWritten; in engineUpdate() local 309 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate() 315 if (output.length == bytesWritten) { in engineUpdate() 317 } else if (bytesWritten == 0) { in engineUpdate() 320 return Arrays.copyOfRange(output, 0, bytesWritten); in engineUpdate() 338 int bytesWritten; in engineDoFinal() local 341 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineDoFinal() 347 bytesWritten = 0; in engineDoFinal() 351 bytesWritten += doFinalInternal(output, bytesWritten, maximumLen - bytesWritten); in engineDoFinal() 357 if (bytesWritten == output.length) { in engineDoFinal() [all …]
|
/external/sonic/ |
D | wave.c | 23 int bytesWritten; /* The number of bytes written so far, including header */ member 34 size_t bytesWritten; in writeBytes() local 39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile); in writeBytes() 40 if(bytesWritten != length) { in writeBytes() 44 file->bytesWritten += bytesWritten; in writeBytes() 302 writeInt(file, file->bytesWritten - 8); in closeWaveFile() 312 writeInt(file, file->bytesWritten - 48); in closeWaveFile()
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioTrack.java | 92 int bytesWritten = 0; in run() local 94 bytesWritten = writeOnLollipop(audioTrack, byteBuffer, sizeInBytes); in run() 96 bytesWritten = writePreLollipop(audioTrack, byteBuffer, sizeInBytes); in run() 98 if (bytesWritten != sizeInBytes) { in run() 99 Logging.e(TAG, "AudioTrack.write failed: " + bytesWritten); in run() 100 if (bytesWritten == AudioTrack.ERROR_INVALID_OPERATION) { in run()
|
/external/skia/src/core/ |
D | SkWriteBuffer.cpp | 122 size_t bytesWritten = fWriter.readFromStream(stream, length); in writeStream() local 123 if (bytesWritten < length) { in writeStream() 124 fWriter.reservePad(length - bytesWritten); in writeStream() 126 return bytesWritten; in writeStream() 280 size_t offset = fWriter.bytesWritten(); in writeFlattenable() 283 size_t objSize = fWriter.bytesWritten() - offset; in writeFlattenable()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_impl.cc | 634 int32_t bytesWritten = 0; in IncomingAudioData() local 643 bytesWritten = _ptrFileUtilityObj->WritePCMData( in IncomingAudioData() 649 if(bytesWritten > 0) in IncomingAudioData() 651 samplesWritten = bytesWritten/sizeof(int16_t); in IncomingAudioData() 655 bytesWritten = _ptrFileUtilityObj->WriteCompressedData( in IncomingAudioData() 659 bytesWritten = _ptrFileUtilityObj->WriteWavData( in IncomingAudioData() 663 if(bytesWritten > 0 && STR_NCASE_CMP(codec_info_.plname, in IncomingAudioData() 667 samplesWritten = bytesWritten/sizeof(int16_t); in IncomingAudioData() 671 bytesWritten = _ptrFileUtilityObj->WritePreEncodedData( in IncomingAudioData() 687 bytesWritten = static_cast<int32_t>(bufferLengthInBytes); in IncomingAudioData() [all …]
|
/external/ltp/tools/netpipe-2.4/ |
D | TCP.c | 162 int bytesWritten, bytesLeft; in SendData() local 166 bytesWritten = 0; in SendData() 169 (bytesWritten = write(p->commfd, q, bytesLeft)) > 0) { in SendData() 170 bytesLeft -= bytesWritten; in SendData() 171 q += bytesWritten; in SendData() 173 if (bytesWritten == -1) { in SendData()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Trie2_16.java | 157 int bytesWritten = 0; in serialize() local 159 bytesWritten += serializeHeader(dos); in serialize() 163 bytesWritten += dataLength*2; in serialize() 164 return bytesWritten; in serialize()
|
D | Trie2_32.java | 154 int bytesWritten = 0; in serialize() local 156 bytesWritten += serializeHeader(dos); in serialize() 160 bytesWritten += dataLength*4; in serialize() 161 return bytesWritten; in serialize()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2_32.java | 152 int bytesWritten = 0; in serialize() local 154 bytesWritten += serializeHeader(dos); in serialize() 158 bytesWritten += dataLength*4; in serialize() 159 return bytesWritten; in serialize()
|
D | Trie2_16.java | 155 int bytesWritten = 0; in serialize() local 157 bytesWritten += serializeHeader(dos); in serialize() 161 bytesWritten += dataLength*2; in serialize() 162 return bytesWritten; in serialize()
|
/external/ltp/tools/netpipe-2.4-ipv6/ |
D | TCP.c | 189 int bytesWritten, bytesLeft; in SendData() local 193 bytesWritten = 0; in SendData() 196 (bytesWritten = write(p->commfd, q, bytesLeft)) > 0) { in SendData() 197 bytesLeft -= bytesWritten; in SendData() 198 q += bytesWritten; in SendData() 200 if (bytesWritten == -1) { in SendData()
|
/external/dng_sdk/source/ |
D | dng_file_stream.cpp | 124 uint32 bytesWritten = (uint32) fwrite (data, 1, count, fFile); in DoWrite() local 126 if (bytesWritten != count) in DoWrite()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | CodedOutputStream.cs | 610 int bytesWritten = limit - position; in WriteRawBytes() 611 ByteArray.Copy(value, offset, buffer, position, bytesWritten); in WriteRawBytes() 612 offset += bytesWritten; in WriteRawBytes() 613 length -= bytesWritten; in WriteRawBytes()
|
/external/icu/icu4c/source/tools/gencfu/ |
D | gencfu.cpp | 265 size_t bytesWritten; in main() local 278 bytesWritten = udata_finish(pData, &status); in main() 284 if (bytesWritten != outDataSize) { in main()
|
/external/skia/include/core/ |
D | SkStream.h | 194 virtual size_t bytesWritten() const = 0; 241 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten() function 369 size_t bytesWritten() const override; 383 size_t bytesWritten() const override;
|
/external/rmi4utils/rmidevice/ |
D | hiddevice.cpp | 229 size_t bytesWritten; in Read() local 261 for (bytesWritten = 0; bytesWritten < m_outputReportSize; bytesWritten += count) { in Read() 263 count = write(m_fd, m_outputReport + bytesWritten, in Read() 264 m_outputReportSize - bytesWritten); in Read()
|