Lines Matching refs:ptr_yy_globals
2492 int glcpp_lex_init(yyscan_t* ptr_yy_globals) in glcpp_lex_init() argument
2495 if (ptr_yy_globals == NULL){ in glcpp_lex_init()
2500 *ptr_yy_globals = (yyscan_t) glcpp_alloc ( sizeof( struct yyguts_t ), NULL ); in glcpp_lex_init()
2502 if (*ptr_yy_globals == NULL){ in glcpp_lex_init()
2508 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); in glcpp_lex_init()
2510 return yy_init_globals ( *ptr_yy_globals ); in glcpp_lex_init()
2521 int glcpp_lex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals ) in glcpp_lex_init_extra() argument
2528 if (ptr_yy_globals == NULL){ in glcpp_lex_init_extra()
2533 *ptr_yy_globals = (yyscan_t) glcpp_alloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); in glcpp_lex_init_extra()
2535 if (*ptr_yy_globals == NULL){ in glcpp_lex_init_extra()
2542 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); in glcpp_lex_init_extra()
2544 glcpp_set_extra (yy_user_defined, *ptr_yy_globals); in glcpp_lex_init_extra()
2546 return yy_init_globals ( *ptr_yy_globals ); in glcpp_lex_init_extra()