Home
last modified time | relevance | path

Searched refs:pattern_extra (Results 1 – 11 of 11) sorted by relevance

/dports/www/uwsgi/uwsgi-2.0.20/core/
H A Dregexp.c16 int uwsgi_regexp_build(char *re, pcre ** pattern, pcre_extra ** pattern_extra) { in uwsgi_regexp_build() argument
29 *pattern_extra = (pcre_extra *) pcre_study((const pcre *) *pattern, opt, &errstr); in uwsgi_regexp_build()
30 if (*pattern_extra == NULL && errstr != NULL) { in uwsgi_regexp_build()
40 int uwsgi_regexp_match(pcre * pattern, pcre_extra * pattern_extra, char *subject, int length) { in uwsgi_regexp_match() argument
42 …return pcre_exec((const pcre *) pattern, (const pcre_extra *) pattern_extra, subject, length, 0, 0… in uwsgi_regexp_match()
45 int uwsgi_regexp_match_ovec(pcre * pattern, pcre_extra * pattern_extra, char *subject, int length, … in uwsgi_regexp_match_ovec() argument
48 …return pcre_exec((const pcre *) pattern, (const pcre_extra *) pattern_extra, subject, length, 0, 0… in uwsgi_regexp_match_ovec()
50 …return pcre_exec((const pcre *) pattern, (const pcre_extra *) pattern_extra, subject, length, 0, 0… in uwsgi_regexp_match_ovec()
53 int uwsgi_regexp_ovector(pcre * pattern, pcre_extra * pattern_extra) { in uwsgi_regexp_ovector() argument
57 …if (pcre_fullinfo((const pcre *) pattern, (const pcre_extra *) pattern_extra, PCRE_INFO_CAPTURECOU… in uwsgi_regexp_ovector()
H A Dstatic.c42 if (uwsgi_regexp_match(url->pattern, url->pattern_extra, filename, *filename_len) >= 0) { in uwsgi_static_want_gzip()
228 if (uwsgi_regexp_match(udd->pattern, udd->pattern_extra, filename, filename_len) >= 0) { in uwsgi_add_expires()
241 if (uwsgi_regexp_match(udd->pattern, udd->pattern_extra, filename, filename_len) >= 0) { in uwsgi_add_expires()
263 …if (uwsgi_regexp_match(udd->pattern, udd->pattern_extra, wsgi_req->path_info, wsgi_req->path_info_… in uwsgi_add_expires_path_info()
276 …if (uwsgi_regexp_match(udd->pattern, udd->pattern_extra, wsgi_req->path_info, wsgi_req->path_info_… in uwsgi_add_expires_path_info()
298 if (uwsgi_regexp_match(udd->pattern, udd->pattern_extra, wsgi_req->uri, wsgi_req->uri_len) >= 0) { in uwsgi_add_expires_uri()
311 if (uwsgi_regexp_match(udd->pattern, udd->pattern_extra, wsgi_req->uri, wsgi_req->uri_len) >= 0) { in uwsgi_add_expires_uri()
H A Drouting.c214 …n = uwsgi_regexp_match_ovec(routes->pattern, routes->pattern_extra, subject, subject_len, routes->… in uwsgi_apply_routes_do()
509 if (uwsgi_regexp_build(ur->orig_route, &ur->pattern, &ur->pattern_extra)) { in uwsgi_fixup_routes()
515 ur->ovn[i] = uwsgi_regexp_ovector(ur->pattern, ur->pattern_extra); in uwsgi_fixup_routes()
1488 pcre_extra *pattern_extra; in uwsgi_route_condition_regexp() local
1490 if (uwsgi_regexp_build(re, &pattern, &pattern_extra)) { in uwsgi_route_condition_regexp()
1497 ur->ovn[wsgi_req->async_id] = uwsgi_regexp_ovector(pattern, pattern_extra); in uwsgi_route_condition_regexp()
1502 …if (uwsgi_regexp_match_ovec(pattern, pattern_extra, ur->condition_ub[wsgi_req->async_id]->buf, ur-… in uwsgi_route_condition_regexp()
1505 pcre_free_study(pattern_extra); in uwsgi_route_condition_regexp()
1507 pcre_free(pattern_extra); in uwsgi_route_condition_regexp()
1514 pcre_free_study(pattern_extra); in uwsgi_route_condition_regexp()
[all …]
H A Dalarm.c173 if (uwsgi_regexp_build(regexp, &ual->pattern, &ual->pattern_extra)) { in uwsgi_alarm_log_add()
386 if (uwsgi_regexp_match(ual->pattern, ual->pattern_extra, msg, len) >= 0) { in uwsgi_alarm_log_check()
H A Dlogging.c1415 … if (uwsgi_regexp_match(url->pattern, url->pattern_extra, uwsgi.log_master_buf, rlen) >= 0) {
1424 … if (uwsgi_regexp_match(url->pattern, url->pattern_extra, uwsgi.log_master_buf, rlen) >= 0) {
1437 … if (uwsgi_regexp_match(url->pattern, url->pattern_extra, uwsgi.log_master_buf, rlen) >= 0) {
1481 … if (uwsgi_regexp_match(url->pattern, url->pattern_extra, uwsgi.log_master_buf, rlen) >= 0) {
H A Dssl.c151 …if (uwsgi_regexp_match(url->pattern, url->pattern_extra, (char *)servername, servername_len) >= 0)… in uwsgi_sni_cb()
H A Dutils.c2323 if (uwsgi_regexp_build(value, &url->pattern, &url->pattern_extra)) { in uwsgi_regexp_custom_new_list()
H A Duwsgi.c4467 if (uwsgi_regexp_build(regexp, &new_udd->pattern, &new_udd->pattern_extra)) {
/dports/net/ngrep/ngrep-1.45/
H A Dngrep.c136 pcre_extra *pattern_extra = NULL; variable
530 pattern_extra = pcre_study(pattern, 0, (const char **)&re_err); in main()
1325 if (pattern_extra) pcre_free(pattern_extra); in clean_exit()
/dports/www/uwsgi/uwsgi-2.0.20/
H A Duwsgi.h460 pcre_extra *pattern_extra; member
475 pcre_extra *pattern_extra; member
1183 pcre_extra *pattern_extra; member
1300 pcre_extra *pattern_extra; member
/dports/www/uwsgi/uwsgi-2.0.20/plugins/php/
H A Dphp_plugin.c809 …if (uwsgi_regexp_match(bypass->pattern, bypass->pattern_extra, wsgi_req->uri, wsgi_req->uri_len) >…