HomeSort by relevance Sort by last modified time
    Searched full:byteswritten (Results 1 - 25 of 270) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
CountingOutputStream.java 28 private long bytesWritten = 0;
43 return bytesWritten;
48 bytesWritten++;
54 bytesWritten += b.length;
60 bytesWritten += len;
  /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/
PDFOpaqueSrcModeToSrcOverTest.cpp 36 REPORTER_ASSERT(r, srcMode.bytesWritten() == srcOverMode.bytesWritten());
45 REPORTER_ASSERT(r, srcMode.bytesWritten() > srcOverMode.bytesWritten());
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());
110 REPORTER_ASSERT(reporter, sizeof(buffer) == writer->bytesWritten());
124 REPORTER_ASSERT(reporter, writer->bytesWritten() == len)
    [all...]
PDFGlyphsToUnicodeTest.cpp 25 const size_t streamSize = stream.bytesWritten();
96 buffer.bytesWritten()));
114 buffer.bytesWritten()));
128 buffer.bytesWritten()));
145 buffer.bytesWritten()));
182 buffer2.bytesWritten()));
PipeTest.cpp 59 size_t offset0 = stream.bytesWritten();
66 size_t offset1 = stream.bytesWritten();
110 size_t offset2 = stream.bytesWritten();
130 size_t offset0 = stream.bytesWritten();
137 size_t offset1 = stream.bytesWritten();
185 size_t offset2 = stream.bytesWritten();
SerializationTest.cpp 157 size_t bytesWritten = writer.bytesWritten();
158 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten);
166 SkValidatingReadBuffer buffer(dataWritten, bytesWritten - 4);
172 SkValidatingReadBuffer buffer2(dataWritten, bytesWritten);
181 REPORTER_ASSERT(reporter, offsetAfter - offsetBefore == bytesWritten);
195 size_t bytesWritten = writer.bytesWritten();
196 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten)
    [all...]
ImageIsOpaqueTest.cpp 28 SkASSERT(wb.bytesWritten() < storageBytes);
30 SkReadBuffer rb(storage.get(), wb.bytesWritten());
36 REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten());
PDFDocumentTest.cpp 26 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
40 REPORTER_ASSERT(reporter, stream.bytesWritten() < 256);
108 REPORTER_ASSERT(reporter, stream.bytesWritten() != 0);
143 return stream.bytesWritten();
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
write.c 39 ssize_t BytesWritten;
44 BytesWritten = send ( pDescriptor->MyFD,
52 return BytesWritten;
  /frameworks/av/media/libaaudio/src/utility/
FixedBlockWriter.cpp 44 int32_t bytesWritten = writeToStorage(buffer, bytesLeft);
45 buffer += bytesWritten;
46 bytesLeft -= bytesWritten;
  /external/dng_sdk/source/
dng_file_stream.cpp 124 uint32 bytesWritten = (uint32) fwrite (data, 1, count, fFile);
126 if (bytesWritten != count)
  /external/skia/src/core/
SkFlattenableSerialization.cpp 17 size_t size = writer.bytesWritten();
SkMD5.h 22 size_t bytesWritten() const final { return SkToSizeT(this->byteCount); }
SkWriteBuffer.cpp 122 size_t bytesWritten = fWriter.readFromStream(stream, length);
123 if (bytesWritten < length) {
124 fWriter.reservePad(length - bytesWritten);
126 return bytesWritten;
280 size_t offset = fWriter.bytesWritten();
283 size_t objSize = fWriter.bytesWritten() - offset;
  /frameworks/av/services/audioflinger/
AudioStreamOut.cpp 207 size_t bytesWritten;
208 status_t result = stream->write(buffer, numBytes, &bytesWritten);
209 if (result == OK && bytesWritten > 0 && mHalFrameSize > 0) {
210 mFramesWritten += bytesWritten / mHalFrameSize;
212 return result == OK ? bytesWritten : result;
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLCipher.java 307 final int bytesWritten;
309 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen);
315 if (output.length == bytesWritten) {
317 } else if (bytesWritten == 0) {
320 return Arrays.copyOfRange(output, 0, bytesWritten);
338 int bytesWritten;
341 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen);
347 bytesWritten = 0;
351 bytesWritten += doFinalInternal(output, bytesWritten, maximumLen - bytesWritten)
    [all...]
  /external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
WebRtcAudioTrack.java 92 int bytesWritten = 0;
94 bytesWritten = writeOnLollipop(audioTrack, byteBuffer, sizeInBytes);
96 bytesWritten = writePreLollipop(audioTrack, byteBuffer, sizeInBytes);
98 if (bytesWritten != sizeInBytes) {
99 Logging.e(TAG, "AudioTrack.write failed: " + bytesWritten);
100 if (bytesWritten == AudioTrack.ERROR_INVALID_OPERATION) {
  /external/llvm/lib/DebugInfo/PDB/Raw/
MappedBlockStream.cpp 200 uint32_t BytesWritten = 0;
214 ::memcpy(WriteBuffer + BytesWritten, ChunkStart, BytesInChunk);
216 BytesWritten += BytesInChunk;
239 uint32_t BytesWritten = 0;
245 const uint8_t *Chunk = Buffer.data() + BytesWritten;
251 BytesWritten += BytesToWriteInChunk;
263 if (Offset + BytesWritten < MapEntry.first)
272 Interval WriteInterval = std::make_pair(Offset, Offset + BytesWritten);
  /external/sonic/
wave.c 23 int bytesWritten; /* The number of bytes written so far, including header */
34 size_t bytesWritten;
39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile);
40 if(bytesWritten != length) {
44 file->bytesWritten += bytesWritten;
302 writeInt(file, file->bytesWritten - 8);
312 writeInt(file, file->bytesWritten - 48);
  /packages/apps/TV/src/com/android/tv/tuner/source/
TunerTsStreamer.java 274 int bytesWritten = mTunerHal.readTsStream(dataBuffer, dataBuffer.length);
275 if (bytesWritten <= 0) {
287 mTsStreamWriter.writeToFile(dataBuffer, bytesWritten);
291 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten);
295 int bytesToCopyInFirstPass = bytesWritten;
301 if (bytesToCopyInFirstPass < bytesWritten) {
303 bytesWritten - bytesToCopyInFirstPass);
305 mBytesFetched += bytesWritten;
  /external/llvm/tools/yaml2obj/
yaml2macho.cpp 118 size_t BytesWritten = 0;
123 BytesWritten += sizeof(MachO::section);
125 return BytesWritten;
132 size_t BytesWritten = 0;
138 BytesWritten += sizeof(MachO::section_64);
140 return BytesWritten;
144 size_t BytesWritten = 0;
147 BytesWritten = LC.PayloadString.length();
149 return BytesWritten;
190 size_t BytesWritten = 0
    [all...]
  /external/skia/src/pdf/
SkDeflate.h 46 size_t bytesWritten() const override;
  /hardware/interfaces/drm/1.0/default/
CryptoPlugin.cpp 141 uint32_t bytesWritten;
145 bytesWritten = result;
148 bytesWritten = 0;
151 _hidl_cb(toStatus(status), bytesWritten, detailMessage.c_str());
  /frameworks/av/media/libaaudio/src/legacy/
AudioStreamTrack.cpp 361 ssize_t bytesWritten = mAudioTrack->write(buffer, numBytes, blocking);
362 if (bytesWritten == WOULD_BLOCK) {
364 } else if (bytesWritten < 0) {
365 ALOGE("invalid write, returned %d", (int)bytesWritten);
368 if (bytesWritten == DEAD_OBJECT) {
372 return AAudioConvert_androidToAAudioResult(bytesWritten);
374 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame);

Completed in 1125 milliseconds

1 2 3 4 5 6 7 8 91011