Lines Matching defs:tptr
1791 char *tptr;
1873 tptr = strchrnul(urlp, ' ');
1875 if (tptr[0] && strncmp(tptr + 1, HTTP_200, 5) == 0) {
1876 http_major_version = tptr[6];
1877 IF_FEATURE_HTTPD_PROXY(http_minor_version = tptr[8];)
1879 *tptr = '\0';
1882 urlcopy = alloca((tptr - urlp) + 2 + strlen(index_page));
1890 tptr = strchr(urlcopy, '?');
1891 if (tptr) {
1892 *tptr++ = '\0';
1893 g_query = tptr;
1897 tptr = decodeString(urlcopy, 0);
1898 if (tptr == NULL)
1900 if (tptr == urlcopy + 1) {
1908 urlp = tptr = urlcopy;
1912 if (*tptr == '/') {
1915 if (*tptr == '.') {
1917 if (tptr[1] == '/' || !tptr[1]) {
1921 if (tptr[1] == '.' && (tptr[2] == '/' || !tptr[2])) {
1922 ++tptr;
1930 *++urlp = *tptr;
1931 } while (*++tptr);
1945 tptr = urlcopy;
1947 while (ip_allowed && (tptr = strchr(tptr + 1, '/')) != NULL) {
1949 *tptr = '\0';
1955 *tptr = '/';
1998 tptr = skip_whitespace(iobuf + sizeof("Content-length:") - 1);
1999 if (!tptr[0])
2002 length = bb_strtou(tptr, NULL, 10);
2032 tptr = skip_whitespace(iobuf + sizeof("Authorization:")-1);
2033 if (STRNCASECMP(tptr, "Basic") != 0)
2035 tptr += sizeof("Basic")-1;
2037 decodeBase64(tptr);
2038 authorized = check_user_passwd(urlcopy, tptr);
2111 tptr = urlcopy + 1; /* skip first '/' */
2114 if (strncmp(tptr, "cgi-bin/", 8) == 0) {
2115 if (tptr[8] == '\0') {
2125 if (stat(tptr, &sb) == 0) {
2127 char *suffix = strrchr(tptr, '.');
2156 send_file_and_exit(tptr,
2160 send_file_and_exit(tptr, SEND_HEADERS_AND_BODY);