Home
last modified time | relevance | path

Searched refs:wchar_t (Results 1 – 25 of 148) sorted by relevance

123456

/haiku/headers/private/libroot/
H A Dwchar_private.h22 extern size_t __mbrtowc(wchar_t *dest, const char *src, size_t srcLength,
25 extern size_t __mbsnrtowcs(wchar_t *dest, const char **src, size_t srcLength,
27 extern size_t __mbsrtowcs(wchar_t *dest, const char **src, size_t destLength,
29 extern size_t __mbstowcs(wchar_t *dest, const char *src, size_t destLength);
30 extern int __mbtowc(wchar_t *dest, const char *src, size_t destLength);
32 extern wchar_t *__wcpcpy(wchar_t *dest, const wchar_t *src);
33 extern wchar_t *__wcpncpy(wchar_t *dest, const wchar_t *src, size_t srcLength);
34 extern size_t __wcrtomb(char *dest, wchar_t wc, mbstate_t *mbState);
35 extern int __wcscasecmp(const wchar_t *wcs1, const wchar_t *wcs2);
36 extern int __wcscasecmp_l(const wchar_t *wcs1, const wchar_t *wcs2,
[all …]
/haiku/headers/posix/
H A Dwchar.h57 extern wchar_t *fgetws(wchar_t *dest, int destLength, FILE *stream);
58 extern wint_t fputwc(wchar_t wc, FILE *stream);
59 extern int fputws(const wchar_t *wcs, FILE *stream);
61 extern int fwprintf(FILE *stream, const wchar_t *format, ...);
62 extern int fwscanf(FILE *stream, const wchar_t *format, ...);
67 extern size_t mbrtowc(wchar_t *dest, const char *src, size_t srcLength,
70 extern size_t mbsnrtowcs(wchar_t *dest, const char **src, size_t srcLength,
72 extern size_t mbsrtowcs(wchar_t *dest, const char **src, size_t destLength,
75 extern wint_t putwc(wchar_t wc, FILE *stream);
76 extern wint_t putwchar(wchar_t wc);
[all …]
/haiku/src/system/libroot/posix/glibc/wcsmbs/
H A Dwchar.h118 extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n)
122 extern int wmemcmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
125 extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
126 __const wchar_t *__restrict __s2, size_t __n) __THROW;
130 extern wchar_t *wmemmove (wchar_t *__s1, __const wchar_t *__s2, size_t __n)
134 extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
139 extern wchar_t *wmempcpy (wchar_t *__restrict __s1,
140 __const wchar_t *__restrict __s2, size_t __n)
159 extern size_t mbrtowc (wchar_t *__restrict __pwc,
164 extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
[all …]
/haiku/src/system/libroot/posix/glibc/include/
H A Dwchar.h6 extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2)
8 extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
11 extern int __wcscoll (__const wchar_t *__s1, __const wchar_t *__s2);
12 extern size_t __wcslen (__const wchar_t *__s) __attribute_pure__;
13 extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen)
15 extern wchar_t *__wcscat (wchar_t *dest, const wchar_t *src);
18 extern size_t __mbrtowc (wchar_t *__restrict __pwc,
21 extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
23 extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
27 __const wchar_t **__restrict __src,
[all …]
/haiku/src/tests/system/libroot/posix/
H A Dgnulib-test-mbrtowc.c32 wchar_t wc; in main()
46 wc = (wchar_t) 0xBADFACE; in main()
59 wc = (wchar_t) 0xBADFACE; in main()
102 wc = (wchar_t) 0xBADFACE; in main()
118 wc = (wchar_t) 0xBADFACE; in main()
121 assert (wc == (wchar_t) 0xBADFACE); in main()
129 wc = (wchar_t) 0xBADFACE; in main()
132 assert (wc == (wchar_t) 0xBADFACE); in main()
135 wc = (wchar_t) 0xBADFACE; in main()
138 assert (wc == (wchar_t) 0xBADFACE); in main()
[all …]
H A Dgnulib-test-mbsrtowcs.c33 wchar_t wc; in main()
36 wchar_t buf[BUFSIZE]; in main()
50 buf[i] = (wchar_t) 0xBADFACE; in main()
53 wc = (wchar_t) 0xBADFACE; in main()
60 wc = (wchar_t) 0xBADFACE; in main()
84 assert(buf[6] == (wchar_t) 0xBADFACE); in main()
115 wc = (wchar_t) 0xBADFACE; in main()
119 assert(wc == (wchar_t) 0xBADFACE); in main()
122 wc = (wchar_t) 0xBADFACE; in main()
136 buf[i] = (wchar_t) 0xBADFACE; in main()
[all …]
H A Dgnulib-test-mbsnrtowcs.c34 wchar_t wc; in main()
60 wc = (wchar_t) 0xBADFACE; in main()
64 assert(wc == (wchar_t) 0xBADFACE); in main()
67 wc = (wchar_t) 0xBADFACE; in main()
78 wchar_t buf[BUFSIZE]; in main()
85 buf[i] = (wchar_t) 0xBADFACE; in main()
102 wc = (wchar_t) 0xBADFACE; in main()
109 wc = (wchar_t) 0xBADFACE; in main()
134 assert(buf[4] == (wchar_t) 0xBADFACE); in main()
136 assert(buf[1] == (wchar_t) 0xBADFACE); in main()
[all …]
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A D_itowa.h30 extern wchar_t *_itowa (unsigned long long int value, wchar_t *buflim,
33 static inline wchar_t *
35 _itowa_word (unsigned long value, wchar_t *buflim, in _itowa_word()
38 extern const wchar_t _itowa_upper_digits[] attribute_hidden; in _itowa_word()
39 extern const wchar_t _itowa_lower_digits[] attribute_hidden; in _itowa_word()
40 const wchar_t *digits = (upper_case in _itowa_word()
42 wchar_t *bp = buflim; in _itowa_word()
/haiku/src/system/libroot/posix/wchar/
H A Dwcsstr.c9 wchar_t*
10 __wcsstr(const wchar_t* haystack, const wchar_t* needleIn) in __wcsstr()
13 return (wchar_t*)haystack; in __wcsstr()
16 const wchar_t* needle = needleIn; in __wcsstr()
17 const wchar_t* haystackPointer = haystack; in __wcsstr()
21 return (wchar_t*)haystack; in __wcsstr()
H A Dwcsncpy.c9 wchar_t*
10 __wcsncpy(wchar_t* destIn, const wchar_t* src, size_t n) in __wcsncpy()
12 wchar_t* dest = destIn; in __wcsncpy()
13 const wchar_t* srcEnd = src + n; in __wcsncpy()
14 const wchar_t* destEnd = dest + n; in __wcsncpy()
H A Dwcsrchr.c9 wchar_t*
10 __wcsrchr(const wchar_t* wcsIn, wchar_t wc) in __wcsrchr()
12 const wchar_t* wcs = wcsIn + wcslen(wcsIn); in __wcsrchr()
15 return (wchar_t*)wcs; in __wcsrchr()
H A Dwcspbrk.c9 wchar_t*
10 __wcspbrk(const wchar_t* wcs, const wchar_t* acceptIn) in __wcspbrk()
13 const wchar_t* accept = acceptIn; in __wcspbrk()
16 return (wchar_t*)wcs; in __wcspbrk()
H A Dwcsncat.c9 wchar_t*
10 __wcsncat(wchar_t* destIn, const wchar_t* src, size_t n) in __wcsncat()
12 wchar_t* dest = destIn; in __wcsncat()
13 const wchar_t* srcEnd = src + n; in __wcsncat()
H A Dwcsspn.c10 __wcsspn(const wchar_t* wcs, const wchar_t* acceptIn) in __wcsspn()
12 const wchar_t* wcPointer = wcs; in __wcsspn()
13 wchar_t wc; in __wcsspn()
15 const wchar_t* accept; in __wcsspn()
H A Dwcscspn.c10 __wcscspn(const wchar_t* wcs, const wchar_t* rejectIn) in __wcscspn()
12 const wchar_t* wcPointer = wcs; in __wcscspn()
13 wchar_t wc; in __wcscspn()
15 const wchar_t* reject; in __wcscspn()
H A Dwcpncpy.c9 wchar_t*
10 __wcpncpy(wchar_t* dest, const wchar_t* src, size_t n) in __wcpncpy()
12 const wchar_t* srcEnd = src + n; in __wcpncpy()
13 wchar_t* destEnd = dest + n; in __wcpncpy()
H A Dwcstok.c11 wchar_t *
12 __wcstok(wchar_t* wcs, const wchar_t* delim, wchar_t** savePtr) in __wcstok()
14 wchar_t *wcsBegin, *wcsEnd; in __wcstok()
H A Dwmemcpy.c11 wchar_t*
12 __wmemcpy(wchar_t* dest, const wchar_t* src, size_t count) in __wmemcpy()
14 return memcpy(dest, src, count * sizeof(wchar_t)); in __wmemcpy()
H A Dwcscpy.c9 wchar_t*
10 __wcscpy(wchar_t* destIn, const wchar_t* src) in __wcscpy()
12 wchar_t* dest = destIn; in __wcscpy()
H A Dwmemmove.c11 wchar_t*
12 __wmemmove(wchar_t* dest, const wchar_t* src, size_t count) in __wmemmove()
14 return memmove(dest, src, count * sizeof(wchar_t)); in __wmemmove()
H A Dwcschrnul.c9 wchar_t*
10 __wcschrnul(const wchar_t* wcs, wchar_t wc) in __wcschrnul()
15 return (wchar_t*)wcs; in __wcschrnul()
H A Dwcschr.c9 wchar_t*
10 __wcschr(const wchar_t* wcs, wchar_t wc) in __wcschr()
14 return (wchar_t*)wcs; in __wcschr()
H A Dwmempcpy.c11 wchar_t*
12 __wmempcpy(wchar_t* dest, const wchar_t* src, size_t count) in __wmempcpy()
14 memcpy(dest, src, count * sizeof(wchar_t)); in __wmempcpy()
/haiku/src/libs/iconv/
H A Dloop_wchar.h140 while (*inbytesleft >= sizeof(wchar_t)) { in wchar_from_loop_convert()
141 const wchar_t * inptr = (const wchar_t *) *inbuf; in wchar_from_loop_convert()
146 while (inleft >= sizeof(wchar_t)) { in wchar_from_loop_convert()
159 const wchar_t * fallback_inptr; in wchar_from_loop_convert()
166 for (fallback_inptr = (const wchar_t *) *inbuf; in wchar_from_loop_convert()
179 *inbytesleft = inleft - sizeof(wchar_t); in wchar_from_loop_convert()
192 inleft -= sizeof(wchar_t); in wchar_from_loop_convert()
247 size_t bufcount = wcrtomb(buf,(wchar_t)0,&state); in wchar_from_loop_reset()
296 static void mb_to_wc_write_replacement (const wchar_t *buf, size_t buflen, in mb_to_wc_write_replacement()
304 if (plocals->l_outbytesleft < sizeof(wchar_t)*buflen) in mb_to_wc_write_replacement()
[all …]
/haiku/src/system/libroot/posix/glibc/libio/
H A Dlibio.h216 const wchar_t *,
217 const wchar_t *,
218 const wchar_t **, char *,
226 const char **, wchar_t *,
227 wchar_t *, wchar_t **);
241 wchar_t *_IO_read_ptr; /* Current read pointer */
242 wchar_t *_IO_read_end; /* End of get area. */
243 wchar_t *_IO_read_base; /* Start of putback+get area. */
244 wchar_t *_IO_write_base; /* Start of put area. */
245 wchar_t *_IO_write_ptr; /* Current put pointer. */
[all …]

123456