Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 – 20 of 20) sorted by relevance

/picolibc-latest/newlib/libc/iconv/lib/
Diconv.c154 char **__restrict outbuf, in iconv() argument
174 if (outbuf == NULL || *outbuf == NULL) in iconv()
197 memcpy ((void *)(*outbuf), (void *)&state_null, state_null.__count); in iconv()
199 *outbuf += state_null.__count; in iconv()
219 if (*outbytesleft == 0 || *outbuf == NULL) in iconv()
229 (unsigned char**)outbuf, in iconv()
Dnullconv.c61 unsigned char **outbuf, in null_conversion_convert() argument
82 memcpy (*outbuf, *inbuf, len); in null_conversion_convert()
85 *outbuf += len; in null_conversion_convert()
Diconvnls.c166 char **outbuf, in _iconv_nls_conv() argument
183 if (outbuf == NULL || *outbuf == NULL) in _iconv_nls_conv()
196 (unsigned char**)outbuf, in _iconv_nls_conv()
Ducsconv.c147 unsigned char **outbuf, in ucs_based_conversion_convert() argument
187 outbuf = &poutbuf1; in ucs_based_conversion_convert()
191 outbuf, outbytesleft); in ucs_based_conversion_convert()
218 outbuf, in ucs_based_conversion_convert()
Dconv.h116 unsigned char **outbuf,
Ducsconv.h216 unsigned char **outbuf,
/picolibc-latest/newlib/libc/iconv/ces/
Dtable-pcs.c43 unsigned char **outbuf, in table_pcs_convert_from_ucs() argument
51 **outbuf = (unsigned char)in; in table_pcs_convert_from_ucs()
52 *outbuf += 1; in table_pcs_convert_from_ucs()
60 outbuf, in table_pcs_convert_from_ucs()
Dus-ascii.c43 unsigned char **outbuf, in us_ascii_convert_from_ucs() argument
50 *((char *)(*outbuf)) = (char)in; in us_ascii_convert_from_ucs()
52 *outbuf += 1; in us_ascii_convert_from_ucs()
Ducs-4-internal.c47 unsigned char **outbuf, in ucs_4_internal_convert_from_ucs() argument
57 *((ucs4_t *)(*outbuf)) = in; in ucs_4_internal_convert_from_ucs()
59 *outbuf += sizeof (ucs4_t); in ucs_4_internal_convert_from_ucs()
Ducs-2-internal.c47 unsigned char **outbuf, in ucs_2_internal_convert_from_ucs() argument
57 *((ucs2_t *)(*outbuf)) = (ucs2_t)in; in ucs_2_internal_convert_from_ucs()
58 *outbuf += sizeof (ucs2_t); in ucs_2_internal_convert_from_ucs()
Ducs-2.c79 unsigned char **outbuf, in ucs_2_convert_from_ucs() argument
96 memcpy(*outbuf, &uc, sizeof(ucs2_t)); in ucs_2_convert_from_ucs()
98 *outbuf += sizeof (ucs2_t); in ucs_2_convert_from_ucs()
Ducs-4.c81 unsigned char **outbuf, in ucs_4_convert_from_ucs() argument
98 memcpy(*outbuf, &uc, sizeof (ucs4_t)); in ucs_4_convert_from_ucs()
100 *outbuf += sizeof (ucs4_t); in ucs_4_convert_from_ucs()
Deuc.c181 unsigned char **outbuf, in euc_convert_from_ucs() argument
195 outbuf, in euc_convert_from_ucs()
220 outbuf1 = *outbuf + d->desc[i].prefixbytes; in euc_convert_from_ucs()
231 (*outbuf)[j] = d->desc[i].prefix[j]; in euc_convert_from_ucs()
236 if ((*outbuf)[j + d->desc[i].prefixbytes] & 0x80) in euc_convert_from_ucs()
238 (*outbuf)[j + d->desc[i].prefixbytes] |= 0x80; in euc_convert_from_ucs()
241 *outbuf = outbuf1; in euc_convert_from_ucs()
Dutf-8.c46 unsigned char **outbuf, in convert_from_ucs() argument
73 cp = *outbuf; in convert_from_ucs()
118 *outbuf += bytes; in convert_from_ucs()
Dutf-16.c89 unsigned char **outbuf, in utf_16_convert_from_ucs() argument
110 cp = (ucs2_t *)*outbuf; in utf_16_convert_from_ucs()
159 *outbuf += bytes; in utf_16_convert_from_ucs()
Dtable.c127 unsigned char **outbuf, in table_convert_from_ucs() argument
142 **outbuf = (unsigned char)code; in table_convert_from_ucs()
143 *outbuf += 1; in table_convert_from_ucs()
159 **outbuf = (unsigned char)((ucs2_t)code >> 8); in table_convert_from_ucs()
160 *(*outbuf + 1) = (unsigned char)code; in table_convert_from_ucs()
161 *outbuf += 2; in table_convert_from_ucs()
/picolibc-latest/newlib/testsuite/newlib.iconv/
Diconvjp.c882 char *outbuf, *inbuf; in main() local
911 outbuf = (char *)ob; in main()
913 …if (iconv(descs[d], NULL, NULL, (char **)&outbuf, &outbytes) … in main()
920 &outbuf, &outbytes); in main()
Diconvru.c393 char *outbuf, *inbuf; in main() local
422 outbuf = (char *)ob; in main()
424 …if (iconv(descs[d], NULL, NULL, (char **)&outbuf, &outbytes) … in main()
431 &outbuf, &outbytes); in main()
/picolibc-latest/newlib/libc/include/sys/
Diconvnls.h63 char **outbuf, size_t *outbytesleft);
/picolibc-latest/newlib/libc/stdlib/
Dldtoa.c2811 char *outbuf = outbuf_sml; in __ldtoa() local
2862 outbuf = (char *) malloc (ndec + MAX_EXP_DIGITS + 10); in __ldtoa()
2863 if (!outbuf) in __ldtoa()
2866 outbuf = outbuf_sml; in __ldtoa()
2870 etoasc (e, outbuf, (int) ndec, ndigits, mode, ldp); in __ldtoa()
2871 s = outbuf; in __ldtoa()
2882 s = outbuf; in __ldtoa()
2903 while (*s != 'E' && s > outbuf) in __ldtoa()
2910 p = outbuf; in __ldtoa()
2915 s = outbuf; in __ldtoa()
[all …]