Lines Matching refs:l1
230 size_t l1, l2; in sdl_set_uri_credentials() local
238 l1 = s ? (size_t)(s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials()
243 if (l1 != l2) { in sdl_set_uri_credentials()
245 if (l1 > 11 && in sdl_set_uri_credentials()
247 ctx->sdl->source[l1-3] == ':' && in sdl_set_uri_credentials()
248 ctx->sdl->source[l1-2] == '8' && in sdl_set_uri_credentials()
249 ctx->sdl->source[l1-1] == '0') { in sdl_set_uri_credentials()
250 l1 -= 3; in sdl_set_uri_credentials()
260 if (l1 > 13 && in sdl_set_uri_credentials()
262 ctx->sdl->source[l1-4] == ':' && in sdl_set_uri_credentials()
263 ctx->sdl->source[l1-3] == '4' && in sdl_set_uri_credentials()
264 ctx->sdl->source[l1-2] == '4' && in sdl_set_uri_credentials()
265 ctx->sdl->source[l1-1] == '3') { in sdl_set_uri_credentials()
266 l1 -= 4; in sdl_set_uri_credentials()
277 if (l1 != l2 || memcmp(ctx->sdl->source, uri, l1) != 0) { in sdl_set_uri_credentials()