Searched refs:c16rtomb (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/lib/libc/locale/
H A Dc16rtomb_iconv.c3 #define cXXrtomb c16rtomb
H A Dc16rtomb.c48 ps = &locale->c16rtomb;
77 c16rtomb(char * __restrict s, char16_t c16, mbstate_t * __restrict ps) function
H A Dxlocale_private.h124 /** Persistent state used by c16rtomb() calls. */
125 __mbstate_t c16rtomb; member in struct:_xlocale
H A DMakefile.inc29 SRCS+= c16rtomb.c c32rtomb.c mbrtoc16.c mbrtoc32.c
84 MLINKS+=wcrtomb.3 c16rtomb.3 wcrtomb.3 c32rtomb.3
/freebsd-11-stable/lib/libc/tests/locale/
H A Dc16rtomb_test.c30 * Test program for c16rtomb() as specified by ISO/IEC 9899:2011.
69 * c16rtomb() resets its internal state.
71 ATF_REQUIRE(c16rtomb(NULL, L'\0', NULL) == 1);
72 ATF_REQUIRE(c16rtomb(NULL, 0xdc00, NULL) == 1);
77 ATF_REQUIRE(c16rtomb(buf, 0, &s) == 1);
81 ATF_REQUIRE(c16rtomb(NULL, L'\0', NULL) == 1);
82 ATF_REQUIRE(c16rtomb(NULL, L'A', NULL) == 1);
87 ATF_REQUIRE(c16rtomb(buf, L'A', &s) == 1);
93 ATF_REQUIRE(c16rtomb(buf, 0xd83d, &s) == 0);
94 ATF_REQUIRE(c16rtomb(bu
[all...]
/freebsd-11-stable/include/
H A Duchar.h56 size_t c16rtomb(char * __restrict, char16_t, mbstate_t * __restrict);

Completed in 72 milliseconds