Back to index

glibc  2.9
Classes | Functions | Variables
printf-parse.h File Reference
#include <printf.h>
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <wchar.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  printf_spec
union  printf_arg

Functions

static unsigned int read_int (const UCHAR_T **pstr)
__extern_always_inline const
unsigned char * 
__find_specmb (const unsigned char *format)
__extern_always_inline const
unsigned int
__find_specwc (const unsigned int *format)
size_t __parse_one_specmb (const unsigned char *format, size_t posn, struct printf_spec *spec, size_t *max_ref_arg) attribute_hidden
size_t __parse_one_specwc (const unsigned int *format, size_t posn, struct printf_spec *spec, size_t *max_ref_arg) attribute_hidden

Variables

printf_arginfo_function
**__printf_arginfo_table 
attribute_hidden

Class Documentation

struct printf_spec

Definition at line 28 of file printf-parse.h.

Class Members
int data_arg
int data_arg_type
const UCHAR_T * end_of_fmt
size_t ndata_args
const UCHAR_T * next_fmt
int prec_arg
int width_arg
union printf_arg

Definition at line 49 of file printf-parse.h.

Class Members
double pa_double
int pa_int
long double pa_long_double
long int pa_long_int
long long int pa_long_long_int
void * pa_pointer
const char * pa_string
unsigned int pa_u_int
unsigned long int pa_u_long_int
unsigned long long int pa_u_long_long_int
wchar_t pa_wchar
const wchar_t * pa_wstring

Function Documentation

__extern_always_inline const unsigned char* __find_specmb ( const unsigned char *  format)

Definition at line 93 of file printf-parse.h.

{
  return (const unsigned char *) __strchrnul ((const char *) format, '%');
}

Here is the caller graph for this function:

__extern_always_inline const unsigned int* __find_specwc ( const unsigned int format)

Definition at line 99 of file printf-parse.h.

{
  return (const unsigned int *) __wcschrnul ((const wchar_t *) format, L'%');
}

Here is the call graph for this function:

Here is the caller graph for this function:

size_t __parse_one_specmb ( const unsigned char *  format,
size_t  posn,
struct printf_spec spec,
size_t max_ref_arg 
)

Here is the caller graph for this function:

size_t __parse_one_specwc ( const unsigned int format,
size_t  posn,
struct printf_spec spec,
size_t max_ref_arg 
)

Here is the caller graph for this function:

static unsigned int read_int ( const UCHAR_T **  pstr) [static]

Definition at line 70 of file printf-parse.h.

{
  unsigned int retval = **pstr - L_('0');

  while (ISDIGIT (*++(*pstr)))
    {
      retval *= 10;
      retval += **pstr - L_('0');
    }

  return retval;
}

Here is the caller graph for this function:


Variable Documentation

printf_function** __printf_function_table attribute_hidden

Definition at line 87 of file printf-parse.h.