Lines Matching refs:parser_element
364 #define parser_element plural_element macro
366 struct parser_element;
370 struct parser_element *operands[MAX_NUM_OPERANDS];
372 struct parser_element struct
389 static int parse_cond(struct tokenizer_context *, struct parser_element *); argument
411 init_parser_element(struct parser_element *pe) in init_parser_element()
421 static void free_parser_element(struct parser_element *);
423 uninit_parser_element(struct parser_element *pe) in uninit_parser_element()
436 free_parser_element(struct parser_element *pe) in free_parser_element()
447 copy_parser_element(struct parser_element *dpe, in copy_parser_element()
448 const struct parser_element *spe) in copy_parser_element()
454 static struct parser_element *
455 dup_parser_element(const struct parser_element *pe) in dup_parser_element()
457 struct parser_element *dpe = malloc(sizeof *dpe); in dup_parser_element()
465 parse_term(struct tokenizer_context *tcx, struct parser_element *pelem) in parse_term()
467 struct parser_element pe0; in parse_term()
506 parse_lnot(struct tokenizer_context *tcx, struct parser_element *pelem) in parse_lnot()
508 struct parser_element pe0; in parse_lnot()
536 parse_op2(struct tokenizer_context *tcx, struct parser_element *pelem, in parse_op2()
539 struct parser_element pe0, pe1, peop; in parse_op2()
585 parse_cond(struct tokenizer_context *tcx, struct parser_element *pelem) in parse_cond()
587 struct parser_element pe0, pe1, pe2; in parse_cond()
639 parse_exp(struct tokenizer_context *tcx, struct parser_element *pelem) in parse_exp()
669 static void dump_elem(struct parser_element *);
672 dump_op2(struct parser_element *pelem) in dump_op2()
681 dump_op3(struct parser_element *pelem) in dump_op3()
692 dump_elem(struct parser_element *pelem) in dump_elem()
759 struct parser_element pelem; in main()
791 calculate_plural(const struct parser_element *pe, unsigned long n) in calculate_plural()
855 struct parser_element pelem; in main()
1001 parse_plural_body(struct _region *r, struct parser_element **rpe) in parse_plural_body()
1005 struct parser_element pelem, *ppe; in parse_plural_body()
1027 parse_plural(struct parser_element **rpe, unsigned long *rnp, in parse_plural()
1050 struct parser_element *pelem; in main()
1088 return parse_plural((struct parser_element **)rpe, rnp, str, len); in _gettext_parse_plural()