Lines Matching refs:l1
232 int l1, l2; in sdl_set_uri_credentials() local
240 l1 = s ? (s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials()
245 if (l1 != l2) { in sdl_set_uri_credentials()
247 if (l1 > 11 && in sdl_set_uri_credentials()
249 ctx->sdl->source[l1-3] == ':' && in sdl_set_uri_credentials()
250 ctx->sdl->source[l1-2] == '8' && in sdl_set_uri_credentials()
251 ctx->sdl->source[l1-1] == '0') { in sdl_set_uri_credentials()
252 l1 -= 3; in sdl_set_uri_credentials()
262 if (l1 > 13 && in sdl_set_uri_credentials()
264 ctx->sdl->source[l1-4] == ':' && in sdl_set_uri_credentials()
265 ctx->sdl->source[l1-3] == '4' && in sdl_set_uri_credentials()
266 ctx->sdl->source[l1-2] == '4' && in sdl_set_uri_credentials()
267 ctx->sdl->source[l1-1] == '3') { in sdl_set_uri_credentials()
268 l1 -= 4; in sdl_set_uri_credentials()
279 if (l1 != l2 || memcmp(ctx->sdl->source, uri, l1) != 0) { in sdl_set_uri_credentials()