pcsc-lite 2.0.3
|
provides parsing functions for Info.plist files platforms More...
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "config.h"
#include <assert.h>
#include "simclist.h"
#include "debuglog.h"
#include "parser.h"
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
struct | yy_buffer_state |
struct | yy_trans_info |
Functions | |
void | yyrestart (FILE *input_file) |
void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
void | yy_delete_buffer (YY_BUFFER_STATE b) |
void | yy_flush_buffer (YY_BUFFER_STATE b) |
void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
static void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
YY_BUFFER_STATE | yy_scan_string (const char *yy_str) |
YY_BUFFER_STATE | yy_scan_bytes (const char *bytes, int len) |
void * | yyalloc (yy_size_t) |
void * | yyrealloc (void *, yy_size_t) |
void | yyfree (void *) |
static yy_state_type | yy_get_previous_state (void) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
static int | yy_get_next_buffer (void) |
static void yynoreturn | yy_fatal_error (const char *msg) |
static void | eval_key (char *pcToken, list_t *list_key) |
static void | eval_value (char *pcToken, list_t *list_values) |
void | tperrorCheck (char *pcToken_error) |
static int | yy_init_globals (void) |
void | yyset_debug (int debug_flag) |
void | yyset_extra (YY_EXTRA_TYPE user_defined) |
void | yyset_in (FILE *_in_str) |
void | yyset_out (FILE *_out_str) |
void | yyset_lineno (int _line_number) |
if (!(yy_init)) | |
Variables | |
int | yyleng |
FILE * | yyin = NULL |
FILE * | yyout = NULL |
static size_t | yy_buffer_stack_top = 0 |
index of top of stack. | |
static size_t | yy_buffer_stack_max = 0 |
capacity of stack. | |
static YY_BUFFER_STATE * | yy_buffer_stack = NULL |
Stack as an array. | |
static char | yy_hold_char |
static int | yy_n_chars |
static char * | yy_c_buf_p = NULL |
static int | yy_init = 0 |
static int | yy_start = 0 |
static int | yy_did_buffer_switch_on_eof |
int | yylineno = 1 |
char * | yytext |
static const flex_int16_t | yy_accept [39] |
static const YY_CHAR | yy_ec [256] |
static const YY_CHAR | yy_meta [20] |
static const flex_int16_t | yy_base [43] |
static const flex_int16_t | yy_def [43] |
static const flex_int16_t | yy_nxt [75] |
static const flex_int16_t | yy_chk [75] |
static yy_state_type | yy_last_accepting_state |
static char * | yy_last_accepting_cpos |
int | yy_flex_debug = 0 |
static list_t * | ListKeys |
static list_t * | ListValues |
YY_DECL | |
The main scanner function which does all the work. | |
char * | yy_cp |
char * | yy_bp |
int | yy_act |
provides parsing functions for Info.plist files platforms
Definition in file tokenparser.c.
#define _POSIX_SOURCE 1 |
Definition at line 292 of file tokenparser.c.
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 371 of file tokenparser.c.
Definition at line 880 of file tokenparser.c.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 415 of file tokenparser.c.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 416 of file tokenparser.c.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 417 of file tokenparser.c.
#define FLEX_BETA |
Definition at line 38 of file tokenparser.c.
#define FLEX_SCANNER |
Definition at line 33 of file tokenparser.c.
#define INITIAL 0 |
Definition at line 787 of file tokenparser.c.
#define NDEBUG |
Definition at line 768 of file tokenparser.c.
#define REJECT reject_used_but_not_detected |
Definition at line 717 of file tokenparser.c.
#define tp_create_buffer_ALREADY_DEFINED |
Definition at line 42 of file tokenparser.c.
#define tp_delete_buffer_ALREADY_DEFINED |
Definition at line 48 of file tokenparser.c.
#define tp_flex_debug_ALREADY_DEFINED |
Definition at line 264 of file tokenparser.c.
#define tp_flush_buffer_ALREADY_DEFINED |
Definition at line 78 of file tokenparser.c.
#define tp_init_buffer_ALREADY_DEFINED |
Definition at line 72 of file tokenparser.c.
#define tp_load_buffer_state_ALREADY_DEFINED |
Definition at line 84 of file tokenparser.c.
#define tp_scan_buffer_ALREADY_DEFINED |
Definition at line 54 of file tokenparser.c.
#define tp_scan_bytes_ALREADY_DEFINED |
Definition at line 66 of file tokenparser.c.
#define tp_scan_string_ALREADY_DEFINED |
Definition at line 60 of file tokenparser.c.
#define tp_switch_to_buffer_ALREADY_DEFINED |
Definition at line 90 of file tokenparser.c.
#define tpalloc_ALREADY_DEFINED |
Definition at line 222 of file tokenparser.c.
#define tpensure_buffer_stack_ALREADY_DEFINED |
Definition at line 108 of file tokenparser.c.
#define tpfree_ALREADY_DEFINED |
Definition at line 234 of file tokenparser.c.
#define tpin_ALREADY_DEFINED |
Definition at line 252 of file tokenparser.c.
#define tpleng_ALREADY_DEFINED |
Definition at line 246 of file tokenparser.c.
#define tplex_ALREADY_DEFINED |
Definition at line 114 of file tokenparser.c.
#define tplineno_ALREADY_DEFINED |
Definition at line 270 of file tokenparser.c.
#define tpout_ALREADY_DEFINED |
Definition at line 258 of file tokenparser.c.
#define tppop_buffer_state_ALREADY_DEFINED |
Definition at line 102 of file tokenparser.c.
#define tppush_buffer_state_ALREADY_DEFINED |
Definition at line 96 of file tokenparser.c.
#define tprealloc_ALREADY_DEFINED |
Definition at line 228 of file tokenparser.c.
#define tprestart_ALREADY_DEFINED |
Definition at line 120 of file tokenparser.c.
#define tptext_ALREADY_DEFINED |
Definition at line 240 of file tokenparser.c.
Definition at line 580 of file tokenparser.c.
#define tpwrap_ALREADY_DEFINED |
Definition at line 216 of file tokenparser.c.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 576 of file tokenparser.c.
Definition at line 959 of file tokenparser.c.
#define YY_BUF_SIZE 16384 |
Definition at line 393 of file tokenparser.c.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 497 of file tokenparser.c.
#define YY_BUFFER_NEW 0 |
Definition at line 485 of file tokenparser.c.
#define YY_BUFFER_NORMAL 1 |
Definition at line 486 of file tokenparser.c.
#define yy_create_buffer tp_create_buffer |
Definition at line 8 of file tokenparser.c.
#define YY_CURRENT_BUFFER |
Definition at line 513 of file tokenparser.c.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 519 of file tokenparser.c.
Definition at line 947 of file tokenparser.c.
#define YY_DECL_IS_OURS 1 |
Definition at line 943 of file tokenparser.c.
#define yy_delete_buffer tp_delete_buffer |
Definition at line 9 of file tokenparser.c.
#define YY_DO_BEFORE_ACTION |
Definition at line 605 of file tokenparser.c.
#define YY_END_OF_BUFFER 8 |
Definition at line 612 of file tokenparser.c.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 382 of file tokenparser.c.
Definition at line 798 of file tokenparser.c.
Definition at line 934 of file tokenparser.c.
int yy_flex_debug tp_flex_debug |
Definition at line 20 of file tokenparser.c.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 34 of file tokenparser.c.
#define YY_FLEX_MINOR_VERSION 6 |
Definition at line 35 of file tokenparser.c.
#define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 36 of file tokenparser.c.
#define yy_flush_buffer tp_flush_buffer |
Definition at line 14 of file tokenparser.c.
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 547 of file tokenparser.c.
#define yy_init_buffer tp_init_buffer |
Definition at line 13 of file tokenparser.c.
Definition at line 887 of file tokenparser.c.
Definition at line 4 of file tokenparser.c.
Definition at line 419 of file tokenparser.c.
Definition at line 420 of file tokenparser.c.
static void yy_load_buffer_state tp_load_buffer_state |
Definition at line 15 of file tokenparser.c.
#define YY_MORE_ADJ 0 |
Definition at line 719 of file tokenparser.c.
#define yy_new_buffer yy_create_buffer |
Definition at line 557 of file tokenparser.c.
#define YY_NEW_FILE yyrestart( yyin ) |
Definition at line 381 of file tokenparser.c.
#define YY_NO_INPUT 1 |
Definition at line 784 of file tokenparser.c.
#define YY_NULL 0 |
Definition at line 360 of file tokenparser.c.
#define YY_NUM_RULES 7 |
Definition at line 611 of file tokenparser.c.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 871 of file tokenparser.c.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 720 of file tokenparser.c.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 962 of file tokenparser.c.
Definition at line 365 of file tokenparser.c.
#define yy_scan_buffer tp_scan_buffer |
Definition at line 10 of file tokenparser.c.
#define yy_scan_bytes tp_scan_bytes |
Definition at line 12 of file tokenparser.c.
#define yy_scan_string tp_scan_string |
Definition at line 11 of file tokenparser.c.
Definition at line 567 of file tokenparser.c.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 558 of file tokenparser.c.
#define YY_SKIP_YYWRAP |
Definition at line 581 of file tokenparser.c.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 376 of file tokenparser.c.
#define YY_START_STACK_INCR 25 |
Definition at line 929 of file tokenparser.c.
Definition at line 399 of file tokenparser.c.
Definition at line 379 of file tokenparser.c.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 438 of file tokenparser.c.
#define yy_switch_to_buffer tp_switch_to_buffer |
Definition at line 16 of file tokenparser.c.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 402 of file tokenparser.c.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 407 of file tokenparser.c.
#define YY_USER_ACTION |
Definition at line 954 of file tokenparser.c.
Definition at line 29 of file tokenparser.c.
Definition at line 351 of file tokenparser.c.
static void yyensure_buffer_stack tpensure_buffer_stack |
Definition at line 19 of file tokenparser.c.
Definition at line 31 of file tokenparser.c.
int yyget_debug tpget_debug |
Definition at line 146 of file tokenparser.c.
YY_EXTRA_TYPE yyget_extra tpget_extra |
Definition at line 158 of file tokenparser.c.
Definition at line 170 of file tokenparser.c.
int yyget_leng tpget_leng |
Definition at line 194 of file tokenparser.c.
int yyget_lineno tpget_lineno |
Definition at line 206 of file tokenparser.c.
Definition at line 182 of file tokenparser.c.
char * yyget_text tpget_text |
Definition at line 200 of file tokenparser.c.
Definition at line 21 of file tokenparser.c.
Definition at line 22 of file tokenparser.c.
Definition at line 423 of file tokenparser.c.
Definition at line 423 of file tokenparser.c.
Definition at line 23 of file tokenparser.c.
int yylex_destroy tplex_destroy |
Definition at line 140 of file tokenparser.c.
#define yylex_init tplex_init |
Definition at line 128 of file tokenparser.c.
#define yylex_init_extra tplex_init_extra |
Definition at line 134 of file tokenparser.c.
Definition at line 24 of file tokenparser.c.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 718 of file tokenparser.c.
#define yynoreturn |
Definition at line 356 of file tokenparser.c.
Definition at line 25 of file tokenparser.c.
void yypop_buffer_state tppop_buffer_state |
Definition at line 18 of file tokenparser.c.
#define yypush_buffer_state tppush_buffer_state |
Definition at line 17 of file tokenparser.c.
Definition at line 30 of file tokenparser.c.
Definition at line 26 of file tokenparser.c.
#define yyset_debug tpset_debug |
Definition at line 152 of file tokenparser.c.
#define yyset_extra tpset_extra |
Definition at line 164 of file tokenparser.c.
Definition at line 176 of file tokenparser.c.
#define yyset_lineno tpset_lineno |
Definition at line 212 of file tokenparser.c.
Definition at line 188 of file tokenparser.c.
#define YYSTATE YY_START |
Definition at line 377 of file tokenparser.c.
Definition at line 924 of file tokenparser.c.
Definition at line 27 of file tokenparser.c.
#define yytext_ptr yytext |
Definition at line 595 of file tokenparser.c.
#define yywrap tpwrap |
Definition at line 28 of file tokenparser.c.
Definition at line 330 of file tokenparser.c.
Definition at line 345 of file tokenparser.c.
Definition at line 342 of file tokenparser.c.
Definition at line 329 of file tokenparser.c.
Definition at line 403 of file tokenparser.c.
typedef flex_uint8_t YY_CHAR |
Definition at line 582 of file tokenparser.c.
Definition at line 408 of file tokenparser.c.
Definition at line 586 of file tokenparser.c.
if | ( | ! | yy_init | ) |
Definition at line 973 of file tokenparser.c.
|
static |
Definition at line 780 of file tokenparser.c.
|
static |
Definition at line 781 of file tokenparser.c.
|
static |
Definition at line 620 of file tokenparser.c.
int yy_act |
Definition at line 971 of file tokenparser.c.
|
static |
Definition at line 666 of file tokenparser.c.
char * yy_bp |
Definition at line 970 of file tokenparser.c.
|
static |
Stack as an array.
Definition at line 505 of file tokenparser.c.
|
static |
capacity of stack.
Definition at line 504 of file tokenparser.c.
|
static |
index of top of stack.
Definition at line 503 of file tokenparser.c.
Definition at line 527 of file tokenparser.c.
|
static |
Definition at line 696 of file tokenparser.c.
char* yy_cp |
Definition at line 970 of file tokenparser.c.
YY_DECL |
The main scanner function which does all the work.
Definition at line 967 of file tokenparser.c.
|
static |
Definition at line 675 of file tokenparser.c.
|
static |
Definition at line 534 of file tokenparser.c.
|
static |
Definition at line 628 of file tokenparser.c.
int yy_flex_debug = 0 |
Definition at line 712 of file tokenparser.c.
|
static |
Definition at line 522 of file tokenparser.c.
|
static |
Definition at line 528 of file tokenparser.c.
|
static |
Definition at line 709 of file tokenparser.c.
|
static |
Definition at line 708 of file tokenparser.c.
|
static |
Definition at line 660 of file tokenparser.c.
|
static |
Definition at line 523 of file tokenparser.c.
|
static |
Definition at line 684 of file tokenparser.c.
|
static |
Definition at line 529 of file tokenparser.c.
Definition at line 584 of file tokenparser.c.
int yyleng |
Definition at line 524 of file tokenparser.c.
int yylineno = 1 |
Definition at line 589 of file tokenparser.c.
Definition at line 413 of file tokenparser.c.
char* yytext |
Definition at line 721 of file tokenparser.c.