Lines Matching refs:bufferIndex
145 int bufferIndex; in z_ExecCmdArray() local
202 bufferIndex = 0; in z_ExecCmdArray()
278 bytesRead = read(ipipe[0], buffer + bufferIndex, in z_ExecCmdArray()
279 bufferSize - bufferIndex); in z_ExecCmdArray()
308 bufferIndex += bytesRead; in z_ExecCmdArray()
309 if (bufferIndex >= bufferSize) { in z_ExecCmdArray()
312 (void) memset(buffer + bufferIndex, 0, in z_ExecCmdArray()
313 bufferSize - bufferIndex); in z_ExecCmdArray()
680 int bufferIndex; in _z_zone_exec() local
768 bufferIndex = 0; in _z_zone_exec()
919 bytesRead = read(ipipe[0], buffer + bufferIndex, in _z_zone_exec()
920 bufferSize - bufferIndex); in _z_zone_exec()
949 bufferIndex += bytesRead; in _z_zone_exec()
950 if (bufferIndex >= bufferSize) { in _z_zone_exec()
953 (void) memset(buffer + bufferIndex, 0, in _z_zone_exec()
954 bufferSize - bufferIndex); in _z_zone_exec()