Searched refs:READ_BUF_SIZE (Results 1 – 2 of 2) sorted by relevance
22 #define READ_BUF_SIZE 2048 macro75 uchar fReadBuffer[READ_BUF_SIZE];
92 memset(fReadBuffer, 0, READ_BUF_SIZE); in TermParse()241 while (READ_BUF_SIZE - bufferSize < MIN_PTY_BUFFER_SPACE) { in PtyReader()253 uchar buf[READ_BUF_SIZE]; in PtyReader()254 ssize_t nread = read(fFd, buf, READ_BUF_SIZE - bufferSize); in PtyReader()262 int32 left = READ_BUF_SIZE - readPos; in PtyReader()275 readPos = (readPos + nread) % READ_BUF_SIZE; in PtyReader()1334 fBufferPosition = (fBufferPosition + 1) % READ_BUF_SIZE; in _ReadParserBuffer()1341 if (bufferSize > READ_BUF_SIZE - MIN_PTY_BUFFER_SPACE in _ReadParserBuffer()1342 && bufferSize - toRead <= READ_BUF_SIZE - MIN_PTY_BUFFER_SPACE) { in _ReadParserBuffer()