Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 25 of 31) sorted by relevance

12

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdio/
A Dvasprintf.c32 int rv = -1; in vasprintf() local
37 rv = vfprintf(f, format, arg); in vasprintf()
39 if (rv < 0) { in vasprintf()
45 assert(rv >= -1); in vasprintf()
47 return rv; in vasprintf()
56 int rv; in vasprintf()
64 if (rv >= 0) { in vasprintf()
65 if ((*buf = malloc(++rv)) != NULL) { in vasprintf()
66 if ((rv = vsnprintf(*buf, rv, format, arg)) < 0) { in vasprintf()
73 assert(rv >= -1); in vasprintf()
[all …]
A D_READ.c27 ssize_t rv = 0; in __stdio_READ() local
45 if ((rv = __READ(stream, (char *) buf, bufsize)) <= 0) { in __stdio_READ()
46 if (rv == 0) { in __stdio_READ()
51 rv = 0; in __stdio_READ()
58 assert(rv <= bufsize); in __stdio_READ()
59 if (rv > bufsize) { /* Read more than bufsize! */ in __stdio_READ()
66 return rv; in __stdio_READ()
A Dvdprintf.c18 int rv; in vdprintf() local
57 rv = vfprintf(&f, format, arg); in vdprintf()
59 rv = _vfprintf_internal(&f, format, arg); in vdprintf()
64 if ((rv > 0) && fflush_unlocked(&f)) { in vdprintf()
65 rv = -1; in vdprintf()
69 assert(rv >= -1); in vdprintf()
71 return rv; in vdprintf()
A D_WRITE.c36 ssize_t rv, stodo; in __stdio_WRITE() local
47 rv = __WRITE(stream, (char *) buf, stodo); in __stdio_WRITE()
48 if (rv >= 0) { in __stdio_WRITE()
53 assert(rv <= stodo); in __stdio_WRITE()
54 if (rv > stodo) { /* Wrote more than stodo! */ in __stdio_WRITE()
58 todo -= rv; in __stdio_WRITE()
59 buf += rv; in __stdio_WRITE()
A Dremove.c22 int rv; in remove() local
24 rv = rmdir(filename); in remove()
25 if ((rv < 0) && (errno == ENOTDIR)) { in remove()
27 rv = unlink(filename); in remove()
29 return rv; in remove()
A Dvsnprintf.c23 int rv; in vsnprintf() local
64 rv = vfprintf(&f, format, arg); in vsnprintf()
66 rv = _vfprintf_internal(&f, format, arg); in vsnprintf()
74 return rv; in vsnprintf()
90 int rv;
124 rv = vfprintf((FILE *) &f, format, arg);
131 return rv;
180 int rv;
205 rv = _vfprintf_internal(&f, format, arg);
207 return rv;
A D_rfill.c24 size_t rv; in __stdio_rfill() local
36 rv = __stdio_READ(stream, stream->__bufstart, in __stdio_rfill()
39 stream->__bufread = stream->__bufstart + rv; in __stdio_rfill()
42 return rv; in __stdio_rfill()
A Dwprintf.c16 int rv; in wprintf() local
19 rv = vfwprintf(stdout, format, arg); in wprintf()
22 return rv; in wprintf()
A Ddprintf.c18 int rv; in dprintf() local
21 rv = vdprintf(filedes, format, arg); in dprintf()
24 return rv; in dprintf()
A Dprintf.c15 int rv; in printf() local
18 rv = vfprintf(stdout, format, arg); in printf()
21 return rv; in printf()
A Dfclose.c13 int rv = 0; in fclose() local
49 rv = fflush_unlocked(stream); in fclose()
54 rv = EOF; in fclose()
101 return rv; in fclose()
A Dfwprintf.c16 int rv; in fwprintf() local
19 rv = vfwprintf(stream, format, arg); in fwprintf()
22 return rv; in fwprintf()
A Dfprintf.c15 int rv; in fprintf() local
18 rv = vfprintf(stream, format, arg); in fprintf()
21 return rv; in fprintf()
A Dvswprintf.c23 int rv; in vswprintf() local
59 rv = _vfwprintf_internal(&f, format, arg); in vswprintf()
63 rv = -1; in vswprintf()
71 return rv; in vswprintf()
A Dsprintf.c19 int rv; in sprintf() local
22 rv = vsnprintf(buf, SIZE_MAX, format, arg); in sprintf()
25 return rv; in sprintf()
A Dasprintf.c23 int rv; in asprintf() local
26 rv = vasprintf(buf, format, arg); in asprintf()
29 return rv; in asprintf()
A Dswprintf.c21 int rv; in swprintf() local
24 rv = vswprintf(buf, size, format, arg); in swprintf()
27 return rv; in swprintf()
A Dsnprintf.c20 int rv; in snprintf() local
23 rv = vsnprintf(buf, size, format, arg); in snprintf()
25 return rv; in snprintf()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/pwd_grp/
A Dpwd_grp.c73 int rv; in fgetpwent_r() local
81 return rv; in fgetpwent_r()
95 int rv; in libc_hidden_def() local
103 return rv; in libc_hidden_def()
116 int rv; in libc_hidden_def() local
124 return rv; in libc_hidden_def()
313 int rv; in getspuid_r() local
449 int rv; in getpwent_r() local
505 int rv; in getgrent_r() local
560 int rv; in getspent_r() local
[all …]
A Dpwd_grp_internal.c62 int rv; in libc_hidden_proto() local
67 rv = errno; in libc_hidden_proto()
71 if (!(rv = __pgsreader(GETXXKEY_R_PARSER, resultbuf, in libc_hidden_proto()
79 if (rv == ENOENT) { /* end-of-file encountered. */ in libc_hidden_proto()
80 rv = 0; in libc_hidden_proto()
88 return rv; in libc_hidden_proto()
A Dlckpwdf.c53 int rv = -1; in lckpwdf() local
116 rv = 0; in lckpwdf()
120 return rv; in lckpwdf()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/termios/
A Dttyname.c53 int rv; in ttyname_r() local
61 rv = ENOTTY; /* Set up the default return value. */ in ttyname_r()
103 rv = ERANGE; in ttyname_r()
106 rv = 0; in ttyname_r()
116 __set_errno(rv); in ttyname_r()
118 return rv; in ttyname_r()
/l4re-core-master/uclibc/lib/contrib/uclibc/libutil/
A Dopenpty.c38 int rv;
47 rv = ptsname_r (fd, buf, buf_len);
49 if (rv != 0 || memchr (buf, '\0', buf_len))
68 rv = -1;
75 if (rv == 0)
80 return rv;
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/
A Dunix_grantpt.c40 int rv; in pts_name() local
49 rv = ptsname_r (fd, buf, buf_len); in pts_name()
51 if (rv != 0 || memchr (buf, '\0', buf_len)) in pts_name()
70 rv = -1; in pts_name()
77 if (rv == 0) in pts_name()
82 return rv; in pts_name()
A Dsetenv.c52 int rv = -1; in __add_to_environ() local
110 rv = 0; in __add_to_environ()
114 return rv; in __add_to_environ()

Completed in 45 milliseconds

12