HomeSort by relevance Sort by last modified time
    Searched full:mbrtowc (Results 1 - 25 of 495) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /ndk/sources/host-tools/sed-4.2.1/m4/
mbrtowc.m4 0 # mbrtowc.m4 serial 16
16 AC_CHECK_FUNCS_ONCE([mbrtowc])
27 [Define if the mbrtowc function has the NULL string argument bug.])
34 [Define if the mbrtowc function returns a wrong return value.])
41 [Define if the mbrtowc function does not return 0 for a NUL character.])
48 AC_LIBOBJ([mbrtowc])
53 dnl Test whether mbsinit() and mbrtowc() need to be overridden in a way that
56 dnl When this is set to 1, we replace both mbsinit() and mbrtowc(), in order to
65 AC_CHECK_FUNCS_ONCE([mbrtowc])
86 dnl Test whether mbrtowc puts the state into non-initial state when parsing a
    [all...]
  /external/bison/m4/
mbrtowc.m4 0 # mbrtowc.m4 serial 25
15 AC_CHECK_FUNCS_ONCE([mbrtowc])
18 AC_CHECK_DECLS([mbrtowc],,, [[
29 dnl On Minix 3.1.8, the system's <wchar.h> declares mbrtowc() although
45 [Define if the mbrtowc function has the NULL pwc argument bug.])
52 [Define if the mbrtowc function has the NULL string argument bug.])
59 [Define if the mbrtowc function returns a wrong return value.])
66 [Define if the mbrtowc function does not return 0 for a NUL character.])
74 dnl Test whether mbsinit() and mbrtowc() need to be overridden in a way that
77 dnl When this is set to 1, we replace both mbsinit() and mbrtowc(), in order t
    [all...]
mbsinit.m4 39 dnl states produced by mbrtowc() for an incomplete multibyte character
  /ndk/sources/android/support/src/musl-multibyte/
mbrlen.c 12 return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal);
mbrtowc.c 11 size_t mbrtowc(wchar_t *restrict wc, const char *restrict src, size_t n, mbstate_t *restrict st) function
mbsnrtowcs.c 38 l = mbrtowc(ws, s, n, st);
  /bionic/tests/
wchar_test.cpp 96 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps));
103 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps));
108 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xf0\xa4", 1, &ps));
215 ASSERT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps));
254 TEST(wchar, mbrtowc) {
258 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, NULL));
261 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, NULL));
262 ASSERT_EQ(0U, mbrtowc(out, "", 0, NULL));
263 ASSERT_EQ(1U, mbrtowc(out, "hello", 1, NULL));
266 ASSERT_EQ(0U, mbrtowc(NULL, "hello", 0, NULL))
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/locale/
btowc.c 43 * We expect mbrtowc() to return 0 or 1, hence the check for n > 1
49 if (mbrtowc(&wc, &cc, 1, &mbs) > 1)
mbrlen.c 38 return (mbrtowc(NULL, s, n, ps));
mbtowc.c 46 rval = mbrtowc(pwc, s, n, &mbs);
  /external/bison/lib/
mbrtowc.c 24 /* Implement mbrtowc() on top of mbtowc(). */
39 mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) function
114 sequences. But mbrtowc needs to make this distinction.
119 lack mbrtowc(), we use the second approach.
324 /* Override the system's mbrtowc() function. */
326 # undef mbrtowc macro
344 /* Override mbrtowc's internal state. We cannot call mbsinit() on the
356 size_t ret = mbrtowc (&wc, s, 1, ps);
377 size_t ret = mbrtowc (&wc, s, n, ps);
397 return mbrtowc (pwc, s, n, ps)
    [all...]
wchar.in.h 128 implementing mbrtowc for encodings like UTF-8. */
219 # undef mbrtowc
220 # define mbrtowc rpl_mbrtowc
222 _GL_FUNCDECL_RPL (mbrtowc, size_t,
224 _GL_CXXALIAS_RPL (mbrtowc, size_t,
228 _GL_FUNCDECL_SYS (mbrtowc, size_t,
231 _GL_CXXALIAS_SYS (mbrtowc, size_t,
234 _GL_CXXALIASWARN (mbrtowc);
236 # undef mbrtowc
238 _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable -
    [all...]
mbuiter.h 38 The benefit of these macros over plain use of mbrtowc is:
135 /* Handle most ASCII characters quickly, without calling mbrtowc(). */
150 iter->cur.bytes = mbrtowc (&iter->cur.wc, iter->cur.ptr,
mbsinit.c 37 /* Platforms that lack mbsinit() also lack mbrlen(), mbrtowc(), mbsrtowcs()
mbswidth.c 32 /* Get mbstate_t, mbrtowc(), mbsinit(), wcwidth(). */
104 bytes = mbrtowc (&wc, p, plimit - p, &mbstate);
  /ndk/sources/host-tools/sed-4.2.1/lib/
mbrtowc.c 24 /* Implement mbrtowc() on top of mbtowc(). */
39 mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) function
113 sequences. But mbrtowc needs to make this distinction.
118 lack mbrtowc(), we use the second approach.
317 /* Override the system's mbrtowc() function. */
319 # undef mbrtowc macro
337 /* Override mbrtowc's internal state. We can not call mbsinit() on the
349 size_t ret = mbrtowc (&wc, s, 1, ps);
370 size_t ret = mbrtowc (&wc, s, n, ps);
382 return mbrtowc (pwc, s, n, ps)
    [all...]
wchar.in.h 95 implementing mbrtowc for encodings like UTF-8. */
162 # undef mbrtowc
163 # define mbrtowc rpl_mbrtowc
166 extern size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
169 # undef mbrtowc
170 # define mbrtowc(w,s,n,p) \
171 (GL_LINK_WARNING ("mbrtowc is unportable - " \
172 "use gnulib module mbrtowc for portability"), \
173 mbrtowc (w, s, n, p))
mbrlen.c 31 return mbrtowc (NULL, s, n, ps);
mbsinit.c 25 /* Platforms that lack mbsinit() also lack mbrlen(), mbrtowc(), mbsrtowcs()
  /ndk/sources/host-tools/sed-4.2.1/sed/
sed.h 248 #define MBRTOWC(pwc, s, n, ps) \
251 mbrtowc ((pwc), (s), (n), (ps)))
258 #define MBRTOWC(pwc, s, n, ps) \
259 mbrtowc ((pwc), (s), (n), (ps))
269 (mb_cur_max == 1 ? 1 : mbrtowc (NULL, s, n, ps))
mbcs.c 38 int result = mbrtowc(NULL, &c, 1, cur_stat);
  /bionic/libc/bionic/
wchar.cpp 60 size_t mbrtowc(wchar_t* pwc, const char* s, size_t n, mbstate_t* ps) { function
92 r = mbrtowc(NULL, *src + i, nmc - i, state);
127 r = mbrtowc(dst + o, *src + i, nmc - i, state);
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
fgetwc.c 70 size = mbrtowc(&wc, &c, 1, st);
  /external/libcxx/src/support/solaris/
mbsnrtowcs.inc 47 /* Invalid sequence - mbrtowc() sets errno. */
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/solaris/
mbsnrtowcs.inc 47 /* Invalid sequence - mbrtowc() sets errno. */

Completed in 2581 milliseconds

1 2 3 4 5 6 7 8 91011>>