MCPcopy Create free account
hub / github.com/apache/httpd / yy_try_NUL_trans

Function yy_try_NUL_trans

server/util_expr_scan.c:1832–1854  ·  view source on GitHub ↗

yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */

Source from the content-addressed store, hash-verified

1830 * next_state = yy_try_NUL_trans( current_state );
1831 */
1832 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
1833{
1834 register int yy_is_jam;
1835 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
1836 register char *yy_cp = yyg->yy_c_buf_p;
1837
1838 register YY_CHAR yy_c = 1;
1839 if ( yy_accept[yy_current_state] )
1840 {
1841 yyg->yy_last_accepting_state = yy_current_state;
1842 yyg->yy_last_accepting_cpos = yy_cp;
1843 }
1844 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1845 {
1846 yy_current_state = (int) yy_def[yy_current_state];
1847 if ( yy_current_state >= 124 )
1848 yy_c = yy_meta[(unsigned int) yy_c];
1849 }
1850 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1851 yy_is_jam = (yy_current_state == 123);
1852
1853 return yy_is_jam ? 0 : yy_current_state;
1854}
1855
1856#ifndef YY_NO_INPUT
1857#ifdef __cplusplus

Callers 1

util_expr_scan.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected