Home | History | Annotate | Download | only in coregrind

Lines Matching defs:fp

315    VgFile *fp = p;
317 fp->buf[fp->num_chars++] = c;
319 if (fp->num_chars == VGFILE_BUFSIZE) {
320 VG_(write)(fp->fd, fp->buf, fp->num_chars);
321 fp->num_chars = 0;
332 VgFile *fp = VG_(malloc)("fopen", sizeof(VgFile));
334 fp->fd = sr_Res(res);
335 fp->num_chars = 0;
337 return fp;
341 UInt VG_(vfprintf) ( VgFile *fp, const HChar *format, va_list vargs )
343 return VG_(debugLog_vprintf)(add_to__vgfile, fp, format, vargs);
346 UInt VG_(fprintf) ( VgFile *fp, const HChar *format, ... )
351 ret = VG_(vfprintf)(fp, format, vargs);
356 void VG_(fclose)( VgFile *fp )
359 if (fp->num_chars)
360 VG_(write)(fp->fd, fp->buf, fp->num_chars);
362 VG_(free)(fp);