mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
337 lines
8.3 KiB
Smali
337 lines
8.3 KiB
Smali
.class public final Lokio/RealBufferedSource$inputStream$1;
|
|
.super Ljava/io/InputStream;
|
|
.source "RealBufferedSource.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lokio/RealBufferedSource;->inputStream()Ljava/io/InputStream;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nRealBufferedSource.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RealBufferedSource.kt\nokio/RealBufferedSource$inputStream$1\n+ 2 RealBufferedSource.kt\nokio/RealBufferedSource\n+ 3 -Util.kt\nokio/-Util\n*L\n1#1,182:1\n61#2:183\n61#2:184\n61#2:185\n61#2:187\n61#2:188\n61#2:189\n61#2:190\n66#3:186\n75#3:191\n*E\n*S KotlinDebug\n*F\n+ 1 RealBufferedSource.kt\nokio/RealBufferedSource$inputStream$1\n*L\n146#1:183\n147#1:184\n150#1:185\n157#1:187\n158#1:188\n162#1:189\n167#1:190\n150#1:186\n167#1:191\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000\'\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0012\n\u0002\u0008\u0003\n\u0002\u0010\u000e\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016J\u0008\u0010\u0004\u001a\u00020\u0005H\u0016J\u0008\u0010\u0006\u001a\u00020\u0003H\u0016J \u0010\u0006\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u00032\u0006\u0010\n\u001a\u00020\u0003H\u0016J\u0008\u0010\u000b\u001a\u00020\u000cH\u0016\u00a8\u0006\r"
|
|
}
|
|
d2 = {
|
|
"okio/RealBufferedSource$inputStream$1",
|
|
"Ljava/io/InputStream;",
|
|
"available",
|
|
"",
|
|
"close",
|
|
"",
|
|
"read",
|
|
"data",
|
|
"",
|
|
"offset",
|
|
"byteCount",
|
|
"toString",
|
|
"",
|
|
"okio"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lokio/RealBufferedSource;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lokio/RealBufferedSource;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 143
|
|
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public available()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 166
|
|
iget-boolean v0, v0, Lokio/RealBufferedSource;->closed:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object p0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 190
|
|
iget-object p0, p0, Lokio/RealBufferedSource;->bufferField:Lokio/Buffer;
|
|
|
|
invoke-virtual {p0}, Lokio/Buffer;->size()J
|
|
|
|
move-result-wide v0
|
|
|
|
const p0, 0x7fffffff
|
|
|
|
int-to-long v2, p0
|
|
|
|
.line 191
|
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
long-to-int p0, v0
|
|
|
|
return p0
|
|
|
|
.line 166
|
|
:cond_0
|
|
new-instance p0, Ljava/io/IOException;
|
|
|
|
const-string v0, "closed"
|
|
|
|
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 170
|
|
invoke-virtual {p0}, Lokio/RealBufferedSource;->close()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public read()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 145
|
|
iget-boolean v0, v0, Lokio/RealBufferedSource;->closed:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 183
|
|
iget-object v0, v0, Lokio/RealBufferedSource;->bufferField:Lokio/Buffer;
|
|
|
|
.line 146
|
|
invoke-virtual {v0}, Lokio/Buffer;->size()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 147
|
|
iget-object v0, v0, Lokio/RealBufferedSource;->source:Lokio/Source;
|
|
|
|
iget-object v1, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 184
|
|
iget-object v1, v1, Lokio/RealBufferedSource;->bufferField:Lokio/Buffer;
|
|
|
|
const/16 v2, 0x2000
|
|
|
|
int-to-long v2, v2
|
|
|
|
.line 147
|
|
invoke-interface {v0, v1, v2, v3}, Lokio/Source;->read(Lokio/Buffer;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
iget-object p0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 185
|
|
iget-object p0, p0, Lokio/RealBufferedSource;->bufferField:Lokio/Buffer;
|
|
|
|
.line 150
|
|
invoke-virtual {p0}, Lokio/Buffer;->readByte()B
|
|
|
|
move-result p0
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
return p0
|
|
|
|
.line 145
|
|
:cond_1
|
|
new-instance p0, Ljava/io/IOException;
|
|
|
|
const-string v0, "closed"
|
|
|
|
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public read([BII)I
|
|
.locals 7
|
|
|
|
const-string v0, "data"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 154
|
|
iget-boolean v0, v0, Lokio/RealBufferedSource;->closed:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 155
|
|
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/-Util;->checkOffsetAndCount(JJJ)V
|
|
|
|
iget-object v0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 187
|
|
iget-object v0, v0, Lokio/RealBufferedSource;->bufferField:Lokio/Buffer;
|
|
|
|
.line 157
|
|
invoke-virtual {v0}, Lokio/Buffer;->size()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 158
|
|
iget-object v0, v0, Lokio/RealBufferedSource;->source:Lokio/Source;
|
|
|
|
iget-object v1, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 188
|
|
iget-object v1, v1, Lokio/RealBufferedSource;->bufferField:Lokio/Buffer;
|
|
|
|
const/16 v2, 0x2000
|
|
|
|
int-to-long v2, v2
|
|
|
|
.line 158
|
|
invoke-interface {v0, v1, v2, v3}, Lokio/Source;->read(Lokio/Buffer;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
iget-object p0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
.line 189
|
|
iget-object p0, p0, Lokio/RealBufferedSource;->bufferField:Lokio/Buffer;
|
|
|
|
.line 162
|
|
invoke-virtual {p0, p1, p2, p3}, Lokio/Buffer;->read([BII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 154
|
|
:cond_1
|
|
new-instance p0, Ljava/io/IOException;
|
|
|
|
const-string p1, "closed"
|
|
|
|
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 172
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object p0, p0, Lokio/RealBufferedSource$inputStream$1;->this$0:Lokio/RealBufferedSource;
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, ".inputStream()"
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|