apkfuckery/com.discord/smali_classes2/okio/k.smali

713 lines
14 KiB
Smali
Raw Normal View History

2019-02-27 21:13:14 +00:00
.class final Lokio/k;
.super Ljava/lang/Object;
.source "RealBufferedSink.java"
2019-02-04 20:08:30 +00:00
# interfaces
2019-02-27 21:13:14 +00:00
.implements Lokio/BufferedSink;
2019-02-27 00:16:35 +00:00
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
# instance fields
2019-05-08 22:54:48 +00:00
.field public final bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
.field public final bwD:Lokio/p;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.field closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
# direct methods
.method constructor <init>(Lokio/p;)V
.locals 1
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
new-instance v0, Lokio/c;
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {v0}, Lokio/c;-><init>()V
2019-02-21 02:16:48 +00:00
2019-05-08 22:54:48 +00:00
iput-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-eqz p1, :cond_0
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iput-object p1, p0, Lokio/k;->bwD:Lokio/p;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-void
2019-02-21 02:16:48 +00:00
:cond_0
2019-02-27 21:13:14 +00:00
new-instance p1, Ljava/lang/NullPointerException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "sink == null"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
# virtual methods
2019-05-04 02:59:52 +00:00
.method public final DG()Lokio/c;
.locals 1
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-05-04 02:59:52 +00:00
return-object v0
.end method
2019-05-03 18:53:54 +00:00
.method public final DH()Lokio/BufferedSink;
.locals 5
2019-02-27 21:13:14 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez v0, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
iget-wide v0, v0, Lokio/c;->size:J
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-wide/16 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
cmp-long v4, v0, v2
if-lez v4, :cond_0
2019-05-08 22:54:48 +00:00
iget-object v2, p0, Lokio/k;->bwD:Lokio/p;
2019-05-03 18:53:54 +00:00
2019-05-08 22:54:48 +00:00
iget-object v3, p0, Lokio/k;->bvN:Lokio/c;
2019-05-03 18:53:54 +00:00
invoke-interface {v2, v3, v0, v1}, Lokio/p;->write(Lokio/c;J)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
2019-05-03 18:53:54 +00:00
return-object p0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v1, "closed"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
2019-02-27 21:13:14 +00:00
.end method
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.method public final DS()Lokio/BufferedSink;
2019-02-27 21:13:14 +00:00
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {v0}, Lokio/c;->DK()J
move-result-wide v0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-wide/16 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
cmp-long v4, v0, v2
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-lez v4, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v2, p0, Lokio/k;->bwD:Lokio/p;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v3, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v2, v3, v0, v1}, Lokio/p;->write(Lokio/c;J)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
return-object p0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v1, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw v0
.end method
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.method public final E([B)Lokio/BufferedSink;
.locals 1
2019-02-27 21:13:14 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:29:01 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v0, p1}, Lokio/c;->D([B)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
return-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
2019-05-03 18:53:54 +00:00
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v0, "closed"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw p1
2019-02-27 21:13:14 +00:00
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.method public final a(Lokio/q;)J
.locals 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-eqz p1, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
const-wide/16 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:goto_0
2019-05-08 22:54:48 +00:00
iget-object v2, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-wide/16 v3, 0x2000
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {p1, v2, v3, v4}, Lokio/q;->a(Lokio/c;J)J
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-wide v2
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-wide/16 v4, -0x1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
cmp-long v6, v2, v4
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-eqz v6, :cond_0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
add-long/2addr v0, v2
2019-02-27 00:16:35 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
goto :goto_0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
return-wide v0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "source == null"
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
throw p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-void
.end method
2019-02-27 00:16:35 +00:00
2019-05-04 02:59:52 +00:00
.method public final aF(J)Lokio/BufferedSink;
2019-02-27 21:13:14 +00:00
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {v0, p1, p2}, Lokio/c;->aE(J)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-string p2, "closed"
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
throw p1
2019-02-04 20:08:30 +00:00
.end method
2019-05-04 02:59:52 +00:00
.method public final aG(J)Lokio/BufferedSink;
2019-02-27 21:13:14 +00:00
.locals 1
.annotation system Ldalvik/annotation/Throws;
2019-02-04 20:08:30 +00:00
value = {
2019-02-27 21:13:14 +00:00
Ljava/io/IOException;
2019-02-04 20:08:30 +00:00
}
.end annotation
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {v0, p1, p2}, Lokio/c;->aD(J)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string p2, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.method public final close()V
.locals 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-eqz v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
:cond_0
2019-02-27 21:13:14 +00:00
const/4 v0, 0x0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:try_start_0
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lokio/k;->bvN:Lokio/c;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
iget-wide v1, v1, Lokio/c;->size:J
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-wide/16 v3, 0x0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
cmp-long v5, v1, v3
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-lez v5, :cond_1
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lokio/k;->bwD:Lokio/p;
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v2, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v3, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-wide v3, v3, Lokio/c;->size:J
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v1, v2, v3, v4}, Lokio/p;->write(Lokio/c;J)V
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
goto :goto_0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:catch_0
move-exception v0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_1
:goto_0
:try_start_1
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lokio/k;->bwD:Lokio/p;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v1}, Lokio/p;->close()V
:try_end_1
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
goto :goto_1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:catch_1
move-exception v1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_2
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-object v0, v1
2019-02-04 20:08:30 +00:00
:cond_2
:goto_1
2019-02-27 21:13:14 +00:00
const/4 v1, 0x1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iput-boolean v1, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-eqz v0, :cond_3
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-static {v0}, Lokio/s;->A(Ljava/lang/Throwable;)V
2019-02-04 20:08:30 +00:00
:cond_3
2019-02-27 21:13:14 +00:00
return-void
.end method
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.method public final dB(I)Lokio/BufferedSink;
2019-02-27 21:13:14 +00:00
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {v0, p1}, Lokio/c;->dz(I)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.method public final dC(I)Lokio/BufferedSink;
2019-02-27 21:13:14 +00:00
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {v0, p1}, Lokio/c;->dy(I)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
.method public final dD(I)Lokio/BufferedSink;
2019-02-27 21:13:14 +00:00
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:32:01 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:32:01 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:32:01 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v0, p1}, Lokio/c;->dx(I)Lokio/c;
2019-02-04 20:32:01 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "closed"
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-27 00:16:35 +00:00
2019-05-04 02:59:52 +00:00
.method public final eo(Ljava/lang/String;)Lokio/BufferedSink;
2019-02-27 21:13:14 +00:00
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-27 00:16:35 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {v0, p1}, Lokio/c;->en(Ljava/lang/String;)Lokio/c;
2019-02-27 00:16:35 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
.method public final flush()V
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_1
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
iget-wide v0, v0, Lokio/c;->size:J
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-wide/16 v2, 0x0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
cmp-long v4, v0, v2
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-lez v4, :cond_0
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bwD:Lokio/p;
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lokio/k;->bvN:Lokio/c;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
iget-wide v2, v1, Lokio/c;->size:J
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0, v1, v2, v3}, Lokio/p;->write(Lokio/c;J)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bwD:Lokio/p;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Lokio/p;->flush()V
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v1, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.method public final i(Lokio/ByteString;)Lokio/BufferedSink;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0, p1}, Lokio/c;->g(Lokio/ByteString;)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.method public final isOpen()Z
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return v0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.method public final n([BII)Lokio/BufferedSink;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0, p1, p2, p3}, Lokio/c;->m([BII)Lokio/c;
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return-object p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string p2, "closed"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
throw p1
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.method public final timeout()Lokio/r;
.locals 1
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bwD:Lokio/p;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Lokio/p;->timeout()Lokio/r;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.method public final toString()Ljava/lang/String;
.locals 2
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
new-instance v0, Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v1, "buffer("
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v1, p0, Lokio/k;->bwD:Lokio/p;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
const-string v1, ")"
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-object v0
.end method
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
.method public final write(Ljava/nio/ByteBuffer;)I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0, p1}, Lokio/c;->write(Ljava/nio/ByteBuffer;)I
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result p1
2019-02-04 20:08:30 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
return p1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-string v0, "closed"
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
throw p1
2019-02-27 00:16:35 +00:00
.end method
2019-02-27 21:13:14 +00:00
.method public final write(Lokio/c;J)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iget-boolean v0, p0, Lokio/k;->closed:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
if-nez v0, :cond_0
2019-02-27 00:16:35 +00:00
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lokio/k;->bvN:Lokio/c;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0, p1, p2, p3}, Lokio/c;->write(Lokio/c;J)V
2019-02-27 00:16:35 +00:00
2019-05-04 02:59:52 +00:00
invoke-virtual {p0}, Lokio/k;->DS()Lokio/BufferedSink;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
return-void
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-string p2, "closed"
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
throw p1
2019-02-04 20:08:30 +00:00
.end method