Searched defs:ret (Results 1 - 25 of 59) sorted by relevance

123

/bionic/libc/bionic/
H A Dfork.c37 int ret; local
47 ret = __fork();
48 if (ret != 0) { /* not a child process */
64 return ret;
H A Dbasename.c40 int ret; local
47 ret = basename_r(path, bname, MAXPATHLEN);
48 return (ret < 0) ? NULL : bname;
H A Ddirname.c40 int ret; local
48 ret = dirname_r(path, bname, MAXPATHLEN);
49 return (ret < 0) ? NULL : bname;
H A Dcpuacct.c41 int ret = 0; local
60 ret = -errno;
62 ret = -EIO;
67 return ret;
H A Dfdprintf.c37 int ret; local
38 ret = vasprintf(&buf, format, ap);
39 if (ret < 0)
42 ret = write(fd, buf, ret);
45 return ret;
51 int ret; local
54 ret = vfdprintf(fd, format, ap);
57 return ret;
H A Dif_indextoname.c47 char* ret = NULL; local
54 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ);
62 return ret;
H A Dsched_getaffinity.c33 int ret = __sched_getaffinity(pid, setsize, set); local
34 if (ret >= 0) {
35 if ((size_t)ret < setsize) {
36 memset((char*)set + ret, '\0', setsize - (size_t)ret);
38 ret = 0;
40 return ret;
/bionic/libc/stdio/
H A Dfeof.c45 int ret; local
48 ret = __sfeof(fp);
50 return (ret);
H A Dfileno.c45 int ret; local
48 ret = __sfileno(fp);
50 return (ret);
H A Dprintf.c40 int ret; local
44 ret = vfprintf(stdout, fmt, ap);
46 return (ret);
H A Dscanf.c40 int ret; local
44 ret = vfscanf(stdin, fmt, ap);
46 return (ret);
H A Dflockfile.c61 int ret = EINVAL; local
64 ret = _FLOCK_TRYLOCK(fp);
66 return ret;
H A Dfprintf.c40 int ret; local
44 ret = vfprintf(fp, fmt, ap);
46 return (ret);
H A Dfscanf.c40 int ret; local
44 ret = vfscanf(fp, fmt, ap);
46 return (ret);
H A Dfwalk.c43 int n, ret; local
46 ret = 0;
50 ret |= (*function)(fp);
52 return (ret);
H A Dputc.c61 int ret; local
64 ret = putc_unlocked(c, fp);
66 return (ret);
H A Dasprintf.c29 int ret; local
41 ret = __vfprintf(&f, fmt, ap);
43 if (ret == -1)
46 _base = realloc(f._bf._base, ret + 1);
50 return (ret);
H A Dflags.c48 int ret, m, o; local
53 ret = __SRD;
59 ret = __SWR;
65 ret = __SWR;
77 ret = __SRW;
81 return (ret);
H A Dfputs.c47 int ret; local
55 ret = __sfvwrite(fp, &uio);
57 return (ret);
H A Dputs.c48 int ret; local
58 ret = __sfvwrite(stdout, &uio);
60 return (ret ? EOF : '\n');
H A Dsprintf.c48 int ret; local
59 ret = __vfprintf(&f, fmt, ap);
62 return (ret);
H A Dvsprintf.c47 int ret; local
56 ret = __vfprintf(&f, fmt, ap);
58 return (ret);
/bionic/libc/unistd/
H A Deventfd.c9 int ret = read(fd, counter, sizeof(*counter)); local
11 if (ret == sizeof(*counter))
19 int ret = write(fd, &counter, sizeof(counter)); local
21 if (ret == sizeof(counter))
H A Dsigwait.c49 int ret; local
63 ret = __rt_sigtimedwait ( &u.dummy_sigset, NULL, NULL, sizeof(u.kernel_sigset));
64 if (ret >= 0)
71 *sig = ret;
/bionic/libc/wchar/
H A Dwcpncpy.c38 wchar_t *ret = dst; local
41 return (ret);

Completed in 119 milliseconds

123