Lines Matching refs:s
231 char *s; in sdl_set_uri_credentials() local
237 s = strstr(ctx->sdl->source, "://"); in sdl_set_uri_credentials()
238 if (!s) return; in sdl_set_uri_credentials()
239 s = strchr(s+3, '/'); in sdl_set_uri_credentials()
240 l1 = s ? (s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials()
241 s = strstr((char*)uri, "://"); in sdl_set_uri_credentials()
242 if (!s) return; in sdl_set_uri_credentials()
243 s = strchr(s+3, '/'); in sdl_set_uri_credentials()
244 l2 = s ? (s - (char*)uri) : strlen((char*)uri); in sdl_set_uri_credentials()
288 s = strstr(Z_STRVAL_PP(header), "Authorization: Basic"); in sdl_set_uri_credentials()
289 if (s && (s == Z_STRVAL_PP(header) || *(s-1) == '\n' || *(s-1) == '\r')) { in sdl_set_uri_credentials()
290 char *rest = strstr(s, "\r\n"); in sdl_set_uri_credentials()
296 Z_STRLEN(new_header) = Z_STRLEN_PP(header) - (rest - s); in sdl_set_uri_credentials()
298 memcpy(Z_STRVAL(new_header), Z_STRVAL_PP(header), s - Z_STRVAL_PP(header)); in sdl_set_uri_credentials()
299 …memcpy(Z_STRVAL(new_header) + (s - Z_STRVAL_PP(header)), rest, Z_STRLEN_PP(header) - (rest - Z_STR… in sdl_set_uri_credentials()
1200 char *s; in sdl_deserialize_string() local
1207 s = emalloc(len+1); in sdl_deserialize_string()
1208 WSDL_CACHE_GET_N(s, len, in); in sdl_deserialize_string()
1209 s[len] = '\0'; in sdl_deserialize_string()
1210 return s; in sdl_deserialize_string()