Lines Matching defs:fd
1058 /* Get the next char from fd into *out_buf. Returns 1 if success,
1061 static Int get_char ( Int fd, HChar* out_buf )
1070 r = VG_(read)(fd, buf, 256);
1087 static Bool get_nbnc_line ( Int fd, HChar** bufpp, SizeT* nBufp, Int* lineno )
1100 n = get_char(fd, &ch);
1111 n = get_char(fd, &ch);
1145 Bool VG_(get_line) ( Int fd, HChar** bufpp, SizeT* nBufp, Int* lineno )
1147 Bool eof = get_nbnc_line (fd, bufpp, nBufp, lineno);
1230 Int fd, i, j, lineno = 0;
1256 fd = sr_Res(sres);
1276 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno );
1284 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno );
1292 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno );
1330 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno );
1342 // from fd till a location line.
1345 fd, &buf, &nBuf, &lineno, supp))
1359 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno );
1384 eof = get_nbnc_line ( fd, &buf, &nBuf, &lineno );
1415 VG_(close)(fd);
1425 VG_(close)(fd);