/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
CountOutputStream.java | 26 private int bytesWritten = 0; 46 bytesWritten += len; 57 bytesWritten += buf.length; 68 bytesWritten++; 73 * @return the bytesWritten 77 return bytesWritten;
|
/external/skia/tests/ |
SerializationTest.cpp | 117 size_t bytesWritten = writer.bytesWritten(); 118 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); 124 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4); 130 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten); 137 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten); 148 size_t bytesWritten = writer.bytesWritten(); 149 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten) [all...] |
Writer32Test.cpp | 17 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 45 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten()); 52 REPORTER_ASSERT(reporter, sizeof(array) - 4 == writer.bytesWritten()); 54 REPORTER_ASSERT(reporter, sizeof(array) == writer.bytesWritten()); 65 REPORTER_ASSERT(reporter, 100*4 == writer.bytesWritten()); 69 REPORTER_ASSERT(reporter, writer.bytesWritten() < 16); 87 size_t size = writer.bytesWritten(); 104 REPORTER_ASSERT(reporter, i*4 == writer->bytesWritten()); 111 REPORTER_ASSERT(reporter, sizeof(buffer) == writer->bytesWritten()); 125 REPORTER_ASSERT(reporter, writer->bytesWritten() == len) [all...] |
DocumentTest.cpp | 16 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); 29 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); 97 REPORTER_ASSERT(reporter, stream.bytesWritten() != 0);
|
AndroidPaintTest.cpp | 15 const size_t size = writer.bytesWritten();
|
/external/chromium_org/third_party/skia/src/images/ |
SkStreamHelpers.cpp | 34 SkASSERT(tempStream.bytesWritten() == debugLength); 36 const size_t length = tempStream.bytesWritten();
|
/external/skia/src/images/ |
SkStreamHelpers.cpp | 34 SkASSERT(tempStream.bytesWritten() == debugLength); 36 const size_t length = tempStream.bytesWritten();
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
SocketStreamHandle.cpp | 200 int bytesWritten = 0; 202 bytesWritten = sendInternal(data, length); 203 if (bytesWritten < 0) 205 if (m_buffer.size() + length - bytesWritten > bufferSize) { 209 if (bytesWritten < length) { 210 m_buffer.append(data + bytesWritten, length - bytesWritten); 255 int bytesWritten = sendInternal(m_buffer.firstBlockData(), m_buffer.firstBlockSize()); 256 pending = bytesWritten != static_cast<int>(m_buffer.firstBlockSize()); 257 if (bytesWritten <= 0 [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBBoxHierarchyRecord.cpp | 25 SkPictureStateTree::Draw* draw = fStateTree->appendDraw(this->writeStream().bytesWritten()); 36 fStateTree->appendSaveLayer(this->writeStream().bytesWritten()); 83 fStateTree->appendClip(this->writeStream().bytesWritten()); 89 fStateTree->appendClip(this->writeStream().bytesWritten()); 96 fStateTree->appendClip(this->writeStream().bytesWritten()); 103 fStateTree->appendClip(this->writeStream().bytesWritten()); 112 // writeStream().bytesWritten(). 114 return draw->fOffset >= writeStream().bytesWritten();
|
SkFlattenableSerialization.cpp | 18 uint32_t size = writer.bytesWritten();
|
SkOrderedWriteBuffer.h | 45 size_t bytesWritten() const { return fWriter.bytesWritten(); } 46 // Deprecated. Please call bytesWritten instead. TODO(mtklein): clean up 47 size_t size() const { return this->bytesWritten(); }
|
SkOrderedWriteBuffer.cpp | 135 size_t bytesWritten = fWriter.readFromStream(stream, length); 136 if (bytesWritten < length) { 137 fWriter.reservePad(length - bytesWritten); 139 return bytesWritten; 313 uint32_t offset = fWriter.bytesWritten(); 316 uint32_t objSize = fWriter.bytesWritten() - offset;
|
SkPictureRecord.cpp | 149 fRestoreOffsetStack.push(-(int32_t)fWriter.bytesWritten()); 164 fRestoreOffsetStack.push(-(int32_t)fWriter.bytesWritten()); 178 SkASSERT(initialOffset+getPaintOffset(SAVE_LAYER, size) == fWriter.bytesWritten()); 251 SkASSERT(offset < writer->bytesWritten()); 256 for (numMatched = 0; numMatched < numCommands && curOffset < writer->bytesWritten(); ++numMatched) { 258 while (NOOP == op && curOffset < writer->bytesWritten()) { 263 if (curOffset >= writer->bytesWritten()) { 288 if (curOffset < writer->bytesWritten()) { 467 int32_t restoreOffset = (int32_t)writer->bytesWritten(); 603 initialOffset = fWriter.bytesWritten(); [all...] |
/external/skia/src/core/ |
SkBBoxHierarchyRecord.cpp | 25 SkPictureStateTree::Draw* draw = fStateTree->appendDraw(this->writeStream().bytesWritten()); 36 fStateTree->appendSaveLayer(this->writeStream().bytesWritten()); 83 fStateTree->appendClip(this->writeStream().bytesWritten()); 89 fStateTree->appendClip(this->writeStream().bytesWritten()); 96 fStateTree->appendClip(this->writeStream().bytesWritten()); 103 fStateTree->appendClip(this->writeStream().bytesWritten()); 112 // writeStream().bytesWritten(). 114 return draw->fOffset >= writeStream().bytesWritten();
|
SkFlattenableSerialization.cpp | 18 uint32_t size = writer.bytesWritten();
|
SkOrderedWriteBuffer.h | 45 size_t bytesWritten() const { return fWriter.bytesWritten(); } 46 // Deprecated. Please call bytesWritten instead. TODO(mtklein): clean up 47 size_t size() const { return this->bytesWritten(); }
|
SkOrderedWriteBuffer.cpp | 135 size_t bytesWritten = fWriter.readFromStream(stream, length); 136 if (bytesWritten < length) { 137 fWriter.reservePad(length - bytesWritten); 139 return bytesWritten; 313 uint32_t offset = fWriter.bytesWritten(); 316 uint32_t objSize = fWriter.bytesWritten() - offset;
|
SkPictureRecord.cpp | 149 fRestoreOffsetStack.push(-(int32_t)fWriter.bytesWritten()); 164 fRestoreOffsetStack.push(-(int32_t)fWriter.bytesWritten()); 178 SkASSERT(initialOffset+getPaintOffset(SAVE_LAYER, size) == fWriter.bytesWritten()); 251 SkASSERT(offset < writer->bytesWritten()); 256 for (numMatched = 0; numMatched < numCommands && curOffset < writer->bytesWritten(); ++numMatched) { 258 while (NOOP == op && curOffset < writer->bytesWritten()) { 263 if (curOffset >= writer->bytesWritten()) { 288 if (curOffset < writer->bytesWritten()) { 467 int32_t restoreOffset = (int32_t)writer->bytesWritten(); 603 initialOffset = fWriter.bytesWritten(); [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
ml_stored_data.c | 84 int bytesWritten; 99 bytesWritten = fwrite(cal, 1, len, fp); 100 if (bytesWritten != len) { 102 bytesWritten, len); 106 MPL_LOGI("Bytes written = %d", bytesWritten);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_stored_data.c | 88 int bytesWritten; 103 bytesWritten = fwrite(cal, 1, len, fp); 104 if (bytesWritten != len) { 106 bytesWritten, len); 110 MPL_LOGI("Bytes written = %d", bytesWritten);
|
/hardware/invensense/60xx/mlsdk/platform/linux/ |
mlsl_linux_mpu.c | 125 int bytesWritten; 138 bytesWritten = fwrite(cfgId, 1, 4, fp); 139 if (bytesWritten != 4) { 144 bytesWritten = fwrite(cfg, 1, len, fp); 145 if (bytesWritten != len) { 147 bytesWritten, len); 190 int bytesWritten; 198 bytesWritten = fwrite(cal, 1, len, fp); 199 if (bytesWritten != len) { 201 bytesWritten, len) [all...] |
/external/libvpx/libvpx/third_party/libmkv/ |
testlibmkv.c | 59 size_t bytesWritten = fwrite(data, 1, ebml.offset, file_out);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapObexServer.java | 453 int maxChunkSize, bytesToWrite, bytesWritten = 0, listSize; 517 while (bytesWritten < outBytes.length && sIsAborted == false) { 518 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); 519 outStream.write(outBytes, bytesWritten, bytesToWrite); 520 bytesWritten += bytesToWrite; 534 if(bytesWritten != outBytes.length) 563 int maxChunkSize, bytesWritten = 0; 607 while (bytesWritten < outBytes.length && sIsAborted == false) { 608 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); 609 outStream.write(outBytes, bytesWritten, bytesToWrite) [all...] |
BluetoothMnsObexClient.java | 266 int maxChunkSize, bytesToWrite, bytesWritten = 0; 324 while (bytesWritten < eventBytes.length) { 325 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten); 326 outputStream.write(eventBytes, bytesWritten, bytesToWrite); 327 bytesWritten += bytesToWrite; 330 if (bytesWritten == eventBytes.length) {
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLCipher.java | 363 final int bytesWritten; 365 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); 371 if (output.length == bytesWritten) { 373 } else if (bytesWritten == 0) { 376 return Arrays.copyOfRange(output, 0, bytesWritten); 454 final int bytesWritten; 456 bytesWritten = doFinalInternal(input, inputOffset, inputLen, output, 0, maximumLen); 462 if (bytesWritten == output.length) { 464 } else if (bytesWritten == 0) { 467 return Arrays.copyOfRange(output, 0, bytesWritten); [all...] |