/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/skia/tests/ |
D | SerializationTest.cpp | 140 size_t bytesWritten = writer.bytesWritten(); in TestObjectSerializationNoAlign() local 141 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestObjectSerializationNoAlign() 149 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4); in TestObjectSerializationNoAlign() 155 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); in TestObjectSerializationNoAlign() 164 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten); in TestObjectSerializationNoAlign() 178 size_t bytesWritten = writer.bytesWritten(); in TestFlattenableSerialization() local 179 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); in TestFlattenableSerialization() 182 SkASSERT(bytesWritten <= sizeof(dataWritten)); in TestFlattenableSerialization() 186 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4); in TestFlattenableSerialization() 193 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); in TestFlattenableSerialization() [all …]
|
D | Writer32Test.cpp | 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); in check_contents() 44 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten()); in test_rewind() 51 REPORTER_ASSERT(reporter, sizeof(array) - 4 == writer.bytesWritten()); in test_rewind() 53 REPORTER_ASSERT(reporter, sizeof(array) == writer.bytesWritten()); in test_rewind() 64 REPORTER_ASSERT(reporter, 100*4 == writer.bytesWritten()); in test_rewind() 68 REPORTER_ASSERT(reporter, writer.bytesWritten() < 16); in test_rewind() 86 size_t size = writer.bytesWritten(); in test_ptr() 103 REPORTER_ASSERT(reporter, i*4 == writer->bytesWritten()); in test1() 109 REPORTER_ASSERT(reporter, sizeof(buffer) == writer->bytesWritten()); in test1() 123 REPORTER_ASSERT(reporter, writer->bytesWritten() == len); in test2() [all …]
|
D | ImageIsOpaqueTest.cpp | 24 SkASSERT(wb.bytesWritten() < sizeof(storage)); in test_flatten() 26 SkReadBuffer rb(storage, wb.bytesWritten()); in test_flatten() 33 REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten()); in test_flatten()
|
D | DocumentTest.cpp | 15 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); in test_empty() 28 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); in test_abort() 96 REPORTER_ASSERT(reporter, stream.bytesWritten() != 0); in test_close()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLCipher.java | 306 final int bytesWritten; in engineUpdate() local 308 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate() 314 if (output.length == bytesWritten) { in engineUpdate() 316 } else if (bytesWritten == 0) { in engineUpdate() 319 return Arrays.copyOfRange(output, 0, bytesWritten); in engineUpdate() 337 int bytesWritten; in engineDoFinal() local 340 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineDoFinal() 346 bytesWritten = 0; in engineDoFinal() 350 bytesWritten += doFinalInternal(output, bytesWritten, maximumLen - bytesWritten); in engineDoFinal() 356 if (bytesWritten == output.length) { in engineDoFinal() [all …]
|
D | OpenSSLSignature.java | 179 int bytesWritten = NativeCrypto.EVP_SignFinal(ctxLocal, buffer, 0, in engineSign() local 182 byte[] signature = new byte[bytesWritten]; in engineSign() 183 System.arraycopy(buffer, 0, signature, 0, bytesWritten); in engineSign()
|
/external/skia/src/core/ |
D | SkPictureRecord.cpp | 132 fRestoreOffsetStack.push(-(int32_t)fWriter.bytesWritten()); in willSave() 152 fRestoreOffsetStack.push(-(int32_t)fWriter.bytesWritten()); in willSaveLayer() 180 SkASSERT(initialOffset+get_paint_offset(SAVE_LAYER, size) == fWriter.bytesWritten()); in recordSaveLayer() 228 this->fillRestoreOffsetPlaceholdersForCurrentStackLevel((uint32_t)fWriter.bytesWritten()); in recordRestore() 273 this->validate(fWriter.bytesWritten(), 0); in recordConcat() 282 this->validate(fWriter.bytesWritten(), 0); in didSetMatrix() 362 size_t offset = fWriter.bytesWritten(); in recordRestoreOffsetPlaceholder() 459 SkASSERT(initialOffset+get_paint_offset(DRAW_PAINT, size) == fWriter.bytesWritten()); in onDrawPaint() 471 SkASSERT(initialOffset+get_paint_offset(DRAW_POINTS, size) == fWriter.bytesWritten()); in onDrawPoints() 484 SkASSERT(initialOffset+get_paint_offset(DRAW_OVAL, size) == fWriter.bytesWritten()); in onDrawOval() [all …]
|
D | SkWriteBuffer.cpp | 134 size_t bytesWritten = fWriter.readFromStream(stream, length); in writeStream() local 135 if (bytesWritten < length) { in writeStream() 136 fWriter.reservePad(length - bytesWritten); in writeStream() 138 return bytesWritten; in writeStream() 323 size_t offset = fWriter.bytesWritten(); in writeFlattenable() 326 size_t objSize = fWriter.bytesWritten() - offset; in writeFlattenable()
|
D | SkPictureRecord.h | 45 this->validate(fWriter.bytesWritten(), 0); in opData() 47 if (fWriter.bytesWritten() == 0) { in opData() 52 return SkData::NewWithCopy(fWriter.contiguousArray(), fWriter.bytesWritten()); in opData() 98 size_t offset = fWriter.bytesWritten(); in addDraw() 146 SkASSERT(fWriter.bytesWritten() == initialOffset + size); in validate()
|
D | SkPictureFlat.h | 276 size_t size = buffer.bytesWritten(); in Create() 513 const size_t dataSize = fScratch.bytesWritten() - sizeof(SkFlatData); in resetScratch() 527 SkFlatData* detached = (SkFlatData*)fController->allocThrow(fScratch.bytesWritten()); in detachScratch() 532 memcpy(detached, scratch, fScratch.bytesWritten()); in detachScratch()
|
/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/protobuf/java/src/main/java/com/google/protobuf/ |
D | CodedOutputStream.java | 1086 final int bytesWritten = limit - position; in writeRawBytesInternal() local 1087 value.get(buffer, position, bytesWritten); in writeRawBytesInternal() 1088 length -= bytesWritten; in writeRawBytesInternal() 1090 totalBytesWritten += bytesWritten; in writeRawBytesInternal() 1121 final int bytesWritten = limit - position; in writeRawBytes() local 1122 System.arraycopy(value, offset, buffer, position, bytesWritten); in writeRawBytes() 1123 offset += bytesWritten; in writeRawBytes() 1124 length -= bytesWritten; in writeRawBytes() 1126 totalBytesWritten += bytesWritten; in writeRawBytes() 1155 final int bytesWritten = limit - position; in writeRawBytes() local [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2_32.java | 150 int bytesWritten = 0; in serialize() local 152 bytesWritten += serializeHeader(dos); in serialize() 156 bytesWritten += dataLength*4; in serialize() 157 return bytesWritten; in serialize()
|
D | Trie2_16.java | 153 int bytesWritten = 0; in serialize() local 155 bytesWritten += serializeHeader(dos); in serialize() 159 bytesWritten += dataLength*2; in serialize() 160 return bytesWritten; in serialize()
|
/external/skia/include/core/ |
D | SkStream.h | 197 virtual size_t bytesWritten() const = 0; 372 size_t bytesWritten() const override; 386 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten() function 404 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten() function 452 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten() function
|
D | SkWriter32.h | 39 size_t bytesWritten() const { return fUsed; } in bytesWritten() function 42 size_t size() const { return this->bytesWritten(); } in size() 215 SkASSERT(offset <= bytesWritten()); in rewindToOffset()
|
D | SkWriteBuffer.h | 48 size_t bytesWritten() const { return fWriter.bytesWritten(); } in bytesWritten() function
|
/external/skia/third_party/ktx/ |
D | ktx.cpp | 102 size_t bytesWritten = 0; in writeKeyAndValueForKTX() local 107 bytesWritten += 4; in writeKeyAndValueForKTX() 119 bytesWritten += keySize; in writeKeyAndValueForKTX() 126 bytesWritten += valueSize; in writeKeyAndValueForKTX() 128 size_t bytesWrittenPadFour = (bytesWritten + 3) & ~3; in writeKeyAndValueForKTX() 131 size_t padding = bytesWrittenPadFour - bytesWritten; in writeKeyAndValueForKTX()
|
/external/skia/experimental/PdfViewer/pdfparser/native/ |
D | SkPdfNativeObject.cpp | 32 fStr.fBytes = (uncompressedData.bytesWritten() << 2) + kOwnedStreamBit + in applyFlateDecodeFilter() 34 fStr.fBuffer = (const unsigned char*)new unsigned char[uncompressedData.bytesWritten()]; in applyFlateDecodeFilter()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/ |
D | ExhaustiveTest.java | 102 int bytesWritten = 0; in myMultipassTest() local 121 bytesWritten = myCompressor.compress(chars, totalCharsCompressed, in myMultipassTest() 126 totalBytesWritten, bytesWritten); in myMultipassTest() 132 totalBytesWritten += bytesWritten; in myMultipassTest()
|
/external/icu/icu4c/source/tools/genbrk/ |
D | genbrk.cpp | 311 size_t bytesWritten; in main() local 324 bytesWritten = udata_finish(pData, &status); in main() 330 if (bytesWritten != outDataSize) { in main()
|
/external/icu/icu4c/source/tools/gencfu/ |
D | gencfu.cpp | 264 size_t bytesWritten; in main() local 277 bytesWritten = udata_finish(pData, &status); in main() 283 if (bytesWritten != outDataSize) { in main()
|
/external/skia/src/utils/ |
D | SkCanvasStateUtils.cpp | 191 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten()); in setup_MC_state() 258 SkASSERT(layerWriter.bytesWritten() == layerCount * sizeof(SkCanvasLayerState)); in CaptureCanvasState() 260 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
D | CodedOutputStreamMicro.java | 852 final int bytesWritten = limit - position; in writeRawBytes() local 853 System.arraycopy(value, offset, buffer, position, bytesWritten); in writeRawBytes() 854 offset += bytesWritten; in writeRawBytes() 855 length -= bytesWritten; in writeRawBytes()
|