/external/webkit/WebCore/platform/text/mac/ |
H A D | TextCodecMac.cpp | 135 unsigned long bytesRead = 0; local 149 status = TECConvertText(m_converterTEC, m_bufferedBytes, m_numBufferedBytes + bytesToPutInBuffer, &bytesRead, 151 ASSERT(bytesRead <= m_numBufferedBytes + bytesToPutInBuffer); 153 if (status == kTECPartialCharErr && bytesRead == 0) { 162 bytesRead = bytesToPutInBuffer; 168 if (bytesRead > m_numBufferedBytes) { 169 bytesRead -= m_numBufferedBytes; 172 bytesRead = 0; 183 status = TECConvertText(m_converterTEC, inputBuffer, inputBufferLength, &bytesRead, 185 ASSERT(static_cast<int>(bytesRead) < 211 int bytesRead = 0; local [all...] |
/external/skia/tests/ |
H A D | StreamTest.cpp | 33 int bytesRead = 0; local 34 while (bytesRead < size) { 38 REPORTER_ASSERT(reporter, bytesRead + ss <= size); 40 memcmp(storage + bytesRead, storage2, ss) == 0); 41 bytesRead += ss; 43 REPORTER_ASSERT(reporter, bytesRead == size);
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libpvjpeg.cpp | 160 int32 bytesRead = stream->read(storage + bytesInStorage, local 162 if (bytesRead <= 0) { 163 SkDEBUGF(("SkPVJPEGImageDecoder: stream read returned %d\n", bytesRead)); 168 bytesInStorage += bytesRead;
|
H A D | bmpdecoderhelper.cpp | 234 int bytesRead = 0; local 239 bytesRead++; 256 if ((bytesRead & 1) && pos_ < len_) {
|
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
H A D | ImageDiff.cpp | 64 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin); local 65 data.write(reinterpret_cast<const char*>(buffer), bytesRead); local 66 imageSize -= static_cast<int>(bytesRead);
|
/external/quake/src/com/android/quake/ |
H A D | DownloaderActivity.java | 745 int bytesRead = is.read(mFileIOBuffer, 0, chunkSize); 746 if (bytesRead < 0) { 749 updateDigest(digest, bytesRead); 750 bytesToRead -= bytesRead; 764 private void updateDigest(MessageDigest digest, int bytesRead) { argument 765 if (bytesRead == mFileIOBuffer.length) { 770 byte[] temp = new byte[bytesRead]; 772 temp, 0, bytesRead); 895 long bytesRead = downloadStream(is, os, digest); 898 if (expectedBytesRead != bytesRead) { [all...] |
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
H A D | ImageDiffCG.cpp | 75 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin); local 76 CFDataAppendBytes(data.get(), buffer, static_cast<CFIndex>(bytesRead)); 77 bytesRemaining -= static_cast<int>(bytesRead);
|
/external/webkit/WebCore/platform/network/win/ |
H A D | ResourceHandleWin.cpp | 413 DWORD bytesRead = 0; local 418 result = ReadFile(d->m_fileHandle, &buffer, bufferSize, &bytesRead, NULL); 419 if (result && bytesRead) 420 client()->didReceiveData(this, buffer, bytesRead, 0); 422 } while (result && bytesRead);
|
/external/webkit/WebCore/platform/network/mac/ |
H A D | FormDataStreamMac.mm | 241 CFIndex bytesRead = CFReadStreamRead(form->currentStream, buffer, bufferLength); 242 if (bytesRead < 0) { 246 if (bytesRead > 0) { 249 form->bytesSent += bytesRead; 257 return bytesRead;
|
/external/chromium/third_party/icu/source/io/ |
H A D | ustdio.c | 397 int32_t bytesRead; local 432 bytesRead = (int32_t)(retStr ? uprv_strlen(charBuffer) : 0); 436 bytesRead = (int32_t)fread(charBuffer, 445 mySourceEnd = charBuffer + bytesRead; 461 u_charsToUChars(mySource, myTarget, bytesRead); 462 myTarget += bytesRead;
|
/external/icu4c/io/ |
H A D | ustdio.c | 397 int32_t bytesRead; local 432 bytesRead = (int32_t)(retStr ? uprv_strlen(charBuffer) : 0); 436 bytesRead = (int32_t)fread(charBuffer, 445 mySourceEnd = charBuffer + bytesRead; 461 u_charsToUChars(mySource, myTarget, bytesRead); 462 myTarget += bytesRead;
|
/external/webkit/WebCore/platform/network/cf/ |
H A D | FormDataStreamCFNet.cpp | 228 CFIndex bytesRead = CFReadStreamRead(form->currentStream, buffer, bufferLength); local 229 if (bytesRead < 0) { 233 if (bytesRead > 0) { 236 return bytesRead;
|
/external/icu4c/tools/genrb/ |
H A D | genrb.c | 350 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); local 352 if (bytesRead != poolFileSize) { 361 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, 368 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status);
|
/external/quake/quake/src/WinQuake/ |
H A D | mplpc.cpp | 734 int bytesRead;
local 757 bytesRead = FARPKL(&data->len);
767 fmemcpyfrom(buf, data->data, len > bytesRead ? bytesRead : len);
773 return bytesRead;
|
/external/webkit/WebCore/platform/network/soup/ |
H A D | ResourceHandleSoup.cpp | 733 gssize bytesRead = g_input_stream_read_finish(d->m_inputStream, res, &error); local 747 if (!bytesRead) { 753 d->m_total += bytesRead; 754 client->didReceiveData(handle.get(), d->m_buffer, bytesRead, d->m_total);
|
/external/webkit/WebCore/plugins/mac/ |
H A D | PluginViewMac.cpp | 789 int bytesRead = fread(buffer.data(), 1, 0, fileHandle); local 793 if (bytesRead <= 0)
|
/external/webkit/WebCore/plugins/win/ |
H A D | PluginViewWin.cpp | 859 DWORD bytesRead; local 860 int retval = ReadFile(fileHandle, buffer.data(), attrs.nFileSizeLow, &bytesRead, 0); 864 if (retval == 0 || bytesRead != attrs.nFileSizeLow)
|
/external/webkit/WebCore/plugins/gtk/ |
H A D | PluginViewGtk.cpp | 604 int bytesRead = fread(buffer.data(), 1, 0, fileHandle); local 608 if (bytesRead <= 0)
|
/external/webkit/WebCore/plugins/qt/ |
H A D | PluginViewQt.cpp | 546 int bytesRead = fread(buffer.data(), 1, size, fileHandle); local 550 if (bytesRead <= 0)
|