/picolibc-3.5.0-3.4.0/newlib/testsuite/newlib.locale/ |
D | UTF-8.c | 139 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/ |
D | lldiv.c | 99 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()
|
D | imaxdiv.c | 37 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()
|
D | wcrtomb.c | 17 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()
|
D | mbrtowc.c | 19 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()
|
D | mblen.c | 54 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()
|
D | btowc.c | 12 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()
|
D | mbtowc.c | 61 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()
|
D | strtod.c | 1328 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/ |
D | envz_merge.c | 26 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()
|
D | envz_add.c | 23 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/ |
D | hcreate.c | 75 ENTRY *retval; in hsearch() local 77 hsearch_r (item, action, &retval, &htab); in hsearch() 79 return retval; in hsearch()
|
D | hcreate_r.c | 155 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()
|
D | hash_page.c | 185 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()
|
D | hash.c | 283 int retval; local 289 retval = hdestroy(hashp); 291 return (retval);
|