Home
last modified time | relevance | path

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

123456

/bionic/libc/arch-x86/atom/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
/bionic/tests/
Dsystem_properties_test.cpp172 int ret; in TEST() local
175 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST()
176 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
177 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", count); in TEST()
178 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
182 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
183 if (ret < 0) in TEST()
193 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST()
194 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
195 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", i); in TEST()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
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()
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()
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.c45 int ret, flags; in setvbuf() local
65 ret = 0; in setvbuf()
98 ret = EOF; in setvbuf()
112 return (ret); in setvbuf()
158 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.h23 __u32 ret; member
27 __u32 ret; member
32 __u32 ret; member
38 __u32 ret; member
42 __u32 ret; member
51 __u32 ret; member
55 __u32 ret; member
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_fma.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()
141 struct dd ret; in dd_mul() local
157 ret.hi = p + q; in dd_mul()
158 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
159 return (ret); in dd_mul()
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_nearbyint.c50 volatile type ret; \
54 ret = rint(x); \
56 return (ret); \
/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/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/arch-x86_64/string/
Dsse2-memset-slm.S70 ret
75 ret
80 ret
85 ret
107 ret
135 ret
147 ret
/bionic/libc/bionic/
Dpututline.c47 goto ret; in pututline()
49 goto ret; in pututline()
51 goto ret; in pututline()
62 ret: in pututline()
Dinitgroups.c39 int ret = -1; in initgroups() local
51 ret = setgroups(numgroups, groups); in initgroups()
57 return ret; in initgroups()
Dandroid_profiling_dynamic.cpp193 auto ret = -ENOSYS; in HandleSigsysSeccompOverride() local
197 ctx->uc_mcontext.arm_r0 = ret; in HandleSigsysSeccompOverride()
199 ctx->uc_mcontext.regs[0] = ret; // x0 in HandleSigsysSeccompOverride()
201 ctx->uc_mcontext.gregs[REG_EAX] = ret; in HandleSigsysSeccompOverride()
203 ctx->uc_mcontext.gregs[REG_RAX] = ret; in HandleSigsysSeccompOverride()
/bionic/libc/stdio/
Dvfprintf.cpp51 int ret; /* return value accumulator */ in FUNCTION_NAME() local
156 ret = 0; in FUNCTION_NAME()
167 if (m < 0 || m > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
169 ret += m; in FUNCTION_NAME()
233 ret = -1; in FUNCTION_NAME()
268 ret = -1; in FUNCTION_NAME()
318 ret = -1; in FUNCTION_NAME()
492 ret = -1; in FUNCTION_NAME()
665 if (width > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
666 ret += width; in FUNCTION_NAME()
[all …]
Dvfwprintf.cpp51 int ret; /* return value accumulator */ in FUNCTION_NAME() local
145 ret = 0; in FUNCTION_NAME()
156 if (m < 0 || m > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
158 ret += m; in FUNCTION_NAME()
222 ret = -1; in FUNCTION_NAME()
257 ret = -1; in FUNCTION_NAME()
654 if (width > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
655 ret += width; in FUNCTION_NAME()
660 if (__sferror(fp)) ret = -1; in FUNCTION_NAME()
665 ret = -1; in FUNCTION_NAME()
[all …]
/bionic/libc/arch-arm64/generic/bionic/
Dmemset.S116 ret
121 ret
126 3: ret
136 1: ret
145 ret
167 ret
198 ret
221 ret
Dmemcpy_base.S118 ret
130 ret
138 ret
151 2: ret
168 ret
217 ret
/bionic/libc/arch-x86/silvermont/string/
Dsse2-strlen-slm.S275 ret
282 ret
286 ret
293 ret
301 ret
309 ret
317 ret
325 ret
/bionic/benchmarks/
Dbionic_benchmarks.cpp241 int ret; in ParseOnebufManualStr() local
243 ret = sscanf(arg.c_str(), "AT_ONEBUF_MANUAL_ALIGN_%" SCNd64 "_SIZE_%" SCNd64, in ParseOnebufManualStr()
245 if (ret == 1) { in ParseOnebufManualStr()
246 ret = sscanf(arg.c_str(), "AT_ONEBUF_MANUAL_ALIGN_%" SCNd64 "_SIZE_" in ParseOnebufManualStr()
249 if (ret != 2) { in ParseOnebufManualStr()
285 int ret; in ParseTwobufManualStr() local
287 ret = sscanf(arg.c_str(), "AT_TWOBUF_MANUAL_ALIGN1_%" SCNd64 "_ALIGN2_%" SCNd64 "_SIZE_%" SCNd64, in ParseTwobufManualStr()
289 if (ret == 2) { in ParseTwobufManualStr()
290 ret = sscanf(arg.c_str(), "AT_TWOBUF_MANUAL_ALIGN1_%" SCNd64 "_ALIGN2_%" SCNd64 "_SIZE_" in ParseTwobufManualStr()
294 if (ret != 3) { in ParseTwobufManualStr()

123456