mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
571 lines
12 KiB
Smali
571 lines
12 KiB
Smali
.class Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.super Ljava/lang/Object;
|
|
.source "FlexBuffersBuilder.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0xa
|
|
name = "Value"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final synthetic $assertionsDisabled:Z
|
|
|
|
|
|
# instance fields
|
|
.field final dValue:D
|
|
|
|
.field iValue:J
|
|
|
|
.field key:I
|
|
|
|
.field final minBitWidth:I
|
|
|
|
.field final type:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 636
|
|
const-class v0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(IIID)V
|
|
.locals 0
|
|
|
|
.line 657
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->key:I
|
|
|
|
iput p2, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->type:I
|
|
|
|
iput p3, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->minBitWidth:I
|
|
|
|
iput-wide p4, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->dValue:D
|
|
|
|
const-wide/high16 p1, -0x8000000000000000L
|
|
|
|
iput-wide p1, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->iValue:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method constructor <init>(IIIJ)V
|
|
.locals 0
|
|
|
|
.line 649
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->key:I
|
|
|
|
iput p2, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->type:I
|
|
|
|
iput p3, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->minBitWidth:I
|
|
|
|
iput-wide p4, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->iValue:J
|
|
|
|
const-wide/16 p1, 0x1
|
|
|
|
iput-wide p1, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->dValue:D
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$100(II)I
|
|
.locals 0
|
|
|
|
.line 636
|
|
invoke-static {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->paddingBytes(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$200(Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;II)I
|
|
.locals 0
|
|
|
|
.line 636
|
|
invoke-direct {p0, p1, p2}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->elemWidth(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$300(Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;)B
|
|
.locals 0
|
|
|
|
.line 636
|
|
invoke-direct {p0}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->storedPackedType()B
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$400(Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;I)B
|
|
.locals 0
|
|
|
|
.line 636
|
|
invoke-direct {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->storedPackedType(I)B
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static synthetic access$500(IIJII)I
|
|
.locals 0
|
|
|
|
.line 636
|
|
invoke-static/range {p0 .. p5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->elemWidth(IIJII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static blob(IIII)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 670
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
int-to-long v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static bool(IZ)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 666
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/16 v2, 0x1a
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, 0x0
|
|
|
|
:goto_0
|
|
move-wide v4, v0
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method private elemWidth(II)I
|
|
.locals 6
|
|
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->type:I
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->minBitWidth:I
|
|
|
|
iget-wide v2, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->iValue:J
|
|
|
|
move v4, p1
|
|
|
|
move v5, p2
|
|
|
|
.line 734
|
|
invoke-static/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->elemWidth(IIJII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static elemWidth(IIJII)I
|
|
.locals 4
|
|
|
|
.line 738
|
|
invoke-static {p0}, Landroidx/emoji2/text/flatbuffer/FlexBuffers;->isTypeInline(I)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_0
|
|
const/16 p1, 0x20
|
|
|
|
if-gt p0, p1, :cond_2
|
|
|
|
.line 751
|
|
invoke-static {p4, p0}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->paddingBytes(II)I
|
|
|
|
move-result p1
|
|
|
|
add-int/2addr p1, p4
|
|
|
|
mul-int v0, p5, p0
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
int-to-long v0, p1
|
|
|
|
sub-long/2addr v0, p2
|
|
|
|
long-to-int p1, v0
|
|
|
|
int-to-long v0, p1
|
|
|
|
.line 755
|
|
invoke-static {v0, v1}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder;->widthUInBits(J)I
|
|
|
|
move-result p1
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
shl-long/2addr v0, p1
|
|
|
|
int-to-long v2, p0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
mul-int/lit8 p0, p0, 0x2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 p0, 0x3
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static float32(IF)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 706
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const/4 v3, 0x2
|
|
|
|
float-to-double v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIID)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static float64(ID)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 710
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const/4 v3, 0x3
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
move-wide v4, p1
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIID)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static int16(II)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 678
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x1
|
|
|
|
int-to-long v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static int32(II)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 682
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x2
|
|
|
|
int-to-long v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static int64(IJ)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 686
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x3
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
move-wide v4, p1
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static int8(II)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 674
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
int-to-long v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method private static packedType(II)B
|
|
.locals 0
|
|
|
|
shl-int/lit8 p1, p1, 0x2
|
|
|
|
or-int/2addr p0, p1
|
|
|
|
int-to-byte p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static paddingBytes(II)I
|
|
.locals 0
|
|
|
|
not-int p0, p0
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
and-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private storedPackedType()B
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 714
|
|
invoke-direct {p0, v0}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->storedPackedType(I)B
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private storedPackedType(I)B
|
|
.locals 0
|
|
|
|
.line 718
|
|
invoke-direct {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->storedWidth(I)I
|
|
|
|
move-result p1
|
|
|
|
iget p0, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->type:I
|
|
|
|
invoke-static {p1, p0}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->packedType(II)B
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private storedWidth(I)I
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->type:I
|
|
|
|
.line 726
|
|
invoke-static {v0}, Landroidx/emoji2/text/flatbuffer/FlexBuffers;->isTypeInline(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget p0, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->minBitWidth:I
|
|
|
|
.line 727
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
iget p0, p0, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;->minBitWidth:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static uInt16(II)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 694
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
int-to-long v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static uInt32(II)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 698
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x2
|
|
|
|
int-to-long v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static uInt64(IJ)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 702
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x3
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
move-wide v4, p1
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method static uInt8(II)Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
.locals 7
|
|
|
|
.line 690
|
|
new-instance v6, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
int-to-long v4, p1
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Landroidx/emoji2/text/flatbuffer/FlexBuffersBuilder$Value;-><init>(IIIJ)V
|
|
|
|
return-object v6
|
|
.end method
|