Searched defs:ret (Results 1 - 25 of 61) 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 D__vsprintf_chk.c52 int ret = vsnprintf(dest, dest_len_from_compiler, format, va); local
54 if ((size_t) ret >= dest_len_from_compiler) {
60 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);
/bionic/libc/string/
H A D__strlen_chk.c58 size_t ret = strlen(s); local
60 if (__builtin_expect(ret >= s_len, 0)) {
66 return ret;
/bionic/libc/unistd/
H A Deventfd.c37 int ret = read(fd, counter, sizeof(*counter)); local
39 if (ret == sizeof(*counter))
47 int ret = write(fd, &counter, sizeof(counter)); local
49 if (ret == sizeof(counter))
/bionic/libc/wchar/
H A Dwcpncpy.c38 wchar_t *ret = dst; local
41 return (ret);

Completed in 272 milliseconds

123