Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -3,12 +3,12 @@
|
|||
.source "BufferedSink.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lw/u;
|
||||
.implements Ljava/nio/channels/WritableByteChannel;
|
||||
.implements Lokio/v;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract D([B)Lokio/BufferedSink;
|
||||
.method public abstract a(Lw/w;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -16,10 +16,7 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract Ih()Lokio/f;
|
||||
.end method
|
||||
|
||||
.method public abstract Ii()Lokio/BufferedSink;
|
||||
.method public abstract a(Ljava/lang/String;)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -27,7 +24,7 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract Ij()Lokio/BufferedSink;
|
||||
.method public abstract a(Ljava/lang/String;II)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -35,7 +32,7 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract aI(J)Lokio/BufferedSink;
|
||||
.method public abstract a(Lokio/ByteString;)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -43,7 +40,7 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract aK(J)Lokio/BufferedSink;
|
||||
.method public abstract b(J)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -51,39 +48,7 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract b(Lokio/x;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract dB(I)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract dD(I)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract dF(I)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract et(Ljava/lang/String;)Lokio/BufferedSink;
|
||||
.method public abstract c(J)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -99,7 +64,10 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract k(Lokio/ByteString;)Lokio/BufferedSink;
|
||||
.method public abstract n()Lw/e;
|
||||
.end method
|
||||
|
||||
.method public abstract o()Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -107,7 +75,7 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract l([BII)Lokio/BufferedSink;
|
||||
.method public abstract write([B)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -115,7 +83,31 @@
|
|||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract q(Ljava/lang/String;II)Lokio/BufferedSink;
|
||||
.method public abstract write([BII)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract writeByte(I)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract writeInt(I)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract writeShort(I)Lokio/BufferedSink;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -23,82 +23,212 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(B)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/ByteString$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic E([B)Lokio/ByteString;
|
||||
.locals 2
|
||||
|
||||
array-length v0, p0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {p0, v1, v0}, Lokio/ByteString$a;->m([BII)Lokio/ByteString;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static ev(Ljava/lang/String;)Lokio/ByteString;
|
||||
.method public static bridge synthetic a(Lokio/ByteString$a;[BIII)Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "$receiver"
|
||||
and-int/lit8 v0, p4, 0x1
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->ex(Ljava/lang/String;)Lokio/ByteString;
|
||||
const/4 p2, 0x0
|
||||
|
||||
:cond_0
|
||||
and-int/lit8 p4, p4, 0x2
|
||||
|
||||
if-eqz p4, :cond_1
|
||||
|
||||
array-length p3, p1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0, p1, p2, p3}, Lokio/ByteString$a;->a([BII)Lokio/ByteString;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static ew(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "$receiver"
|
||||
# virtual methods
|
||||
.method public final a(Ljava/io/InputStream;I)Lokio/ByteString;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->ez(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method private static m([BII)Lokio/ByteString;
|
||||
.locals 6
|
||||
|
||||
const-string p1, "$receiver"
|
||||
|
||||
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
array-length p1, p0
|
||||
|
||||
int-to-long v0, p1
|
||||
|
||||
int-to-long v4, p2
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lokio/c;->a(JJJ)V
|
||||
|
||||
new-array p1, p2, [B
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {p0, v0, p1, v0, p2}, Lokio/b;->a([BI[BII)V
|
||||
if-ltz p2, :cond_0
|
||||
|
||||
new-instance p0, Lokio/ByteString;
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lokio/ByteString;-><init>([B)V
|
||||
goto :goto_0
|
||||
|
||||
return-object p0
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
new-array v1, p2, [B
|
||||
|
||||
:goto_1
|
||||
if-ge v0, p2, :cond_2
|
||||
|
||||
sub-int v2, p2, v0
|
||||
|
||||
invoke-virtual {p1, v1, v0, v2}, Ljava/io/InputStream;->read([BII)I
|
||||
|
||||
move-result v2
|
||||
|
||||
const/4 v3, -0x1
|
||||
|
||||
if-eq v2, v3, :cond_1
|
||||
|
||||
add-int/2addr v0, v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {p1}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Lokio/ByteString;
|
||||
|
||||
invoke-direct {p1, v1}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_3
|
||||
const-string p1, "byteCount < 0: "
|
||||
|
||||
invoke-static {p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_4
|
||||
const-string p1, "$receiver"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final a(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p1}, Lw/y/a;->a(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "$receiver"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final varargs a([B)Lokio/ByteString;
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p1}, Lw/y/a;->a([B)Lokio/ByteString;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "data"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final a([BII)Lokio/ByteString;
|
||||
.locals 7
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
array-length v0, p1
|
||||
|
||||
int-to-long v1, v0
|
||||
|
||||
int-to-long v3, p2
|
||||
|
||||
int-to-long v5, p3
|
||||
|
||||
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
|
||||
|
||||
new-array v0, p3, [B
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {p1, p2, v0, v1, p3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
new-instance p1, Lokio/ByteString;
|
||||
|
||||
invoke-direct {p1, v0}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "$receiver"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p1}, Lw/y/a;->b(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "$receiver"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
|
|
@ -26,60 +26,67 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final bBK:Lokio/ByteString;
|
||||
.field public static final f:Lokio/ByteString;
|
||||
|
||||
.field public static final bBL:Lokio/ByteString$a;
|
||||
.field public static final g:Lokio/ByteString$a;
|
||||
|
||||
.field private static final serialVersionUID:J = 0x1L
|
||||
.field public static final serialVersionUID:J = 0x1L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public transient aW:I
|
||||
|
||||
.field public transient bBJ:Ljava/lang/String;
|
||||
.field public transient d:I
|
||||
|
||||
.field public final data:[B
|
||||
|
||||
.field public transient e:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/ByteString$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/ByteString$a;-><init>(B)V
|
||||
invoke-direct {v0, v1}, Lokio/ByteString$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lokio/ByteString;->bBL:Lokio/ByteString$a;
|
||||
sput-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
|
||||
|
||||
invoke-static {}, Lokio/a/a;->IP()Lokio/ByteString;
|
||||
sget-object v0, Lw/y/a;->b:Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Lokio/ByteString;->bBK:Lokio/ByteString;
|
||||
sput-object v0, Lokio/ByteString;->f:Lokio/ByteString;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>([B)V
|
||||
.locals 1
|
||||
.locals 0
|
||||
|
||||
const-string v0, "data"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/ByteString;->data:[B
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "data"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public static final ev(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 0
|
||||
.method public static final c(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/ByteString$a;->ev(Ljava/lang/String;)Lokio/ByteString;
|
||||
sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
|
||||
|
||||
invoke-virtual {v0, p0}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
|
@ -87,7 +94,7 @@
|
|||
.end method
|
||||
|
||||
.method private final readObject(Ljava/io/ObjectInputStream;)V
|
||||
.locals 6
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
|
@ -98,72 +105,25 @@
|
|||
|
||||
move-result v0
|
||||
|
||||
check-cast p1, Ljava/io/InputStream;
|
||||
sget-object v1, Lokio/ByteString;->g:Lokio/ByteString$a;
|
||||
|
||||
const-string v1, "$receiver"
|
||||
invoke-virtual {v1, p1, v0}, Lokio/ByteString$a;->a(Ljava/io/InputStream;I)Lokio/ByteString;
|
||||
|
||||
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-ltz v0, :cond_0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v3, :cond_3
|
||||
|
||||
new-array v3, v0, [B
|
||||
|
||||
:goto_1
|
||||
if-ge v2, v0, :cond_2
|
||||
|
||||
sub-int v4, v0, v2
|
||||
|
||||
invoke-virtual {p1, v3, v2, v4}, Ljava/io/InputStream;->read([BII)I
|
||||
|
||||
move-result v4
|
||||
|
||||
const/4 v5, -0x1
|
||||
|
||||
if-eq v4, v5, :cond_1
|
||||
|
||||
add-int/2addr v2, v4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {p1}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Lokio/ByteString;
|
||||
|
||||
invoke-direct {p1, v3}, Lokio/ByteString;-><init>([B)V
|
||||
move-result-object p1
|
||||
|
||||
const-class v0, Lokio/ByteString;
|
||||
|
||||
const-string v2, "data"
|
||||
const-string v1, "data"
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
||||
invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v2, "field"
|
||||
const-string v1, "field"
|
||||
|
||||
invoke-static {v0, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v0, v1}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V
|
||||
|
||||
|
@ -172,29 +132,6 @@
|
|||
invoke-virtual {v0, p0, p1}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "byteCount < 0: "
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method private final writeObject(Ljava/io/ObjectOutputStream;)V
|
||||
|
@ -220,161 +157,51 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public Iu()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->p(Lokio/ByteString;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public Iv()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->q(Lokio/ByteString;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public Iw()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->r(Lokio/ByteString;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public Ix()I
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->s(Lokio/ByteString;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public Iy()[B
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->t(Lokio/ByteString;)[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public Iz()[B
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->u(Lokio/ByteString;)[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(Lokio/ByteString;I)Z
|
||||
.locals 1
|
||||
|
||||
const-string v0, "other"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {p0, v0, p1, v0, p2}, Lokio/a/a;->a(Lokio/ByteString;ILokio/ByteString;II)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/io/OutputStream;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "out"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/ByteString;->data:[B
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/io/OutputStream;->write([B)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Lokio/f;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "buffer"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/ByteString;->data:[B
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {p1, v0, v2, v1}, Lokio/f;->k([BII)Lokio/f;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic compareTo(Ljava/lang/Object;)I
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
const-string v0, "other"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0, p1}, Lokio/a/a;->b(Lokio/ByteString;Lokio/ByteString;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public dH(I)B
|
||||
.method public final a(I)B
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Lokio/a/a;->b(Lokio/ByteString;I)B
|
||||
invoke-virtual {p0, p1}, Lokio/ByteString;->b(I)B
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.method public a(Lokio/ByteString;)I
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Lokio/a/a;->a(Lokio/ByteString;Ljava/lang/Object;)Z
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p0, p1}, Lw/y/a;->a(Lokio/ByteString;Lokio/ByteString;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "other"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public eu(Ljava/lang/String;)Lokio/ByteString;
|
||||
.method public a()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lw/y/a;->a(Lokio/ByteString;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "algorithm"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Lokio/ByteString;
|
||||
|
||||
|
@ -390,55 +217,306 @@
|
|||
|
||||
const-string v1, "MessageDigest.getInstance(algorithm).digest(data)"
|
||||
|
||||
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p1, v1}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v0, p1}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "algorithm"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public f(I[BII)Z
|
||||
.method public a(Ljava/io/OutputStream;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "other"
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
iget-object v0, p0, Lokio/ByteString;->data:[B
|
||||
|
||||
invoke-static {p0, p1, p2, p3, p4}, Lokio/a/a;->a(Lokio/ByteString;I[BII)Z
|
||||
invoke-virtual {p1, v0}, Ljava/io/OutputStream;->write([B)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "out"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(Lw/e;)V
|
||||
.locals 3
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/ByteString;->data:[B
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
array-length v2, v0
|
||||
|
||||
invoke-virtual {p1, v0, v1, v2}, Lw/e;->write([BII)Lw/e;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "buffer"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(ILokio/ByteString;II)Z
|
||||
.locals 0
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-static {p0, p1, p2, p3, p4}, Lw/y/a;->a(Lokio/ByteString;ILokio/ByteString;II)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "other"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(I[BII)Z
|
||||
.locals 0
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-static {p0, p1, p2, p3, p4}, Lw/y/a;->a(Lokio/ByteString;I[BII)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "other"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public b(I)B
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Lw/y/a;->a(Lokio/ByteString;I)B
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.method public final b(Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/ByteString;->e:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final b(Lokio/ByteString;)Z
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p0, p1}, Lw/y/a;->b(Lokio/ByteString;Lokio/ByteString;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "prefix"
|
||||
|
||||
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b()[B
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->v(Lokio/ByteString;)I
|
||||
iget-object v0, p0, Lokio/ByteString;->data:[B
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final c()I
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Lokio/ByteString;->d:I
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final c(I)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lokio/ByteString;->d:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic compareTo(Ljava/lang/Object;)I
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p0, p1}, Lokio/ByteString;->a(Lokio/ByteString;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public d()I
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lw/y/a;->b(Lokio/ByteString;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final n(Lokio/ByteString;)Z
|
||||
.method public final e()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "prefix"
|
||||
iget-object v0, p0, Lokio/ByteString;->e:Ljava/lang/String;
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
invoke-static {p0, p1}, Lokio/a/a;->a(Lokio/ByteString;Lokio/ByteString;)Z
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Lw/y/a;->a(Lokio/ByteString;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.method public f()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lokio/a/a;->w(Lokio/ByteString;)Ljava/lang/String;
|
||||
invoke-static {p0}, Lw/y/a;->d(Lokio/ByteString;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public g()[B
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lw/y/a;->e(Lokio/ByteString;)[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public h()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "SHA-1"
|
||||
|
||||
invoke-virtual {p0, v0}, Lokio/ByteString;->a(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lw/y/a;->c(Lokio/ByteString;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public i()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "SHA-256"
|
||||
|
||||
invoke-virtual {p0, v0}, Lokio/ByteString;->a(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final j()I
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->d()I
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public k()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lw/y/a;->f(Lokio/ByteString;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public l()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lw/y/a;->h(Lokio/ByteString;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p0}, Lw/y/a;->g(Lokio/ByteString;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
|
@ -1,531 +0,0 @@
|
|||
.class public final Lokio/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "-Base64.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final bBs:[B
|
||||
|
||||
.field private static final bBt:[B
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lokio/ByteString;->bBL:Lokio/ByteString$a;
|
||||
|
||||
const-string v0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
||||
|
||||
invoke-static {v0}, Lokio/ByteString$a;->ev(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v0, v0, Lokio/ByteString;->data:[B
|
||||
|
||||
sput-object v0, Lokio/a;->bBs:[B
|
||||
|
||||
sget-object v0, Lokio/ByteString;->bBL:Lokio/ByteString$a;
|
||||
|
||||
const-string v0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||
|
||||
invoke-static {v0}, Lokio/ByteString$a;->ev(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v0, v0, Lokio/ByteString;->data:[B
|
||||
|
||||
sput-object v0, Lokio/a;->bBt:[B
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic A([B)Ljava/lang/String;
|
||||
.locals 11
|
||||
|
||||
sget-object v0, Lokio/a;->bBs:[B
|
||||
|
||||
const-string v1, "$receiver"
|
||||
|
||||
invoke-static {p0, v1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v1, "map"
|
||||
|
||||
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
array-length v1, p0
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
add-int/2addr v1, v2
|
||||
|
||||
div-int/lit8 v1, v1, 0x3
|
||||
|
||||
mul-int/lit8 v1, v1, 0x4
|
||||
|
||||
new-array v1, v1, [B
|
||||
|
||||
array-length v3, p0
|
||||
|
||||
array-length v4, p0
|
||||
|
||||
rem-int/lit8 v4, v4, 0x3
|
||||
|
||||
sub-int/2addr v3, v4
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v3, :cond_0
|
||||
|
||||
add-int/lit8 v6, v4, 0x1
|
||||
|
||||
aget-byte v4, p0, v4
|
||||
|
||||
add-int/lit8 v7, v6, 0x1
|
||||
|
||||
aget-byte v6, p0, v6
|
||||
|
||||
add-int/lit8 v8, v7, 0x1
|
||||
|
||||
aget-byte v7, p0, v7
|
||||
|
||||
add-int/lit8 v9, v5, 0x1
|
||||
|
||||
and-int/lit16 v10, v4, 0xff
|
||||
|
||||
shr-int/2addr v10, v2
|
||||
|
||||
aget-byte v10, v0, v10
|
||||
|
||||
aput-byte v10, v1, v5
|
||||
|
||||
add-int/lit8 v5, v9, 0x1
|
||||
|
||||
and-int/lit8 v4, v4, 0x3
|
||||
|
||||
shl-int/lit8 v4, v4, 0x4
|
||||
|
||||
and-int/lit16 v10, v6, 0xff
|
||||
|
||||
shr-int/lit8 v10, v10, 0x4
|
||||
|
||||
or-int/2addr v4, v10
|
||||
|
||||
aget-byte v4, v0, v4
|
||||
|
||||
aput-byte v4, v1, v9
|
||||
|
||||
add-int/lit8 v4, v5, 0x1
|
||||
|
||||
and-int/lit8 v6, v6, 0xf
|
||||
|
||||
shl-int/2addr v6, v2
|
||||
|
||||
and-int/lit16 v9, v7, 0xff
|
||||
|
||||
shr-int/lit8 v9, v9, 0x6
|
||||
|
||||
or-int/2addr v6, v9
|
||||
|
||||
aget-byte v6, v0, v6
|
||||
|
||||
aput-byte v6, v1, v5
|
||||
|
||||
add-int/lit8 v5, v4, 0x1
|
||||
|
||||
and-int/lit8 v6, v7, 0x3f
|
||||
|
||||
aget-byte v6, v0, v6
|
||||
|
||||
aput-byte v6, v1, v4
|
||||
|
||||
move v4, v8
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
array-length v6, p0
|
||||
|
||||
sub-int/2addr v6, v3
|
||||
|
||||
const/16 v3, 0x3d
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
if-eq v6, v7, :cond_2
|
||||
|
||||
if-eq v6, v2, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v6, v4, 0x1
|
||||
|
||||
aget-byte v4, p0, v4
|
||||
|
||||
aget-byte p0, p0, v6
|
||||
|
||||
add-int/lit8 v6, v5, 0x1
|
||||
|
||||
and-int/lit16 v7, v4, 0xff
|
||||
|
||||
shr-int/2addr v7, v2
|
||||
|
||||
aget-byte v7, v0, v7
|
||||
|
||||
aput-byte v7, v1, v5
|
||||
|
||||
add-int/lit8 v5, v6, 0x1
|
||||
|
||||
and-int/lit8 v4, v4, 0x3
|
||||
|
||||
shl-int/lit8 v4, v4, 0x4
|
||||
|
||||
and-int/lit16 v7, p0, 0xff
|
||||
|
||||
shr-int/lit8 v7, v7, 0x4
|
||||
|
||||
or-int/2addr v4, v7
|
||||
|
||||
aget-byte v4, v0, v4
|
||||
|
||||
aput-byte v4, v1, v6
|
||||
|
||||
add-int/lit8 v4, v5, 0x1
|
||||
|
||||
and-int/lit8 p0, p0, 0xf
|
||||
|
||||
shl-int/2addr p0, v2
|
||||
|
||||
aget-byte p0, v0, p0
|
||||
|
||||
aput-byte p0, v1, v5
|
||||
|
||||
aput-byte v3, v1, v4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
aget-byte p0, p0, v4
|
||||
|
||||
add-int/lit8 v4, v5, 0x1
|
||||
|
||||
and-int/lit16 v6, p0, 0xff
|
||||
|
||||
shr-int/lit8 v2, v6, 0x2
|
||||
|
||||
aget-byte v2, v0, v2
|
||||
|
||||
aput-byte v2, v1, v5
|
||||
|
||||
add-int/lit8 v2, v4, 0x1
|
||||
|
||||
and-int/lit8 p0, p0, 0x3
|
||||
|
||||
shl-int/lit8 p0, p0, 0x4
|
||||
|
||||
aget-byte p0, v0, p0
|
||||
|
||||
aput-byte p0, v1, v4
|
||||
|
||||
add-int/lit8 p0, v2, 0x1
|
||||
|
||||
aput-byte v3, v1, v2
|
||||
|
||||
aput-byte v3, v1, p0
|
||||
|
||||
:goto_1
|
||||
invoke-static {v1}, Lokio/b;->B([B)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final er(Ljava/lang/String;)[B
|
||||
.locals 15
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||||
|
||||
move-result v0
|
||||
|
||||
:goto_0
|
||||
const/16 v1, 0x9
|
||||
|
||||
const/16 v2, 0x20
|
||||
|
||||
const/16 v3, 0xd
|
||||
|
||||
const/16 v4, 0xa
|
||||
|
||||
if-lez v0, :cond_1
|
||||
|
||||
add-int/lit8 v5, v0, -0x1
|
||||
|
||||
invoke-virtual {p0, v5}, Ljava/lang/String;->charAt(I)C
|
||||
|
||||
move-result v5
|
||||
|
||||
const/16 v6, 0x3d
|
||||
|
||||
if-eq v5, v6, :cond_0
|
||||
|
||||
if-eq v5, v4, :cond_0
|
||||
|
||||
if-eq v5, v3, :cond_0
|
||||
|
||||
if-eq v5, v2, :cond_0
|
||||
|
||||
if-ne v5, v1, :cond_1
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v0, v0, -0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
int-to-long v5, v0
|
||||
|
||||
const-wide/16 v7, 0x6
|
||||
|
||||
mul-long v5, v5, v7
|
||||
|
||||
const-wide/16 v7, 0x8
|
||||
|
||||
div-long/2addr v5, v7
|
||||
|
||||
long-to-int v6, v5
|
||||
|
||||
new-array v5, v6, [B
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
:goto_1
|
||||
const/4 v11, 0x0
|
||||
|
||||
if-ge v7, v0, :cond_e
|
||||
|
||||
invoke-virtual {p0, v7}, Ljava/lang/String;->charAt(I)C
|
||||
|
||||
move-result v12
|
||||
|
||||
const/16 v13, 0x5a
|
||||
|
||||
const/16 v14, 0x41
|
||||
|
||||
if-le v14, v12, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
if-lt v13, v12, :cond_3
|
||||
|
||||
add-int/lit8 v12, v12, -0x41
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_3
|
||||
:goto_2
|
||||
const/16 v13, 0x7a
|
||||
|
||||
const/16 v14, 0x61
|
||||
|
||||
if-le v14, v12, :cond_4
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_4
|
||||
if-lt v13, v12, :cond_5
|
||||
|
||||
add-int/lit8 v12, v12, -0x47
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_5
|
||||
:goto_3
|
||||
const/16 v13, 0x39
|
||||
|
||||
const/16 v14, 0x30
|
||||
|
||||
if-le v14, v12, :cond_6
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_6
|
||||
if-lt v13, v12, :cond_7
|
||||
|
||||
add-int/lit8 v12, v12, 0x4
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_7
|
||||
:goto_4
|
||||
const/16 v13, 0x2b
|
||||
|
||||
if-eq v12, v13, :cond_c
|
||||
|
||||
const/16 v13, 0x2d
|
||||
|
||||
if-ne v12, v13, :cond_8
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_8
|
||||
const/16 v13, 0x2f
|
||||
|
||||
if-eq v12, v13, :cond_b
|
||||
|
||||
const/16 v13, 0x5f
|
||||
|
||||
if-ne v12, v13, :cond_9
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_9
|
||||
if-eq v12, v4, :cond_d
|
||||
|
||||
if-eq v12, v3, :cond_d
|
||||
|
||||
if-eq v12, v2, :cond_d
|
||||
|
||||
if-ne v12, v1, :cond_a
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_a
|
||||
return-object v11
|
||||
|
||||
:cond_b
|
||||
:goto_5
|
||||
const/16 v12, 0x3f
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_c
|
||||
:goto_6
|
||||
const/16 v12, 0x3e
|
||||
|
||||
:goto_7
|
||||
shl-int/lit8 v9, v9, 0x6
|
||||
|
||||
or-int/2addr v9, v12
|
||||
|
||||
add-int/lit8 v8, v8, 0x1
|
||||
|
||||
rem-int/lit8 v11, v8, 0x4
|
||||
|
||||
if-nez v11, :cond_d
|
||||
|
||||
add-int/lit8 v11, v10, 0x1
|
||||
|
||||
shr-int/lit8 v12, v9, 0x10
|
||||
|
||||
int-to-byte v12, v12
|
||||
|
||||
aput-byte v12, v5, v10
|
||||
|
||||
add-int/lit8 v10, v11, 0x1
|
||||
|
||||
shr-int/lit8 v12, v9, 0x8
|
||||
|
||||
int-to-byte v12, v12
|
||||
|
||||
aput-byte v12, v5, v11
|
||||
|
||||
add-int/lit8 v11, v10, 0x1
|
||||
|
||||
int-to-byte v12, v9
|
||||
|
||||
aput-byte v12, v5, v10
|
||||
|
||||
move v10, v11
|
||||
|
||||
:cond_d
|
||||
:goto_8
|
||||
add-int/lit8 v7, v7, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_e
|
||||
rem-int/lit8 v8, v8, 0x4
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
if-eq v8, p0, :cond_12
|
||||
|
||||
const/4 p0, 0x2
|
||||
|
||||
if-eq v8, p0, :cond_10
|
||||
|
||||
const/4 p0, 0x3
|
||||
|
||||
if-eq v8, p0, :cond_f
|
||||
|
||||
goto :goto_9
|
||||
|
||||
:cond_f
|
||||
shl-int/lit8 p0, v9, 0x6
|
||||
|
||||
add-int/lit8 v0, v10, 0x1
|
||||
|
||||
shr-int/lit8 v1, p0, 0x10
|
||||
|
||||
int-to-byte v1, v1
|
||||
|
||||
aput-byte v1, v5, v10
|
||||
|
||||
add-int/lit8 v10, v0, 0x1
|
||||
|
||||
shr-int/lit8 p0, p0, 0x8
|
||||
|
||||
int-to-byte p0, p0
|
||||
|
||||
aput-byte p0, v5, v0
|
||||
|
||||
goto :goto_9
|
||||
|
||||
:cond_10
|
||||
shl-int/lit8 p0, v9, 0xc
|
||||
|
||||
add-int/lit8 v0, v10, 0x1
|
||||
|
||||
shr-int/lit8 p0, p0, 0x10
|
||||
|
||||
int-to-byte p0, p0
|
||||
|
||||
aput-byte p0, v5, v10
|
||||
|
||||
move v10, v0
|
||||
|
||||
:goto_9
|
||||
array-length p0, v5
|
||||
|
||||
if-ne v10, p0, :cond_11
|
||||
|
||||
return-object v5
|
||||
|
||||
:cond_11
|
||||
new-array p0, v10, [B
|
||||
|
||||
invoke-static {v5, v6, p0, v6, v10}, Lokio/b;->a([BI[BII)V
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_12
|
||||
return-object v11
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -1,37 +0,0 @@
|
|||
.class public final Lokio/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "-Platform.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final B([B)Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget-object v0, Lkotlin/text/d;->tx:Ljava/nio/charset/Charset;
|
||||
|
||||
new-instance v1, Ljava/lang/String;
|
||||
|
||||
invoke-direct {v1, p0, v0}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V
|
||||
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public static final a([BI[BII)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "src"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "dest"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0, p1, p2, p3, p4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,103 +0,0 @@
|
|||
.class public final Lokio/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "-Util.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final a(JJJ)V
|
||||
.locals 5
|
||||
|
||||
or-long v0, p2, p4
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-ltz v4, :cond_0
|
||||
|
||||
cmp-long v0, p2, p0
|
||||
|
||||
if-gtz v0, :cond_0
|
||||
|
||||
sub-long v0, p0, p2
|
||||
|
||||
cmp-long v2, v0, p4
|
||||
|
||||
if-ltz v2, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
||||
|
||||
new-instance v1, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v2, "size="
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v1, p0, p1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p0, " offset="
|
||||
|
||||
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1, p2, p3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p0, " byteCount="
|
||||
|
||||
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1, p4, p5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-direct {v0, p0}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public static final b([BI[BII)Z
|
||||
.locals 4
|
||||
|
||||
const-string v0, "a"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "b"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, p4, :cond_1
|
||||
|
||||
add-int v2, v1, p1
|
||||
|
||||
aget-byte v2, p0, v2
|
||||
|
||||
add-int v3, v1, p3
|
||||
|
||||
aget-byte v3, p2, v3
|
||||
|
||||
if-eq v2, v3, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p0, 0x1
|
||||
|
||||
return p0
|
||||
.end method
|
|
@ -1,279 +0,0 @@
|
|||
.class public final Lokio/d$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/d;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(B)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/d$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static a(Lokio/d;JZ)V
|
||||
.locals 6
|
||||
|
||||
const-class v0, Lokio/d;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
new-instance v1, Lokio/d;
|
||||
|
||||
invoke-direct {v1}, Lokio/d;-><init>()V
|
||||
|
||||
invoke-static {v1}, Lokio/d;->a(Lokio/d;)V
|
||||
|
||||
new-instance v1, Lokio/d$b;
|
||||
|
||||
invoke-direct {v1}, Lokio/d$b;-><init>()V
|
||||
|
||||
invoke-virtual {v1}, Lokio/d$b;->start()V
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, p1, v3
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
if-eqz p3, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Lokio/d;->ID()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
sub-long/2addr v3, v1
|
||||
|
||||
invoke-static {p1, p2, v3, v4}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
add-long/2addr p1, v1
|
||||
|
||||
invoke-static {p0, p1, p2}, Lokio/d;->a(Lokio/d;J)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
if-eqz v5, :cond_2
|
||||
|
||||
add-long/2addr p1, v1
|
||||
|
||||
invoke-static {p0, p1, p2}, Lokio/d;->a(Lokio/d;J)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
if-eqz p3, :cond_8
|
||||
|
||||
invoke-virtual {p0}, Lokio/d;->ID()J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
invoke-static {p0, p1, p2}, Lokio/d;->a(Lokio/d;J)V
|
||||
|
||||
:goto_0
|
||||
invoke-static {p0, v1, v2}, Lokio/d;->b(Lokio/d;J)J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
if-nez p3, :cond_3
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_3
|
||||
:goto_1
|
||||
invoke-static {p3}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_6
|
||||
|
||||
invoke-static {p3}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-nez v3, :cond_4
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_4
|
||||
invoke-static {v3, v1, v2}, Lokio/d;->b(Lokio/d;J)J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
cmp-long v5, p1, v3
|
||||
|
||||
if-gez v5, :cond_5
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
invoke-static {p3}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
if-nez p3, :cond_3
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_6
|
||||
:goto_2
|
||||
invoke-static {p3}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p0, p1}, Lokio/d;->a(Lokio/d;Lokio/d;)V
|
||||
|
||||
invoke-static {p3, p0}, Lokio/d;->a(Lokio/d;Lokio/d;)V
|
||||
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
if-ne p3, p0, :cond_7
|
||||
|
||||
const-class p0, Lokio/d;
|
||||
|
||||
check-cast p0, Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->notify()V
|
||||
|
||||
:cond_7
|
||||
sget-object p0, Lkotlin/Unit;->bgF:Lkotlin/Unit;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_8
|
||||
:try_start_1
|
||||
new-instance p0, Ljava/lang/AssertionError;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
|
||||
|
||||
check-cast p0, Ljava/lang/Throwable;
|
||||
|
||||
throw p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic b(Lokio/d;JZ)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1, p2, p3}, Lokio/d$a;->a(Lokio/d;JZ)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method static c(Lokio/d;)Z
|
||||
.locals 3
|
||||
|
||||
const-class v0, Lokio/d;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-static {v1}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
if-ne v2, p0, :cond_0
|
||||
|
||||
invoke-static {p0}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-static {v1, v2}, Lokio/d;->a(Lokio/d;Lokio/d;)V
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {p0, v1}, Lokio/d;->a(Lokio/d;Lokio/d;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
return p0
|
||||
|
||||
:cond_0
|
||||
:try_start_1
|
||||
invoke-static {v1}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
monitor-exit v0
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
return p0
|
||||
|
||||
:catchall_0
|
||||
move-exception p0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw p0
|
||||
.end method
|
|
@ -1,216 +0,0 @@
|
|||
.class final Lokio/d$b;
|
||||
.super Ljava/lang/Thread;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/d;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Okio Watchdog"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p0, v0}, Lokio/d$b;->setDaemon(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final run()V
|
||||
.locals 9
|
||||
|
||||
:catch_0
|
||||
:cond_0
|
||||
:goto_0
|
||||
:try_start_0
|
||||
const-class v0, Lokio/d;
|
||||
|
||||
monitor-enter v0
|
||||
:try_end_0
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:try_start_1
|
||||
sget-object v1, Lokio/d;->bBA:Lokio/d$a;
|
||||
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_1
|
||||
invoke-static {v1}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-nez v1, :cond_3
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
const-class v1, Lokio/d;
|
||||
|
||||
check-cast v1, Ljava/lang/Object;
|
||||
|
||||
invoke-static {}, Lokio/d;->If()J
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
invoke-virtual {v1, v5, v6}, Ljava/lang/Object;->wait(J)V
|
||||
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_2
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_2
|
||||
invoke-static {v1}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_4
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
sub-long/2addr v5, v3
|
||||
|
||||
invoke-static {}, Lokio/d;->Ig()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
cmp-long v1, v5, v3
|
||||
|
||||
if-ltz v1, :cond_4
|
||||
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
invoke-static {v1, v3, v4}, Lokio/d;->b(Lokio/d;J)J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
const-wide/16 v5, 0x0
|
||||
|
||||
cmp-long v7, v3, v5
|
||||
|
||||
if-lez v7, :cond_5
|
||||
|
||||
const-wide/32 v5, 0xf4240
|
||||
|
||||
div-long v7, v3, v5
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
invoke-static {v7, v8}, Ljava/lang/Long;->signum(J)I
|
||||
|
||||
mul-long v5, v5, v7
|
||||
|
||||
sub-long/2addr v3, v5
|
||||
|
||||
:try_start_2
|
||||
const-class v1, Lokio/d;
|
||||
|
||||
check-cast v1, Ljava/lang/Object;
|
||||
|
||||
long-to-int v4, v3
|
||||
|
||||
invoke-virtual {v1, v7, v8, v4}, Ljava/lang/Object;->wait(JI)V
|
||||
|
||||
:cond_4
|
||||
move-object v1, v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_5
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-nez v3, :cond_6
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_6
|
||||
invoke-static {v1}, Lokio/d;->b(Lokio/d;)Lokio/d;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-static {v3, v4}, Lokio/d;->a(Lokio/d;Lokio/d;)V
|
||||
|
||||
invoke-static {v1, v2}, Lokio/d;->a(Lokio/d;Lokio/d;)V
|
||||
|
||||
:goto_1
|
||||
invoke-static {}, Lokio/d;->Ie()Lokio/d;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-ne v1, v3, :cond_7
|
||||
|
||||
invoke-static {v2}, Lokio/d;->a(Lokio/d;)V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
:try_start_3
|
||||
monitor-exit v0
|
||||
:try_end_3
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_3 .. :try_end_3} :catch_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_7
|
||||
:try_start_4
|
||||
sget-object v2, Lkotlin/Unit;->bgF:Lkotlin/Unit;
|
||||
:try_end_4
|
||||
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
||||
|
||||
:try_start_5
|
||||
monitor-exit v0
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v1}, Lokio/d;->Hf()V
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw v1
|
||||
:try_end_5
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_5 .. :try_end_5} :catch_0
|
||||
.end method
|
|
@ -1,309 +0,0 @@
|
|||
.class public final Lokio/d$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/v;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/d;->a(Lokio/v;)Lokio/v;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic bBB:Lokio/d;
|
||||
|
||||
.field final synthetic bBC:Lokio/v;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/d;Lokio/v;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lokio/v;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
iput-object p2, p0, Lokio/d$c;->bBC:Lokio/v;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final close()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v0}, Lokio/d;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/d$c;->bBC:Lokio/v;
|
||||
|
||||
invoke-interface {v0}, Lokio/v;->close()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
iget-object v0, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/d;->X(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v1, v0}, Lokio/d;->g(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Lokio/d;->X(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v0}, Lokio/d;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/d$c;->bBC:Lokio/v;
|
||||
|
||||
invoke-interface {v0}, Lokio/v;->flush()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
iget-object v0, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/d;->X(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v1, v0}, Lokio/d;->g(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Lokio/d;->X(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
check-cast v0, Lokio/y;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "AsyncTimeout.sink("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/d$c;->bBC:Lokio/v;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final write(Lokio/f;J)V
|
||||
.locals 7
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v1, p1, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
move-wide v5, p2
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lokio/c;->a(JJJ)V
|
||||
|
||||
:goto_0
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-lez v2, :cond_3
|
||||
|
||||
iget-object v2, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_0
|
||||
:goto_1
|
||||
const-wide/32 v3, 0x10000
|
||||
|
||||
cmp-long v5, v0, v3
|
||||
|
||||
if-gez v5, :cond_2
|
||||
|
||||
iget v3, v2, Lokio/s;->limit:I
|
||||
|
||||
iget v4, v2, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v3, v4
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
add-long/2addr v0, v3
|
||||
|
||||
cmp-long v3, v0, p2
|
||||
|
||||
if-ltz v3, :cond_1
|
||||
|
||||
move-wide v0, p2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
iget-object v2, v2, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
:goto_2
|
||||
iget-object v2, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v2}, Lokio/d;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v2, p0, Lokio/d$c;->bBC:Lokio/v;
|
||||
|
||||
invoke-interface {v2, p1, v0, v1}, Lokio/v;->write(Lokio/f;J)V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
sub-long/2addr p2, v0
|
||||
|
||||
iget-object v0, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/d;->X(Z)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
iget-object p2, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {p2, p1}, Lokio/d;->g(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_3
|
||||
iget-object p2, p0, Lokio/d$c;->bBB:Lokio/d;
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
invoke-virtual {p2, p3}, Lokio/d;->X(Z)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
|
@ -1,194 +0,0 @@
|
|||
.class public final Lokio/d$d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/x;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/d;->a(Lokio/x;)Lokio/x;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic bBB:Lokio/d;
|
||||
|
||||
.field final synthetic bnT:Lokio/x;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/d;Lokio/x;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lokio/x;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
iput-object p2, p0, Lokio/d$d;->bnT:Lokio/x;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/f;J)J
|
||||
.locals 1
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v0}, Lokio/d;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/d$d;->bnT:Lokio/x;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Lokio/x;->a(Lokio/f;J)J
|
||||
|
||||
move-result-wide p1
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
iget-object p3, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p3, v0}, Lokio/d;->X(Z)V
|
||||
|
||||
return-wide p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
iget-object p2, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {p2, p1}, Lokio/d;->g(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object p2, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
invoke-virtual {p2, p3}, Lokio/d;->X(Z)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v0}, Lokio/d;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/d$d;->bnT:Lokio/x;
|
||||
|
||||
invoke-interface {v0}, Lokio/x;->close()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
iget-object v0, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/d;->X(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
invoke-virtual {v1, v0}, Lokio/d;->g(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Lokio/d;->X(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/d$d;->bBB:Lokio/d;
|
||||
|
||||
check-cast v0, Lokio/y;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "AsyncTimeout.source("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/d$d;->bnT:Lokio/x;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,326 +0,0 @@
|
|||
.class public Lokio/d;
|
||||
.super Lokio/y;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lokio/d$b;,
|
||||
Lokio/d$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final bBA:Lokio/d$a;
|
||||
|
||||
.field private static final bBx:J
|
||||
|
||||
.field private static final bBy:J
|
||||
|
||||
.field private static bBz:Lokio/d;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private bBu:Z
|
||||
|
||||
.field private bBv:Lokio/d;
|
||||
|
||||
.field private bBw:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
new-instance v0, Lokio/d$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/d$a;-><init>(B)V
|
||||
|
||||
sput-object v0, Lokio/d;->bBA:Lokio/d$a;
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
const-wide/16 v1, 0x3c
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
sput-wide v0, Lokio/d;->bBx:J
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
sget-wide v1, Lokio/d;->bBx:J
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
sput-wide v0, Lokio/d;->bBy:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/y;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic Ie()Lokio/d;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lokio/d;->bBz:Lokio/d;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic If()J
|
||||
.locals 2
|
||||
|
||||
sget-wide v0, Lokio/d;->bBx:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic Ig()J
|
||||
.locals 2
|
||||
|
||||
sget-wide v0, Lokio/d;->bBy:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic a(Lokio/d;)V
|
||||
.locals 0
|
||||
|
||||
sput-object p0, Lokio/d;->bBz:Lokio/d;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic a(Lokio/d;J)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lokio/d;->bBw:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic a(Lokio/d;Lokio/d;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/d;->bBv:Lokio/d;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic b(Lokio/d;J)J
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lokio/d;->bBw:J
|
||||
|
||||
sub-long/2addr v0, p1
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic b(Lokio/d;)Lokio/d;
|
||||
.locals 0
|
||||
|
||||
iget-object p0, p0, Lokio/d;->bBv:Lokio/d;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method protected Hf()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final Id()Z
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lokio/d;->bBu:Z
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
iput-boolean v1, p0, Lokio/d;->bBu:Z
|
||||
|
||||
invoke-static {p0}, Lokio/d$a;->c(Lokio/d;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final X(Z)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lokio/d;->Id()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-virtual {p0, p1}, Lokio/d;->f(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final a(Lokio/v;)Lokio/v;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/d$c;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lokio/d$c;-><init>(Lokio/d;Lokio/v;)V
|
||||
|
||||
check-cast v0, Lokio/v;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final a(Lokio/x;)Lokio/x;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/d$d;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lokio/d$d;-><init>(Lokio/d;Lokio/x;)V
|
||||
|
||||
check-cast v0, Lokio/x;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final enter()V
|
||||
.locals 7
|
||||
|
||||
iget-boolean v0, p0, Lokio/d;->bBu:Z
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
xor-int/2addr v0, v1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Lokio/d;->IB()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
invoke-virtual {p0}, Lokio/d;->IC()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-wide/16 v4, 0x0
|
||||
|
||||
cmp-long v6, v2, v4
|
||||
|
||||
if-nez v6, :cond_0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iput-boolean v1, p0, Lokio/d;->bBu:Z
|
||||
|
||||
invoke-static {p0, v2, v3, v0}, Lokio/d$a;->b(Lokio/d;JZ)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Unbalanced enter/exit"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method protected f(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/io/InterruptedIOException;
|
||||
|
||||
const-string v1, "timeout"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
|
||||
:cond_0
|
||||
check-cast v0, Ljava/io/IOException;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final g(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "cause"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lokio/d;->Id()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, p1}, Lokio/d;->f(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,50 +0,0 @@
|
|||
.class final Lokio/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Okio.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/v;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final close()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lokio/y;->bCo:Lokio/y;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final write(Lokio/f;J)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1, p2, p3}, Lokio/f;->aG(J)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,32 +0,0 @@
|
|||
.class public final Lokio/f$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Buffer.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/f;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(B)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/f$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,415 +0,0 @@
|
|||
.class public final Lokio/f$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Buffer.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/f;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public bBG:Z
|
||||
|
||||
.field private bBH:Lokio/s;
|
||||
|
||||
.field public data:[B
|
||||
|
||||
.field public end:I
|
||||
|
||||
.field public ma:Lokio/f;
|
||||
|
||||
.field public offset:J
|
||||
|
||||
.field public start:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-wide/16 v0, -0x1
|
||||
|
||||
iput-wide v0, p0, Lokio/f$b;->offset:J
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
iput v0, p0, Lokio/f$b;->start:I
|
||||
|
||||
iput v0, p0, Lokio/f$b;->end:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final aL(J)I
|
||||
.locals 12
|
||||
|
||||
iget-object v0, p0, Lokio/f$b;->ma:Lokio/f;
|
||||
|
||||
if-eqz v0, :cond_10
|
||||
|
||||
const-wide/16 v1, -0x1
|
||||
|
||||
cmp-long v3, p1, v1
|
||||
|
||||
if-ltz v3, :cond_f
|
||||
|
||||
iget-wide v1, v0, Lokio/f;->size:J
|
||||
|
||||
cmp-long v4, p1, v1
|
||||
|
||||
if-gtz v4, :cond_f
|
||||
|
||||
if-eqz v3, :cond_e
|
||||
|
||||
iget-wide v1, v0, Lokio/f;->size:J
|
||||
|
||||
cmp-long v3, p1, v1
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
goto/16 :goto_3
|
||||
|
||||
:cond_0
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
iget-wide v3, v0, Lokio/f;->size:J
|
||||
|
||||
iget-object v5, v0, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
iget-object v6, v0, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
iget-object v7, p0, Lokio/f$b;->bBH:Lokio/s;
|
||||
|
||||
if-eqz v7, :cond_3
|
||||
|
||||
iget-wide v8, p0, Lokio/f$b;->offset:J
|
||||
|
||||
iget v10, p0, Lokio/f$b;->start:I
|
||||
|
||||
if-nez v7, :cond_1
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_1
|
||||
iget v7, v7, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v10, v7
|
||||
|
||||
int-to-long v10, v10
|
||||
|
||||
sub-long v7, v8, v10
|
||||
|
||||
cmp-long v9, v7, p1
|
||||
|
||||
if-lez v9, :cond_2
|
||||
|
||||
iget-object v6, p0, Lokio/f$b;->bBH:Lokio/s;
|
||||
|
||||
move-wide v3, v7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
iget-object v5, p0, Lokio/f$b;->bBH:Lokio/s;
|
||||
|
||||
move-wide v1, v7
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
sub-long v7, v3, p1
|
||||
|
||||
sub-long v9, p1, v1
|
||||
|
||||
cmp-long v11, v7, v9
|
||||
|
||||
if-lez v11, :cond_5
|
||||
|
||||
:goto_1
|
||||
if-nez v5, :cond_4
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_4
|
||||
iget v3, v5, Lokio/s;->limit:I
|
||||
|
||||
iget v4, v5, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v3, v4
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
add-long/2addr v3, v1
|
||||
|
||||
cmp-long v6, p1, v3
|
||||
|
||||
if-ltz v6, :cond_8
|
||||
|
||||
iget v3, v5, Lokio/s;->limit:I
|
||||
|
||||
iget v4, v5, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v3, v4
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
add-long/2addr v1, v3
|
||||
|
||||
iget-object v5, v5, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_5
|
||||
move-wide v1, v3
|
||||
|
||||
move-object v5, v6
|
||||
|
||||
:goto_2
|
||||
cmp-long v3, v1, p1
|
||||
|
||||
if-lez v3, :cond_8
|
||||
|
||||
if-nez v5, :cond_6
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_6
|
||||
iget-object v5, v5, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
if-nez v5, :cond_7
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_7
|
||||
iget v3, v5, Lokio/s;->limit:I
|
||||
|
||||
iget v4, v5, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v3, v4
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
sub-long/2addr v1, v3
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_8
|
||||
iget-boolean v3, p0, Lokio/f$b;->bBG:Z
|
||||
|
||||
if-eqz v3, :cond_c
|
||||
|
||||
if-nez v5, :cond_9
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_9
|
||||
iget-boolean v3, v5, Lokio/s;->bky:Z
|
||||
|
||||
if-eqz v3, :cond_c
|
||||
|
||||
invoke-virtual {v5}, Lokio/s;->IL()Lokio/s;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
iget-object v4, v0, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
if-ne v4, v5, :cond_a
|
||||
|
||||
iput-object v3, v0, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
:cond_a
|
||||
invoke-virtual {v5, v3}, Lokio/s;->a(Lokio/s;)Lokio/s;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
iget-object v0, v5, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
if-nez v0, :cond_b
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_b
|
||||
invoke-virtual {v0}, Lokio/s;->IM()Lokio/s;
|
||||
|
||||
:cond_c
|
||||
iput-object v5, p0, Lokio/f$b;->bBH:Lokio/s;
|
||||
|
||||
iput-wide p1, p0, Lokio/f$b;->offset:J
|
||||
|
||||
if-nez v5, :cond_d
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_d
|
||||
iget-object v0, v5, Lokio/s;->data:[B
|
||||
|
||||
iput-object v0, p0, Lokio/f$b;->data:[B
|
||||
|
||||
iget v0, v5, Lokio/s;->pos:I
|
||||
|
||||
sub-long/2addr p1, v1
|
||||
|
||||
long-to-int p2, p1
|
||||
|
||||
add-int/2addr v0, p2
|
||||
|
||||
iput v0, p0, Lokio/f$b;->start:I
|
||||
|
||||
iget p1, v5, Lokio/s;->limit:I
|
||||
|
||||
iput p1, p0, Lokio/f$b;->end:I
|
||||
|
||||
iget p1, p0, Lokio/f$b;->end:I
|
||||
|
||||
iget p2, p0, Lokio/f$b;->start:I
|
||||
|
||||
sub-int/2addr p1, p2
|
||||
|
||||
return p1
|
||||
|
||||
:cond_e
|
||||
:goto_3
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lokio/f$b;->bBH:Lokio/s;
|
||||
|
||||
iput-wide p1, p0, Lokio/f$b;->offset:J
|
||||
|
||||
iput-object v0, p0, Lokio/f$b;->data:[B
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
iput p1, p0, Lokio/f$b;->start:I
|
||||
|
||||
iput p1, p0, Lokio/f$b;->end:I
|
||||
|
||||
return p1
|
||||
|
||||
:cond_f
|
||||
new-instance v1, Ljava/lang/ArrayIndexOutOfBoundsException;
|
||||
|
||||
sget-object v2, Lkotlin/jvm/internal/ab;->bhX:Lkotlin/jvm/internal/ab;
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
new-array v3, v2, [Ljava/lang/Object;
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
aput-object p1, v3, v4
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
iget-wide v4, v0, Lokio/f;->size:J
|
||||
|
||||
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v3, p1
|
||||
|
||||
invoke-static {v3, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "offset=%s > size=%s"
|
||||
|
||||
invoke-static {p2, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "java.lang.String.format(format, *args)"
|
||||
|
||||
invoke-static {p1, p2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v1, p1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v1, Ljava/lang/Throwable;
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_10
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "not attached to a buffer"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lokio/f$b;->ma:Lokio/f;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lokio/f$b;->ma:Lokio/f;
|
||||
|
||||
iput-object v0, p0, Lokio/f$b;->bBH:Lokio/s;
|
||||
|
||||
const-wide/16 v1, -0x1
|
||||
|
||||
iput-wide v1, p0, Lokio/f$b;->offset:J
|
||||
|
||||
iput-object v0, p0, Lokio/f$b;->data:[B
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
iput v0, p0, Lokio/f$b;->start:I
|
||||
|
||||
iput v0, p0, Lokio/f$b;->end:I
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "not attached to a buffer"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -1,128 +0,0 @@
|
|||
.class public final Lokio/f$c;
|
||||
.super Ljava/io/InputStream;
|
||||
.source "Buffer.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/f;->Il()Ljava/io/InputStream;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic bBI:Lokio/f;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/f;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lokio/f$c;->bBI:Lokio/f;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final available()I
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lokio/f$c;->bBI:Lokio/f;
|
||||
|
||||
iget-wide v0, v0, Lokio/f;->size:J
|
||||
|
||||
const-wide/32 v2, 0x7fffffff
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
long-to-int v1, v0
|
||||
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final read()I
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lokio/f$c;->bBI:Lokio/f;
|
||||
|
||||
iget-wide v0, v0, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/f$c;->bBI:Lokio/f;
|
||||
|
||||
invoke-virtual {v0}, Lokio/f;->readByte()B
|
||||
|
||||
move-result v0
|
||||
|
||||
and-int/lit16 v0, v0, 0xff
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, -0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final read([BII)I
|
||||
.locals 1
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/f$c;->bBI:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/f;->read([BII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Lokio/f$c;->bBI:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ".inputStream()"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,95 +0,0 @@
|
|||
.class public final Lokio/f$d;
|
||||
.super Ljava/io/OutputStream;
|
||||
.source "Buffer.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/f;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic bBI:Lokio/f;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/f;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lokio/f$d;->bBI:Lokio/f;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/OutputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final close()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Lokio/f$d;->bBI:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ".outputStream()"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final write(I)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/f$d;->bBI:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->dA(I)Lokio/f;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final write([BII)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "data"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/f$d;->bBI:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/f;->k([BII)Lokio/f;
|
||||
|
||||
return-void
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -1,183 +0,0 @@
|
|||
.class public interface abstract Lokio/g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BufferedSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/nio/channels/ReadableByteChannel;
|
||||
.implements Lokio/x;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract Ih()Lokio/f;
|
||||
.end method
|
||||
|
||||
.method public abstract Ik()Z
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract Il()Ljava/io/InputStream;
|
||||
.end method
|
||||
|
||||
.method public abstract Ip()J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract Iq()J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract Is()Ljava/lang/String;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract a(Lokio/o;)I
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract aB(J)Lokio/ByteString;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract aD(J)Ljava/lang/String;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract aF(J)[B
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract aG(J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract az(J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract b(Lokio/v;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract b(Lokio/f;J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract c(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract l(Lokio/ByteString;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract m(Lokio/ByteString;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readByte()B
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readFully([B)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readInt()I
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readLong()J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readShort()S
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract request(J)Z
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,141 +0,0 @@
|
|||
.class public abstract Lokio/h;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ForwardingSink.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/v;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final delegate:Lokio/v;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/v;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "delegate"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final -deprecated_delegate()Lokio/v;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
invoke-interface {v0}, Lokio/v;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final delegate()Lokio/v;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public flush()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
invoke-interface {v0}, Lokio/v;->flush()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
invoke-interface {v0}, Lokio/v;->timeout()Lokio/y;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x28
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public write(Lokio/f;J)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/h;->delegate:Lokio/v;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Lokio/v;->write(Lokio/f;J)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,120 +0,0 @@
|
|||
.class public abstract Lokio/i;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ForwardingSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/x;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final bBM:Lokio/x;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/x;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "delegate"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/i;->bBM:Lokio/x;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final IA()Lokio/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/i;->bBM:Lokio/x;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(Lokio/f;J)J
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/i;->bBM:Lokio/x;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Lokio/x;->a(Lokio/f;J)J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
return-wide p1
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/i;->bBM:Lokio/x;
|
||||
|
||||
invoke-interface {v0}, Lokio/x;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/i;->bBM:Lokio/x;
|
||||
|
||||
invoke-interface {v0}, Lokio/x;->timeout()Lokio/y;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x28
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lokio/i;->bBM:Lokio/x;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,128 +0,0 @@
|
|||
.class public final Lokio/j;
|
||||
.super Lokio/y;
|
||||
.source "ForwardingTimeout.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public bBN:Lokio/y;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/y;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "delegate"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Lokio/y;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final IB()J
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0}, Lokio/y;->IB()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final IC()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0}, Lokio/y;->IC()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final ID()J
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0}, Lokio/y;->ID()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final IE()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0}, Lokio/y;->IE()Lokio/y;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final IF()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0}, Lokio/y;->IF()Lokio/y;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final IG()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0}, Lokio/y;->IG()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final aM(J)Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lokio/y;->aM(J)Lokio/y;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final d(JLjava/util/concurrent/TimeUnit;)Lokio/y;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "unit"
|
||||
|
||||
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/j;->bBN:Lokio/y;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/y;->d(JLjava/util/concurrent/TimeUnit;)Lokio/y;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,712 +0,0 @@
|
|||
.class public final Lokio/k;
|
||||
.super Ljava/lang/Object;
|
||||
.source "GzipSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/x;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private bBO:B
|
||||
|
||||
.field private final bBP:Lokio/r;
|
||||
|
||||
.field private final bBQ:Lokio/l;
|
||||
|
||||
.field private final bBR:Ljava/util/zip/CRC32;
|
||||
|
||||
.field private final inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/x;)V
|
||||
.locals 2
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Lokio/r;
|
||||
|
||||
invoke-direct {v0, p1}, Lokio/r;-><init>(Lokio/x;)V
|
||||
|
||||
iput-object v0, p0, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
new-instance p1, Ljava/util/zip/Inflater;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/util/zip/Inflater;-><init>(Z)V
|
||||
|
||||
iput-object p1, p0, Lokio/k;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
new-instance p1, Lokio/l;
|
||||
|
||||
iget-object v0, p0, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
check-cast v0, Lokio/g;
|
||||
|
||||
iget-object v1, p0, Lokio/k;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-direct {p1, v0, v1}, Lokio/l;-><init>(Lokio/g;Ljava/util/zip/Inflater;)V
|
||||
|
||||
iput-object p1, p0, Lokio/k;->bBQ:Lokio/l;
|
||||
|
||||
new-instance p1, Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/zip/CRC32;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/k;->bBR:Ljava/util/zip/CRC32;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final b(Lokio/f;JJ)V
|
||||
.locals 4
|
||||
|
||||
iget-object p1, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
iget v0, p1, Lokio/s;->limit:I
|
||||
|
||||
iget v1, p1, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
int-to-long v0, v0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-ltz v2, :cond_1
|
||||
|
||||
iget v0, p1, Lokio/s;->limit:I
|
||||
|
||||
iget v1, p1, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
int-to-long v0, v0
|
||||
|
||||
sub-long/2addr p2, v0
|
||||
|
||||
iget-object p1, p1, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
:goto_1
|
||||
cmp-long v2, p4, v0
|
||||
|
||||
if-lez v2, :cond_3
|
||||
|
||||
iget v2, p1, Lokio/s;->pos:I
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
add-long/2addr v2, p2
|
||||
|
||||
long-to-int p2, v2
|
||||
|
||||
iget p3, p1, Lokio/s;->limit:I
|
||||
|
||||
sub-int/2addr p3, p2
|
||||
|
||||
int-to-long v2, p3
|
||||
|
||||
invoke-static {v2, v3, p4, p5}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
long-to-int p3, v2
|
||||
|
||||
iget-object v2, p0, Lokio/k;->bBR:Ljava/util/zip/CRC32;
|
||||
|
||||
iget-object v3, p1, Lokio/s;->data:[B
|
||||
|
||||
invoke-virtual {v2, v3, p2, p3}, Ljava/util/zip/CRC32;->update([BII)V
|
||||
|
||||
int-to-long p2, p3
|
||||
|
||||
sub-long/2addr p4, p2
|
||||
|
||||
iget-object p1, p1, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
if-nez p1, :cond_2
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_2
|
||||
move-wide p2, v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static r(Ljava/lang/String;II)V
|
||||
.locals 4
|
||||
|
||||
if-ne p2, p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
new-array v2, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
aput-object p0, v2, v3
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v2, p0
|
||||
|
||||
const/4 p0, 0x2
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
aput-object p1, v2, p0
|
||||
|
||||
invoke-static {v2, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string p1, "%s: actual 0x%08x != expected 0x%08x"
|
||||
|
||||
invoke-static {p1, p0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string p1, "java.lang.String.format(this, *args)"
|
||||
|
||||
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v0, p0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/f;J)J
|
||||
.locals 20
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v6, p0
|
||||
|
||||
move-object/from16 v7, p1
|
||||
|
||||
move-wide/from16 v8, p2
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {v7, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
const/4 v11, 0x1
|
||||
|
||||
cmp-long v2, v8, v0
|
||||
|
||||
if-ltz v2, :cond_0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v3, :cond_16
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_1
|
||||
iget-byte v0, v6, Lokio/k;->bBO:B
|
||||
|
||||
const-wide/16 v12, -0x1
|
||||
|
||||
if-nez v0, :cond_11
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
const-wide/16 v1, 0xa
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/r;->az(J)V
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v1, 0x3
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/f;->aA(J)B
|
||||
|
||||
move-result v14
|
||||
|
||||
shr-int/lit8 v0, v14, 0x1
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_2
|
||||
|
||||
const/4 v15, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const/4 v15, 0x0
|
||||
|
||||
:goto_1
|
||||
if-eqz v15, :cond_3
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
iget-object v1, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
const-wide/16 v4, 0xa
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/k;->b(Lokio/f;JJ)V
|
||||
|
||||
:cond_3
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->readShort()S
|
||||
|
||||
move-result v0
|
||||
|
||||
const/16 v1, 0x1f8b
|
||||
|
||||
const-string v2, "ID1ID2"
|
||||
|
||||
invoke-static {v2, v1, v0}, Lokio/k;->r(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
const-wide/16 v1, 0x8
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/r;->aG(J)V
|
||||
|
||||
shr-int/lit8 v0, v14, 0x2
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_4
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_2
|
||||
const-wide/16 v4, 0x2
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0, v4, v5}, Lokio/r;->az(J)V
|
||||
|
||||
if-eqz v15, :cond_5
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
iget-object v1, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
const-wide/16 v16, 0x2
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-wide/from16 v4, v16
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/k;->b(Lokio/f;JJ)V
|
||||
|
||||
:cond_5
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0}, Lokio/f;->In()S
|
||||
|
||||
move-result v0
|
||||
|
||||
int-to-long v4, v0
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0, v4, v5}, Lokio/r;->az(J)V
|
||||
|
||||
if-eqz v15, :cond_6
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
iget-object v1, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-wide/from16 v16, v4
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/k;->b(Lokio/f;JJ)V
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
move-wide/from16 v16, v4
|
||||
|
||||
:goto_3
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
move-wide/from16 v1, v16
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/r;->aG(J)V
|
||||
|
||||
:cond_7
|
||||
shr-int/lit8 v0, v14, 0x3
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_8
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_8
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_4
|
||||
const-wide/16 v16, 0x1
|
||||
|
||||
if-eqz v0, :cond_b
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->IJ()J
|
||||
|
||||
move-result-wide v18
|
||||
|
||||
cmp-long v0, v18, v12
|
||||
|
||||
if-eqz v0, :cond_a
|
||||
|
||||
if-eqz v15, :cond_9
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
iget-object v1, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
add-long v4, v18, v16
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/k;->b(Lokio/f;JJ)V
|
||||
|
||||
:cond_9
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
add-long v1, v18, v16
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/r;->aG(J)V
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_a
|
||||
new-instance v0, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_b
|
||||
:goto_5
|
||||
shr-int/lit8 v0, v14, 0x4
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_c
|
||||
|
||||
const/4 v10, 0x1
|
||||
|
||||
:cond_c
|
||||
if-eqz v10, :cond_f
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->IJ()J
|
||||
|
||||
move-result-wide v18
|
||||
|
||||
cmp-long v0, v18, v12
|
||||
|
||||
if-eqz v0, :cond_e
|
||||
|
||||
if-eqz v15, :cond_d
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
iget-object v1, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
add-long v4, v18, v16
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/k;->b(Lokio/f;JJ)V
|
||||
|
||||
:cond_d
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
add-long v1, v18, v16
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/r;->aG(J)V
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_e
|
||||
new-instance v0, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_f
|
||||
:goto_6
|
||||
if-eqz v15, :cond_10
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
const-wide/16 v1, 0x2
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/r;->az(J)V
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0}, Lokio/f;->In()S
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, v6, Lokio/k;->bBR:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/CRC32;->getValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
int-to-short v1, v2
|
||||
|
||||
const-string v2, "FHCRC"
|
||||
|
||||
invoke-static {v2, v0, v1}, Lokio/k;->r(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBR:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/CRC32;->reset()V
|
||||
|
||||
:cond_10
|
||||
iput-byte v11, v6, Lokio/k;->bBO:B
|
||||
|
||||
:cond_11
|
||||
iget-byte v0, v6, Lokio/k;->bBO:B
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
if-ne v0, v11, :cond_13
|
||||
|
||||
iget-wide v2, v7, Lokio/f;->size:J
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBQ:Lokio/l;
|
||||
|
||||
invoke-virtual {v0, v7, v8, v9}, Lokio/l;->a(Lokio/f;J)J
|
||||
|
||||
move-result-wide v8
|
||||
|
||||
cmp-long v0, v8, v12
|
||||
|
||||
if-eqz v0, :cond_12
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
move-wide v4, v8
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/k;->b(Lokio/f;JJ)V
|
||||
|
||||
return-wide v8
|
||||
|
||||
:cond_12
|
||||
iput-byte v1, v6, Lokio/k;->bBO:B
|
||||
|
||||
:cond_13
|
||||
iget-byte v0, v6, Lokio/k;->bBO:B
|
||||
|
||||
if-ne v0, v1, :cond_15
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Io()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, v6, Lokio/k;->bBR:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/CRC32;->getValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
const-string v1, "CRC"
|
||||
|
||||
invoke-static {v1, v0, v2}, Lokio/k;->r(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Io()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, v6, Lokio/k;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getBytesWritten()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
const-string v1, "ISIZE"
|
||||
|
||||
invoke-static {v1, v0, v2}, Lokio/k;->r(Ljava/lang/String;II)V
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
iput-byte v0, v6, Lokio/k;->bBO:B
|
||||
|
||||
iget-object v0, v6, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Ik()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_14
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_14
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const-string v1, "gzip finished without exhausting source"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_15
|
||||
:goto_7
|
||||
return-wide v12
|
||||
|
||||
:cond_16
|
||||
invoke-static/range {p2 .. p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "byteCount < 0: "
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v1, Ljava/lang/Throwable;
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/k;->bBQ:Lokio/l;
|
||||
|
||||
invoke-virtual {v0}, Lokio/l;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/k;->bBP:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->timeout()Lokio/y;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,412 +0,0 @@
|
|||
.class public final Lokio/l;
|
||||
.super Ljava/lang/Object;
|
||||
.source "InflaterSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/x;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private bBS:I
|
||||
|
||||
.field private final inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
.field private final lZ:Lokio/g;
|
||||
|
||||
.field private w:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/g;Ljava/util/zip/Inflater;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "inflater"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/l;->lZ:Lokio/g;
|
||||
|
||||
iput-object p2, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final IH()V
|
||||
.locals 4
|
||||
|
||||
iget v0, p0, Lokio/l;->bBS:I
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getRemaining()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
iget v1, p0, Lokio/l;->bBS:I
|
||||
|
||||
sub-int/2addr v1, v0
|
||||
|
||||
iput v1, p0, Lokio/l;->bBS:I
|
||||
|
||||
iget-object v1, p0, Lokio/l;->lZ:Lokio/g;
|
||||
|
||||
int-to-long v2, v0
|
||||
|
||||
invoke-interface {v1, v2, v3}, Lokio/g;->aG(J)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/f;J)J
|
||||
.locals 8
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
cmp-long v4, p2, v0
|
||||
|
||||
if-ltz v4, :cond_0
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v5, :cond_d
|
||||
|
||||
iget-boolean v5, p0, Lokio/l;->w:Z
|
||||
|
||||
xor-int/2addr v5, v3
|
||||
|
||||
if-eqz v5, :cond_c
|
||||
|
||||
if-nez v4, :cond_1
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
iget-object v0, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/Inflater;->needsInput()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
:goto_2
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_2
|
||||
invoke-direct {p0}, Lokio/l;->IH()V
|
||||
|
||||
iget-object v0, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/Inflater;->getRemaining()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_3
|
||||
if-eqz v0, :cond_b
|
||||
|
||||
iget-object v0, p0, Lokio/l;->lZ:Lokio/g;
|
||||
|
||||
invoke-interface {v0}, Lokio/g;->Ik()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
iget-object v0, p0, Lokio/l;->lZ:Lokio/g;
|
||||
|
||||
invoke-interface {v0}, Lokio/g;->Ih()Lokio/f;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v0, v0, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
if-nez v0, :cond_5
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_5
|
||||
iget v1, v0, Lokio/s;->limit:I
|
||||
|
||||
iget v4, v0, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v1, v4
|
||||
|
||||
iput v1, p0, Lokio/l;->bBS:I
|
||||
|
||||
iget-object v1, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
iget-object v4, v0, Lokio/s;->data:[B
|
||||
|
||||
iget v0, v0, Lokio/s;->pos:I
|
||||
|
||||
iget v5, p0, Lokio/l;->bBS:I
|
||||
|
||||
invoke-virtual {v1, v4, v0, v5}, Ljava/util/zip/Inflater;->setInput([BII)V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:goto_4
|
||||
:try_start_0
|
||||
invoke-virtual {p1, v3}, Lokio/f;->dG(I)Lokio/s;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget v4, v1, Lokio/s;->limit:I
|
||||
|
||||
rsub-int v4, v4, 0x2000
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
invoke-static {p2, p3, v4, v5}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
long-to-int v5, v4
|
||||
|
||||
iget-object v4, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
iget-object v6, v1, Lokio/s;->data:[B
|
||||
|
||||
iget v7, v1, Lokio/s;->limit:I
|
||||
|
||||
invoke-virtual {v4, v6, v7, v5}, Ljava/util/zip/Inflater;->inflate([BII)I
|
||||
|
||||
move-result v4
|
||||
|
||||
if-lez v4, :cond_6
|
||||
|
||||
iget p2, v1, Lokio/s;->limit:I
|
||||
|
||||
add-int/2addr p2, v4
|
||||
|
||||
iput p2, v1, Lokio/s;->limit:I
|
||||
|
||||
iget-wide p2, p1, Lokio/f;->size:J
|
||||
|
||||
int-to-long v0, v4
|
||||
|
||||
add-long/2addr p2, v0
|
||||
|
||||
iput-wide p2, p1, Lokio/f;->size:J
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_6
|
||||
iget-object v4, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v4}, Ljava/util/zip/Inflater;->finished()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-nez v4, :cond_9
|
||||
|
||||
iget-object v4, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v4}, Ljava/util/zip/Inflater;->needsDictionary()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_7
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_7
|
||||
if-nez v0, :cond_8
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_8
|
||||
new-instance p1, Ljava/io/EOFException;
|
||||
|
||||
const-string p2, "source exhausted prematurely"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_9
|
||||
:goto_5
|
||||
invoke-direct {p0}, Lokio/l;->IH()V
|
||||
|
||||
iget p2, v1, Lokio/s;->pos:I
|
||||
|
||||
iget p3, v1, Lokio/s;->limit:I
|
||||
|
||||
if-ne p2, p3, :cond_a
|
||||
|
||||
invoke-virtual {v1}, Lokio/s;->IM()Lokio/s;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iput-object p2, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
invoke-static {v1}, Lokio/t;->b(Lokio/s;)V
|
||||
:try_end_0
|
||||
.catch Ljava/util/zip/DataFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:cond_a
|
||||
const-wide/16 p1, -0x1
|
||||
|
||||
return-wide p1
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
new-instance p2, Ljava/io/IOException;
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
check-cast p2, Ljava/lang/Throwable;
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_b
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "?"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_c
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_d
|
||||
invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "byteCount < 0: "
|
||||
|
||||
invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p2, Ljava/lang/Throwable;
|
||||
|
||||
throw p2
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/l;->w:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/l;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/Inflater;->end()V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lokio/l;->w:Z
|
||||
|
||||
iget-object v0, p0, Lokio/l;->lZ:Lokio/g;
|
||||
|
||||
invoke-interface {v0}, Lokio/g;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/l;->lZ:Lokio/g;
|
||||
|
||||
invoke-interface {v0}, Lokio/g;->timeout()Lokio/y;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,214 +0,0 @@
|
|||
.class final Lokio/m;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Okio.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/x;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final bBT:Ljava/io/InputStream;
|
||||
|
||||
.field private final bBU:Lokio/y;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/InputStream;Lokio/y;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "input"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "timeout"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/m;->bBT:Ljava/io/InputStream;
|
||||
|
||||
iput-object p2, p0, Lokio/m;->bBU:Lokio/y;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/f;J)J
|
||||
.locals 3
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ltz v2, :cond_1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Lokio/m;->bBU:Lokio/y;
|
||||
|
||||
invoke-virtual {v1}, Lokio/y;->IG()V
|
||||
|
||||
invoke-virtual {p1, v0}, Lokio/f;->dG(I)Lokio/s;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget v1, v0, Lokio/s;->limit:I
|
||||
|
||||
rsub-int v1, v1, 0x2000
|
||||
|
||||
int-to-long v1, v1
|
||||
|
||||
invoke-static {p2, p3, v1, v2}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide p2
|
||||
|
||||
long-to-int p3, p2
|
||||
|
||||
iget-object p2, p0, Lokio/m;->bBT:Ljava/io/InputStream;
|
||||
|
||||
iget-object v1, v0, Lokio/s;->data:[B
|
||||
|
||||
iget v2, v0, Lokio/s;->limit:I
|
||||
|
||||
invoke-virtual {p2, v1, v2, p3}, Ljava/io/InputStream;->read([BII)I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 p3, -0x1
|
||||
|
||||
if-ne p2, p3, :cond_2
|
||||
|
||||
const-wide/16 p1, -0x1
|
||||
|
||||
return-wide p1
|
||||
|
||||
:cond_2
|
||||
iget p3, v0, Lokio/s;->limit:I
|
||||
|
||||
add-int/2addr p3, p2
|
||||
|
||||
iput p3, v0, Lokio/s;->limit:I
|
||||
|
||||
iget-wide v0, p1, Lokio/f;->size:J
|
||||
|
||||
int-to-long p2, p2
|
||||
|
||||
add-long/2addr v0, p2
|
||||
|
||||
iput-wide v0, p1, Lokio/f;->size:J
|
||||
:try_end_0
|
||||
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-wide p2
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
invoke-static {p1}, Lokio/n;->a(Ljava/lang/AssertionError;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
new-instance p2, Ljava/io/IOException;
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
check-cast p2, Ljava/lang/Throwable;
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_3
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_4
|
||||
invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "byteCount < 0: "
|
||||
|
||||
invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p2, Ljava/lang/Throwable;
|
||||
|
||||
throw p2
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/m;->bBT:Ljava/io/InputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/InputStream;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/m;->bBU:Lokio/y;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "source("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/m;->bBT:Ljava/io/InputStream;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,301 +0,0 @@
|
|||
.class public final Lokio/n;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Okio.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final B(Ljava/io/File;)Lokio/x;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/FileNotFoundException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/io/FileInputStream;
|
||||
|
||||
invoke-direct {v0, p0}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
|
||||
|
||||
check-cast v0, Ljava/io/InputStream;
|
||||
|
||||
invoke-static {v0}, Lokio/n;->w(Ljava/io/InputStream;)Lokio/x;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final D(Ljava/io/File;)Lokio/v;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/FileNotFoundException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/io/FileOutputStream;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, p0, v1}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
|
||||
|
||||
check-cast v0, Ljava/io/OutputStream;
|
||||
|
||||
invoke-static {v0}, Lokio/n;->c(Ljava/io/OutputStream;)Lokio/v;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final II()Lokio/v;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lokio/e;
|
||||
|
||||
invoke-direct {v0}, Lokio/e;-><init>()V
|
||||
|
||||
check-cast v0, Lokio/v;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static final a(Ljava/io/File;Z)Lokio/v;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/FileNotFoundException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string p1, "$receiver"
|
||||
|
||||
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p1, Ljava/io/FileOutputStream;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p1, p0, v0}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
|
||||
|
||||
check-cast p1, Ljava/io/OutputStream;
|
||||
|
||||
invoke-static {p1}, Lokio/n;->c(Ljava/io/OutputStream;)Lokio/v;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final a(Ljava/lang/AssertionError;)Z
|
||||
.locals 4
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/AssertionError;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
check-cast p0, Ljava/lang/CharSequence;
|
||||
|
||||
const-string v0, "getsockname failed"
|
||||
|
||||
check-cast v0, Ljava/lang/CharSequence;
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {p0, v0, v1, v2, v3}, Lkotlin/text/l;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
return p0
|
||||
|
||||
:cond_1
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public static final b(Ljava/net/Socket;)Lokio/v;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/w;
|
||||
|
||||
invoke-direct {v0, p0}, Lokio/w;-><init>(Ljava/net/Socket;)V
|
||||
|
||||
new-instance v1, Lokio/p;
|
||||
|
||||
invoke-virtual {p0}, Ljava/net/Socket;->getOutputStream()Ljava/io/OutputStream;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v2, "getOutputStream()"
|
||||
|
||||
invoke-static {p0, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v2, v0
|
||||
|
||||
check-cast v2, Lokio/y;
|
||||
|
||||
invoke-direct {v1, p0, v2}, Lokio/p;-><init>(Ljava/io/OutputStream;Lokio/y;)V
|
||||
|
||||
check-cast v1, Lokio/v;
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/w;->a(Lokio/v;)Lokio/v;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final c(Lokio/v;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/q;
|
||||
|
||||
invoke-direct {v0, p0}, Lokio/q;-><init>(Lokio/v;)V
|
||||
|
||||
check-cast v0, Lokio/BufferedSink;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static final c(Lokio/x;)Lokio/g;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/r;
|
||||
|
||||
invoke-direct {v0, p0}, Lokio/r;-><init>(Lokio/x;)V
|
||||
|
||||
check-cast v0, Lokio/g;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static final c(Ljava/io/OutputStream;)Lokio/v;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/p;
|
||||
|
||||
new-instance v1, Lokio/y;
|
||||
|
||||
invoke-direct {v1}, Lokio/y;-><init>()V
|
||||
|
||||
invoke-direct {v0, p0, v1}, Lokio/p;-><init>(Ljava/io/OutputStream;Lokio/y;)V
|
||||
|
||||
check-cast v0, Lokio/v;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static final c(Ljava/net/Socket;)Lokio/x;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/w;
|
||||
|
||||
invoke-direct {v0, p0}, Lokio/w;-><init>(Ljava/net/Socket;)V
|
||||
|
||||
new-instance v1, Lokio/m;
|
||||
|
||||
invoke-virtual {p0}, Ljava/net/Socket;->getInputStream()Ljava/io/InputStream;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v2, "getInputStream()"
|
||||
|
||||
invoke-static {p0, v2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v2, v0
|
||||
|
||||
check-cast v2, Lokio/y;
|
||||
|
||||
invoke-direct {v1, p0, v2}, Lokio/m;-><init>(Ljava/io/InputStream;Lokio/y;)V
|
||||
|
||||
check-cast v1, Lokio/x;
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/w;->a(Lokio/x;)Lokio/x;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final w(Ljava/io/InputStream;)Lokio/x;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "$receiver"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lokio/m;
|
||||
|
||||
new-instance v1, Lokio/y;
|
||||
|
||||
invoke-direct {v1}, Lokio/y;-><init>()V
|
||||
|
||||
invoke-direct {v0, p0, v1}, Lokio/m;-><init>(Ljava/io/InputStream;Lokio/y;)V
|
||||
|
||||
check-cast v0, Lokio/x;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,997 +0,0 @@
|
|||
.class public final Lokio/o$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Options.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/o;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(B)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/o$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final a(JLokio/f;ILjava/util/List;IILjava/util/List;)V
|
||||
.locals 19
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(J",
|
||||
"Lokio/f;",
|
||||
"I",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Lokio/ByteString;",
|
||||
">;II",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Integer;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v0, p3
|
||||
|
||||
move/from16 v1, p4
|
||||
|
||||
move-object/from16 v11, p5
|
||||
|
||||
move/from16 v2, p6
|
||||
|
||||
move/from16 v12, p7
|
||||
|
||||
move-object/from16 v13, p8
|
||||
|
||||
if-ge v2, v12, :cond_0
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_0
|
||||
const-string v6, "Failed requirement."
|
||||
|
||||
if-eqz v5, :cond_14
|
||||
|
||||
move v5, v2
|
||||
|
||||
:goto_1
|
||||
if-ge v5, v12, :cond_3
|
||||
|
||||
invoke-interface {v11, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
check-cast v7, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v7}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v7
|
||||
|
||||
if-lt v7, v1, :cond_1
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_1
|
||||
const/4 v7, 0x0
|
||||
|
||||
:goto_2
|
||||
if-eqz v7, :cond_2
|
||||
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
invoke-interface/range {p5 .. p6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, Lokio/ByteString;
|
||||
|
||||
add-int/lit8 v6, v12, -0x1
|
||||
|
||||
invoke-interface {v11, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v5}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v7
|
||||
|
||||
const/4 v14, -0x1
|
||||
|
||||
if-ne v1, v7, :cond_4
|
||||
|
||||
invoke-interface {v13, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/Number;->intValue()I
|
||||
|
||||
move-result v5
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
invoke-interface {v11, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
check-cast v7, Lokio/ByteString;
|
||||
|
||||
move v8, v2
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_4
|
||||
move v8, v2
|
||||
|
||||
move-object v7, v5
|
||||
|
||||
const/4 v5, -0x1
|
||||
|
||||
:goto_3
|
||||
invoke-virtual {v7, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {v6, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v9
|
||||
|
||||
const-wide/16 v15, 0x2
|
||||
|
||||
if-eq v2, v9, :cond_e
|
||||
|
||||
add-int/lit8 v2, v8, 0x1
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
:goto_4
|
||||
if-ge v2, v12, :cond_6
|
||||
|
||||
add-int/lit8 v3, v2, -0x1
|
||||
|
||||
invoke-interface {v11, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v3, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-interface {v11, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v6, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eq v3, v6, :cond_5
|
||||
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
|
||||
:cond_5
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_6
|
||||
invoke-static/range {p3 .. p3}, Lokio/o$a;->c(Lokio/f;)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
add-long v2, p1, v2
|
||||
|
||||
add-long/2addr v2, v15
|
||||
|
||||
mul-int/lit8 v6, v4, 0x2
|
||||
|
||||
int-to-long v6, v6
|
||||
|
||||
add-long v15, v2, v6
|
||||
|
||||
invoke-virtual {v0, v4}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
invoke-virtual {v0, v5}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
move v2, v8
|
||||
|
||||
:goto_5
|
||||
if-ge v2, v12, :cond_9
|
||||
|
||||
invoke-interface {v11, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v3, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eq v2, v8, :cond_7
|
||||
|
||||
add-int/lit8 v4, v2, -0x1
|
||||
|
||||
invoke-interface {v11, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v4, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eq v3, v4, :cond_8
|
||||
|
||||
:cond_7
|
||||
and-int/lit16 v3, v3, 0xff
|
||||
|
||||
invoke-virtual {v0, v3}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
:cond_8
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_9
|
||||
new-instance v17, Lokio/f;
|
||||
|
||||
invoke-direct/range {v17 .. v17}, Lokio/f;-><init>()V
|
||||
|
||||
:goto_6
|
||||
if-ge v8, v12, :cond_d
|
||||
|
||||
invoke-interface {v11, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v2, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v2
|
||||
|
||||
add-int/lit8 v3, v8, 0x1
|
||||
|
||||
move v4, v3
|
||||
|
||||
:goto_7
|
||||
if-ge v4, v12, :cond_b
|
||||
|
||||
invoke-interface {v11, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v5, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eq v2, v5, :cond_a
|
||||
|
||||
move v10, v4
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_a
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_b
|
||||
move v10, v12
|
||||
|
||||
:goto_8
|
||||
if-ne v3, v10, :cond_c
|
||||
|
||||
add-int/lit8 v2, v1, 0x1
|
||||
|
||||
invoke-interface {v11, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v3}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-ne v2, v3, :cond_c
|
||||
|
||||
invoke-interface {v13, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Number;->intValue()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {v0, v2}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
move/from16 v18, v10
|
||||
|
||||
goto :goto_9
|
||||
|
||||
:cond_c
|
||||
invoke-static/range {v17 .. v17}, Lokio/o$a;->c(Lokio/f;)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
add-long/2addr v2, v15
|
||||
|
||||
long-to-int v3, v2
|
||||
|
||||
mul-int/lit8 v3, v3, -0x1
|
||||
|
||||
invoke-virtual {v0, v3}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
move-object/from16 v2, p0
|
||||
|
||||
check-cast v2, Lokio/o$a;
|
||||
|
||||
add-int/lit8 v6, v1, 0x1
|
||||
|
||||
move-wide v3, v15
|
||||
|
||||
move-object/from16 v5, v17
|
||||
|
||||
move-object/from16 v7, p5
|
||||
|
||||
move v9, v10
|
||||
|
||||
move/from16 v18, v10
|
||||
|
||||
move-object/from16 v10, p8
|
||||
|
||||
invoke-direct/range {v2 .. v10}, Lokio/o$a;->a(JLokio/f;ILjava/util/List;IILjava/util/List;)V
|
||||
|
||||
:goto_9
|
||||
move/from16 v8, v18
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_d
|
||||
move-object/from16 v1, v17
|
||||
|
||||
check-cast v1, Lokio/x;
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/f;->b(Lokio/x;)J
|
||||
|
||||
return-void
|
||||
|
||||
:cond_e
|
||||
invoke-virtual {v7}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {v6}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v9
|
||||
|
||||
invoke-static {v2, v9}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v2
|
||||
|
||||
move v9, v1
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
:goto_a
|
||||
if-ge v9, v2, :cond_f
|
||||
|
||||
invoke-virtual {v7, v9}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {v6, v9}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v4
|
||||
|
||||
if-ne v3, v4, :cond_f
|
||||
|
||||
add-int/lit8 v10, v10, 0x1
|
||||
|
||||
add-int/lit8 v9, v9, 0x1
|
||||
|
||||
goto :goto_a
|
||||
|
||||
:cond_f
|
||||
invoke-static/range {p3 .. p3}, Lokio/o$a;->c(Lokio/f;)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
add-long v2, p1, v2
|
||||
|
||||
add-long/2addr v2, v15
|
||||
|
||||
int-to-long v14, v10
|
||||
|
||||
add-long/2addr v2, v14
|
||||
|
||||
const-wide/16 v14, 0x1
|
||||
|
||||
add-long/2addr v2, v14
|
||||
|
||||
neg-int v6, v10
|
||||
|
||||
invoke-virtual {v0, v6}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
invoke-virtual {v0, v5}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
add-int v5, v1, v10
|
||||
|
||||
:goto_b
|
||||
if-ge v1, v5, :cond_10
|
||||
|
||||
invoke-virtual {v7, v1}, Lokio/ByteString;->dH(I)B
|
||||
|
||||
move-result v6
|
||||
|
||||
and-int/lit16 v6, v6, 0xff
|
||||
|
||||
invoke-virtual {v0, v6}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_b
|
||||
|
||||
:cond_10
|
||||
add-int/lit8 v1, v8, 0x1
|
||||
|
||||
if-ne v1, v12, :cond_13
|
||||
|
||||
invoke-interface {v11, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v1}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v1
|
||||
|
||||
if-ne v5, v1, :cond_11
|
||||
|
||||
const/16 v17, 0x1
|
||||
|
||||
goto :goto_c
|
||||
|
||||
:cond_11
|
||||
const/16 v17, 0x0
|
||||
|
||||
:goto_c
|
||||
if-eqz v17, :cond_12
|
||||
|
||||
invoke-interface {v13, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Number;->intValue()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_12
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Check failed."
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_13
|
||||
new-instance v10, Lokio/f;
|
||||
|
||||
invoke-direct {v10}, Lokio/f;-><init>()V
|
||||
|
||||
invoke-static {v10}, Lokio/o$a;->c(Lokio/f;)J
|
||||
|
||||
move-result-wide v6
|
||||
|
||||
add-long/2addr v6, v2
|
||||
|
||||
long-to-int v1, v6
|
||||
|
||||
const/4 v4, -0x1
|
||||
|
||||
mul-int/lit8 v1, v1, -0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
move-object/from16 v1, p0
|
||||
|
||||
check-cast v1, Lokio/o$a;
|
||||
|
||||
move-object v4, v10
|
||||
|
||||
move-object/from16 v6, p5
|
||||
|
||||
move v7, v8
|
||||
|
||||
move/from16 v8, p7
|
||||
|
||||
move-object/from16 v9, p8
|
||||
|
||||
invoke-direct/range {v1 .. v9}, Lokio/o$a;->a(JLokio/f;ILjava/util/List;IILjava/util/List;)V
|
||||
|
||||
check-cast v10, Lokio/x;
|
||||
|
||||
invoke-virtual {v0, v10}, Lokio/f;->b(Lokio/x;)J
|
||||
|
||||
return-void
|
||||
|
||||
:cond_14
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method private static c(Lokio/f;)J
|
||||
.locals 4
|
||||
|
||||
iget-wide v0, p0, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v2, 0x4
|
||||
|
||||
div-long/2addr v0, v2
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final varargs a([Lokio/ByteString;)Lokio/o;
|
||||
.locals 14
|
||||
|
||||
const-string v0, "byteStrings"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
array-length v0, p1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
new-instance p1, Lokio/o;
|
||||
|
||||
new-array v0, v2, [Lokio/ByteString;
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
new-array v1, v1, [I
|
||||
|
||||
fill-array-data v1, :array_0
|
||||
|
||||
invoke-direct {p1, v0, v1, v2}, Lokio/o;-><init>([Lokio/ByteString;[IB)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1}, Lkotlin/a/g;->toMutableList([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Lkotlin/a/m;->sort(Ljava/util/List;)V
|
||||
|
||||
new-instance v3, Ljava/util/ArrayList;
|
||||
|
||||
array-length v4, p1
|
||||
|
||||
invoke-direct {v3, v4}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
check-cast v3, Ljava/util/Collection;
|
||||
|
||||
array-length v4, p1
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_1
|
||||
if-ge v5, v4, :cond_2
|
||||
|
||||
const/4 v6, -0x1
|
||||
|
||||
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-interface {v3, v6}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||||
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
check-cast v3, Ljava/util/List;
|
||||
|
||||
check-cast v3, Ljava/util/Collection;
|
||||
|
||||
new-array v4, v2, [Ljava/lang/Integer;
|
||||
|
||||
invoke-interface {v3, v4}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_c
|
||||
|
||||
check-cast v3, [Ljava/lang/Integer;
|
||||
|
||||
array-length v4, v3
|
||||
|
||||
invoke-static {v3, v4}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, [Ljava/lang/Integer;
|
||||
|
||||
invoke-static {v3}, Lkotlin/a/m;->mutableListOf([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
array-length v9, p1
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
const/4 v12, 0x0
|
||||
|
||||
:goto_2
|
||||
if-ge v10, v9, :cond_3
|
||||
|
||||
aget-object v3, p1, v10
|
||||
|
||||
add-int/lit8 v13, v12, 0x1
|
||||
|
||||
move-object v4, v3
|
||||
|
||||
check-cast v4, Ljava/lang/Comparable;
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x6
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
invoke-static/range {v3 .. v8}, Lkotlin/a/m;->binarySearch$default(Ljava/util/List;Ljava/lang/Comparable;IIILjava/lang/Object;)I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-interface {v11, v3, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
add-int/lit8 v10, v10, 0x1
|
||||
|
||||
move v12, v13
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v3}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-lez v3, :cond_4
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_4
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_3
|
||||
if-eqz v3, :cond_b
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_4
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v4
|
||||
|
||||
if-ge v3, v4, :cond_9
|
||||
|
||||
invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Lokio/ByteString;
|
||||
|
||||
add-int/lit8 v5, v3, 0x1
|
||||
|
||||
move v6, v5
|
||||
|
||||
:goto_5
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v7
|
||||
|
||||
if-ge v6, v7, :cond_8
|
||||
|
||||
invoke-interface {v0, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
check-cast v7, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {v7, v4}, Lokio/ByteString;->n(Lokio/ByteString;)Z
|
||||
|
||||
move-result v8
|
||||
|
||||
if-eqz v8, :cond_8
|
||||
|
||||
invoke-virtual {v7}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v8
|
||||
|
||||
invoke-virtual {v4}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v9
|
||||
|
||||
if-eq v8, v9, :cond_5
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_5
|
||||
const/4 v8, 0x0
|
||||
|
||||
:goto_6
|
||||
if-eqz v8, :cond_7
|
||||
|
||||
invoke-interface {v11, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
check-cast v7, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {v7}, Ljava/lang/Number;->intValue()I
|
||||
|
||||
move-result v7
|
||||
|
||||
invoke-interface {v11, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
check-cast v8, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {v8}, Ljava/lang/Number;->intValue()I
|
||||
|
||||
move-result v8
|
||||
|
||||
if-le v7, v8, :cond_6
|
||||
|
||||
invoke-interface {v0, v6}, Ljava/util/List;->remove(I)Ljava/lang/Object;
|
||||
|
||||
invoke-interface {v11, v6}, Ljava/util/List;->remove(I)Ljava/lang/Object;
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_6
|
||||
add-int/lit8 v6, v6, 0x1
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_7
|
||||
invoke-static {v7}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "duplicate option: "
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_8
|
||||
move v3, v5
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_9
|
||||
new-instance v1, Lokio/f;
|
||||
|
||||
invoke-direct {v1}, Lokio/f;-><init>()V
|
||||
|
||||
move-object v3, p0
|
||||
|
||||
check-cast v3, Lokio/o$a;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v10
|
||||
|
||||
const-wide/16 v4, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v6, v1
|
||||
|
||||
move-object v8, v0
|
||||
|
||||
invoke-direct/range {v3 .. v11}, Lokio/o$a;->a(JLokio/f;ILjava/util/List;IILjava/util/List;)V
|
||||
|
||||
invoke-static {v1}, Lokio/o$a;->c(Lokio/f;)J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
long-to-int v0, v3
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_7
|
||||
invoke-virtual {v1}, Lokio/f;->Ik()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-nez v4, :cond_a
|
||||
|
||||
add-int/lit8 v4, v3, 0x1
|
||||
|
||||
invoke-virtual {v1}, Lokio/f;->readInt()I
|
||||
|
||||
move-result v5
|
||||
|
||||
aput v5, v0, v3
|
||||
|
||||
move v3, v4
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_a
|
||||
new-instance v1, Lokio/o;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, [Lokio/ByteString;
|
||||
|
||||
invoke-direct {v1, p1, v0, v2}, Lokio/o;-><init>([Lokio/ByteString;[IB)V
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_b
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "the empty byte string is not a supported option"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_c
|
||||
new-instance p1, Lkotlin/r;
|
||||
|
||||
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
|
||||
|
||||
invoke-direct {p1, v0}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
nop
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x0
|
||||
-0x1
|
||||
.end array-data
|
||||
.end method
|
|
@ -1,219 +0,0 @@
|
|||
.class public final Lokio/o;
|
||||
.super Ljava/util/AbstractList;
|
||||
.source "Options.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/RandomAccess;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lokio/o$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/AbstractList<",
|
||||
"Lokio/ByteString;",
|
||||
">;",
|
||||
"Ljava/util/RandomAccess;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final bBX:Lokio/o$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final bBV:[Lokio/ByteString;
|
||||
|
||||
.field final bBW:[I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/o$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/o$a;-><init>(B)V
|
||||
|
||||
sput-object v0, Lokio/o;->bBX:Lokio/o$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>([Lokio/ByteString;[I)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/util/AbstractList;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/o;->bBV:[Lokio/ByteString;
|
||||
|
||||
iput-object p2, p0, Lokio/o;->bBW:[I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>([Lokio/ByteString;[IB)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Lokio/o;-><init>([Lokio/ByteString;[I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final varargs a([Lokio/ByteString;)Lokio/o;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lokio/o;->bBX:Lokio/o$a;
|
||||
|
||||
invoke-virtual {v0, p0}, Lokio/o$a;->a([Lokio/ByteString;)Lokio/o;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bridge contains(Ljava/lang/Object;)Z
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic get(I)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/o;->bBV:[Lokio/ByteString;
|
||||
|
||||
aget-object p1, v0, p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final bridge indexOf(Ljava/lang/Object;)I
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->indexOf(Ljava/lang/Object;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final bridge lastIndexOf(Ljava/lang/Object;)I
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->lastIndexOf(Ljava/lang/Object;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final bridge remove(Ljava/lang/Object;)Z
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final bridge size()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/o;->bBV:[Lokio/ByteString;
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
return v0
|
||||
.end method
|
|
@ -1,180 +0,0 @@
|
|||
.class final Lokio/p;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Okio.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/v;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final bBU:Lokio/y;
|
||||
|
||||
.field private final bBY:Ljava/io/OutputStream;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/OutputStream;Lokio/y;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "out"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "timeout"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/p;->bBY:Ljava/io/OutputStream;
|
||||
|
||||
iput-object p2, p0, Lokio/p;->bBU:Lokio/y;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/p;->bBY:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/p;->bBY:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/p;->bBU:Lokio/y;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "sink("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/p;->bBY:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final write(Lokio/f;J)V
|
||||
.locals 7
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v1, p1, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
move-wide v5, p2
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lokio/c;->a(JJJ)V
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-lez v2, :cond_2
|
||||
|
||||
iget-object v0, p0, Lokio/p;->bBU:Lokio/y;
|
||||
|
||||
invoke-virtual {v0}, Lokio/y;->IG()V
|
||||
|
||||
iget-object v0, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_1
|
||||
iget v1, v0, Lokio/s;->limit:I
|
||||
|
||||
iget v2, v0, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
int-to-long v1, v1
|
||||
|
||||
invoke-static {p2, p3, v1, v2}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
iget-object v1, p0, Lokio/p;->bBY:Ljava/io/OutputStream;
|
||||
|
||||
iget-object v3, v0, Lokio/s;->data:[B
|
||||
|
||||
iget v4, v0, Lokio/s;->pos:I
|
||||
|
||||
invoke-virtual {v1, v3, v4, v2}, Ljava/io/OutputStream;->write([BII)V
|
||||
|
||||
iget v1, v0, Lokio/s;->pos:I
|
||||
|
||||
add-int/2addr v1, v2
|
||||
|
||||
iput v1, v0, Lokio/s;->pos:I
|
||||
|
||||
int-to-long v1, v2
|
||||
|
||||
sub-long/2addr p2, v1
|
||||
|
||||
iget-wide v3, p1, Lokio/f;->size:J
|
||||
|
||||
sub-long/2addr v3, v1
|
||||
|
||||
iput-wide v3, p1, Lokio/f;->size:J
|
||||
|
||||
iget v1, v0, Lokio/s;->pos:I
|
||||
|
||||
iget v2, v0, Lokio/s;->limit:I
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lokio/s;->IM()Lokio/s;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iput-object v1, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
invoke-static {v0}, Lokio/t;->b(Lokio/s;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
|
@ -1,799 +0,0 @@
|
|||
.class public final Lokio/q;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RealBufferedSink.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/BufferedSink;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final bBZ:Lokio/f;
|
||||
|
||||
.field public final bCa:Lokio/v;
|
||||
|
||||
.field public w:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/v;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
new-instance p1, Lokio/f;
|
||||
|
||||
invoke-direct {p1}, Lokio/f;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final D([B)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->C([B)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
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
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final Ih()Lokio/f;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Ii()Lokio/BufferedSink;
|
||||
.locals 5
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0}, Lokio/f;->Im()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v2, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
iget-object v3, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-interface {v2, v3, v0, v1}, Lokio/v;->write(Lokio/f;J)V
|
||||
|
||||
:cond_0
|
||||
move-object v0, p0
|
||||
|
||||
check-cast v0, Lokio/BufferedSink;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final Ij()Lokio/BufferedSink;
|
||||
.locals 5
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v0, v0, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v2, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
iget-object v3, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-interface {v2, v3, v0, v1}, Lokio/v;->write(Lokio/f;J)V
|
||||
|
||||
:cond_0
|
||||
move-object v0, p0
|
||||
|
||||
check-cast v0, Lokio/BufferedSink;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final aI(J)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lokio/f;->aH(J)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final aK(J)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lokio/f;->aJ(J)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b(Lokio/x;)J
|
||||
.locals 7
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v3, 0x2000
|
||||
|
||||
invoke-interface {p1, v2, v3, v4}, Lokio/x;->a(Lokio/f;J)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
const-wide/16 v4, -0x1
|
||||
|
||||
cmp-long v6, v2, v4
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 6
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v1, v1, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-lez v5, :cond_1
|
||||
|
||||
iget-object v1, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
iget-object v2, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
iget-object v3, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v3, v3, Lokio/f;->size:J
|
||||
|
||||
invoke-interface {v1, v2, v3, v4}, Lokio/v;->write(Lokio/f;J)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
invoke-interface {v1}, Lokio/v;->close()V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_1
|
||||
move-exception v1
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
move-object v0, v1
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
const/4 v1, 0x1
|
||||
|
||||
iput-boolean v1, p0, Lokio/q;->w:Z
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final dB(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->dA(I)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
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
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final dD(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->dC(I)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
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
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final dF(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->dE(I)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
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
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final et(Ljava/lang/String;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "string"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->es(Ljava/lang/String;)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
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
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 5
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v0, v0, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
iget-object v1, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v2, v1, Lokio/f;->size:J
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Lokio/v;->write(Lokio/f;J)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
invoke-interface {v0}, Lokio/v;->flush()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final isOpen()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final k(Lokio/ByteString;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "byteString"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->j(Lokio/ByteString;)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
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
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final l([BII)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/f;->k([BII)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final q(Ljava/lang/String;II)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "string"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/f;->p(Ljava/lang/String;II)Lokio/f;
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
invoke-interface {v0}, Lokio/v;->timeout()Lokio/y;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "buffer("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/q;->bCa:Lokio/v;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final write(Ljava/nio/ByteBuffer;)I
|
||||
.locals 1
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/f;->write(Ljava/nio/ByteBuffer;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
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
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final write(Lokio/f;J)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "source"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p0, Lokio/q;->w:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/q;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/f;->write(Lokio/f;J)V
|
||||
|
||||
invoke-virtual {p0}, Lokio/q;->Ii()Lokio/BufferedSink;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,258 +0,0 @@
|
|||
.class public final Lokio/r$a;
|
||||
.super Ljava/io/InputStream;
|
||||
.source "RealBufferedSource.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/r;->Il()Ljava/io/InputStream;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic bCc:Lokio/r;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/r;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final available()I
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-boolean v0, v0, Lokio/r;->w:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v0, v0, Lokio/f;->size:J
|
||||
|
||||
const-wide/32 v2, 0x7fffffff
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
long-to-int v1, v0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final read()I
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-boolean v0, v0, Lokio/r;->w:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v0, v0, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bCb:Lokio/x;
|
||||
|
||||
iget-object v1, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v1, v1, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v2, 0x2000
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Lokio/x;->a(Lokio/f;J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/16 v2, -0x1
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0}, Lokio/f;->readByte()B
|
||||
|
||||
move-result v0
|
||||
|
||||
and-int/lit16 v0, v0, 0xff
|
||||
|
||||
return v0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final read([BII)I
|
||||
.locals 7
|
||||
|
||||
const-string v0, "data"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-boolean v0, v0, Lokio/r;->w:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
array-length v0, p1
|
||||
|
||||
int-to-long v1, v0
|
||||
|
||||
int-to-long v3, p2
|
||||
|
||||
int-to-long v5, p3
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lokio/c;->a(JJJ)V
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
iget-wide v0, v0, Lokio/f;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bCb:Lokio/x;
|
||||
|
||||
iget-object v1, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v1, v1, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
const-wide/16 v2, 0x2000
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Lokio/x;->a(Lokio/f;J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/16 v2, -0x1
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
iget-object v0, v0, Lokio/r;->bBZ:Lokio/f;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/f;->read([BII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/io/IOException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Lokio/r$a;->bCc:Lokio/r;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ".inputStream()"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -1,32 +0,0 @@
|
|||
.class public final Lokio/s$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Segment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/s;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(B)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/s$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,341 +0,0 @@
|
|||
.class public final Lokio/s;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Segment.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lokio/s$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final bCf:Lokio/s$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public bCd:Lokio/s;
|
||||
|
||||
.field public bCe:Lokio/s;
|
||||
|
||||
.field public bky:Z
|
||||
|
||||
.field public final data:[B
|
||||
|
||||
.field public limit:I
|
||||
|
||||
.field public owner:Z
|
||||
|
||||
.field public pos:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/s$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/s$a;-><init>(B)V
|
||||
|
||||
sput-object v0, Lokio/s;->bCf:Lokio/s$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/16 v0, 0x2000
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
iput-object v0, p0, Lokio/s;->data:[B
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lokio/s;->owner:Z
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Lokio/s;->bky:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>([BIIZZ)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "data"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/s;->data:[B
|
||||
|
||||
iput p2, p0, Lokio/s;->pos:I
|
||||
|
||||
iput p3, p0, Lokio/s;->limit:I
|
||||
|
||||
iput-boolean p4, p0, Lokio/s;->bky:Z
|
||||
|
||||
iput-boolean p5, p0, Lokio/s;->owner:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final IK()Lokio/s;
|
||||
.locals 7
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lokio/s;->bky:Z
|
||||
|
||||
new-instance v0, Lokio/s;
|
||||
|
||||
iget-object v2, p0, Lokio/s;->data:[B
|
||||
|
||||
iget v3, p0, Lokio/s;->pos:I
|
||||
|
||||
iget v4, p0, Lokio/s;->limit:I
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lokio/s;-><init>([BIIZZ)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final IL()Lokio/s;
|
||||
.locals 7
|
||||
|
||||
new-instance v6, Lokio/s;
|
||||
|
||||
iget-object v0, p0, Lokio/s;->data:[B
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/util/Arrays;->copyOf([BI)[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v0, "java.util.Arrays.copyOf(this, size)"
|
||||
|
||||
invoke-static {v1, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget v2, p0, Lokio/s;->pos:I
|
||||
|
||||
iget v3, p0, Lokio/s;->limit:I
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
move-object v0, v6
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/s;-><init>([BIIZZ)V
|
||||
|
||||
return-object v6
|
||||
.end method
|
||||
|
||||
.method public final IM()Lokio/s;
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
check-cast v1, Lokio/s;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eq v0, v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object v0, v2
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_1
|
||||
iget-object v3, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iput-object v3, v1, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iget-object v1, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
if-nez v1, :cond_2
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_2
|
||||
iget-object v3, p0, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
iput-object v3, v1, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
iput-object v2, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iput-object v2, p0, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final a(Lokio/s;)Lokio/s;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "segment"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
check-cast v0, Lokio/s;
|
||||
|
||||
iput-object v0, p1, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
iget-object v0, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iput-object v0, p1, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iget-object v0, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_0
|
||||
iput-object p1, v0, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
iput-object p1, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final a(Lokio/s;I)V
|
||||
.locals 4
|
||||
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-boolean v0, p1, Lokio/s;->owner:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget v0, p1, Lokio/s;->limit:I
|
||||
|
||||
add-int v1, v0, p2
|
||||
|
||||
const/16 v2, 0x2000
|
||||
|
||||
if-le v1, v2, :cond_2
|
||||
|
||||
iget-boolean v1, p1, Lokio/s;->bky:Z
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
add-int v1, v0, p2
|
||||
|
||||
iget v3, p1, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v1, v3
|
||||
|
||||
if-gt v1, v2, :cond_0
|
||||
|
||||
iget-object v1, p1, Lokio/s;->data:[B
|
||||
|
||||
sub-int/2addr v0, v3
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {v1, v3, v1, v2, v0}, Lokio/b;->a([BI[BII)V
|
||||
|
||||
iget v0, p1, Lokio/s;->limit:I
|
||||
|
||||
iget v1, p1, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
iput v0, p1, Lokio/s;->limit:I
|
||||
|
||||
iput v2, p1, Lokio/s;->pos:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
iget-object v0, p0, Lokio/s;->data:[B
|
||||
|
||||
iget v1, p0, Lokio/s;->pos:I
|
||||
|
||||
iget-object v2, p1, Lokio/s;->data:[B
|
||||
|
||||
iget v3, p1, Lokio/s;->limit:I
|
||||
|
||||
invoke-static {v0, v1, v2, v3, p2}, Lokio/b;->a([BI[BII)V
|
||||
|
||||
iget v0, p1, Lokio/s;->limit:I
|
||||
|
||||
add-int/2addr v0, p2
|
||||
|
||||
iput v0, p1, Lokio/s;->limit:I
|
||||
|
||||
iget p1, p0, Lokio/s;->pos:I
|
||||
|
||||
add-int/2addr p1, p2
|
||||
|
||||
iput p1, p0, Lokio/s;->pos:I
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "only owner can write"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,192 +0,0 @@
|
|||
.class public final Lokio/t;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SegmentPool.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static bCd:Lokio/s;
|
||||
|
||||
.field public static bCg:J
|
||||
|
||||
.field public static final bCh:Lokio/t;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lokio/t;
|
||||
|
||||
invoke-direct {v0}, Lokio/t;-><init>()V
|
||||
|
||||
sput-object v0, Lokio/t;->bCh:Lokio/t;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final IN()Lokio/s;
|
||||
.locals 6
|
||||
|
||||
sget-object v0, Lokio/t;->bCh:Lokio/t;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
sget-object v1, Lokio/t;->bCd:Lokio/s;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v2, v1, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
sput-object v2, Lokio/t;->bCd:Lokio/s;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
iput-object v2, v1, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
sget-wide v2, Lokio/t;->bCg:J
|
||||
|
||||
const-wide/16 v4, 0x2000
|
||||
|
||||
sub-long/2addr v2, v4
|
||||
|
||||
sput-wide v2, Lokio/t;->bCg:J
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_0
|
||||
monitor-exit v0
|
||||
|
||||
new-instance v0, Lokio/s;
|
||||
|
||||
invoke-direct {v0}, Lokio/s;-><init>()V
|
||||
|
||||
return-object v0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public static final b(Lokio/s;)V
|
||||
.locals 9
|
||||
|
||||
const-string v0, "segment"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget-boolean v0, p0, Lokio/s;->bky:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
sget-object v0, Lokio/t;->bCh:Lokio/t;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
sget-wide v2, Lokio/t;->bCg:J
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const-wide/16 v4, 0x2000
|
||||
|
||||
add-long/2addr v2, v4
|
||||
|
||||
const-wide/32 v6, 0x10000
|
||||
|
||||
cmp-long v8, v2, v6
|
||||
|
||||
if-lez v8, :cond_2
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
:try_start_1
|
||||
sget-wide v2, Lokio/t;->bCg:J
|
||||
|
||||
add-long/2addr v2, v4
|
||||
|
||||
sput-wide v2, Lokio/t;->bCg:J
|
||||
|
||||
sget-object v2, Lokio/t;->bCd:Lokio/s;
|
||||
|
||||
iput-object v2, p0, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iput v1, p0, Lokio/s;->limit:I
|
||||
|
||||
iget v1, p0, Lokio/s;->limit:I
|
||||
|
||||
iput v1, p0, Lokio/s;->pos:I
|
||||
|
||||
sput-object p0, Lokio/t;->bCd:Lokio/s;
|
||||
|
||||
sget-object p0, Lkotlin/Unit;->bgF:Lkotlin/Unit;
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_3
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Failed requirement."
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p0, Ljava/lang/Throwable;
|
||||
|
||||
throw p0
|
||||
.end method
|
|
@ -1,171 +0,0 @@
|
|||
.class public final Lokio/u$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SegmentedByteString.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/u;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(B)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/u$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(Lokio/f;I)Lokio/ByteString;
|
||||
.locals 7
|
||||
|
||||
const-string v0, "buffer"
|
||||
|
||||
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-wide v1, p0, Lokio/f;->size:J
|
||||
|
||||
int-to-long v5, p1
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lokio/c;->a(JJJ)V
|
||||
|
||||
iget-object v0, p0, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v0, p1, :cond_2
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_0
|
||||
iget v4, v3, Lokio/s;->limit:I
|
||||
|
||||
iget v5, v3, Lokio/s;->pos:I
|
||||
|
||||
if-eq v4, v5, :cond_1
|
||||
|
||||
iget v4, v3, Lokio/s;->limit:I
|
||||
|
||||
iget v5, v3, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v4, v5
|
||||
|
||||
add-int/2addr v0, v4
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
iget-object v3, v3, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Ljava/lang/AssertionError;
|
||||
|
||||
const-string p1, "s.limit == s.pos"
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
check-cast p0, Ljava/lang/Throwable;
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_2
|
||||
new-array v0, v2, [[B
|
||||
|
||||
mul-int/lit8 v2, v2, 0x2
|
||||
|
||||
new-array v2, v2, [I
|
||||
|
||||
iget-object p0, p0, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
move-object v4, p0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_1
|
||||
if-ge p0, p1, :cond_4
|
||||
|
||||
if-nez v4, :cond_3
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_3
|
||||
iget-object v5, v4, Lokio/s;->data:[B
|
||||
|
||||
aput-object v5, v0, v3
|
||||
|
||||
iget v5, v4, Lokio/s;->limit:I
|
||||
|
||||
iget v6, v4, Lokio/s;->pos:I
|
||||
|
||||
sub-int/2addr v5, v6
|
||||
|
||||
add-int/2addr p0, v5
|
||||
|
||||
invoke-static {p0, p1}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v5
|
||||
|
||||
aput v5, v2, v3
|
||||
|
||||
move-object v5, v0
|
||||
|
||||
check-cast v5, [Ljava/lang/Object;
|
||||
|
||||
array-length v5, v5
|
||||
|
||||
add-int/2addr v5, v3
|
||||
|
||||
iget v6, v4, Lokio/s;->pos:I
|
||||
|
||||
aput v6, v2, v5
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
iput-boolean v5, v4, Lokio/s;->bky:Z
|
||||
|
||||
add-int/2addr v3, v5
|
||||
|
||||
iget-object v4, v4, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
new-instance p0, Lokio/u;
|
||||
|
||||
check-cast v0, [[B
|
||||
|
||||
invoke-direct {p0, v0, v2, v1}, Lokio/u;-><init>([[B[IB)V
|
||||
|
||||
check-cast p0, Lokio/ByteString;
|
||||
|
||||
return-object p0
|
||||
.end method
|
|
@ -1,866 +0,0 @@
|
|||
.class public final Lokio/u;
|
||||
.super Lokio/ByteString;
|
||||
.source "SegmentedByteString.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lokio/u$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final bCk:Lokio/u$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final transient bCi:[[B
|
||||
|
||||
.field private final transient bCj:[I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/u$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/u$a;-><init>(B)V
|
||||
|
||||
sput-object v0, Lokio/u;->bCk:Lokio/u$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>([[B[I)V
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lokio/ByteString;->bBK:Lokio/ByteString;
|
||||
|
||||
iget-object v0, v0, Lokio/ByteString;->data:[B
|
||||
|
||||
invoke-direct {p0, v0}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
iput-object p1, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
iput-object p2, p0, Lokio/u;->bCj:[I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>([[B[IB)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Lokio/u;-><init>([[B[I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final IO()Lokio/ByteString;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p0}, Lokio/u;->Iy()[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method private final dI(I)I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lokio/u;->bCj:[I
|
||||
|
||||
iget-object v1, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v1, [Ljava/lang/Object;
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 p1, p1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {v0, v2, v1, p1}, Ljava/util/Arrays;->binarySearch([IIII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
if-ltz p1, :cond_0
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
not-int p1, p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method private final writeReplace()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/u;->IO()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Object;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final Iu()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/u;->IO()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Iu()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Iv()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/u;->IO()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Iv()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Iw()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/u;->IO()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Iw()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Ix()I
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lokio/u;->bCj:[I
|
||||
|
||||
iget-object v1, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v1, [Ljava/lang/Object;
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 v1, v1, -0x1
|
||||
|
||||
aget v0, v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final Iy()[B
|
||||
.locals 8
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v0
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
iget-object v1, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v1, [Ljava/lang/Object;
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
iget-object v5, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int v6, v1, v2
|
||||
|
||||
aget v6, v5, v6
|
||||
|
||||
aget v5, v5, v2
|
||||
|
||||
iget-object v7, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
aget-object v7, v7, v2
|
||||
|
||||
sub-int v3, v5, v3
|
||||
|
||||
invoke-static {v7, v6, v0, v4, v3}, Lokio/b;->a([BI[BII)V
|
||||
|
||||
add-int/2addr v4, v3
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
move v3, v5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Iz()[B
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lokio/u;->Iy()[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final a(Lokio/ByteString;I)Z
|
||||
.locals 8
|
||||
|
||||
const-string v0, "other"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v0
|
||||
|
||||
sub-int/2addr v0, p2
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-gez v0, :cond_0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
add-int/2addr p2, v1
|
||||
|
||||
invoke-direct {p0, v1}, Lokio/u;->dI(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
move v2, v0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v0, p2, :cond_3
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
iget-object v4, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int/lit8 v5, v2, -0x1
|
||||
|
||||
aget v4, v4, v5
|
||||
|
||||
:goto_1
|
||||
iget-object v5, p0, Lokio/u;->bCj:[I
|
||||
|
||||
aget v6, v5, v2
|
||||
|
||||
sub-int/2addr v6, v4
|
||||
|
||||
iget-object v7, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v7, [Ljava/lang/Object;
|
||||
|
||||
array-length v7, v7
|
||||
|
||||
add-int/2addr v7, v2
|
||||
|
||||
aget v5, v5, v7
|
||||
|
||||
add-int/2addr v6, v4
|
||||
|
||||
invoke-static {p2, v6}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v6
|
||||
|
||||
sub-int/2addr v6, v0
|
||||
|
||||
sub-int v4, v0, v4
|
||||
|
||||
add-int/2addr v5, v4
|
||||
|
||||
iget-object v4, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
aget-object v4, v4, v2
|
||||
|
||||
invoke-virtual {p1, v3, v4, v5, v6}, Lokio/ByteString;->f(I[BII)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-nez v4, :cond_2
|
||||
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
add-int/2addr v3, v6
|
||||
|
||||
add-int/2addr v0, v6
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final b(Ljava/io/OutputStream;)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "out"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v0, [Ljava/lang/Object;
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_0
|
||||
|
||||
iget-object v3, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int v4, v0, v1
|
||||
|
||||
aget v4, v3, v4
|
||||
|
||||
aget v3, v3, v1
|
||||
|
||||
iget-object v5, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
aget-object v5, v5, v1
|
||||
|
||||
sub-int v2, v3, v2
|
||||
|
||||
invoke-virtual {p1, v5, v4, v2}, Ljava/io/OutputStream;->write([BII)V
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v2, v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final b(Lokio/f;)V
|
||||
.locals 11
|
||||
|
||||
const-string v0, "buffer"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v0, [Ljava/lang/Object;
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_3
|
||||
|
||||
iget-object v3, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int v4, v0, v1
|
||||
|
||||
aget v7, v3, v4
|
||||
|
||||
aget v3, v3, v1
|
||||
|
||||
iget-object v4, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
aget-object v6, v4, v1
|
||||
|
||||
sub-int v2, v3, v2
|
||||
|
||||
new-instance v4, Lokio/s;
|
||||
|
||||
add-int v8, v7, v2
|
||||
|
||||
const/4 v9, 0x1
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
move-object v5, v4
|
||||
|
||||
invoke-direct/range {v5 .. v10}, Lokio/s;-><init>([BIIZZ)V
|
||||
|
||||
iget-object v2, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
iput-object v4, v4, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
iget-object v2, v4, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
iput-object v2, v4, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iget-object v2, v4, Lokio/s;->bCd:Lokio/s;
|
||||
|
||||
iput-object v2, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
iget-object v2, p1, Lokio/f;->bBD:Lokio/s;
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_1
|
||||
iget-object v2, v2, Lokio/s;->bCe:Lokio/s;
|
||||
|
||||
if-nez v2, :cond_2
|
||||
|
||||
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {v2, v4}, Lokio/s;->a(Lokio/s;)Lokio/s;
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v2, v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
iget-wide v0, p1, Lokio/f;->size:J
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v2
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
iput-wide v0, p1, Lokio/f;->size:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final dH(I)B
|
||||
.locals 7
|
||||
|
||||
iget-object v0, p0, Lokio/u;->bCj:[I
|
||||
|
||||
iget-object v1, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v1, [Ljava/lang/Object;
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 v1, v1, -0x1
|
||||
|
||||
aget v0, v0, v1
|
||||
|
||||
int-to-long v1, v0
|
||||
|
||||
int-to-long v3, p1
|
||||
|
||||
const-wide/16 v5, 0x1
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lokio/c;->a(JJJ)V
|
||||
|
||||
invoke-direct {p0, p1}, Lokio/u;->dI(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int/lit8 v2, v0, -0x1
|
||||
|
||||
aget v1, v1, v2
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Lokio/u;->bCj:[I
|
||||
|
||||
iget-object v3, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
move-object v4, v3
|
||||
|
||||
check-cast v4, [Ljava/lang/Object;
|
||||
|
||||
array-length v4, v4
|
||||
|
||||
add-int/2addr v4, v0
|
||||
|
||||
aget v2, v2, v4
|
||||
|
||||
aget-object v0, v3, v0
|
||||
|
||||
sub-int/2addr p1, v1
|
||||
|
||||
add-int/2addr p1, v2
|
||||
|
||||
aget-byte p1, v0, p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final equals(Ljava/lang/Object;)Z
|
||||
.locals 4
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
check-cast v0, Lokio/u;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p1}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-ne v0, v3, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p0, p1, v0}, Lokio/u;->a(Lokio/ByteString;I)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
return v1
|
||||
|
||||
:cond_1
|
||||
return v2
|
||||
.end method
|
||||
|
||||
.method public final eu(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 6
|
||||
|
||||
const-string v0, "algorithm"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v0, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v0, [Ljava/lang/Object;
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_0
|
||||
|
||||
iget-object v3, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int v4, v0, v1
|
||||
|
||||
aget v4, v3, v4
|
||||
|
||||
aget v3, v3, v1
|
||||
|
||||
iget-object v5, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
aget-object v5, v5, v1
|
||||
|
||||
sub-int v2, v3, v2
|
||||
|
||||
invoke-virtual {p1, v5, v4, v2}, Ljava/security/MessageDigest;->update([BII)V
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v2, v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v1, "digest.digest()"
|
||||
|
||||
invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v0, p1}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final f(I[BII)Z
|
||||
.locals 6
|
||||
|
||||
const-string v0, "other"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-ltz p1, :cond_4
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->Ix()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v1, p4
|
||||
|
||||
if-gt p1, v1, :cond_4
|
||||
|
||||
if-ltz p3, :cond_4
|
||||
|
||||
array-length v1, p2
|
||||
|
||||
sub-int/2addr v1, p4
|
||||
|
||||
if-le p3, v1, :cond_0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
add-int/2addr p4, p1
|
||||
|
||||
invoke-direct {p0, p1}, Lokio/u;->dI(I)I
|
||||
|
||||
move-result v1
|
||||
|
||||
:goto_0
|
||||
if-ge p1, p4, :cond_3
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
iget-object v2, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int/lit8 v3, v1, -0x1
|
||||
|
||||
aget v2, v2, v3
|
||||
|
||||
:goto_1
|
||||
iget-object v3, p0, Lokio/u;->bCj:[I
|
||||
|
||||
aget v4, v3, v1
|
||||
|
||||
sub-int/2addr v4, v2
|
||||
|
||||
iget-object v5, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v5, [Ljava/lang/Object;
|
||||
|
||||
array-length v5, v5
|
||||
|
||||
add-int/2addr v5, v1
|
||||
|
||||
aget v3, v3, v5
|
||||
|
||||
add-int/2addr v4, v2
|
||||
|
||||
invoke-static {p4, v4}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v4
|
||||
|
||||
sub-int/2addr v4, p1
|
||||
|
||||
sub-int v2, p1, v2
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
iget-object v2, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
aget-object v2, v2, v1
|
||||
|
||||
invoke-static {v2, v3, p2, p3, v4}, Lokio/c;->b([BI[BII)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_2
|
||||
|
||||
return v0
|
||||
|
||||
:cond_2
|
||||
add-int/2addr p3, v4
|
||||
|
||||
add-int/2addr p1, v4
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final hashCode()I
|
||||
.locals 8
|
||||
|
||||
iget v0, p0, Lokio/ByteString;->aW:I
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
check-cast v0, [Ljava/lang/Object;
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_2
|
||||
|
||||
iget-object v4, p0, Lokio/u;->bCj:[I
|
||||
|
||||
add-int v5, v0, v1
|
||||
|
||||
aget v5, v4, v5
|
||||
|
||||
aget v4, v4, v1
|
||||
|
||||
iget-object v6, p0, Lokio/u;->bCi:[[B
|
||||
|
||||
aget-object v6, v6, v1
|
||||
|
||||
sub-int v3, v4, v3
|
||||
|
||||
add-int/2addr v3, v5
|
||||
|
||||
:goto_1
|
||||
if-ge v5, v3, :cond_1
|
||||
|
||||
mul-int/lit8 v2, v2, 0x1f
|
||||
|
||||
aget-byte v7, v6, v5
|
||||
|
||||
add-int/2addr v2, v7
|
||||
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v3, v4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
iput v2, p0, Lokio/ByteString;->aW:I
|
||||
|
||||
return v2
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/u;->IO()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,36 +0,0 @@
|
|||
.class public interface abstract Lokio/v;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Sink.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
.implements Ljava/io/Flushable;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract close()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract flush()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract timeout()Lokio/y;
|
||||
.end method
|
||||
|
||||
.method public abstract write(Lokio/f;J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,133 +0,0 @@
|
|||
.class final Lokio/w;
|
||||
.super Lokio/d;
|
||||
.source "Okio.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final Ij:Ljava/util/logging/Logger;
|
||||
|
||||
.field private final bvM:Ljava/net/Socket;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/net/Socket;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "socket"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {p0}, Lokio/d;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lokio/w;->bvM:Ljava/net/Socket;
|
||||
|
||||
const-string p1, "okio.Okio"
|
||||
|
||||
invoke-static {p1}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lokio/w;->Ij:Ljava/util/logging/Logger;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method protected final Hf()V
|
||||
.locals 5
|
||||
|
||||
const-string v0, "Failed to close timed out socket "
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Lokio/w;->bvM:Ljava/net/Socket;
|
||||
|
||||
invoke-virtual {v1}, Ljava/net/Socket;->close()V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-void
|
||||
|
||||
:catch_0
|
||||
move-exception v1
|
||||
|
||||
invoke-static {v1}, Lokio/n;->a(Ljava/lang/AssertionError;)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
iget-object v2, p0, Lokio/w;->Ij:Ljava/util/logging/Logger;
|
||||
|
||||
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
||||
|
||||
new-instance v4, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v4, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/w;->bvM:Ljava/net/Socket;
|
||||
|
||||
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v1, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
check-cast v1, Ljava/lang/Throwable;
|
||||
|
||||
throw v1
|
||||
|
||||
:catch_1
|
||||
move-exception v1
|
||||
|
||||
iget-object v2, p0, Lokio/w;->Ij:Ljava/util/logging/Logger;
|
||||
|
||||
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
||||
|
||||
new-instance v4, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v4, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lokio/w;->bvM:Ljava/net/Socket;
|
||||
|
||||
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v1, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method protected final f(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/net/SocketTimeoutException;
|
||||
|
||||
const-string v1, "timeout"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
check-cast p1, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/net/SocketTimeoutException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
|
||||
:cond_0
|
||||
check-cast v0, Ljava/io/IOException;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,27 +0,0 @@
|
|||
.class public interface abstract Lokio/x;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Source.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Lokio/f;J)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract close()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract timeout()Lokio/y;
|
||||
.end method
|
|
@ -1,32 +0,0 @@
|
|||
.class public final Lokio/y$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Timeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/y;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(B)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/y$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,56 +0,0 @@
|
|||
.class public final Lokio/y$b;
|
||||
.super Lokio/y;
|
||||
.source "Timeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/y;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/y;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final IG()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final aM(J)Lokio/y;
|
||||
.locals 0
|
||||
|
||||
move-object p1, p0
|
||||
|
||||
check-cast p1, Lokio/y;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final d(JLjava/util/concurrent/TimeUnit;)Lokio/y;
|
||||
.locals 0
|
||||
|
||||
const-string p1, "unit"
|
||||
|
||||
invoke-static {p3, p1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object p1, p0
|
||||
|
||||
check-cast p1, Lokio/y;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -1,256 +0,0 @@
|
|||
.class public Lokio/y;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Timeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lokio/y$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final bCo:Lokio/y;
|
||||
|
||||
.field public static final bCp:Lokio/y$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private bCl:Z
|
||||
|
||||
.field private bCm:J
|
||||
|
||||
.field private bCn:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/y$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/y$a;-><init>(B)V
|
||||
|
||||
sput-object v0, Lokio/y;->bCp:Lokio/y$a;
|
||||
|
||||
new-instance v0, Lokio/y$b;
|
||||
|
||||
invoke-direct {v0}, Lokio/y$b;-><init>()V
|
||||
|
||||
check-cast v0, Lokio/y;
|
||||
|
||||
sput-object v0, Lokio/y;->bCo:Lokio/y;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public IB()J
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Lokio/y;->bCn:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public IC()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/y;->bCl:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public ID()J
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lokio/y;->bCl:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-wide v0, p0, Lokio/y;->bCm:J
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "No deadline"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public IE()Lokio/y;
|
||||
.locals 2
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
iput-wide v0, p0, Lokio/y;->bCn:J
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public IF()Lokio/y;
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Lokio/y;->bCl:Z
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public IG()V
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {}, Ljava/lang/Thread;->interrupted()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
iget-boolean v0, p0, Lokio/y;->bCl:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-wide v0, p0, Lokio/y;->bCm:J
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
sub-long/2addr v0, v2
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/io/InterruptedIOException;
|
||||
|
||||
const-string v1, "deadline reached"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
new-instance v0, Ljava/io/InterruptedIOException;
|
||||
|
||||
const-string v1, "interrupted"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast v0, Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public aM(J)Lokio/y;
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lokio/y;->bCl:Z
|
||||
|
||||
iput-wide p1, p0, Lokio/y;->bCm:J
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public d(JLjava/util/concurrent/TimeUnit;)Lokio/y;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "unit"
|
||||
|
||||
invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-ltz v2, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
iput-wide p1, p0, Lokio/y;->bCn:J
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "timeout < 0: "
|
||||
|
||||
invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
check-cast p2, Ljava/lang/Throwable;
|
||||
|
||||
throw p2
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue