Searched refs:bytesRead (Results 1 - 25 of 98) sorted by relevance

1234

/macosx-10.9.5/WebCore-7537.78.1/platform/
H A DFileStream.cpp126 int bytesRead = 0; local
128 bytesRead = readFromFile(m_handle, buffer, bytesToRead);
129 if (bytesRead < 0)
131 if (bytesRead > 0)
132 m_bytesProcessed += bytesRead;
134 return bytesRead;
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Ddevrandom.cpp58 size_t bytesRead = mReader().read(data, length); local
59 if (bytesRead != length) { // short read (shouldn't happen)
61 length, bytesRead);
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/
H A Ddevrandom.cpp58 size_t bytesRead = mReader().read(data, length); local
59 if (bytesRead != length) { // short read (shouldn't happen)
61 length, bytesRead);
/macosx-10.9.5/WebCore-7537.78.1/platform/posix/
H A DSharedBufferPOSIX.cpp63 ssize_t bytesRead; local
64 while ((bytesRead = read(fd, buffer.data() + totalBytesRead, bytesToRead - totalBytesRead)) > 0)
65 totalBytesRead += bytesRead;
/macosx-10.9.5/WebCore-7537.78.1/platform/win/
H A DSharedBufferWin.cpp59 DWORD bytesRead; local
60 if (ReadFile(fileHandle, buffer.data(), bytesToRead, &bytesRead, 0) && bytesToRead == bytesRead)
/macosx-10.9.5/WebCore-7537.78.1/platform/text/mac/
H A DTextCodecMac.cpp136 unsigned long bytesRead = 0; local
150 status = TECConvertText(m_converterTEC, m_bufferedBytes, m_numBufferedBytes + bytesToPutInBuffer, &bytesRead,
152 ASSERT(bytesRead <= m_numBufferedBytes + bytesToPutInBuffer);
154 if (status == kTECPartialCharErr && bytesRead == 0) {
163 bytesRead = bytesToPutInBuffer;
169 if (bytesRead > m_numBufferedBytes) {
170 bytesRead -= m_numBufferedBytes;
173 bytesRead = 0;
184 status = TECConvertText(m_converterTEC, inputBuffer, inputBufferLength, &bytesRead,
186 ASSERT(static_cast<int>(bytesRead) <
212 int bytesRead = 0; local
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/qt/
H A DQtNetworkReply.cpp75 qint64 bytesRead = maxlen < m_bytesAvailable ? maxlen : m_bytesAvailable;
76 if (memcpy(data, static_cast<char*>(m_sharedMemory->data()) + m_sharedMemorySize - m_bytesAvailable, bytesRead)) {
77 m_bytesAvailable -= bytesRead;
78 return bytesRead;
/macosx-10.9.5/tidy-15.12/tidy/src/
H A Diconvtc.c33 int IconvGetChar(byte firstByte, StreamIn * in, uint * bytesRead) argument
43 assert( bytesRead != NULL );
75 *bytesRead = inbufsize;
91 *bytesRead = inbufsize;
H A Dwin32tc.h16 int TY_(Win32MLangGetChar)(byte firstByte, StreamIn * in, uint * bytesRead);
/macosx-10.9.5/AppleUSBIrDA-145.2.4/IrDA/Stack/
H A DIrDscInfo.cpp169 ULong bytesRead; local
177 bytesRead = buffer->Getn(&devInfo[0], sizeof(devInfo));
180 for (index = 0; index < bytesRead; ) {
188 if (index < bytesRead) {
193 memcpy(fNickname, &devInfo[index], (unsigned int)(bytesRead - index));
194 fNickname[bytesRead - index] = 0;
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/Security/
H A DsslRand.c59 ssize_t bytesRead = read(random_fd, data, len); local
60 if (bytesRead != len) {
H A Dsecuretransport++.cpp105 size_t bytesRead;
106 switch (OSStatus err = SSLRead(mContext, data, length, &bytesRead)) {
109 return bytesRead; // (may be zero in non-blocking scenarios)
112 if (bytesRead == 0)
114 return bytesRead;
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/lib/
H A DsslRand.c59 ssize_t bytesRead = read(random_fd, data, len); local
60 if (bytesRead != len) {
H A Dsecuretransport++.cpp105 size_t bytesRead;
106 switch (OSStatus err = SSLRead(mContext, data, length, &bytesRead)) {
109 return bytesRead; // (may be zero in non-blocking scenarios)
112 if (bytesRead == 0)
114 return bytesRead;
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/security_ssl/
H A DsslRand.c59 ssize_t bytesRead = read(random_fd, data, len); local
60 if (bytesRead != len) {
/macosx-10.9.5/WebCore-7537.78.1/platform/network/
H A DBlobResourceHandle.cpp362 int bytesRead = 0; local
364 bytesRead = readDataSync(item, buf + offset, remaining);
366 bytesRead = readFileSync(item, buf + offset, remaining);
370 if (bytesRead > 0) {
371 offset += bytesRead;
372 remaining -= bytesRead;
429 int bytesRead = m_stream->read(buf, length); local
430 if (bytesRead < 0) {
434 if (!bytesRead) {
439 m_totalRemainingSize -= bytesRead;
509 didRead(int bytesRead) argument
519 consumeData(const char* data, int bytesRead) argument
628 notifyReceiveData(const char* data, int bytesRead) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_transform/lib/
H A DSecTransformReadTransform.cpp83 CFIndex bytesRead;
85 bytesRead = CFReadStreamRead(input, buffer, blockSize);
86 while (bytesRead > 0)
89 CFDataRef value = CFDataCreate(NULL, buffer, bytesRead);
97 bytesRead = CFReadStreamRead(input, buffer, blockSize);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/gtk/
H A DWebKitURISchemeRequest.cpp67 uint64_t bytesRead; member in struct:_WebKitURISchemeRequestPrivate
167 gssize bytesRead = g_input_stream_read_finish(inputStream, result, &error.outPtr()); local
168 if (bytesRead == -1) {
174 RefPtr<WebData> webData = WebData::create(reinterpret_cast<const unsigned char*>(priv->readBuffer), bytesRead);
175 if (!priv->bytesRead) {
178 } else if (bytesRead || (!bytesRead && !priv->streamLength)) {
183 if (!bytesRead) {
188 priv->bytesRead += bytesRead;
[all...]
/macosx-10.9.5/cddafs-252/Classes/
H A DTSystemUtils.cpp159 CFIndex bytesRead = 0; local
186 bytesRead = CFReadStreamRead ( readStream, dataPtr, endPtr - dataPtr );
188 if ( bytesRead > 0 )
191 dataPtr += bytesRead;
/macosx-10.9.5/tcl-102/tcl_ext/tls/tls/
H A DtlsIO.c336 int bytesRead; /* How many bytes were read? */
344 bytesRead = 0;
349 bytesRead = Tls_WaitForConnect(statePtr, errorCodePtr);
350 if (bytesRead <= 0) {
369 bytesRead = BIO_read(statePtr->bio, buf, bufSize);
370 dprintf(stderr,"\nBIO_read -> %d", bytesRead);
372 if (bytesRead < 0) {
373 int err = SSL_get_error(statePtr->ssl, bytesRead);
376 Tls_Error(statePtr, SSL_ERROR(statePtr->ssl, bytesRead));
386 bytesRead
333 int bytesRead; /* How many bytes were read? */ local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/fileapi/
H A DAsyncFileStream.cpp181 static void didRead(AsyncFileStream* proxy, int bytesRead) argument
184 proxy->client()->didRead(bytesRead);
196 int bytesRead = m_stream->read(buffer, length); local
197 callOnMainThread(didRead, AllowCrossThreadAccess(this), bytesRead);
/macosx-10.9.5/apache-786.1/httpd/modules/arch/netware/
H A Dlibprews.c41 size_t nbytes, size_t *bytesRead, void *buffer ),
32 _NonAppStart( void *NLMHandle, void *errorScreen, const char *cmdLine, const char *loadDirPath, size_t uninitializedDataLength, void *NLMFileHandle, int (*readRoutineP)( int conn, void *fileHandle, size_t offset, size_t nbytes, size_t *bytesRead, void *buffer ), size_t customDataOffset, size_t customDataSize, int messageCount, const char **messages ) argument
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/InspectorServer/efl/
H A DWebInspectorServerEfl.cpp61 int bytesRead = fread(data.data(), 1, fileStat.st_size, fileHandle); local
64 if (bytesRead < fileStat.st_size)
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/soup/
H A DWebKitSoupRequestInputStream.cpp46 uint64_t bytesRead; member in struct:_WebKitSoupRequestInputStreamPrivate
57 gssize bytesRead = G_INPUT_STREAM_GET_CLASS(stream)->read_fn(G_INPUT_STREAM(stream), buffer, count, cancellable, &error); local
59 g_simple_async_result_set_op_res_gssize(result, bytesRead);
60 stream->priv->bytesRead += bytesRead;
78 return stream->priv->bytesRead < stream->priv->bytesReceived;
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/base/
H A DtkimgIO.c145 int bytesRead, bytesToRead;
165 bytesRead = 0;
168 printf ("bytesToRead=%d bytesRead=%d (bufStart=%d bufEnd=%d)\n",
169 bytesToRead, bytesRead, bufStart, bufEnd);
191 return bytesRead + bytesToRead;
198 bytesRead += (bufEnd +1 - bufStart);
201 dstPtr += bytesRead;
142 int bytesRead, bytesToRead; local

Completed in 168 milliseconds

1234