Home | History | Annotate | Download | only in tool

Lines Matching refs:off

83   size_t off = 0;
85 n = read(fd, &contents[off], size - off);
87 off += static_cast<size_t>(n);
89 } while ((n > 0 && off < size) || (n == -1 && errno == EINTR));
91 if (off != size) {
103 off = 0;
105 n = read(0, &password[off], sizeof(password) - 1 - off);
107 off += static_cast<size_t>(n);
109 } while ((n > 0 && memchr(password, '\n', off) == NULL &&
110 off < sizeof(password) - 1) ||
113 char *newline = reinterpret_cast<char*>(memchr(password, '\n', off));