osprey/kg++fe/gnu/intl/plural.c File Reference

#include <stdlib.h>
#include "gettextP.h"
#include <stdio.h>

Include dependency graph for plural.c:

Go to the source code of this file.

Data Types

union  YYSTYPE

Defines

#define YYBISON   1
#define yyparse   __gettextparse
#define yylex   __gettextlex
#define yyerror   __gettexterror
#define yylval   __gettextlval
#define yychar   __gettextchar
#define yydebug   __gettextdebug
#define yynerrs   __gettextnerrs
#define EQUOP2   257
#define CMPOP2   258
#define ADDOP2   259
#define MULOP2   260
#define NUMBER   261
#define FREE_EXPRESSION   gettext_free_exp__
#define __gettextparse   gettextparse__
#define YYLEX_PARAM   &((struct parse_args *) arg)->cp
#define YYPARSE_PARAM   arg
#define const
#define YYFINAL   27
#define YYFLAG   -32768
#define YYNTBASE   16
#define YYTRANSLATE(x)   ((unsigned)(x) <= 261 ? yytranslate[x] : 18)
#define YYLAST   53
#define YYPURE   1
#define YYSTACK_ALLOC   malloc
#define yyerrok   (yyerrstatus = 0)
#define yyclearin   (yychar = YYEMPTY)
#define YYEMPTY   -2
#define YYEOF   0
#define YYACCEPT   goto yyacceptlab
#define YYABORT   goto yyabortlab
#define YYERROR   goto yyerrlab1
#define YYFAIL   goto yyerrlab
#define YYRECOVERING()   (!!yyerrstatus)
#define YYBACKUP(token, value)
#define YYTERROR   1
#define YYERRCODE   256
#define YYLEX   yylex(&yylval, YYLEX_PARAM)
#define YYINITDEPTH   200
#define YYMAXDEPTH   10000
#define YYPARSE_PARAM_ARG   YYPARSE_PARAM
#define YYPARSE_PARAM_DECL   void *YYPARSE_PARAM;
#define YYPOPSTACK   (yyvsp--, yyssp--)
#define __attribute__(x)

Functions/Subroutines

static struct expression *new_exp PARAMS ((int nargs, enum operator op, struct expression *const *args))
static struct expression *new_exp_0 PARAMS ((enum operator op))
static struct expression *new_exp_1 PARAMS ((enum operator op, struct expression *right))
static struct expression *new_exp_2 PARAMS ((enum operator op, struct expression *left, struct expression *right))
static struct expression *new_exp_3 PARAMS ((enum operator op, struct expression *bexp, struct expression *tbranch, struct expression *fbranch))
static int yylex PARAMS ((YYSTYPE *lval, const char **pexp))
static void yyerror PARAMS ((const char *str))
static struct expressionnew_exp (int nargs, enum operator op, struct expression *const *args)
static struct expressionnew_exp_0 (enum operator op)
static struct expressionnew_exp_1 (enum operator op, struct expression *right)
static struct expressionnew_exp_2 (enum operator op, struct expression *left, struct expression *right)
static struct expressionnew_exp_3 (enum operator op, struct expression *bexp, struct expression *tbranch, struct expression *fbranch)
static void __yy_memcpy (char *to, char *from, unsigned int count)
int yyparse (YYPARSE_PARAM_ARG)

Variables

static const char yytranslate []
static const short yyr1 []
static const short yyr2 []
static const short yydefact []
static const short yydefgoto []
static const short yypact []
static const short yypgoto []
static const short yytable []
static const short yycheck []
void internal_function struct
expression
exp
const char ** pexp


Define Documentation

#define __attribute__ (  ) 

#define __gettextparse   gettextparse__

Definition at line 64 of file plural.c.

#define ADDOP2   259

Definition at line 16 of file plural.c.

#define CMPOP2   258

Definition at line 15 of file plural.c.

#define const

Definition at line 178 of file plural.c.

#define EQUOP2   257

Definition at line 14 of file plural.c.

#define FREE_EXPRESSION   gettext_free_exp__

Definition at line 63 of file plural.c.

Referenced by new_exp().

#define MULOP2   260

Definition at line 17 of file plural.c.

#define NUMBER   261

Definition at line 18 of file plural.c.

#define YYABORT   goto yyabortlab

Definition at line 394 of file plural.c.

#define YYACCEPT   goto yyacceptlab

Definition at line 393 of file plural.c.

#define YYBACKUP ( token,
value   ) 

Value:

do                \
  if (yychar == YYEMPTY && yylen == 1)        \
    { yychar = (token), yylval = (value);     \
      yychar1 = YYTRANSLATE (yychar);       \
      YYPOPSTACK;           \
      goto yybackup;            \
    }               \
  else                \
    { yyerror ("syntax error: cannot back up"); YYERROR; }  \
while (0)

Definition at line 402 of file plural.c.

#define YYBISON   1

Definition at line 5 of file plural.c.

#define yychar   __gettextchar

#define yyclearin   (yychar = YYEMPTY)

Definition at line 390 of file plural.c.

#define yydebug   __gettextdebug

Definition at line 12 of file plural.c.

Referenced by c_common_parse_file(), KAPI_Initialize(), main(), and yyparse().

#define YYEMPTY   -2

Definition at line 391 of file plural.c.

#define YYEOF   0

Definition at line 392 of file plural.c.

#define YYERRCODE   256

Definition at line 415 of file plural.c.

#define yyerrok   (yyerrstatus = 0)

Definition at line 389 of file plural.c.

#define YYERROR   goto yyerrlab1

Definition at line 395 of file plural.c.

#define yyerror   __gettexterror

Definition at line 9 of file plural.c.

Referenced by read_token(), snarf_block(), and yyparse().

#define YYFAIL   goto yyerrlab

Definition at line 400 of file plural.c.

#define YYFINAL   27

Definition at line 184 of file plural.c.

#define YYFLAG   -32768

Definition at line 185 of file plural.c.

#define YYINITDEPTH   200

Definition at line 462 of file plural.c.

#define YYLAST   53

Definition at line 283 of file plural.c.

#define YYLEX   yylex(&yylval, YYLEX_PARAM)

Definition at line 430 of file plural.c.

#define yylex   __gettextlex

#define YYLEX_PARAM   &((struct parse_args *) arg)->cp

Definition at line 67 of file plural.c.

#define yylval   __gettextlval

#define YYMAXDEPTH   10000

Definition at line 473 of file plural.c.

#define yynerrs   __gettextnerrs

Definition at line 13 of file plural.c.

Referenced by yyparse().

#define YYNTBASE   16

Definition at line 186 of file plural.c.

#define yyparse   __gettextparse

Definition at line 7 of file plural.c.

Referenced by c_common_parse_file(), DEFUN(), kapi_ParseFile(), load_symbols(), main(), and parse_args().

#define YYPARSE_PARAM   arg

Definition at line 68 of file plural.c.

#define YYPARSE_PARAM_ARG   YYPARSE_PARAM

Definition at line 533 of file plural.c.

#define YYPARSE_PARAM_DECL   void *YYPARSE_PARAM;

Definition at line 534 of file plural.c.

#define YYPOPSTACK   (yyvsp--, yyssp--)

#define YYPURE   1

Definition at line 303 of file plural.c.

 
#define YYRECOVERING (  )     (!!yyerrstatus)

Definition at line 401 of file plural.c.

#define YYSTACK_ALLOC   malloc

Definition at line 382 of file plural.c.

#define YYTERROR   1

Definition at line 414 of file plural.c.

#define YYTRANSLATE (  )     ((unsigned)(x) <= 261 ? yytranslate[x] : 18)

Definition at line 188 of file plural.c.


Function Documentation

static void __yy_memcpy ( char *  to,
char *  from,
unsigned int  count 
) [static]

Definition at line 489 of file plural.c.

References f, and i.

Referenced by yyparse().

static struct expression* new_exp ( int  nargs,
enum operator  op,
struct expression * const *  args 
) [static, read]

Definition at line 97 of file plural.c.

References expression, fail, FREE_EXPRESSION, i, malloc, and NULL.

Referenced by new_exp_0(), new_exp_1(), new_exp_2(), and new_exp_3().

static struct expression* new_exp_0 ( enum operator  op  )  [static, read]

Definition at line 129 of file plural.c.

References new_exp(), and NULL.

Referenced by yyparse().

static struct expression* new_exp_1 ( enum operator  op,
struct expression right 
) [static, read]

Definition at line 136 of file plural.c.

References args, expression, and new_exp().

Referenced by yyparse().

static struct expression* new_exp_2 ( enum operator  op,
struct expression left,
struct expression right 
) [static, read]

Definition at line 147 of file plural.c.

References args, expression, and new_exp().

Referenced by yyparse().

static struct expression* new_exp_3 ( enum operator  op,
struct expression bexp,
struct expression tbranch,
struct expression fbranch 
) [static, read]

Definition at line 160 of file plural.c.

References args, expression, and new_exp().

Referenced by yyparse().

static void yyerror PARAMS ( (const char *str  )  [static]

static int yylex PARAMS ( (YYSTYPE *lval, const char **pexp  )  [static]

static struct expression* new_exp_3 PARAMS ( (enum operator op, struct expression *bexp, struct expression *tbranch, struct expression *fbranch)   )  [static, read]

static struct expression* new_exp_2 PARAMS ( (enum operator op, struct expression *left, struct expression *right)   )  [static, read]

static struct expression* new_exp_1 PARAMS ( (enum operator op, struct expression *right)   )  [static, read]

static struct expression* new_exp_0 PARAMS ( (enum operator op  )  [static, read]

static struct expression* new_exp PARAMS ( (int nargs, enum operator op, struct expression *const *args  )  [static, read]

int yyparse ( YYPARSE_PARAM_ARG   ) 


Variable Documentation

void internal_function struct expression* exp

Definition at line 1151 of file plural.c.

Referenced by __divdf3(), __divsf3(), __extendsfdf2(), __fixdfdi(), __fixdfsi(), __fixunsdfdi(), __fixunsdfsi(), __floatdidf(), __floatsidf(), __floatunsidf(), __muldf3(), __mulsf3(), __powzz(), __trunc(), __truncdfsf2(), __zexp(), _beautify(), _cpp_copy_replacement_text(), _cpp_replacement_text_len(), _rdfmt(), _wrfmt(), ar_exp(), arm_dllexport_p(), build_cxx_call(), build_eh_type_type(), build_x_unary_op(), c_a_to_q(), cnvt_tmsfloat_ieee(), construct_container(), construct_virtual_base(), cosh(), d_exp(), decDivideOp(), decimal128FromNumber(), decimal128ToNumber(), decimal32FromNumber(), decimal32ToNumber(), decimal64FromNumber(), decimal64ToNumber(), decNumberSquareRoot(), decode_c4x_extended(), decode_c4x_single(), decode_i370_double(), decode_i370_single(), decode_ieee_double(), decode_ieee_extended(), decode_ieee_quad(), decode_ieee_single(), decode_vax_d(), decode_vax_f(), decode_vax_g(), decToString(), decTrim(), default_function_array_conversion(), do_add(), do_divide(), do_multiply(), eh_type_info(), em_complex_exp(), em_exp_int(), encode_c4x_extended(), encode_c4x_single(), encode_i370_double(), encode_i370_single(), encode_ieee_double(), encode_ieee_extended(), encode_ieee_quad(), encode_ieee_single(), encode_vax_f(), estimate_one_automaton_bound(), LFTR::Exp_hash(), expand_builtin_expect(), expand_builtin_memcmp(), expand_builtin_sprintf(), Expand_Const(), Expand_Float_Div_By_Const(), Expand_Float_Div_By_Pow2(), Expand_Float_To_Int_Floor(), expand_start_catch_block(), ffestb_R100110_(), find_builtin_longjmp_call_1(), floating_exact_log2(), fold_builtin(), fold_relational_hi_lo(), fp_class_d(), fp_class_f(), get_constraint_for(), EXP_OCCURS::Get_temp_cr(), get_tinfo_ptr(), GTY(), handle_class_ref(), hash_expr_for_htab(), i386_pe_dllexport_p(), if_test_bypass_p(), Increase_By(), intr_wrap_040(), l_R(), l_R16(), l_write(), Load_82bit_Constant(), lower_bit_field_id(), m32c_pushm_popm(), macroexpand(), main(), mark_constant(), maybe_output_constant_def_contents(), merge_equiv_classes(), mfcr_operation(), mtcrf_operation(), normalize(), Nth_Integral_Root(), output_constant_def_contents(), pack_d(), pe_process_import_defs(), pow(), prepare_eh_table_type(), process_insert_insn(), rd_F(), real_from_string(), real_sqrt(), real_to_hexadecimal(), real_to_integer2(), real_value_to_target_double(), real_value_to_target_single(), receiver_is_class_object(), remove_constant_addition(), remove_invalid_subreg_refs(), replace_args_and_push(), save_replacement_text(), sh_symbian_dllexport_p(), simplify_replace_rtx(), simplify_using_condition(), simplify_using_initial_conditions(), sinh(), store_data_bypass_p(), Targ_IntrinsicOp(), unpack_d(), unsafe_for_reeval(), uw_update_context_1(), vho_lower_expr(), WFE_Save_Expr(), WGEN_Save_Expr(), wrap_cleanups_r(), and yyparse().

const char** pexp

Definition at line 1178 of file plural.c.

const short yycheck[] [static]

Initial value:

 {     1,
    10,    11,     4,    13,    14,     9,     8,     9,    10,    11,
    12,    13,    14,     3,     4,     5,     6,     7,     8,     9,
     0,    23,     7,     8,     9,    15,     3,     4,     5,     6,
     7,     8,     9,     8,     9,    12,     3,     4,     5,     6,
     7,     8,     9,     5,     6,     7,     8,     9,     6,     7,
     8,     9,     0
}

Definition at line 295 of file plural.c.

const short yydefact[] [static]

Initial value:

 {     0,
     0,    11,    10,     0,     1,     9,     0,     0,     0,     0,
     0,     0,     0,     0,    12,     0,     3,     4,     5,     6,
     7,     8,     0,     2,     0,     0,     0
}

Definition at line 262 of file plural.c.

const short yydefgoto[] [static]

Initial value:

 {    25,
     5
}

Definition at line 268 of file plural.c.

const short yypact[] [static]

Initial value:

 {    -9,
    -9,-32768,-32768,    -9,    34,-32768,    11,    -9,    -9,    -9,
    -9,    -9,    -9,    -9,-32768,    24,    39,    43,    16,    26,
    -3,-32768,    -9,    34,    21,    53,-32768
}

Definition at line 272 of file plural.c.

const short yypgoto[] [static]

Initial value:

 {-32768,
    -1
}

Definition at line 278 of file plural.c.

const short yyr1[] [static]

Initial value:

 {     0,
    16,    17,    17,    17,    17,    17,    17,    17,    17,    17,
    17,    17
}

Definition at line 252 of file plural.c.

const short yyr2[] [static]

Initial value:

 {     0,
     1,     5,     3,     3,     3,     3,     3,     3,     2,     1,
     1,     3
}

Definition at line 257 of file plural.c.

const short yytable[] [static]

Initial value:

 {     6,
     1,     2,     7,     3,     4,    14,    16,    17,    18,    19,
    20,    21,    22,     8,     9,    10,    11,    12,    13,    14,
    26,    24,    12,    13,    14,    15,     8,     9,    10,    11,
    12,    13,    14,    13,    14,    23,     8,     9,    10,    11,
    12,    13,    14,    10,    11,    12,    13,    14,    11,    12,
    13,    14,    27
}

Definition at line 286 of file plural.c.

const char yytranslate[] [static]

Initial value:

 {     0,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,    10,     2,     2,     2,     2,     5,     2,    14,
    15,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,    12,     2,     2,
     2,     2,     3,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,    13,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     4,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     1,     6,     7,     8,     9,
    11
}

Definition at line 190 of file plural.c.


Generated on Wed Apr 8 15:38:52 2009 for Open64 by  doxygen 1.5.6