OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mbrtoc8
(Results
1 - 8
of
8
) sorted by relevancy
/src/tests/lib/libc/locale/
t_mbrtoc8.c
32
* Test program for
mbrtoc8
() as specified by C23.
72
ATF_CHECK_EQ_MSG((n =
mbrtoc8
(&c8, "", 1, NULL)), 0, "n=%zu", n);
77
ATF_CHECK_EQ_MSG((n =
mbrtoc8
(&c8, "", 1, &s)), 0, "n=%zu", n);
81
ATF_CHECK_EQ_MSG((n =
mbrtoc8
(NULL, 0, 0, NULL)), 0, "n=%zu", n);
82
ATF_CHECK_EQ_MSG((n =
mbrtoc8
(&c8, "A", 1, NULL)), 1, "n=%zu", n);
88
ATF_CHECK_EQ_MSG((n =
mbrtoc8
(&c8, "A", 1, &s)), 1, "n=%zu", n);
95
ATF_CHECK_EQ_MSG((n =
mbrtoc8
(&c8, "", 0, &s)), (size_t)-2,
100
/* Check that
mbrtoc8
() doesn't access the buffer when n == 0. */
103
ATF_CHECK_EQ_MSG((n =
mbrtoc8
(&c8, "", 0, &s)), (size_t)-2,
108
/* Check that
mbrtoc8
() doesn't read ahead too aggressively. *
[
all
...]
t_uchar.c
39
size_t, mbstate_t *restrict) __unused = &
mbrtoc8
;
/src/external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/
uchar.h
40
using std::
mbrtoc8
;
/src/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/
uchar.h
40
using std::
mbrtoc8
;
/src/include/
uchar.h
102
size_t
mbrtoc8
(char8_t *__restrict, const char *__restrict, size_t,
/src/lib/libc/locale/
mbrtoc8.c
1
/* $NetBSD:
mbrtoc8
.c,v 1.8 2024/08/21 18:36:11 rillig Exp $ */
30
*
mbrtoc8
(&c8, s, n, ps)
38
* bytes long,
mbrtoc8
will yield the leading byte in one call that
53
* subsequent calls to
mbrtoc8
will pick up n bytes later into
75
__RCSID("$NetBSD:
mbrtoc8
.c,v 1.8 2024/08/21 18:36:11 rillig Exp $");
104
mbrtoc8
(char8_t *restrict pc8, const char *restrict s, size_t n,
133
* `If s is a null pointer, the
mbrtoc8
function is equivalent
136
*
mbrtoc8
(NULL, "", 1, ps)
/src/external/gpl3/gcc/dist/libstdc++-v3/
configure
19943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and
mbrtoc8
in <uchar.h> with -fchar8_t" >&5
19944
$as_echo_n "checking for c8rtomb and
mbrtoc8
in <uchar.h> with -fchar8_t... " >&6; }
19951
using ::
mbrtoc8
;
19981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and
mbrtoc8
in <uchar.h> with -std=c++20" >&5
19982
$as_echo_n "checking for c8rtomb and
mbrtoc8
in <uchar.h> with -std=c++20... " >&6; }
19989
using ::
mbrtoc8
;
[
all
...]
/src/external/gpl3/gcc.old/dist/libstdc++-v3/
configure
19181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and
mbrtoc8
in <uchar.h> with -fchar8_t" >&5
19182
$as_echo_n "checking for c8rtomb and
mbrtoc8
in <uchar.h> with -fchar8_t... " >&6; }
19189
using ::
mbrtoc8
;
19219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and
mbrtoc8
in <uchar.h> with -std=c++20" >&5
19220
$as_echo_n "checking for c8rtomb and
mbrtoc8
in <uchar.h> with -std=c++20... " >&6; }
19227
using ::
mbrtoc8
;
[
all
...]
Completed in 48 milliseconds
Indexes created Sat Jun 06 00:24:59 UTC 2026