Home | History | Annotate | Download | only in src

Lines Matching defs:tp

1175 	FILE *fp, *tp;
1194 if ((tp = fdopen(fd, "r+")) == NULL) {
1219 } else if (fwrite(buf, (size_t)left, (size_t)1, tp)
1224 fflush(tp);
1227 if (fwrite(buf, sizeof(buf), (size_t)1, tp) != 1) {
1253 if (fseeko(tp, (off_t)sizeof(buf) * count, SEEK_SET) < 0) {
1257 if (fread(buf, sizeof(buf), (size_t)1, tp) != 1) {
1258 if (ferror(tp)) {
1276 if (fseeko(tp, (off_t)sizeof(buf) * count + (cp - buf), SEEK_SET) ==
1283 if ((left = (ssize_t)fread(buf, (size_t)1, sizeof(buf), tp)) == 0) {
1297 fclose(tp);