Home
last modified time | relevance | path

Searched refs:uriptr (Results 1 – 4 of 4) sorted by relevance

/external/libcups/cgi-bin/
Dadmin.c623 *uriptr, /* Pointer into URI */ in do_am_printer() local
708 if ((uriptr = strrchr(var, '|')) != NULL) in do_am_printer()
718 *uriptr++ = '\0'; in do_am_printer()
720 strlcpy(make, uriptr, sizeof(make)); in do_am_printer()
741 cgiSetVariable("CURRENT_MAKE_AND_MODEL", uriptr); in do_am_printer()
748 cgiSetVariable("PRINTER_INFO", uriptr); in do_am_printer()
751 tptr < (template + sizeof(template) - 1) && *uriptr; in do_am_printer()
752 uriptr ++) in do_am_printer()
753 if (isalnum(*uriptr & 255) || *uriptr == '_' || *uriptr == '-' || in do_am_printer()
754 *uriptr == '.') in do_am_printer()
[all …]
/external/libcups/backend/
Dsnmp.c678 *uriptr, /* Pointer into URI */ in probe_device() local
715 for (uriptr = uri; *format && uriptr < (uri + sizeof(uri) - 1);) in probe_device()
722 strlcpy(uriptr, device->addrname, sizeof(uri) - (size_t)(uriptr - uri)); in probe_device()
723 uriptr += strlen(uriptr); in probe_device()
727 *uriptr++ = *format++; in probe_device()
729 *uriptr = '\0'; in probe_device()
/external/libcups/scheduler/
Dauth.c1379 *uriptr; /* Pointer into URI */ in cupsdFindBest() local
1413 if ((uriptr = strchr(uri, '?')) != NULL) in cupsdFindBest()
1414 *uriptr = '\0'; /* Drop trailing query string */ in cupsdFindBest()
1416 if ((uriptr = uri + strlen(uri) - 1) > uri && *uriptr == '/') in cupsdFindBest()
1417 *uriptr = '\0'; /* Remove trailing '/' */ in cupsdFindBest()
1426 uriptr = uri + strlen(uri) - 4; /* len > 4 if we get here... */ in cupsdFindBest()
1428 if (!strcmp(uriptr, ".ppd")) in cupsdFindBest()
1429 *uriptr = '\0'; in cupsdFindBest()
Dclient.c3207 char *uriptr; /* URI string pointer */ in pipe_command() local
3357 if ((uriptr = strchr(auth_type + 10, ' ')) != NULL) in pipe_command()
3358 *uriptr = '\0'; in pipe_command()
3383 if ((uriptr = strchr(script_name, '?')) != NULL) in pipe_command()
3384 *uriptr = '\0'; in pipe_command()