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
void pktloc__flush_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner)
{
    struct yyguts_t* yyg = (struct yyguts_t*)yyscanner;
    if (!b)
        return;

    b->yy_n_chars = 0;

    /* We always need two end-of-buffer characters.  The first causes
     * a transition to the end-of-buffer state.  The second causes
     * a jam in that state.
     */
    b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
    b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;

    b->yy_buf_pos = &b->yy_ch_buf[0];

    b->yy_at_bol = 1;
    b->yy_buffer_status = YY_BUFFER_NEW;

    if (b == YY_CURRENT_BUFFER)
        pktloc__load_buffer_state(yyscanner);
}
/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
 * @param yyscanner The scanner object.
 */
Discard all buffered characters. On the next scan, YY_INPUT will be called.
@param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
@param yyscanner The scanner object.
Discard all buffered characters . On the next scan YY_INPUT will be called . @param b the buffer state to be flushed usually @c YY_CURRENT_BUFFER . @param yyscanner The scanner object .
void pktloc__flush_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner)
{
    struct yyguts_t* yyg = (struct yyguts_t*)yyscanner;
    if (!b)
        return;
    b->yy_n_chars = 0;
    b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
    b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
    b->yy_buf_pos = &b->yy_ch_buf[0];
    b->yy_at_bol = 1;
    b->yy_buffer_status = YY_BUFFER_NEW;
    if (b == YY_CURRENT_BUFFER)
        pktloc__load_buffer_state(yyscanner);
}
void pktloc__flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ) { struct yyguts_t * yyg = ( struct yyguts_t * ) yyscanner ; if ( ! b ) return ; b -> yy_n_chars = 0 ; b -> yy_ch_buf [ 0 ] = YY_END_OF_BUFFER_CHAR ; b -> yy_ch_buf [ 1 ] = YY_END_OF_BUFFER_CHAR ; b -> yy_buf_pos = & b -> yy_ch_buf [ 0 ] ; b -> yy_at_bol = 1 ; b -> yy_buffer_status = YY_BUFFER_NEW ; if ( b == YY_CURRENT_BUFFER ) pktloc__load_buffer_state ( yyscanner ) ; }
Discard all buffered characters.
Discard all buffered characters .
/* We always need two end-of-buffer characters.  The first causes
     * a transition to the end-of-buffer state.  The second causes
     * a jam in that state.
     */