Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 15 of 15) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/testsuite/newlib.locale/
DUTF-8.c139 int retval; in main() local
152 retval = mbtowc(&wchar, first[0], MAX_BYTES); in main()
153 if (retval == 0) in main()
160 retval = mbtowc (&wchar, first[i-1], MAX_BYTES); in main()
161 if (retval == i) in main()
170 retval = mbtowc (&wchar, last[i-1], MAX_BYTES); in main()
171 if (retval == i) in main()
180 retval = mbtowc (&wchar, boundary[i-1], MAX_BYTES); in main()
181 if ((i < 4 && retval == 3) || (i > 3 && retval == 4)) in main()
189 retval = mbtowc (&wchar, continuation_bytes[0], MAX_BYTES); in main()
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dlldiv.c99 lldiv_t retval; in lldiv() local
101 retval.quot = numer / denom; in lldiv()
102 retval.rem = numer % denom; in lldiv()
103 if (numer >= 0 && retval.rem < 0) { in lldiv()
104 retval.quot++; in lldiv()
105 retval.rem -= denom; in lldiv()
107 return (retval); in lldiv()
Dimaxdiv.c37 imaxdiv_t retval; in imaxdiv() local
39 retval.quot = numer / denom; in imaxdiv()
40 retval.rem = numer % denom; in imaxdiv()
42 if (numer >= 0 && retval.rem < 0) { in imaxdiv()
43 retval.quot++; in imaxdiv()
44 retval.rem -= denom; in imaxdiv()
47 return (retval); in imaxdiv()
Dwcrtomb.c17 int retval = 0; in wcrtomb() local
29 retval = __WCTOMB (buf, L'\0', ps); in wcrtomb()
31 retval = __WCTOMB (s, wc, ps); in wcrtomb()
33 if (retval == -1) in wcrtomb()
40 return (size_t)retval; in wcrtomb()
Dmbrtowc.c19 int retval = 0; in mbrtowc() local
30 retval = __MBTOWC (NULL, "", 1, ps); in mbrtowc()
32 retval = __MBTOWC (pwc, s, n, ps); in mbrtowc()
34 if (retval == -1) in mbrtowc()
41 return (size_t)retval; in mbrtowc()
Dmblen.c54 int retval = 0; in mblen() local
57 retval = __MBTOWC (NULL, s, n, &_mblen_state); in mblen()
58 if (retval < 0) in mblen()
64 return retval; in mblen()
Dbtowc.c12 int retval = 0; in btowc() local
24 retval = __MBTOWC (&pwc, (const char *) &b, 1, &mbs); in btowc()
26 if (retval != 0 && retval != 1) in btowc()
Dmbtowc.c61 int retval = 0; in mbtowc() local
64 retval = __MBTOWC (pwc, s, n, &_mbtowc_state); in mbtowc()
66 if (retval < 0) in mbtowc()
71 return retval; in mbtowc()
Dstrtod.c1328 float retval = (float) val; local
1330 if ((isinf (retval) && !isinf (val)) || (isdenormf(retval) && !isdenorm(val)))
1333 return retval;
1343 float retval = (float) val; local
1345 if ((isinf (retval) && !isinf (val)) || (isdenormf(retval) && !isdenorm(val)))
1348 return retval;
/picolibc-3.5.0-3.4.0/newlib/libc/argz/
Denvz_merge.c26 int retval = 0; in envz_merge() local
28 while((entry = argz_next((char *)envz2, envz2_len, entry)) && !retval) in envz_merge()
39 retval = argz_add(envz, envz_len, entry); in envz_merge()
57 retval = envz_add(envz, envz_len, name_str, val_str); in envz_merge()
61 return retval; in envz_merge()
Denvz_add.c23 int retval = 0; in envz_add() local
38 retval = argz_add(envz, envz_len, concat); in envz_add()
43 retval = argz_add(envz, envz_len, name); in envz_add()
45 return retval; in envz_add()
/picolibc-3.5.0-3.4.0/newlib/libc/search/
Dhcreate.c75 ENTRY *retval; in hsearch() local
77 hsearch_r (item, action, &retval, &htab); in hsearch()
79 return retval; in hsearch()
Dhcreate_r.c155 hsearch_r(ENTRY item, ACTION action, ENTRY **retval, struct hsearch_data *htab) in hsearch_r() argument
175 *retval = &ie->ent; in hsearch_r()
180 *retval = NULL; in hsearch_r()
187 *retval = NULL; in hsearch_r()
194 *retval = &ie->ent; in hsearch_r()
Dhash_page.c185 int ndx, retval; in __split_page() local
208 retval = ugly_split(hashp, obucket, old_bufp, new_bufp, in __split_page()
212 return (retval); in __split_page()
Dhash.c283 int retval; local
289 retval = hdestroy(hashp);
291 return (retval);