Searched defs:expected (Results 1 - 3 of 3) sorted by relevance

/httpd/modules/lua/
H A Dlua_request.c1648 * ap_strcmp_match (const char *str, const char *expected)
1651 * @param expected The pattern to match against
1659 const char *expected; local
1664 expected = lua_tostring(L, 2);
1668 returnValue = ap_strcmp_match(str, expected);
1670 returnValue = ap_strcasecmp_match(str, expected);
/httpd/modules/proxy/
H A Dproxy_util.c467 if (tmp == addr) { /* expected a digit, found something else */
494 if (tmp == addr) { /* expected a digit, found something else */
1520 static int ap_proxy_strcmp_ematch(const char *str, const char *expected) argument
1524 for (x = 0, y = 0; expected[y]; ++y, ++x) {
1525 if ((!str[x]) && (expected[y] != '$' || !apr_isdigit(expected[y + 1])))
1527 if (expected[y] == '$' && apr_isdigit(expected[y + 1])) {
1528 while (expected[y] == '$' && apr_isdigit(expected[
[all...]
/httpd/server/
H A Dutil.c189 AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected) argument
193 for (x = 0, y = 0; expected[y]; ++y, ++x) {
194 if ((!str[x]) && (expected[y] != '*'))
196 if (expected[y] == '*') {
197 while (expected[++y] == '*');
198 if (!expected[y])
202 if ((ret = ap_strcmp_match(&str[x++], &expected[y])) != 1)
207 else if ((expected[y] != '?') && (str[x] != expected[y]))
213 AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *expected) argument
[all...]

Completed in 30 milliseconds