Home
last modified time | relevance | path

Searched refs:sm_match (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/usr.sbin/httpd/
Dpatterns.c682 if ((m->sm_match = calloc(ret, sizeof(char *))) == NULL) { in str_match()
692 if ((m->sm_match[i] = strndup(string + in str_match()
709 free(m->sm_match[i]); in str_match_free()
710 free(m->sm_match); in str_match_free()
711 m->sm_match = NULL; in str_match_free()
Dpatterns.h34 char **sm_match; /* allocated array of matched strings */ member
Dserver_http.c1130 if ((str = url_encode(clt->clt_srv_match.sm_match[n])) == NULL) in server_expand_http()
/openbsd/src/regress/usr.sbin/httpd/patterns/
Dpatterns-tester.c92 printf("%ld: %s\n", i, m.sm_match[i]); in main()