Lines Matching defs:l2
844 int i, l1, l2;
893 l2 = strlen((*worker)->s->name);
896 if ((*worker)->s->name[l2 - 1] == '/')
897 --l2;
898 if (l1 >= l2 + l3
899 && strncasecmp((*worker)->s->name, url, l2) == 0
900 && strncmp(urlpart, url + l2, l3) == 0) {
901 u = apr_pstrcat(r->pool, ent[i].fake, &url[l2 + l3],
906 else if (l1 >= l2 && strncasecmp((*worker)->s->name, url, l2) == 0) {
908 if ((ent[i].fake[0] == '/') && (ent[i].fake[1] == 0) && (url[l2] == '/')) {
909 u = apr_pstrdup(r->pool, &url[l2]);
911 u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL);
920 l2 = strlen(real);
936 if (l2 > 0 && l1 >= l2 && strncasecmp(real, part, l2) == 0) {
937 u = apr_pstrcat(r->pool, ent[i].fake, &part[l2], NULL);
966 apr_size_t l1, l2, poffs = 0, doffs = 0;
993 l2 = strlen(ent[i].fake);
994 if (l1 >= l2 && strncmp(ent[i].fake, pathp, l2) == 0) {
1015 l2 = strlen(ent[i].fake);
1016 if (l1 >= l2 && strncasecmp(ent[i].fake, domainp, l2) == 0) {
1028 l2 = strlen(newdomain);
1033 memcpy(ret + doffs + pdiff, newdomain, l2);
1034 strcpy(ret + doffs + pdiff + l2, domaine);
1038 memcpy(ret + doffs, newdomain, l2);
1039 memcpy(ret + doffs + l2, domaine, pathp - domaine);
1053 l2 = strlen(newdomain);
1055 memcpy(ret + doffs, newdomain, l2);
1056 strcpy(ret + doffs+l2, domaine);