Searched defs:ret (Results 1 - 25 of 56) 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 D__strlen_chk.cpp57 size_t ret = strlen(s); local
59 if (__predict_false(ret >= s_len)) {
63 return ret;
H A Dflockfile.c61 int ret = EINVAL; local
64 ret = _FLOCK_TRYLOCK(fp);
66 return ret;
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 D__vsprintf_chk.cpp52 int ret = vsnprintf(dest, dest_len_from_compiler, format, va); local
54 if ((size_t) ret >= dest_len_from_compiler) {
58 return ret;
H A Dbindresvport.c43 int nn, ret; local
65 ret = bind(sd, (struct sockaddr*)sin, sizeof(*sin));
66 } while (ret < 0 && errno == EINTR);
68 if (!ret)
71 return ret;
H A Dinitgroups.c39 int ret = -1; local
51 ret = setgroups(numgroups, groups);
57 return ret;
H A Dptrace.c41 long ret; local
43 ret = __ptrace(request, pid, addr, &word);
44 if (ret == 0) {
/bionic/libc/upstream-netbsd/libc/inet/
H A Dinet_ntoa.c59 static char ret[18]; local
61 strlcpy(ret, "[inet_ntoa error]", sizeof(ret));
62 (void) inet_ntop(AF_INET, &in, ret, (socklen_t)sizeof ret);
63 return ret;
/bionic/libc/stdio/
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 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 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 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);
H A Dsnprintf.c44 int ret; local
63 ret = __vfprintf(&f, fmt, ap);
66 return (ret);
H A Dvasprintf.c28 int ret; local
40 ret = __vfprintf(&f, fmt, ap);
41 if (ret == -1)
44 _base = realloc(f._bf._base, ret + 1);
48 return (ret);
/bionic/libc/upstream-freebsd/lib/libc/stdio/
H A Dfeof.c50 int ret; local
53 ret= __sfeof(fp);
55 return (ret);
H A Dferror.c50 int ret; local
53 ret = __sferror(fp);
55 return (ret);
H A Dflags.c54 int ret, m, o; local
59 ret = __SRD;
65 ret = __SWR;
71 ret = __SWR;
88 ret = __SRW;
111 return (ret);
H A Dfwalk.c48 int n, ret; local
51 ret = 0;
63 ret |= (*function)(fp);
64 return (ret);
/bionic/libc/upstream-freebsd/lib/libc/string/
H A Dwcpncpy.c38 wchar_t *ret = dst; local
41 return (ret);

Completed in 1276 milliseconds

123