Lines Matching refs:l1
229 size_t l1, l2; in sdl_set_uri_credentials() local
237 l1 = s ? (size_t)(s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials()
242 if (l1 != l2) { in sdl_set_uri_credentials()
244 if (l1 > 11 && in sdl_set_uri_credentials()
246 ctx->sdl->source[l1-3] == ':' && in sdl_set_uri_credentials()
247 ctx->sdl->source[l1-2] == '8' && in sdl_set_uri_credentials()
248 ctx->sdl->source[l1-1] == '0') { in sdl_set_uri_credentials()
249 l1 -= 3; in sdl_set_uri_credentials()
259 if (l1 > 13 && in sdl_set_uri_credentials()
261 ctx->sdl->source[l1-4] == ':' && in sdl_set_uri_credentials()
262 ctx->sdl->source[l1-3] == '4' && in sdl_set_uri_credentials()
263 ctx->sdl->source[l1-2] == '4' && in sdl_set_uri_credentials()
264 ctx->sdl->source[l1-1] == '3') { in sdl_set_uri_credentials()
265 l1 -= 4; in sdl_set_uri_credentials()
276 if (l1 != l2 || memcmp(ctx->sdl->source, uri, l1) != 0) { in sdl_set_uri_credentials()