844 lines
14 KiB
Smali
844 lines
14 KiB
Smali
.class public abstract Lcom/google/protobuf/CodedOutputStream;
|
|
.super Lf/h/e/f;
|
|
.source "CodedOutputStream.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/protobuf/CodedOutputStream$b;,
|
|
Lcom/google/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final b:Ljava/util/logging/Logger;
|
|
|
|
.field public static final c:Z
|
|
|
|
|
|
# instance fields
|
|
.field public a:Lf/h/e/k;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-class v0, Lcom/google/protobuf/CodedOutputStream;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/google/protobuf/CodedOutputStream;->b:Ljava/util/logging/Logger;
|
|
|
|
sget-boolean v0, Lf/h/e/m1;->h:Z
|
|
|
|
sput-boolean v0, Lcom/google/protobuf/CodedOutputStream;->c:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lf/h/e/f;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/google/protobuf/CodedOutputStream$a;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lf/h/e/f;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static A(II)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1}, Lcom/google/protobuf/CodedOutputStream;->B(I)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static B(I)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->L(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->I(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static C(IJ)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1, p2}, Lcom/google/protobuf/CodedOutputStream;->D(J)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static D(J)I
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lcom/google/protobuf/CodedOutputStream;->M(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lcom/google/protobuf/CodedOutputStream;->K(J)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static E(ILjava/lang/String;)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1}, Lcom/google/protobuf/CodedOutputStream;->F(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static F(Ljava/lang/String;)I
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Lf/h/e/n1;->d(Ljava/lang/CharSequence;)I
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Lf/h/e/n1$c; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
sget-object v0, Lf/h/e/y;->a:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length p0, p0
|
|
|
|
:goto_0
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->u(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static G(I)I
|
|
.locals 0
|
|
|
|
shl-int/lit8 p0, p0, 0x3
|
|
|
|
or-int/lit8 p0, p0, 0x0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->I(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static H(II)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1}, Lcom/google/protobuf/CodedOutputStream;->I(I)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static I(I)I
|
|
.locals 1
|
|
|
|
and-int/lit8 v0, p0, -0x80
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
and-int/lit16 v0, p0, -0x4000
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 p0, 0x2
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
const/high16 v0, -0x200000
|
|
|
|
and-int/2addr v0, p0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
const/4 p0, 0x3
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
const/high16 v0, -0x10000000
|
|
|
|
and-int/2addr p0, v0
|
|
|
|
if-nez p0, :cond_3
|
|
|
|
const/4 p0, 0x4
|
|
|
|
return p0
|
|
|
|
:cond_3
|
|
const/4 p0, 0x5
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static J(IJ)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1, p2}, Lcom/google/protobuf/CodedOutputStream;->K(J)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static K(J)I
|
|
.locals 6
|
|
|
|
const-wide/16 v0, -0x80
|
|
|
|
and-long/2addr v0, p0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
cmp-long v0, p0, v2
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
const/16 p0, 0xa
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
const-wide v0, -0x800000000L
|
|
|
|
and-long/2addr v0, p0
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
const/4 v0, 0x6
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
ushr-long/2addr p0, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v0, 0x2
|
|
|
|
:goto_0
|
|
const-wide/32 v4, -0x200000
|
|
|
|
and-long/2addr v4, p0
|
|
|
|
cmp-long v1, v4, v2
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
add-int/lit8 v0, v0, 0x2
|
|
|
|
const/16 v1, 0xe
|
|
|
|
ushr-long/2addr p0, v1
|
|
|
|
:cond_3
|
|
const-wide/16 v4, -0x4000
|
|
|
|
and-long/2addr p0, v4
|
|
|
|
cmp-long v1, p0, v2
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
:cond_4
|
|
return v0
|
|
.end method
|
|
|
|
.method public static L(I)I
|
|
.locals 1
|
|
|
|
shl-int/lit8 v0, p0, 0x1
|
|
|
|
shr-int/lit8 p0, p0, 0x1f
|
|
|
|
xor-int/2addr p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static M(J)J
|
|
.locals 3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
shl-long v0, p0, v0
|
|
|
|
const/16 v2, 0x3f
|
|
|
|
shr-long/2addr p0, v2
|
|
|
|
xor-long/2addr p0, v0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static N([B)Lcom/google/protobuf/CodedOutputStream;
|
|
.locals 3
|
|
|
|
array-length v0, p0
|
|
|
|
new-instance v1, Lcom/google/protobuf/CodedOutputStream$b;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, p0, v2, v0}, Lcom/google/protobuf/CodedOutputStream$b;-><init>([BII)V
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public static a(IZ)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static b()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static c([B)I
|
|
.locals 0
|
|
|
|
array-length p0, p0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->u(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static d(ILf/h/e/h;)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p1}, Lf/h/e/h;->size()I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1}, Lcom/google/protobuf/CodedOutputStream;->u(I)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static e(Lf/h/e/h;)I
|
|
.locals 0
|
|
|
|
invoke-virtual {p0}, Lf/h/e/h;->size()I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->u(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static f(ID)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x8
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static g()I
|
|
.locals 1
|
|
|
|
const/16 v0, 0x8
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static h(II)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1}, Lcom/google/protobuf/CodedOutputStream;->r(I)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static i(II)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x4
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static j()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x4
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static k(IJ)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x8
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static l()I
|
|
.locals 1
|
|
|
|
const/16 v0, 0x8
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static m(IF)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x4
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static n()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x4
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static o(ILf/h/e/p0;Lf/h/e/d1;)I
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
mul-int/lit8 p0, p0, 0x2
|
|
|
|
check-cast p1, Lf/h/e/a;
|
|
|
|
invoke-virtual {p1, p2}, Lf/h/e/a;->g(Lf/h/e/d1;)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static p(Lf/h/e/p0;)I
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
invoke-interface {p0}, Lf/h/e/p0;->h()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static q(II)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1}, Lcom/google/protobuf/CodedOutputStream;->r(I)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, p0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public static r(I)I
|
|
.locals 0
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->I(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/16 p0, 0xa
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static s(IJ)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p1, p2}, Lcom/google/protobuf/CodedOutputStream;->K(J)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static t(Lf/h/e/c0;)I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/h/e/c0;->c:Lf/h/e/h;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object p0, p0, Lf/h/e/c0;->c:Lf/h/e/h;
|
|
|
|
invoke-virtual {p0}, Lf/h/e/h;->size()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/h/e/c0;->a:Lf/h/e/h;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {v0}, Lf/h/e/h;->size()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lf/h/e/c0;->b:Lf/h/e/p0;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object p0, p0, Lf/h/e/c0;->b:Lf/h/e/p0;
|
|
|
|
invoke-interface {p0}, Lf/h/e/p0;->h()I
|
|
|
|
move-result p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->u(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static u(I)I
|
|
.locals 1
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->I(I)I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, p0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static v(Lf/h/e/p0;)I
|
|
.locals 0
|
|
|
|
invoke-interface {p0}, Lf/h/e/p0;->h()I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->u(I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static w(II)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x4
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static x()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x4
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static y(IJ)I
|
|
.locals 0
|
|
|
|
invoke-static {p0}, Lcom/google/protobuf/CodedOutputStream;->G(I)I
|
|
|
|
move-result p0
|
|
|
|
add-int/lit8 p0, p0, 0x8
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static z()I
|
|
.locals 1
|
|
|
|
const/16 v0, 0x8
|
|
|
|
return v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract O()I
|
|
.end method
|
|
|
|
.method public abstract P(B)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract Q(Lf/h/e/h;)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public final R(I)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object v0, p0
|
|
|
|
check-cast v0, Lcom/google/protobuf/CodedOutputStream$b;
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
invoke-virtual {v0, p1}, Lcom/google/protobuf/CodedOutputStream$b;->X(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
int-to-long v1, p1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/google/protobuf/CodedOutputStream$b;->Y(J)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract S(I)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract T(J)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract U(II)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract V(I)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract W(Ljava/lang/String;)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract X(I)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract Y(J)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
.end method
|