/bionic/libc/bionic/ |
H A D | fork.c | 37 int ret; local 47 ret = __fork(); 48 if (ret != 0) { /* not a child process */ 64 return ret;
|
H A D | basename.c | 40 int ret; local 47 ret = basename_r(path, bname, MAXPATHLEN); 48 return (ret < 0) ? NULL : bname;
|
H A D | dirname.c | 40 int ret; local 48 ret = dirname_r(path, bname, MAXPATHLEN); 49 return (ret < 0) ? NULL : bname;
|
H A D | cpuacct.c | 41 int ret = 0; local 60 ret = -errno; 62 ret = -EIO; 67 return ret;
|
H A D | fdprintf.c | 37 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 D | if_indextoname.c | 47 char* ret = NULL; local 54 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ); 62 return ret;
|
H A D | sched_getaffinity.c | 33 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 D | feof.c | 45 int ret; local 48 ret = __sfeof(fp); 50 return (ret);
|
H A D | fileno.c | 45 int ret; local 48 ret = __sfileno(fp); 50 return (ret);
|
H A D | printf.c | 40 int ret; local 44 ret = vfprintf(stdout, fmt, ap); 46 return (ret);
|
H A D | scanf.c | 40 int ret; local 44 ret = vfscanf(stdin, fmt, ap); 46 return (ret);
|
H A D | flockfile.c | 61 int ret = EINVAL; local 64 ret = _FLOCK_TRYLOCK(fp); 66 return ret;
|
H A D | fprintf.c | 40 int ret; local 44 ret = vfprintf(fp, fmt, ap); 46 return (ret);
|
H A D | fscanf.c | 40 int ret; local 44 ret = vfscanf(fp, fmt, ap); 46 return (ret);
|
H A D | fwalk.c | 43 int n, ret; local 46 ret = 0; 50 ret |= (*function)(fp); 52 return (ret);
|
H A D | putc.c | 61 int ret; local 64 ret = putc_unlocked(c, fp); 66 return (ret);
|
H A D | asprintf.c | 29 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 D | flags.c | 48 int ret, m, o; local 53 ret = __SRD; 59 ret = __SWR; 65 ret = __SWR; 77 ret = __SRW; 81 return (ret);
|
H A D | fputs.c | 47 int ret; local 55 ret = __sfvwrite(fp, &uio); 57 return (ret);
|
H A D | puts.c | 48 int ret; local 58 ret = __sfvwrite(stdout, &uio); 60 return (ret ? EOF : '\n');
|
H A D | sprintf.c | 48 int ret; local 59 ret = __vfprintf(&f, fmt, ap); 62 return (ret);
|
H A D | vsprintf.c | 47 int ret; local 56 ret = __vfprintf(&f, fmt, ap); 58 return (ret);
|
/bionic/libc/unistd/ |
H A D | eventfd.c | 9 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 D | sigwait.c | 49 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 D | wcpncpy.c | 38 wchar_t *ret = dst; local 41 return (ret);
|