Lines Matching refs:mlen
399 size_t mlen = buffer_clen(k); in http_header_remap_host_match() local
400 if (1 == mlen && k->ptr[0] == '-') { in http_header_remap_host_match()
409 mlen = buffer_clen(k); in http_header_remap_host_match()
411 if (buffer_eq_icase_ss(s, alen, k->ptr, mlen)) { in http_header_remap_host_match()
451 const size_t mlen = buffer_clen(&ds->key); in http_header_remap_urlpath() local
452 if (mlen <= plen && 0 == memcmp(s, ds->key.ptr, mlen)) { in http_header_remap_urlpath()
455 buffer_substr_replace(b, off, mlen, &ds->value); in http_header_remap_urlpath()
463 const size_t mlen = buffer_clen(&ds->value); in http_header_remap_urlpath() local
464 if (mlen <= plen && 0 == memcmp(s, ds->value.ptr, mlen)) { in http_header_remap_urlpath()
465 buffer_substr_replace(b, off, mlen, &ds->key); in http_header_remap_urlpath()
471 const size_t mlen = buffer_clen(&ds->value); in http_header_remap_urlpath() local
472 if (mlen <= plen && 0 == memcmp(s, ds->value.ptr, mlen)) { in http_header_remap_urlpath()
473 buffer_substr_replace(b, off, mlen, &ds->key); in http_header_remap_urlpath()