Changes of com.discord v1323
This commit is contained in:
parent
1234c09f33
commit
d9d9f382c9
28241 changed files with 0 additions and 4903974 deletions
|
@ -1,27 +0,0 @@
|
|||
.class public final Lokhttp3/internal/connection/RouteException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "RouteException.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final firstConnectException:Ljava/io/IOException;
|
||||
|
||||
.field public lastConnectException:Ljava/io/IOException;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/IOException;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "firstConnectException"
|
||||
|
||||
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
iput-object p1, p0, Lokhttp3/internal/connection/RouteException;->firstConnectException:Ljava/io/IOException;
|
||||
|
||||
iput-object p1, p0, Lokhttp3/internal/connection/RouteException;->lastConnectException:Ljava/io/IOException;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,13 +0,0 @@
|
|||
.class public final Lokhttp3/internal/http2/ConnectionShutdownException;
|
||||
.super Ljava/io/IOException;
|
||||
.source "ConnectionShutdownException.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/io/IOException;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,37 +0,0 @@
|
|||
.class public final Lokhttp3/internal/http2/StreamResetException;
|
||||
.super Ljava/io/IOException;
|
||||
.source "StreamResetException.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final errorCode:Lc0/h0/j/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lc0/h0/j/a;)V
|
||||
.locals 2
|
||||
|
||||
const-string v0, "errorCode"
|
||||
|
||||
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v1, "stream was reset: "
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iput-object p1, p0, Lokhttp3/internal/http2/StreamResetException;->errorCode:Lc0/h0/j/a;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,239 +0,0 @@
|
|||
.class public final Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PublicSuffixDatabase.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
.locals 18
|
||||
|
||||
move-object/from16 v0, p1
|
||||
|
||||
move-object/from16 v1, p2
|
||||
|
||||
array-length v2, v0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v2, :cond_c
|
||||
|
||||
add-int v5, v4, v2
|
||||
|
||||
div-int/lit8 v5, v5, 0x2
|
||||
|
||||
:goto_1
|
||||
const/16 v6, 0xa
|
||||
|
||||
const/4 v7, -0x1
|
||||
|
||||
if-le v5, v7, :cond_0
|
||||
|
||||
aget-byte v8, v0, v5
|
||||
|
||||
int-to-byte v9, v6
|
||||
|
||||
if-eq v8, v9, :cond_0
|
||||
|
||||
add-int/lit8 v5, v5, -0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
const/4 v9, 0x1
|
||||
|
||||
:goto_2
|
||||
add-int v10, v5, v9
|
||||
|
||||
aget-byte v11, v0, v10
|
||||
|
||||
int-to-byte v12, v6
|
||||
|
||||
if-eq v11, v12, :cond_1
|
||||
|
||||
add-int/lit8 v9, v9, 0x1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
sub-int v6, v10, v5
|
||||
|
||||
move/from16 v11, p3
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
const/4 v13, 0x0
|
||||
|
||||
:goto_3
|
||||
const/16 v14, 0xff
|
||||
|
||||
if-eqz v9, :cond_2
|
||||
|
||||
const/16 v9, 0x2e
|
||||
|
||||
const/4 v15, 0x0
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_2
|
||||
aget-object v15, v1, v11
|
||||
|
||||
aget-byte v15, v15, v12
|
||||
|
||||
invoke-static {v15, v14}, Lc0/h0/c;->a(BI)I
|
||||
|
||||
move-result v15
|
||||
|
||||
move/from16 v17, v15
|
||||
|
||||
move v15, v9
|
||||
|
||||
move/from16 v9, v17
|
||||
|
||||
:goto_4
|
||||
add-int v16, v5, v13
|
||||
|
||||
aget-byte v3, v0, v16
|
||||
|
||||
invoke-static {v3, v14}, Lc0/h0/c;->a(BI)I
|
||||
|
||||
move-result v3
|
||||
|
||||
sub-int/2addr v9, v3
|
||||
|
||||
if-eqz v9, :cond_3
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_3
|
||||
add-int/lit8 v13, v13, 0x1
|
||||
|
||||
add-int/lit8 v12, v12, 0x1
|
||||
|
||||
if-ne v13, v6, :cond_4
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_4
|
||||
aget-object v3, v1, v11
|
||||
|
||||
array-length v3, v3
|
||||
|
||||
if-ne v3, v12, :cond_b
|
||||
|
||||
array-length v3, v1
|
||||
|
||||
sub-int/2addr v3, v8
|
||||
|
||||
if-ne v11, v3, :cond_a
|
||||
|
||||
:goto_5
|
||||
if-gez v9, :cond_5
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_5
|
||||
if-lez v9, :cond_6
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_6
|
||||
sub-int v3, v6, v13
|
||||
|
||||
aget-object v7, v1, v11
|
||||
|
||||
array-length v7, v7
|
||||
|
||||
sub-int/2addr v7, v12
|
||||
|
||||
add-int/lit8 v11, v11, 0x1
|
||||
|
||||
array-length v8, v1
|
||||
|
||||
:goto_6
|
||||
if-ge v11, v8, :cond_7
|
||||
|
||||
aget-object v9, v1, v11
|
||||
|
||||
array-length v9, v9
|
||||
|
||||
add-int/2addr v7, v9
|
||||
|
||||
add-int/lit8 v11, v11, 0x1
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_7
|
||||
if-ge v7, v3, :cond_8
|
||||
|
||||
:goto_7
|
||||
add-int/lit8 v2, v5, -0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_8
|
||||
if-le v7, v3, :cond_9
|
||||
|
||||
:goto_8
|
||||
add-int/lit8 v4, v10, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_9
|
||||
sget-object v1, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
||||
|
||||
const-string v2, "UTF_8"
|
||||
|
||||
invoke-static {v1, v2}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v2, Ljava/lang/String;
|
||||
|
||||
invoke-direct {v2, v0, v5, v6, v1}, Ljava/lang/String;-><init>([BIILjava/nio/charset/Charset;)V
|
||||
|
||||
goto :goto_9
|
||||
|
||||
:cond_a
|
||||
add-int/lit8 v11, v11, 0x1
|
||||
|
||||
const/4 v9, 0x1
|
||||
|
||||
const/4 v12, -0x1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_b
|
||||
move v9, v15
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_c
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_9
|
||||
return-object v2
|
||||
.end method
|
|
@ -1,829 +0,0 @@
|
|||
.class public final Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PublicSuffixDatabase.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final e:[B
|
||||
|
||||
.field public static final f:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static final g:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
||||
|
||||
.field public static final h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
.field public final b:Ljava/util/concurrent/CountDownLatch;
|
||||
|
||||
.field public c:[B
|
||||
|
||||
.field public d:[B
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
new-instance v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
const/16 v1, 0x2a
|
||||
|
||||
int-to-byte v1, v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-byte v1, v0, v2
|
||||
|
||||
sput-object v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->e:[B
|
||||
|
||||
const-string v0, "*"
|
||||
|
||||
invoke-static {v0}, Lf/h/a/f/f/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->f:Ljava/util/List;
|
||||
|
||||
new-instance v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
||||
|
||||
invoke-direct {v0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;-><init>()V
|
||||
|
||||
sput-object v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->g:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V
|
||||
|
||||
iput-object v0, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
new-instance v0, Ljava/util/concurrent/CountDownLatch;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
|
||||
|
||||
iput-object v0, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b:Ljava/util/concurrent/CountDownLatch;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/lang/String;)Ljava/lang/String;
|
||||
.locals 13
|
||||
|
||||
const-string v0, "domain"
|
||||
|
||||
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p1}, Ljava/net/IDN;->toUnicode(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "unicodeDomain"
|
||||
|
||||
invoke-static {v0, v1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c(Ljava/lang/String;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
invoke-virtual {v1, v3, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
:try_start_0
|
||||
invoke-virtual {p0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/InterruptedIOException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
:try_start_1
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Thread;->interrupt()V
|
||||
:try_end_1
|
||||
.catch Ljava/io/InterruptedIOException; {:try_start_1 .. :try_end_1} :catch_1
|
||||
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_0
|
||||
move-exception v4
|
||||
|
||||
:try_start_2
|
||||
sget-object v5, Lc0/h0/k/h;->c:Lc0/h0/k/h$a;
|
||||
|
||||
sget-object v5, Lc0/h0/k/h;->a:Lc0/h0/k/h;
|
||||
|
||||
const-string v6, "Failed to read public suffix list"
|
||||
|
||||
const/4 v7, 0x5
|
||||
|
||||
invoke-virtual {v5, v6, v7, v4}, Lc0/h0/k/h;->i(Ljava/lang/String;ILjava/lang/Throwable;)V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catch_1
|
||||
:try_start_3
|
||||
invoke-static {}, Ljava/lang/Thread;->interrupted()Z
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:goto_1
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
:cond_0
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
:try_start_4
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b:Ljava/util/concurrent/CountDownLatch;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/concurrent/CountDownLatch;->await()V
|
||||
:try_end_4
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_4 .. :try_end_4} :catch_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:catch_2
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
:cond_2
|
||||
:goto_2
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_3
|
||||
if-eqz v1, :cond_16
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
new-array v4, v1, [[B
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_4
|
||||
if-ge v5, v1, :cond_5
|
||||
|
||||
invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Ljava/lang/String;
|
||||
|
||||
sget-object v7, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
||||
|
||||
const-string v8, "UTF_8"
|
||||
|
||||
invoke-static {v7, v8}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
if-eqz v6, :cond_4
|
||||
|
||||
invoke-virtual {v6, v7}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const-string v7, "(this as java.lang.String).getBytes(charset)"
|
||||
|
||||
invoke-static {v6, v7}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
aput-object v6, v4, v5
|
||||
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
new-instance p1, Lkotlin/TypeCastException;
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
||||
|
||||
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_5
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_5
|
||||
const-string v6, "publicSuffixListBytes"
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
if-ge v5, v1, :cond_8
|
||||
|
||||
sget-object v8, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
iget-object v9, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
|
||||
if-eqz v9, :cond_7
|
||||
|
||||
invoke-static {v8, v9, v4, v5}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
if-eqz v8, :cond_6
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_6
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_7
|
||||
invoke-static {v6}, Ly/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v7
|
||||
|
||||
:cond_8
|
||||
move-object v8, v7
|
||||
|
||||
:goto_6
|
||||
if-le v1, v2, :cond_b
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, [[B
|
||||
|
||||
array-length v9, v5
|
||||
|
||||
sub-int/2addr v9, v2
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
:goto_7
|
||||
if-ge v10, v9, :cond_b
|
||||
|
||||
sget-object v11, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->e:[B
|
||||
|
||||
aput-object v11, v5, v10
|
||||
|
||||
sget-object v11, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
iget-object v12, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
|
||||
if-eqz v12, :cond_a
|
||||
|
||||
invoke-static {v11, v12, v5, v10}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
if-eqz v11, :cond_9
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_9
|
||||
add-int/lit8 v10, v10, 0x1
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_a
|
||||
invoke-static {v6}, Ly/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v7
|
||||
|
||||
:cond_b
|
||||
move-object v11, v7
|
||||
|
||||
:goto_8
|
||||
if-eqz v11, :cond_e
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_9
|
||||
if-ge v5, v1, :cond_e
|
||||
|
||||
sget-object v6, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
iget-object v9, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->d:[B
|
||||
|
||||
if-eqz v9, :cond_d
|
||||
|
||||
invoke-static {v6, v9, v4, v5}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
if-eqz v6, :cond_c
|
||||
|
||||
goto :goto_a
|
||||
|
||||
:cond_c
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_9
|
||||
|
||||
:cond_d
|
||||
const-string p1, "publicSuffixExceptionListBytes"
|
||||
|
||||
invoke-static {p1}, Ly/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v7
|
||||
|
||||
:cond_e
|
||||
move-object v6, v7
|
||||
|
||||
:goto_a
|
||||
const/4 v1, 0x6
|
||||
|
||||
const/16 v4, 0x2e
|
||||
|
||||
const/16 v5, 0x21
|
||||
|
||||
if-eqz v6, :cond_f
|
||||
|
||||
new-instance v8, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {v8, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
new-array v8, v2, [C
|
||||
|
||||
aput-char v4, v8, v3
|
||||
|
||||
invoke-static {v6, v8, v3, v3, v1}, Ly/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_d
|
||||
|
||||
:cond_f
|
||||
if-nez v8, :cond_10
|
||||
|
||||
if-nez v11, :cond_10
|
||||
|
||||
sget-object v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->f:Ljava/util/List;
|
||||
|
||||
goto :goto_d
|
||||
|
||||
:cond_10
|
||||
if-eqz v8, :cond_11
|
||||
|
||||
new-array v6, v2, [C
|
||||
|
||||
aput-char v4, v6, v3
|
||||
|
||||
invoke-static {v8, v6, v3, v3, v1}, Ly/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
goto :goto_b
|
||||
|
||||
:cond_11
|
||||
sget-object v6, Ly/i/l;->d:Ly/i/l;
|
||||
|
||||
:goto_b
|
||||
if-eqz v11, :cond_12
|
||||
|
||||
new-array v8, v2, [C
|
||||
|
||||
aput-char v4, v8, v3
|
||||
|
||||
invoke-static {v11, v8, v3, v3, v1}, Ly/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_c
|
||||
|
||||
:cond_12
|
||||
sget-object v1, Ly/i/l;->d:Ly/i/l;
|
||||
|
||||
:goto_c
|
||||
invoke-interface {v6}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v4
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v8
|
||||
|
||||
if-le v4, v8, :cond_13
|
||||
|
||||
move-object v1, v6
|
||||
|
||||
:cond_13
|
||||
:goto_d
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v4
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v6
|
||||
|
||||
if-ne v4, v6, :cond_14
|
||||
|
||||
invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eq v4, v5, :cond_14
|
||||
|
||||
return-object v7
|
||||
|
||||
:cond_14
|
||||
invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
|
||||
|
||||
move-result v3
|
||||
|
||||
if-ne v3, v5, :cond_15
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
goto :goto_e
|
||||
|
||||
:cond_15
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
add-int/2addr v1, v2
|
||||
|
||||
:goto_e
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
invoke-virtual {p0, p1}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c(Ljava/lang/String;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ly/i/f;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1, v0}, Ly/i/s;->drop(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/16 v8, 0x3e
|
||||
|
||||
const-string v2, "."
|
||||
|
||||
invoke-static/range {v1 .. v8}, Ly/i/s;->joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_16
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Unable to load publicsuffixes.gz resource from the classpath."
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b()V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-class v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
||||
|
||||
const-string v1, "publicsuffixes.gz"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/Class;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
new-instance v1, Ld0/l;
|
||||
|
||||
const-string v2, "$this$source"
|
||||
|
||||
invoke-static {v0, v2}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v2, Ld0/n;
|
||||
|
||||
new-instance v3, Ld0/y;
|
||||
|
||||
invoke-direct {v3}, Ld0/y;-><init>()V
|
||||
|
||||
invoke-direct {v2, v0, v3}, Ld0/n;-><init>(Ljava/io/InputStream;Ld0/y;)V
|
||||
|
||||
invoke-direct {v1, v2}, Ld0/l;-><init>(Ld0/x;)V
|
||||
|
||||
const-string v0, "$this$buffer"
|
||||
|
||||
invoke-static {v1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ld0/r;
|
||||
|
||||
invoke-direct {v0, v1}, Ld0/r;-><init>(Ld0/x;)V
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {v0}, Ld0/g;->readInt()I
|
||||
|
||||
move-result v1
|
||||
|
||||
int-to-long v1, v1
|
||||
|
||||
invoke-interface {v0, v1, v2}, Ld0/g;->o0(J)[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v0}, Ld0/g;->readInt()I
|
||||
|
||||
move-result v2
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
invoke-interface {v0, v2, v3}, Ld0/g;->o0(J)[B
|
||||
|
||||
move-result-object v2
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {v0, v3}, Ly/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
:try_start_1
|
||||
iput-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
iput-object v2, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->d:[B
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
iget-object v0, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b:Ljava/util/concurrent/CountDownLatch;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
:try_start_2
|
||||
invoke-static {}, Ly/n/c/j;->throwNpe()V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
throw v3
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
:try_start_3
|
||||
invoke-static {}, Ly/n/c/j;->throwNpe()V
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
throw v3
|
||||
|
||||
:goto_0
|
||||
monitor-exit p0
|
||||
|
||||
throw v0
|
||||
|
||||
:catchall_1
|
||||
move-exception v1
|
||||
|
||||
:try_start_4
|
||||
throw v1
|
||||
:try_end_4
|
||||
.catchall {:try_start_4 .. :try_end_4} :catchall_2
|
||||
|
||||
:catchall_2
|
||||
move-exception v2
|
||||
|
||||
invoke-static {v0, v1}, Ly/i/s;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v2
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final c(Ljava/lang/String;)Ljava/util/List;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
")",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
new-array v1, v0, [C
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/16 v3, 0x2e
|
||||
|
||||
aput-char v3, v1, v2
|
||||
|
||||
const/4 v3, 0x6
|
||||
|
||||
invoke-static {p1, v1, v2, v2, v3}, Ly/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ly/i/f;->last(Ljava/util/List;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Ljava/lang/String;
|
||||
|
||||
const-string v3, ""
|
||||
|
||||
invoke-static {v1, v3}, Ly/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
const-string v1, "$this$dropLast"
|
||||
|
||||
invoke-static {p1, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v1, v0
|
||||
|
||||
if-gez v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move v2, v1
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1, v2}, Ly/i/f;->take(Ljava/lang/Iterable;I)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:cond_1
|
||||
return-object p1
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue