openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/build/lib/route/pktloc_grammar.c
static void pktloc__init_buffer(YY_BUFFER_STATE b, FILE* file,
                                yyscan_t yyscanner)

{
    int oerrno = errno;
    struct yyguts_t* yyg = (struct yyguts_t*)yyscanner;

    pktloc__flush_buffer(b, yyscanner);

    b->yy_input_file = file;
    b->yy_fill_buffer = 1;

    /* If b is the current buffer, then pktloc__init_buffer was _probably_
     * called from pktloc_restart() or through yy_get_next_buffer.
     * In that case, we don't want to reset the lineno or column.
     */
    if (b != YY_CURRENT_BUFFER)
    {
        b->yy_bs_lineno = 1;
        b->yy_bs_column = 0;
    }

    b->yy_is_interactive = file ? (isatty(fileno(file)) > 0) : 0;

    errno = oerrno;
}
/* Initializes or reinitializes a buffer.
 * This function is sometimes called more than once on the same buffer,
 * such as during a pktloc_restart() or at EOF.
 */
Initializes or reinitializes a buffer.
This function is sometimes called more than once on the same buffer,
such as during a pktloc_restart() or at EOF.
Initializes or reinitializes a buffer . This function is sometimes called more than once on the same buffer such as during a pktloc_restart () or at EOF .
static void pktloc__init_buffer(YY_BUFFER_STATE b, FILE* file,
                                yyscan_t yyscanner)
{
    int oerrno = errno;
    struct yyguts_t* yyg = (struct yyguts_t*)yyscanner;
    pktloc__flush_buffer(b, yyscanner);
    b->yy_input_file = file;
    b->yy_fill_buffer = 1;
    if (b != YY_CURRENT_BUFFER)
    {
        b->yy_bs_lineno = 1;
        b->yy_bs_column = 0;
    }
    b->yy_is_interactive = file ? (isatty(fileno(file)) > 0) : 0;
    errno = oerrno;
}
static void pktloc__init_buffer ( YY_BUFFER_STATE b , FILE * file , yyscan_t yyscanner ) { int oerrno = errno ; struct yyguts_t * yyg = ( struct yyguts_t * ) yyscanner ; pktloc__flush_buffer ( b , yyscanner ) ; b -> yy_input_file = file ; b -> yy_fill_buffer = 1 ; if ( b != YY_CURRENT_BUFFER ) { b -> yy_bs_lineno = 1 ; b -> yy_bs_column = 0 ; } b -> yy_is_interactive = file ? ( isatty ( fileno ( file ) ) > 0 ) : 0 ; errno = oerrno ; }
Initializes or reinitializes a buffer.
Initializes or reinitializes a buffer .
/* If b is the current buffer, then pktloc__init_buffer was _probably_
     * called from pktloc_restart() or through yy_get_next_buffer.
     * In that case, we don't want to reset the lineno or column.
     */