HomeSort by relevance Sort by last modified time
    Searched refs:bytesRead (Results 51 - 75 of 95) sorted by null

1 23 4

  /external/skia/src/images/
bmpdecoderhelper.cpp 234 int bytesRead = 0;
239 bytesRead++;
256 if ((bytesRead & 1) && pos_ < len_) {
  /external/webkit/Source/WebCore/platform/gtk/
FileSystemGtk.cpp 307 gssize bytesRead = g_input_stream_read(g_io_stream_get_input_stream(G_IO_STREAM(handle)),
309 if (bytesRead >= 0)
310 return bytesRead;
  /external/webkit/Source/WebCore/platform/network/mac/
FormDataStreamMac.mm 286 CFIndex bytesRead = CFReadStreamRead(form->currentStream, buffer, bytesToRead);
287 if (bytesRead < 0) {
291 if (bytesRead > 0) {
294 form->bytesSent += bytesRead;
297 form->currentStreamRangeLength -= bytesRead;
306 return bytesRead;
  /external/webkit/Source/WebCore/platform/posix/
FileSystemPOSIX.cpp 133 int bytesRead = read(handle, data, static_cast<size_t>(length));
134 if (bytesRead >= 0)
135 return bytesRead;
  /external/webkit/Tools/DumpRenderTree/cg/
ImageDiffCG.cpp 79 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin);
80 CFDataAppendBytes(data.get(), buffer, static_cast<CFIndex>(bytesRead));
81 bytesRemaining -= static_cast<int>(bytesRead);
  /external/webkit/Tools/DumpRenderTree/gtk/
ImageDiff.cpp 53 size_t bytesRead = fread(imageBuffer, 1, bytesToRead, stdin);
55 if (!gdk_pixbuf_loader_write(loader, reinterpret_cast<const guchar*>(imageBuffer), bytesRead, &error)) {
62 imageSize -= static_cast<int>(bytesRead);
  /external/webkit/Tools/DumpRenderTree/win/
ImageDiffCairo.cpp 80 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin);
81 CFDataAppendBytes(data.get(), buffer, static_cast<CFIndex>(bytesRead));
82 bytesRemaining -= static_cast<int>(bytesRead);
  /frameworks/base/core/java/android/os/
FileUtils.java 148 int bytesRead;
149 while ((bytesRead = inputStream.read(buffer)) >= 0) {
150 out.write(buffer, 0, bytesRead);
  /frameworks/base/core/jni/android/graphics/
CreateJavaOutputStreamAdaptor.cpp 39 size_t bytesRead = 0;
69 bytesRead += n;
74 return bytesRead;
  /libcore/luni/src/main/java/java/util/zip/
ZipFile.java 427 long bytesRead = 0;
438 bytesRead += i;
451 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead);
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
FileUtils.java 201 int bytesRead;
202 while ((bytesRead = is.read(buffer)) > 0) {
203 fos.write(buffer, 0, bytesRead);
  /external/webkit/Source/WebCore/platform/network/win/
ResourceHandleWin.cpp 385 DWORD bytesRead = 0;
390 result = ReadFile(fileHandle, &buffer, bufferSize, &bytesRead, 0);
394 if (result && bytesRead)
395 client()->didReceiveData(this, buffer, bytesRead, -1);
397 } while (result && bytesRead);
  /hardware/libhardware_legacy/audio/
AudioDumpInterface.cpp 489 ssize_t bytesRead = fread(buffer, bytes, 1, mFile);
490 if (bytesRead >=0 && bytesRead < bytes) {
492 fread((uint8_t *)buffer+bytesRead, bytes-bytesRead, 1, mFile);
  /external/icu4c/io/
ustdio.c 408 int32_t bytesRead;
443 bytesRead = (int32_t)(retStr ? uprv_strlen(charBuffer) : 0);
447 bytesRead = (int32_t)fread(charBuffer,
456 mySourceEnd = charBuffer + bytesRead;
472 u_charsToUChars(mySource, myTarget, bytesRead);
473 myTarget += bytesRead;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
InputStreamReaderTest.java 457 int bytesRead = isr.read(buf, 0, buf.length);
458 assertFalse(-1 == bytesRead);
459 bytesRead = isr.read(buf, 0, buf.length);
460 assertFalse(-1 == bytesRead);
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
BinaryHprofReader.java 266 int bytesRead = in.read(dst, offset, byteCount);
267 if (bytesRead < 0) {
270 offset += bytesRead;
271 byteCount -= bytesRead;
  /packages/apps/Contacts/tests/src/com/android/contacts/
CallDetailActivityTest.java 284 int bytesRead;
286 while ((bytesRead = in.read(buffer)) != -1) {
287 total += bytesRead;
288 out.write(buffer, 0, bytesRead);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadThread.java 294 int bytesRead = readFromResponse(state, innerState, data, entityStream);
295 if (bytesRead == -1) { // success, end of stream already reached
301 writeDataToDestination(state, data, bytesRead);
302 state.mCurrentBytes += bytesRead;
427 * @param bytesRead how many bytes to write from the buffer
429 private void writeDataToDestination(State state, byte[] data, int bytesRead)
437 bytesRead);
439 state.mStream.write(data, 0, bytesRead);
441 byte[] convertedData = mDrmConvertSession.convert(data, bytesRead);
455 mStorageManager.verifySpace(mInfo.mDestination, state.mFilename, bytesRead);
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldSocketTest.java     [all...]
  /libcore/luni/src/main/native/
java_util_zip_Inflater.cpp 120 jint bytesRead = stream->stream.next_in - initialNextIn;
125 inReadValue += bytesRead;
  /frameworks/base/media/libmedia/
AudioRecord.cpp 656 size_t bytesRead = audioBuffer.size;
657 memcpy(dst, audioBuffer.i8, bytesRead);
659 dst += bytesRead;
660 userSize -= bytesRead;
661 read += bytesRead;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
SocketTest.java     [all...]
  /frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 334 int bytesRead;
335 while ((bytesRead = inputStream.read(buffer)) >= 0) {
336 out.write(buffer, 0, bytesRead);
  /external/icu4c/tools/genrb/
genrb.c 353 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize);
355 if (bytesRead != poolFileSize) {
364 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead,
371 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status);
  /frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
FwdLockEngine.cpp 637 ssize_t bytesRead = -1;
651 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes);
652 if (bytesRead < 0) {
660 return bytesRead;

Completed in 1982 milliseconds

1 23 4