• Home
  • Raw
  • Download

Lines Matching refs:commptr

3205   char		*commptr,		/* Command string pointer */  in pipe_command()  local
3265 if ((commptr = strchr(argbuf, '?')) == NULL) in pipe_command()
3266 commptr = argbuf + strlen(argbuf); in pipe_command()
3268 commch = *commptr; in pipe_command()
3269 *commptr = '\0'; in pipe_command()
3271 *commptr = commch; in pipe_command()
3275 commptr = argbuf; in pipe_command()
3278 if (*commptr == ' ') in pipe_command()
3279 commptr ++; in pipe_command()
3282 if (*commptr == '?' && con->operation == HTTP_STATE_GET && !con->query_string) in pipe_command()
3284 commptr ++; in pipe_command()
3285 cupsdSetStringf(&(con->query_string), "QUERY_STRING=%s", commptr); in pipe_command()
3290 if (*commptr) in pipe_command()
3292 argv[argc ++] = commptr; in pipe_command()
3294 for (; *commptr && argc < 99; commptr ++) in pipe_command()
3300 if (*commptr == ' ' || *commptr == '+') in pipe_command()
3302 while (*commptr == ' ' || *commptr == '+') in pipe_command()
3303 *commptr++ = '\0'; in pipe_command()
3309 if (*commptr) in pipe_command()
3311 argv[argc] = commptr; in pipe_command()
3317 else if (*commptr == '%' && isxdigit(commptr[1] & 255) && in pipe_command()
3318 isxdigit(commptr[2] & 255)) in pipe_command()
3324 if (commptr[1] >= '0' && commptr[1] <= '9') in pipe_command()
3325 *commptr = (char)((commptr[1] - '0') << 4); in pipe_command()
3327 *commptr = (char)((tolower(commptr[1]) - 'a' + 10) << 4); in pipe_command()
3329 if (commptr[2] >= '0' && commptr[2] <= '9') in pipe_command()
3330 *commptr |= commptr[2] - '0'; in pipe_command()
3332 *commptr |= tolower(commptr[2]) - 'a' + 10; in pipe_command()
3334 _cups_strcpy(commptr + 1, commptr + 3); in pipe_command()
3340 if (!*commptr) in pipe_command()