Lines Matching defs:error
70 // Read a C-string from a file. If the buffer is too short, an error
76 // to end the string) or -1 if there was an error.
96 bool error = false;
101 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
109 error = EAGAIN != errno && EINTR != errno;
110 if (error)
129 if (error)
162 bool error = false;
165 while (size > 0 && !error && attempts < kMaxAttempts)
171 error = EAGAIN != errno && EINTR != errno;
172 if (error)
186 if (error)
448 bool error = false;
451 while (size > 0 && !error && attempts < kMaxAttempts)
457 error = EAGAIN != errno && EINTR != errno;
458 if (error)
471 if (error || 0 != size)
479 error = false;
482 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
490 error = EAGAIN != errno && EINTR != errno;
491 if (error)
506 if (error || 0 != size)
523 bool error;
533 error = false;
537 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
545 error = EAGAIN != errno && EINTR != errno;
546 if (error)
563 if (error || 0 != size)
573 error = false;
577 while (size > 0 && !error && attempts < kMaxAttempts)
583 error = EAGAIN != errno && EINTR != errno;
584 if (error)
596 if (error || 0 != size)