Lines Matching refs:k
225 int k = read (m_fd, buffer, sizeof(buffer)); in setBuffer() local
226 while (k > 0) in setBuffer()
229 m_buffer.realloc (n + k); in setBuffer()
231 rtl_copyMemory (m_buffer.getArray() + n, buffer, k); in setBuffer()
232 n += k; in setBuffer()
234 rtl_zeroMemory (buffer, k); in setBuffer()
235 k = read (m_fd, buffer, sizeof(buffer)); in setBuffer()
281 sal_Int32 k = m_buffer.getLength() - m_position; in readBytes() local
282 k = VOS_BOUND(k, 0, nBytesToRead); in readBytes()
283 if (k > 0) in readBytes()
285 rData.realloc(k); in readBytes()
287 rData.getArray(), m_buffer.getConstArray() + m_position, k); in readBytes()
288 m_position += k; in readBytes()
290 return k; in readBytes()
321 sal_Int32 k = m_buffer.getLength() - m_position; in available() local
322 return ((k > 0) ? k : 0); in available()
415 int k = ::write (1, pData, nData); in flush() local
416 if (k > 0) in flush()