Home
last modified time | relevance | path

Searched refs:cfile (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/libio/
Diofopncook.c35 struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp; in _IO_cookie_read() local
36 cookie_read_function_t *read_cb = cfile->__io_functions.read; in _IO_cookie_read()
44 return read_cb (cfile->__cookie, buf, size); in _IO_cookie_read()
50 struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp; in _IO_cookie_write() local
51 cookie_write_function_t *write_cb = cfile->__io_functions.write; in _IO_cookie_write()
62 ssize_t n = write_cb (cfile->__cookie, buf, size); in _IO_cookie_write()
72 struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp; in _IO_cookie_seek() local
73 cookie_seek_function_t *seek_cb = cfile->__io_functions.seek; in _IO_cookie_seek()
79 || (seek_cb (cfile->__cookie, &offset, dir) in _IO_cookie_seek()
88 struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp; in _IO_cookie_close() local
[all …]
/glibc-2.36/inet/
Druserpass.c47 static FILE *cfile; variable
112 cfile = fopen(buf, "rce"); in ruserpass()
113 if (cfile == NULL) { in ruserpass()
119 __fsetlocking (cfile, FSETLOCKING_BYCALLER); in ruserpass()
177 __fstat64_time64(fileno(cfile), &stb) >= 0 && in ruserpass()
205 (void) fclose(cfile); in ruserpass()
208 (void) fclose(cfile); in ruserpass()
220 if (feof_unlocked(cfile) || ferror_unlocked(cfile)) in libc_hidden_def()
222 while ((c = getc_unlocked(cfile)) != EOF && in libc_hidden_def()
229 while ((c = getc_unlocked(cfile)) != EOF && c != '"') { in libc_hidden_def()
[all …]
/glibc-2.36/hurd/
Dvpprintf.c44 struct _IO_cookie_file cfile; in vpprintf() member
50 temp_f.cfile.__fp.file._lock = &temp_f.lock; in vpprintf()
53 _IO_cookie_init (&temp_f.cfile, _IO_NO_READS, in vpprintf()
56 done = __vfprintf_internal (&temp_f.cfile.__fp.file, format, arg, 0); in vpprintf()