Lines Matching refs:sptr
537 char *sptr, /* Pointer into string */ in httpAddrString() local
552 else if ((sptr = strchr(temps, '%')) != NULL) in httpAddrString()
558 *sptr = '+'; in httpAddrString()
568 for (sptr = temps, i = 0; i < 4 && addr->ipv6.sin6_addr.s6_addr32[i]; i ++) in httpAddrString()
572 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, (temp >> 16) & 0xffff); in httpAddrString()
574 sptr += strlen(sptr); in httpAddrString()
580 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, temp); in httpAddrString()
581 sptr += strlen(sptr); in httpAddrString()
592 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s:", prefix); in httpAddrString()
594 sptr += strlen(sptr); in httpAddrString()
603 … snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, (temp >> 16) & 0xffff); in httpAddrString()
604 sptr += strlen(sptr); in httpAddrString()
607 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, temp & 0xffff); in httpAddrString()
608 sptr += strlen(sptr); in httpAddrString()
611 else if (sptr == s) in httpAddrString()
625 strlcpy(sptr, "::", sizeof(temps) - (size_t)(sptr - temps)); in httpAddrString()