Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 120) sorted by relevance

12345

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c48 int ret, m, o; in __sflags() local
53 ret = __SRD; in __sflags()
59 ret = __SWR; in __sflags()
65 ret = __SWR; in __sflags()
80 ret = __SRW; in __sflags()
104 return (ret); in __sflags()
Dvasprintf.c31 int ret; in vasprintf() local
43 ret = __vfprintf(&f, fmt, ap); in vasprintf()
44 if (ret == -1) in vasprintf()
47 if (ret + 1 > INITIAL_SIZE && ret + 1 < pgsz / 2) { in vasprintf()
50 f._bf._size + 1, ret + 1, 1); in vasprintf()
57 return (ret); in vasprintf()
Dvswprintf.c46 int ret, sverrno; in vswprintf() local
64 ret = __vfwprintf(&f, fmt, ap); in vswprintf()
65 if (ret < 0) { in vswprintf()
71 if (ret == 0) { in vswprintf()
95 return (ret); in vswprintf()
Dvdprintf.c56 int ret; in vdprintf() local
69 if ((ret = __vfprintf(&f, fmt, ap)) < 0) in vdprintf()
70 return ret; in vdprintf()
72 return __sflush(&f) ? EOF : ret; in vdprintf()
Dsetvbuf.c46 int ret, flags; in setvbuf() local
66 ret = 0; in setvbuf()
99 ret = EOF; in setvbuf()
113 return (ret); in setvbuf()
160 return (ret); in setvbuf()
Dfgetln.c67 char *ret; in fgetln() local
86 ret = (char *)fp->_p; in fgetln()
92 return (ret); in fgetln()
137 ret = (char *)fp->_lb._base; in fgetln()
139 return (ret); in fgetln()
/bionic/libc/kernel/uapi/linux/
Dfsl_hypervisor.h11 __u32 ret; member
15 __u32 ret; member
20 __u32 ret; member
26 __u32 ret; member
30 __u32 ret; member
39 __u32 ret; member
43 __u32 ret; member
/bionic/libc/arch-x86/string/
Dsse2-memrchr-atom.S241 ret
274 ret
291 ret
308 ret
325 ret
345 ret
356 ret
370 ret
381 ret
386 ret
[all …]
Dsse2-wcschr-atom.S142 ret
212 ret
217 ret
228 ret
233 ret
243 ret
250 ret
255 ret
260 ret
265 ret
Dsse2-strlen-slm.S275 ret
282 ret
286 ret
293 ret
301 ret
309 ret
317 ret
325 ret
/bionic/tests/
Dsystem_properties_test.cpp178 int ret = mount(system_properties.get_appcompat_path(), system_properties.get_path(), nullptr, in TEST() local
180 if (ret != 0) { in TEST()
246 int ret; in TEST() local
249 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST()
250 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
251 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", count); in TEST()
252 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
256 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
257 if (ret < 0) in TEST()
267 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dldtoa.c62 char *ret; in __ldtoa() local
102 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa()
105 return ret; in __ldtoa()
115 char *ret; in __ldtoa() local
117 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve); in __ldtoa()
120 return ret; in __ldtoa()
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_fmal.c56 struct dd ret; in dd_add() local
59 ret.hi = a + b; in dd_add()
60 s = ret.hi - a; in dd_add()
61 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add()
62 return (ret); in dd_add()
137 struct dd ret; in dd_mul() local
153 ret.hi = p + q; in dd_mul()
154 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
155 return (ret); in dd_mul()
Ds_fma.c63 struct dd ret; in dd_add() local
66 ret.hi = a + b; in dd_add()
67 s = ret.hi - a; in dd_add()
68 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add()
69 return (ret); in dd_add()
148 struct dd ret; in dd_mul() local
164 ret.hi = p + q; in dd_mul()
165 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
166 return (ret); in dd_mul()
Ds_nearbyint.c50 volatile type ret; \
54 ret = rint(x); \
56 return (ret); \
/bionic/libc/arch-x86_64/string/
Dsse2-memset-slm.S70 ret
75 ret
80 ret
85 ret
107 ret
135 ret
147 ret
Davx2-memset-kbl.S68 1: ret
73 ret
78 ret
83 ret
158 ret
/bionic/libc/dns/resolv/
Dres_query.c232 int trailing_dot, ret, saved_herrno; in res_nsearch() local
258 ret = res_nquerydomain(statp, name, NULL, class, type, in res_nsearch()
260 if (ret > 0 || trailing_dot) in res_nsearch()
261 return (ret); in res_nsearch()
294 ret = res_nquerydomain(statp, name, *domain, in res_nsearch()
297 if (ret > 0) in res_nsearch()
298 return (ret); in res_nsearch()
351 ret = res_nquerydomain(statp, name, NULL, class, type, in res_nsearch()
353 if (ret > 0) in res_nsearch()
354 return (ret); in res_nsearch()
/bionic/libc/bionic/
Dandroid_profiling_dynamic.cpp201 auto ret = -ENOSYS; in HandleSigsysSeccompOverride() local
205 ctx->uc_mcontext.regs[0] = ret; in HandleSigsysSeccompOverride()
207 ctx->uc_mcontext.arm_r0 = ret; in HandleSigsysSeccompOverride()
209 ctx->uc_mcontext.gregs[REG_EAX] = ret; in HandleSigsysSeccompOverride()
211 ctx->uc_mcontext.__gregs[REG_A0] = ret; in HandleSigsysSeccompOverride()
213 ctx->uc_mcontext.gregs[REG_RAX] = ret; in HandleSigsysSeccompOverride()
/bionic/tests/libs/
Dtestbinary_is_stack_mte.cpp39 int ret = is_stack_mte_on() ? 0 : 1; in main() local
41 return ret; in main()
/bionic/libc/stdio/
Dvfprintf.cpp71 int ret; /* return value accumulator */ in FUNCTION_NAME() local
158 ret = 0; in FUNCTION_NAME()
169 if (m < 0 || m > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
171 ret += m; in FUNCTION_NAME()
235 ret = -1; in FUNCTION_NAME()
270 ret = -1; in FUNCTION_NAME()
326 ret = -1; in FUNCTION_NAME()
516 ret = -1; in FUNCTION_NAME()
712 if (width > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
713 ret += width; in FUNCTION_NAME()
[all …]
Dvfwprintf.cpp74 int ret; /* return value accumulator */ in FUNCTION_NAME() local
161 ret = 0; in FUNCTION_NAME()
172 if (m < 0 || m > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
174 ret += m; in FUNCTION_NAME()
238 ret = -1; in FUNCTION_NAME()
273 ret = -1; in FUNCTION_NAME()
690 if (width > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
691 ret += width; in FUNCTION_NAME()
699 if (__sferror(fp)) ret = -1; in FUNCTION_NAME()
704 ret = -1; in FUNCTION_NAME()
[all …]
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcpncpy.c40 wchar_t *ret = dst; in wcpncpy() local
43 return (ret); in wcpncpy()
/bionic/libc/arch-riscv64/string/
Dstrncpy_v.S92 ret
99 ret
112 ret
/bionic/libc/arch-x86/generic/string/
Dmemcmp.S31 ret
43 ret

12345