Searched refs:ptr_yy_globals (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/glsl/glcpp/ |
D | glcpp-lex.c | 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() [all …]
|
/external/mesa3d/src/glsl/ |
D | glsl_lexer.cpp | 3504 int _mesa_glsl_lex_init(yyscan_t* ptr_yy_globals) in _mesa_glsl_lex_init() argument 3507 if (ptr_yy_globals == NULL){ in _mesa_glsl_lex_init() 3512 *ptr_yy_globals = (yyscan_t) _mesa_glsl_alloc ( sizeof( struct yyguts_t ), NULL ); in _mesa_glsl_lex_init() 3514 if (*ptr_yy_globals == NULL){ in _mesa_glsl_lex_init() 3520 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); in _mesa_glsl_lex_init() 3522 return yy_init_globals ( *ptr_yy_globals ); in _mesa_glsl_lex_init() 3533 int _mesa_glsl_lex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals ) in _mesa_glsl_lex_init_extra() argument 3540 if (ptr_yy_globals == NULL){ in _mesa_glsl_lex_init_extra() 3545 *ptr_yy_globals = (yyscan_t) _mesa_glsl_alloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); in _mesa_glsl_lex_init_extra() 3547 if (*ptr_yy_globals == NULL){ in _mesa_glsl_lex_init_extra() [all …]
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | glslang_lex.cpp | 2697 int yylex_init(yyscan_t* ptr_yy_globals) in yylex_init() argument 2700 if (ptr_yy_globals == NULL){ in yylex_init() 2705 *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL ); in yylex_init() 2707 if (*ptr_yy_globals == NULL){ in yylex_init() 2713 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); in yylex_init() 2715 return yy_init_globals ( *ptr_yy_globals ); in yylex_init() 2726 int yylex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals ) in yylex_init_extra() argument 2733 if (ptr_yy_globals == NULL){ in yylex_init_extra() 2738 *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); in yylex_init_extra() 2740 if (*ptr_yy_globals == NULL){ in yylex_init_extra() [all …]
|