Searched refs:mask (Results 1 - 15 of 15) sorted by relevance

/httpd/support/
H A Dhtpasswd.c160 struct passwd_ctx *ctx, unsigned *mask, char **user,
179 *mask |= APHTP_NEWFILE;
183 *mask |= APHTP_NOFILE;
186 *mask |= APHTP_DELUSER;
189 *mask |= APHTP_VERIFY;
204 if ((*mask) & (*mask - 1)) {
210 if ((*mask & APHTP_VERIFY) && ctx->passwd_src == PW_PROMPT)
223 if (!(*mask & APHTP_NOFILE)) {
285 unsigned mask local
159 check_args(int argc, const char *const argv[], struct passwd_ctx *ctx, unsigned *mask, char **user, char **pwfilename) argument
[all...]
/httpd/test/
H A Dcls.c24 * Compare a string to a mask
33 static int checkmask(const char *data, const char *mask) argument
37 for (i = 0; mask[i] != '\0' && mask[i] != '*'; i++) {
38 ch = mask[i];
60 if (mask[i] == '*')
/httpd/modules/aaa/
H A Dmod_authz_host.c113 char *mask; local
124 if ((mask = ap_strchr(addr, '/')))
125 *mask++ = '\0';
127 rv = apr_ipsubnet_create(ip, addr, mask, p);
/httpd/server/
H A Dapreq_util.c224 * 110bbbba 10aaaaaa minimality mask: 0x1E
245 register unsigned char trail = 0, saw_cntrl = 0, mask = 0; local
251 if ((*s & 0xC0) == 0x80 && (mask == 0 || (mask & *s))) {
252 mask = 0;
287 mask = 0;
295 mask = (*s & 0x0F) ? 0 : 0x20;
300 mask = (*s & 0x07) ? 0 : 0x30;
305 mask = (*s & 0x03) ? 0 : 0x38;
310 mask
[all...]
H A Dutil_expr_eval.c1653 const char *mask; local
1663 mask = ap_strchr_c(addr, '/');
1664 if (mask) {
1665 addr = apr_pstrmemdup(parms->ptemp, addr, mask - addr);
1666 mask++;
1669 ret = apr_ipsubnet_create(&subnet, addr, mask, parms->pool);
H A Dcore.c3207 const char *addr, *mask, *err; local
3219 mask = ap_strchr_c(addr, '/');
3220 if (mask) {
3221 addr = apr_pstrmemdup(cmd->temp_pool, addr, mask - addr);
3222 mask++;
3224 ret = apr_ipsubnet_create(&entry->subnet, addr, mask, cmd->pool);
/httpd/include/
H A Dhttp_protocol.h303 * This is a convenience macro to ease with checking a mask
306 #define AP_METHOD_CHECK_ALLOWED(mask, methname) \
307 ((mask) & (AP_METHOD_BIT << ap_method_number_of((methname))))
/httpd/modules/http/
H A Dhttp_request.c711 apr_int64_t mask; local
721 mask = 0;
724 mask |= (AP_METHOD_BIT << method);
728 r->allowed_methods->method_mask |= mask;
H A Dhttp_protocol.c1010 /* Build the Allow field-value from the request handler method mask.
1014 apr_int64_t mask; local
1021 mask = r->allowed_methods->method_mask;
1028 if ((mask & (AP_METHOD_BIT << *(int *)val)) != 0) {
1043 if ((mask & (AP_METHOD_BIT << M_INVALID))
/httpd/modules/ssl/
H A Dssl_ct_util.c524 apr_uint64_t mask; local
531 mask = (apr_uint64_t)0xFF << (num_bits - 8);
534 **mem = (unsigned char)((val & mask) >> shift);
537 mask = mask >> 8;
/httpd/modules/lua/
H A Dlua_request.c2258 unsigned char ubyte, fin, opcode, mask, payload; local
2265 /* Get the payload length and mask bit */
2275 mask = ubyte >> (CHAR_BIT - 1);
2321 mask ? "on" : "off",
2323 if (mask) {
2364 if (mask) {
2486 unsigned char mask = len >> 7; local
2487 if (mask) len -= 128;
2502 if (mask) {
/httpd/modules/metadata/
H A Dmod_mime_magic.c163 unsigned long mask; /* mask before comparison with value */ member in struct:magic
1223 m->mask = signextend(serv, m, strtol(l, &l, 0));
1226 m->mask = ~0L;
1738 v = signextend(r->server, m, v) & m->mask;
1880 v = signextend(r->server, m, v) & m->mask;
/httpd/modules/proxy/
H A Dproxy_util.c443 * if (proxy_readmask(This->name, &This->addr.s_addr, &This->mask.s_addr) == 0)
444 * addr and mask were set by proxy_readmask()
487 if (addr[0] == '/' && apr_isdigit(addr[1])) { /* net mask follows: */
530 This->mask.s_addr = htonl(APR_INADDR_NONE << (32 - bits));
532 if (*addr == '\0' && (This->addr.s_addr & ~This->mask.s_addr) != 0) {
536 This->addr.s_addr &= This->mask.s_addr;
572 if (This->addr.s_addr == (addr.s_addr & This->mask.s_addr)) {
579 "%s", inet_ntoa(This->mask));
590 "%s", inet_ntoa(This->mask));
610 if (This->addr.s_addr == (ip->s_addr & This->mask
[all...]
H A Dmod_proxy.h120 struct in_addr addr, mask; member in struct:dirconn_entry
H A Dmod_proxy.c1948 "Parsed mask %s", inet_ntoa(New->mask));

Completed in 109 milliseconds