• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/apache-793/httpd/modules/mappers/

Lines Matching defs:a2

2656 static int parseargline(char *str, char **a1, char **a2, char **a3)
2693 *a2 = str;
2981 const char *a2)
2992 if (strncasecmp(a2, "txt:", 4) == 0) {
2993 if ((fname = ap_server_root_relative(cmd->pool, a2+4)) == NULL) {
2995 a2+4, NULL);
3004 else if (strncasecmp(a2, "rnd:", 4) == 0) {
3005 if ((fname = ap_server_root_relative(cmd->pool, a2+4)) == NULL) {
3007 a2+4, NULL);
3016 else if (strncasecmp(a2, "dbm", 3) == 0) {
3024 if (a2[3] == ':') {
3026 fname = a2+4;
3028 else if (a2[3] == '=') {
3029 const char *colon = ap_strchr_c(a2 + 4, ':');
3032 newmap->dbmtype = apr_pstrndup(cmd->pool, a2 + 4,
3033 colon - (a2 + 3) - 1);
3040 a2, NULL);
3057 else if ((strncasecmp(a2, "dbd:", 4) == 0)
3058 || (strncasecmp(a2, "fastdbd:", 8) == 0)) {
3062 if ((a2[0] == 'd') || (a2[0] == 'D')) {
3064 fname = a2+4;
3068 fname = a2+8;
3075 else if (strncasecmp(a2, "prg:", 4) == 0) {
3076 apr_tokenize_to_argv(a2 + 4, &newmap->argv, cmd->pool);
3088 else if (strncasecmp(a2, "int:", 4) == 0) {
3091 apr_hash_get(mapfunc_hash, a2+4, strlen(a2+4));
3094 a2+4, NULL);
3098 if ((fname = ap_server_root_relative(cmd->pool, a2)) == NULL) {
3100 a2, NULL);
3236 char *a2;
3255 if (parseargline(str, &a1, &a2, &a3)) {
3276 newcond->pattern = a2;
3277 if (*a2 == '!') {
3279 ++a2;
3287 else if (*a2 && a2[1]) {
3288 if (*a2 == '-') {
3289 if (!a2[2]) {
3290 switch (a2[1]) {
3302 else if (a2[3]) {
3303 switch (a2[1]) {
3305 if (a2[2] == 't') {
3306 a2 += 3;
3309 else if (a2[2] == 'e') {
3310 a2 += 3;
3316 if (a2[2] == 't') {
3317 a2 += 3;
3320 else if (a2[2] == 'e') {
3321 a2 += 3;
3327 if (a2[2] == 'q') {
3328 a2 += 3;
3334 if (a2[2] == 'e') {
3336 a2 += 3;
3345 switch (*a2) {
3346 case '>': if (*++a2 == '=')
3347 ++a2, newcond->ptype = CONDPAT_STR_GE;
3352 case '<': if (*++a2 == '=')
3353 ++a2, newcond->ptype = CONDPAT_STR_LE;
3360 if (*++a2 == '"' && a2[1] == '"' && !a2[2])
3361 a2 += 2;
3372 "is not supported and will be ignored. (%s:%d)", a2,
3377 newcond->pskip = a2 - newcond->pattern;
3381 regexp = ap_pregcomp(cmd->pool, a2,
3386 "expression '", a2, "'", NULL);
3394 newcond->expr = ap_expr_parse_cmd(cmd, a2, flags, &err, NULL);
3397 "expression \"%s\": %s", a2, err);
3655 char *a2;
3670 if (parseargline(str, &a1, &a2, &a3)) {
3712 newrule->output = a2;
3713 if (*a2 == '-' && !a2[1]) {