pcsc-lite 1.9.5
|
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 BEGIN (yy_start) = 1 + 2 * |
Definition at line 376 of file tokenparser.c.
Definition at line 885 of file tokenparser.c.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 420 of file tokenparser.c.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 421 of file tokenparser.c.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 422 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 FLEXINT_H |
Definition at line 288 of file tokenparser.c.
#define INITIAL 0 |
Definition at line 792 of file tokenparser.c.
#define INT16_MAX (32767) |
Definition at line 330 of file tokenparser.c.
#define INT16_MIN (-32767-1) |
Definition at line 321 of file tokenparser.c.
#define INT32_MAX (2147483647) |
Definition at line 333 of file tokenparser.c.
#define INT32_MIN (-2147483647-1) |
Definition at line 324 of file tokenparser.c.
#define INT8_MAX (127) |
Definition at line 327 of file tokenparser.c.
#define INT8_MIN (-128) |
Definition at line 318 of file tokenparser.c.
#define NDEBUG |
Definition at line 773 of file tokenparser.c.
#define REJECT reject_used_but_not_detected |
Definition at line 722 of file tokenparser.c.
Definition at line 346 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 585 of file tokenparser.c.
#define tpwrap_ALREADY_DEFINED |
Definition at line 216 of file tokenparser.c.
Definition at line 339 of file tokenparser.c.
Definition at line 342 of file tokenparser.c.
Definition at line 336 of file tokenparser.c.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 581 of file tokenparser.c.
Definition at line 964 of file tokenparser.c.
#define YY_BUF_SIZE 16384 |
Definition at line 398 of file tokenparser.c.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 502 of file tokenparser.c.
#define YY_BUFFER_NEW 0 |
Definition at line 490 of file tokenparser.c.
#define YY_BUFFER_NORMAL 1 |
Definition at line 491 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 518 of file tokenparser.c.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 524 of file tokenparser.c.
Definition at line 952 of file tokenparser.c.
#define YY_DECL_IS_OURS 1 |
Definition at line 948 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 610 of file tokenparser.c.
#define YY_END_OF_BUFFER 8 |
Definition at line 617 of file tokenparser.c.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 387 of file tokenparser.c.
Definition at line 803 of file tokenparser.c.
Definition at line 939 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 552 of file tokenparser.c.
#define yy_init_buffer tp_init_buffer |
Definition at line 13 of file tokenparser.c.
Definition at line 892 of file tokenparser.c.
Definition at line 4 of file tokenparser.c.
Definition at line 424 of file tokenparser.c.
Definition at line 425 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 724 of file tokenparser.c.
#define yy_new_buffer yy_create_buffer |
Definition at line 562 of file tokenparser.c.
#define YY_NEW_FILE yyrestart( yyin ) |
Definition at line 386 of file tokenparser.c.
#define YY_NO_INPUT 1 |
Definition at line 789 of file tokenparser.c.
#define YY_NULL 0 |
Definition at line 365 of file tokenparser.c.
#define YY_NUM_RULES 7 |
Definition at line 616 of file tokenparser.c.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 876 of file tokenparser.c.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 725 of file tokenparser.c.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 967 of file tokenparser.c.
Definition at line 370 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 572 of file tokenparser.c.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 563 of file tokenparser.c.
#define YY_SKIP_YYWRAP |
Definition at line 586 of file tokenparser.c.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 381 of file tokenparser.c.
#define YY_START_STACK_INCR 25 |
Definition at line 934 of file tokenparser.c.
Definition at line 404 of file tokenparser.c.
Definition at line 384 of file tokenparser.c.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 443 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 407 of file tokenparser.c.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 412 of file tokenparser.c.
#define YY_USER_ACTION |
Definition at line 959 of file tokenparser.c.
Definition at line 29 of file tokenparser.c.
Definition at line 356 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 428 of file tokenparser.c.
Definition at line 428 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 723 of file tokenparser.c.
#define yynoreturn |
Definition at line 361 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 382 of file tokenparser.c.
Definition at line 929 of file tokenparser.c.
Definition at line 27 of file tokenparser.c.
#define yytext_ptr yytext |
Definition at line 600 of file tokenparser.c.
#define yywrap tpwrap |
Definition at line 28 of file tokenparser.c.
Definition at line 310 of file tokenparser.c.
Definition at line 311 of file tokenparser.c.
Definition at line 309 of file tokenparser.c.
Definition at line 314 of file tokenparser.c.
Definition at line 312 of file tokenparser.c.
Definition at line 408 of file tokenparser.c.
typedef flex_uint8_t YY_CHAR |
Definition at line 587 of file tokenparser.c.
Definition at line 413 of file tokenparser.c.
Definition at line 591 of file tokenparser.c.
if | ( | ! | yy_init | ) |
Definition at line 978 of file tokenparser.c.
|
static |
Definition at line 785 of file tokenparser.c.
|
static |
Definition at line 786 of file tokenparser.c.
|
static |
Definition at line 625 of file tokenparser.c.
int yy_act |
Definition at line 976 of file tokenparser.c.
|
static |
Definition at line 671 of file tokenparser.c.
char * yy_bp |
Definition at line 975 of file tokenparser.c.
|
static |
Stack as an array.
Definition at line 510 of file tokenparser.c.
|
static |
capacity of stack.
Definition at line 509 of file tokenparser.c.
|
static |
index of top of stack.
Definition at line 508 of file tokenparser.c.
Definition at line 532 of file tokenparser.c.
|
static |
Definition at line 701 of file tokenparser.c.
char* yy_cp |
Definition at line 975 of file tokenparser.c.
YY_DECL |
The main scanner function which does all the work.
Definition at line 972 of file tokenparser.c.
|
static |
Definition at line 680 of file tokenparser.c.
|
static |
Definition at line 539 of file tokenparser.c.
|
static |
Definition at line 633 of file tokenparser.c.
int yy_flex_debug = 0 |
Definition at line 717 of file tokenparser.c.
|
static |
Definition at line 527 of file tokenparser.c.
|
static |
Definition at line 533 of file tokenparser.c.
|
static |
Definition at line 714 of file tokenparser.c.
|
static |
Definition at line 713 of file tokenparser.c.
|
static |
Definition at line 665 of file tokenparser.c.
|
static |
Definition at line 528 of file tokenparser.c.
|
static |
Definition at line 689 of file tokenparser.c.
|
static |
Definition at line 534 of file tokenparser.c.
Definition at line 589 of file tokenparser.c.
int yyleng |
Definition at line 529 of file tokenparser.c.
int yylineno = 1 |
Definition at line 594 of file tokenparser.c.
Definition at line 418 of file tokenparser.c.
char* yytext |
Definition at line 726 of file tokenparser.c.