gsasl  2.2.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL).
  Fossies Dox: gsasl-2.2.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
mbrtowc-impl.h File Reference
Include dependency graph for mbrtowc-impl.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__
 

Function Documentation

◆ if() [1/8]

if ( enc  = = enc_utf8)

Definition at line 80 of file mbrtowc-impl.h.

◆ if() [2/8]

if ( k !  = m)

◆ if() [3/8]

if ( )

Definition at line 246 of file mbrtowc-impl.h.

References m, and pstate.

◆ if() [4/8]

if ( m >=4||m >=  MB_CUR_MAX)

◆ if() [5/8]

if ( = =0)

◆ if() [6/8]

if ( pstate  = =NULL)

References pstate.

◆ if() [7/8]

if ( res >=  0)

Definition at line 95 of file mbrtowc-impl.h.

References res.

◆ if() [8/8]

if ( = = NULL)

Definition at line 24 of file mbrtowc-impl.h.

◆ size_t()

◆ switch() [1/2]

switch ( enc  )

Definition at line 119 of file mbrtowc-impl.h.

References c, invalid, m, and p.

◆ switch() [2/2]

switch ( nstate  )

Definition at line 47 of file mbrtowc-impl.h.

References buf, FALLTHROUGH, m, p, and pstate.

Variable Documentation

◆ __pad0__

success __pad0__

Definition at line 232 of file mbrtowc-impl.h.

◆ __pad1__

incomplete __pad1__

Definition at line 241 of file mbrtowc-impl.h.

◆ __pad2__

invalid __pad2__

Definition at line 258 of file mbrtowc-impl.h.

◆ buf

◆ else

else
Initial value:
{
wchar_t wc

Definition at line 88 of file mbrtowc-impl.h.

◆ enc

enc = locale_encoding_classification ()

Definition at line 44 of file mbrtowc-impl.h.

◆ m

◆ p

◆ pstate

pstate[0] = (char *)ps

Definition at line 22 of file mbrtowc-impl.h.

Referenced by if(), and switch().

◆ res