Searched refs:numBytesRead (Results 1 - 9 of 9) sorted by relevance
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/ |
H A D | kkdcp.c | 51 CFIndex numBytesRead; local 92 numBytesRead = 0 ; 95 numBytesRead = CFReadStreamRead(requestStream, buf, sizeof(buf)); 96 if(numBytesRead > 0) 97 CFDataAppendBytes(responseBytes, buf, numBytesRead); 99 } while(numBytesRead > 0); 100 if (numBytesRead < 0) {
|
/macosx-10.9.5/CF-855.17/ |
H A D | CFStreamInternal.h | 39 typedef const UInt8 *(*_CFStreamCBGetBufferV1)(CFReadStreamRef sream, CFIndex maxBytesToRead, CFIndex *numBytesRead, CFStreamError *error, Boolean *atEOF, void *info);
|
H A D | CFStreamAbstract.h | 41 - getBuffer is an optimization to return an internal buffer of bytes read from the stream, and may return NULL. getBuffer itself may be NULL if the concrete implementation does not wish to provide an internal buffer. If implemented, it should set numBytesRead to the number of bytes available in the internal buffer (but should not exceed maxBytesToRead) and return a pointer to the base of the bytes. 61 const UInt8 *(*getBuffer)(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead, CFErrorRef *error, Boolean *atEOF, void *info); 158 const UInt8 *(*getBuffer)(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead, CFStreamError *error, Boolean *atEOF, void *info); 190 const UInt8 *(*getBuffer)(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead, CFStreamError *error, Boolean *atEOF, void *info);
|
H A D | CFStreamPriv.h | 59 const UInt8 *(*getBuffer)(CFReadStreamRef sream, CFIndex maxBytesToRead, CFIndex *numBytesRead, CFErrorRef *error, Boolean *atEOF, void *info);
|
H A D | CFUtilities.c | 1102 ssize_t numBytesRead = read(fd, readLocation, numBytesRequested); 1103 if (numBytesRead <= 0) { 1104 if (numBytesRead < 0) { 1116 readLocation += numBytesRead; 1117 numBytesRemaining -= numBytesRead; 1125 DWORD numBytesRead; 1126 if (!ReadFile((HANDLE)_get_osfhandle(fd), bytes, statBuf.st_size, &numBytesRead, NULL)) { 1135 length = numBytesRead;
|
H A D | CFStream.h | 188 /* Returns a pointer to an internal buffer if possible (setting *numBytesRead 198 const UInt8 *CFReadStreamGetBuffer(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead);
|
H A D | CFConcreteStreams.c | 606 static const UInt8 *dataGetBuffer(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead, CFStreamError *error, Boolean *atEOF, void *info) { argument 610 *numBytesRead = maxBytesToRead; 613 *numBytesRead = dataCtxt->loc - bytes; 618 dataCtxt->loc += *numBytesRead;
|
H A D | CFStream.c | 1106 CF_EXPORT const UInt8 *CFReadStreamGetBuffer(CFReadStreamRef readStream, CFIndex maxBytesToRead, CFIndex *numBytesRead) { argument 1109 Boolean gotBytes = (Boolean) CF_OBJC_CALLV((NSInputStream *)readStream, getBuffer:&bufPtr length:(NSUInteger *)numBytesRead); 1127 *numBytesRead = -1; 1130 *numBytesRead = 0; 1142 buffer = ((_CFStreamCBGetBufferV1)(cb->getBuffer))((CFReadStreamRef)stream, maxBytesToRead, numBytesRead, &err, &atEOF, _CFStreamGetInfoPointer(stream)); 1145 buffer = cb->getBuffer((CFReadStreamRef)stream, maxBytesToRead, numBytesRead, &(stream->error), &atEOF, _CFStreamGetInfoPointer(stream)); 1148 *numBytesRead = -1;
|
/macosx-10.9.5/WebCore-7537.78.1/platform/network/cf/ |
H A D | FormDataStreamCFNet.cpp | 67 const UInt8 *(*getBuffer)(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead, CFStreamError *error, Boolean *atEOF, void *info);
|
Completed in 197 milliseconds