gsasl
2.2.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL).
![]() ![]() |
#include "mbrtowc-impl-utf8.h"
Go to the source code of this file.
Functions | |
if (s==NULL) | |
if (n==0) return(size_t)(-2) | |
if (pstate==NULL) pstate | |
switch (nstate) | |
if (enc==enc_utf8) | |
if (res >=0) | |
if (m >=4||m >=MB_CUR_MAX) goto invalid | |
switch (enc) | |
if (k< m) | |
if (k !=m) abort() | |
return() | size_t (-2) |
Variables | |
char * | pstate = (char *)ps |
char | buf [4] |
const char * | p |
size_t | m |
enc_t | enc = locale_encoding_classification () |
int | res = mbtowc_with_lock (&wc, p, m) |
else | |
success | __pad0__ |
incomplete | __pad1__ |
invalid | __pad2__ |
if | ( | enc | = = enc_utf8 | ) |
Definition at line 80 of file mbrtowc-impl.h.
if | ( | k ! | = m | ) |
if | ( | ) |
Definition at line 246 of file mbrtowc-impl.h.
if | ( | n | = =0 | ) |
if | ( | res >= | 0 | ) |
Definition at line 95 of file mbrtowc-impl.h.
References res.
if | ( | s | = = NULL | ) |
Definition at line 24 of file mbrtowc-impl.h.
return() size_t | ( | - | 2 | ) |
Referenced by _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(), _gsasl_plain_server_step(), getdelim(), local_strnlen(), memchr(), rpl_iconv(), strnlen(), x2nrealloc(), and xpalloc().
switch | ( | nstate | ) |
Definition at line 47 of file mbrtowc-impl.h.
References buf, FALLTHROUGH, m, p, and pstate.
success __pad0__ |
Definition at line 232 of file mbrtowc-impl.h.
incomplete __pad1__ |
Definition at line 241 of file mbrtowc-impl.h.
invalid __pad2__ |
Definition at line 258 of file mbrtowc-impl.h.
char buf[4] |
Definition at line 41 of file mbrtowc-impl.h.
Referenced by _gsasl_gs2_client_step(), _gsasl_gssapi_client_step(), dcnpgettext_expr(), dcpgettext_expr(), extract_serverkey(), getpass(), getprogname(), imap_authenticate(), imap_step_send(), locale_charset(), orig_fstat(), orig_stat(), quotearg_alloc_mem(), randomize(), rpl_fstat(), rpl_recv(), rpl_stat(), scram_start(), setlocale_null(), setlocale_null_r(), setlocale_null_unlocked(), shaGL_OPENSSL_NAME_buffer(), shaGL_OPENSSL_NAME_process_block(), shaGL_OPENSSL_NAME_process_bytes(), smtp_authenticate(), smtp_step_send(), strerror(), switch(), and vasnprintf().
else |
Definition at line 88 of file mbrtowc-impl.h.
enc = locale_encoding_classification () |
Definition at line 44 of file mbrtowc-impl.h.
size_t m |
Definition at line 43 of file mbrtowc-impl.h.
Referenced by if(), mbtowc_unlocked(), quotearg_buffer_restyled(), rpl_iconv(), rpl_iconv_open(), and switch().
const char* p |
Definition at line 42 of file mbrtowc-impl.h.
Referenced by _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(), _gsasl_anonymous_client_step(), _gsasl_cram_md5_client_step(), _gsasl_digest_md5_client_start(), _gsasl_digest_md5_server_start(), _gsasl_digest_md5_set_hashed_secret(), _gsasl_external_client_step(), _gsasl_gssapi_client_step(), _gsasl_login_client_step(), _gsasl_openid20_server_step(), _gsasl_saml20_server_step(), _gsasl_scram_client_step(), _gsasl_scram_server_step(), _gss_encapsulate_token_prefix(), clone_quoting_options(), critical_factorization(), digest_md5_hmac(), escape_authzid(), fcntl(), freea(), gc_md5(), gc_sha1(), get_4(), getaddrinfo(), getprogname(), gsasl_property_fast(), gsasl_property_free(), gsasl_property_get(), gsasl_property_set_raw(), gsasl_strerror(), if(), imap_step_recv(), irealloc(), ireallocarray(), last_component(), latin1toutf8(), main(), map(), mbtowc_unlocked(), mmalloca(), nonnull(), process_long_option(), quotearg_alloc_mem(), quotearg_buffer(), readutf8line(), readutf8pass(), rpl_free(), rpl_iconv_open(), rpl_realloc(), rpl_stat(), scram_escape(), scram_parse_client_final(), scram_parse_client_first(), scram_parse_server_first(), scram_valid_client_first(), set_char_quoting(), smtp_step_recv(), switch(), unescape(), unescape_authzid(), utf8tolatin1ifpossible(), vasnprintf(), x2nrealloc(), x2realloc(), ximemdup(), ximemdup0(), xirealloc(), xireallocarray(), xmemdup(), xrealloc(), and xreallocarray().
pstate[0] = (char *)ps |
Definition at line 22 of file mbrtowc-impl.h.
Definition at line 45 of file mbrtowc-impl.h.
Referenced by _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(), _gsasl_cram_md5_server_step(), _gsasl_digest_md5_client_decode(), _gsasl_digest_md5_client_encode(), _gsasl_digest_md5_client_step(), _gsasl_digest_md5_server_decode(), _gsasl_digest_md5_server_encode(), _gsasl_digest_md5_server_step(), _gsasl_gs2_client_start(), _gsasl_gs2_client_step(), _gsasl_gs2_server_start(), _gsasl_gs2_server_step(), _gsasl_gssapi_client_step(), _gsasl_gssapi_server_step(), _gsasl_login_client_step(), _gsasl_login_server_step(), _gsasl_ntlm_client_step(), _gsasl_openid20_client_step(), _gsasl_openid20_server_step(), _gsasl_parse_gs2_header(), _gsasl_plain_server_step(), _gsasl_saml20_client_step(), _gsasl_saml20_server_step(), _gsasl_scram_client_step(), _gsasl_scram_server_step(), _gsasl_securid_client_step(), _gsasl_securid_server_step(), digest_md5_decode(), digest_md5_encode(), getaddrinfo(), gsasl_scram_secrets_from_password(), gsasl_scram_secrets_from_salted_password(), gsasl_step64(), if(), main(), mkpasswd(), rpl_iconv(), setup(), shaGL_OPENSSL_NAME_buffer(), shaGL_OPENSSL_NAME_finish_ctx(), shaGL_OPENSSL_NAME_read_ctx(), and start().