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

Function ap_expr_yy_scan_string

server/util_expr_scan.c:2246–2250  ·  view source on GitHub ↗

Setup the input buffer state to scan a string. The next call to ap_expr_yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * @param yyscanner The scanner object. * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * ap_expr_yy_scan_bytes() instead. */

Source from the content-addressed store, hash-verified

2244 * ap_expr_yy_scan_bytes() instead.
2245 */
2246YY_BUFFER_STATE ap_expr_yy_scan_string (yyconst char * yystr , yyscan_t yyscanner)
2247{
2248
2249 return ap_expr_yy_scan_bytes(yystr,strlen(yystr) ,yyscanner);
2250}
2251
2252/** Setup the input buffer state to scan the given bytes. The next call to ap_expr_yylex() will
2253 * scan from a @e copy of @a bytes.

Callers

nothing calls this directly

Calls 1

ap_expr_yy_scan_bytesFunction · 0.85

Tested by

no test coverage detected