478 lines
9.1 KiB
Smali
478 lines
9.1 KiB
Smali
.class public abstract Lf/d/a/y/h0/c;
|
|
.super Ljava/lang/Object;
|
|
.source "JsonReader.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Closeable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lf/d/a/y/h0/c$b;,
|
|
Lf/d/a/y/h0/c$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final h:[Ljava/lang/String;
|
|
|
|
|
|
# instance fields
|
|
.field public d:I
|
|
|
|
.field public e:[I
|
|
|
|
.field public f:[Ljava/lang/String;
|
|
|
|
.field public g:[I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
const/16 v0, 0x80
|
|
|
|
new-array v0, v0, [Ljava/lang/String;
|
|
|
|
sput-object v0, Lf/d/a/y/h0/c;->h:[Ljava/lang/String;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
const/16 v2, 0x1f
|
|
|
|
if-gt v1, v2, :cond_0
|
|
|
|
sget-object v2, Lf/d/a/y/h0/c;->h:[Ljava/lang/String;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
new-array v3, v3, [Ljava/lang/Object;
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v3, v0
|
|
|
|
const-string v4, "\\u%04x"
|
|
|
|
invoke-static {v4, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v2, v1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Lf/d/a/y/h0/c;->h:[Ljava/lang/String;
|
|
|
|
const/16 v1, 0x22
|
|
|
|
const-string v2, "\\\""
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/16 v1, 0x5c
|
|
|
|
const-string v2, "\\\\"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/16 v1, 0x9
|
|
|
|
const-string v2, "\\t"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/16 v1, 0x8
|
|
|
|
const-string v2, "\\b"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/16 v1, 0xa
|
|
|
|
const-string v2, "\\n"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/16 v1, 0xd
|
|
|
|
const-string v2, "\\r"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/16 v1, 0xc
|
|
|
|
const-string v2, "\\f"
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/16 v0, 0x20
|
|
|
|
new-array v1, v0, [I
|
|
|
|
iput-object v1, p0, Lf/d/a/y/h0/c;->e:[I
|
|
|
|
new-array v1, v0, [Ljava/lang/String;
|
|
|
|
iput-object v1, p0, Lf/d/a/y/h0/c;->f:[Ljava/lang/String;
|
|
|
|
new-array v0, v0, [I
|
|
|
|
iput-object v0, p0, Lf/d/a/y/h0/c;->g:[I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static o(Ld0/g;)Lf/d/a/y/h0/c;
|
|
.locals 1
|
|
|
|
new-instance v0, Lf/d/a/y/h0/d;
|
|
|
|
invoke-direct {v0, p0}, Lf/d/a/y/h0/d;-><init>(Ld0/g;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract a()V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract b()V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract c()V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract d()V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract e()Z
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract f()Z
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract g()D
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public final getPath()Ljava/lang/String;
|
|
.locals 8
|
|
|
|
iget v0, p0, Lf/d/a/y/h0/c;->d:I
|
|
|
|
iget-object v1, p0, Lf/d/a/y/h0/c;->e:[I
|
|
|
|
iget-object v2, p0, Lf/d/a/y/h0/c;->f:[Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Lf/d/a/y/h0/c;->g:[I
|
|
|
|
const/16 v4, 0x24
|
|
|
|
invoke-static {v4}, Lf/e/c/a/a;->C(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_0
|
|
if-ge v5, v0, :cond_3
|
|
|
|
aget v6, v1, v5
|
|
|
|
const/4 v7, 0x1
|
|
|
|
if-eq v6, v7, :cond_1
|
|
|
|
const/4 v7, 0x2
|
|
|
|
if-eq v6, v7, :cond_1
|
|
|
|
const/4 v7, 0x3
|
|
|
|
if-eq v6, v7, :cond_0
|
|
|
|
const/4 v7, 0x4
|
|
|
|
if-eq v6, v7, :cond_0
|
|
|
|
const/4 v7, 0x5
|
|
|
|
if-eq v6, v7, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/16 v6, 0x2e
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
aget-object v6, v2, v5
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
aget-object v6, v2, v5
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/16 v6, 0x5b
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
aget v6, v3, v5
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v6, 0x5d
|
|
|
|
invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
:cond_2
|
|
:goto_1
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public abstract h()I
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract j()Ljava/lang/String;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract l()Ljava/lang/String;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract p()Lf/d/a/y/h0/c$b;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public final q(I)V
|
|
.locals 3
|
|
|
|
iget v0, p0, Lf/d/a/y/h0/c;->d:I
|
|
|
|
iget-object v1, p0, Lf/d/a/y/h0/c;->e:[I
|
|
|
|
array-length v2, v1
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
const/16 v2, 0x100
|
|
|
|
if-eq v0, v2, :cond_0
|
|
|
|
array-length v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x2
|
|
|
|
invoke-static {v1, v0}, Ljava/util/Arrays;->copyOf([II)[I
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lf/d/a/y/h0/c;->e:[I
|
|
|
|
iget-object v0, p0, Lf/d/a/y/h0/c;->f:[Ljava/lang/String;
|
|
|
|
array-length v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x2
|
|
|
|
invoke-static {v0, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Ljava/lang/String;
|
|
|
|
iput-object v0, p0, Lf/d/a/y/h0/c;->f:[Ljava/lang/String;
|
|
|
|
iget-object v0, p0, Lf/d/a/y/h0/c;->g:[I
|
|
|
|
array-length v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x2
|
|
|
|
invoke-static {v0, v1}, Ljava/util/Arrays;->copyOf([II)[I
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lf/d/a/y/h0/c;->g:[I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Lf/d/a/y/h0/a;
|
|
|
|
const-string v0, "Nesting too deep at "
|
|
|
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
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
|
|
|
|
invoke-direct {p1, v0}, Lf/d/a/y/h0/a;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v0, p0, Lf/d/a/y/h0/c;->e:[I
|
|
|
|
iget v1, p0, Lf/d/a/y/h0/c;->d:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lf/d/a/y/h0/c;->d:I
|
|
|
|
aput p1, v0, v1
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract s(Lf/d/a/y/h0/c$a;)I
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract v()V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract x()V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public final y(Ljava/lang/String;)Lf/d/a/y/h0/b;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lf/d/a/y/h0/b;
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Lf/d/a/y/h0/b;
|
|
|
|
const-string v1, " at path "
|
|
|
|
invoke-static {p1, v1}, Lf/e/c/a/a;->J(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Lf/d/a/y/h0/c;->getPath()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Lf/d/a/y/h0/b;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|