mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
2035 lines
51 KiB
Smali
2035 lines
51 KiB
Smali
.class public Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;
|
|
.super Ljava/lang/Object;
|
|
.source "FlatBufferBuilder.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;,
|
|
Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$HeapByteBufferFactory;,
|
|
Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final synthetic $assertionsDisabled:Z
|
|
|
|
|
|
# instance fields
|
|
.field bb:Ljava/nio/ByteBuffer;
|
|
|
|
.field bb_factory:Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;
|
|
|
|
.field finished:Z
|
|
|
|
.field force_defaults:Z
|
|
|
|
.field minalign:I
|
|
|
|
.field nested:Z
|
|
|
|
.field num_vtables:I
|
|
|
|
.field object_start:I
|
|
|
|
.field space:I
|
|
|
|
.field final utf8:Landroidx/emoji2/text/flatbuffer/Utf8;
|
|
|
|
.field vector_num_elems:I
|
|
|
|
.field vtable:[I
|
|
|
|
.field vtable_in_use:I
|
|
|
|
.field vtables:[I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
const/16 v0, 0x400
|
|
|
|
.line 100
|
|
invoke-direct {p0, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(I)V
|
|
.locals 3
|
|
|
|
.line 93
|
|
sget-object v0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$HeapByteBufferFactory;->INSTANCE:Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$HeapByteBufferFactory;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {}, Landroidx/emoji2/text/flatbuffer/Utf8;->getDefault()Landroidx/emoji2/text/flatbuffer/Utf8;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {p0, p1, v0, v1, v2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;-><init>(ILandroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/Utf8;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(ILandroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 59
|
|
invoke-static {}, Landroidx/emoji2/text/flatbuffer/Utf8;->getDefault()Landroidx/emoji2/text/flatbuffer/Utf8;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {p0, p1, p2, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;-><init>(ILandroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/Utf8;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(ILandroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/Utf8;)V
|
|
.locals 3
|
|
|
|
.line 71
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->minalign:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable_in_use:I
|
|
|
|
iput-boolean v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
iput-boolean v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished:Z
|
|
|
|
const/16 v2, 0x10
|
|
|
|
new-array v2, v2, [I
|
|
|
|
iput-object v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtables:[I
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->num_vtables:I
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vector_num_elems:I
|
|
|
|
iput-boolean v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-gtz p1, :cond_0
|
|
|
|
move p1, v0
|
|
|
|
:cond_0
|
|
iput-object p2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb_factory:Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
iput-object p3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 78
|
|
invoke-virtual {p3}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
|
|
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 79
|
|
sget-object p2, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
|
|
|
|
goto :goto_0
|
|
|
|
.line 81
|
|
:cond_1
|
|
invoke-virtual {p2, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;->newByteBuffer(I)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
:goto_0
|
|
iput-object p4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->utf8:Landroidx/emoji2/text/flatbuffer/Utf8;
|
|
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 84
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/nio/ByteBuffer;)V
|
|
.locals 1
|
|
|
|
.line 124
|
|
new-instance v0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$HeapByteBufferFactory;
|
|
|
|
invoke-direct {v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$HeapByteBufferFactory;-><init>()V
|
|
|
|
invoke-direct {p0, p1, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;-><init>(Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;)V
|
|
.locals 2
|
|
|
|
.line 113
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {}, Landroidx/emoji2/text/flatbuffer/Utf8;->getDefault()Landroidx/emoji2/text/flatbuffer/Utf8;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {p0, v0, p2, p1, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;-><init>(ILandroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/Utf8;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private dataStart()I
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 990
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished()V
|
|
|
|
iget p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method static growByteBuffer(Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;)Ljava/nio/ByteBuffer;
|
|
.locals 3
|
|
|
|
.line 239
|
|
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v0
|
|
|
|
const/high16 v1, -0x40000000 # -2.0f
|
|
|
|
and-int/2addr v1, v0
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
shl-int/lit8 v1, v0, 0x1
|
|
|
|
:goto_0
|
|
const/4 v2, 0x0
|
|
|
|
.line 243
|
|
invoke-virtual {p0, v2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
.line 244
|
|
invoke-virtual {p1, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;->newByteBuffer(I)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p1
|
|
|
|
.line 245
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/nio/Buffer;->capacity()I
|
|
|
|
move-result v1
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
.line 246
|
|
invoke-virtual {p1, v1}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
.line 247
|
|
invoke-virtual {p1, p0}, Ljava/nio/ByteBuffer;->put(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
|
|
|
|
return-object p1
|
|
|
|
.line 241
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
const-string p1, "FlatBuffers: cannot grow buffer beyond 2 gigabytes."
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static isFieldPresent(Landroidx/emoji2/text/flatbuffer/Table;I)Z
|
|
.locals 0
|
|
|
|
.line 210
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/Table;->__offset(I)I
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public Nested(I)V
|
|
.locals 0
|
|
|
|
.line 635
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result p0
|
|
|
|
if-ne p1, p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 636
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
const-string p1, "FlatBuffers: struct must be serialized inline."
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public addBoolean(IZZ)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
.line 697
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addBoolean(Z)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addBoolean(Z)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 360
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putBoolean(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addByte(B)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 367
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putByte(B)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addByte(IBI)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
.line 708
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addByte(B)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addDouble(D)V
|
|
.locals 2
|
|
|
|
const/16 v0, 0x8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 402
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putDouble(D)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addDouble(IDD)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
cmpl-double p4, p2, p4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 763
|
|
:cond_0
|
|
invoke-virtual {p0, p2, p3}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addDouble(D)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addFloat(F)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x4
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 395
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putFloat(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addFloat(IFD)V
|
|
.locals 2
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
float-to-double v0, p2
|
|
|
|
cmpl-double p3, v0, p3
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 752
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addFloat(F)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addInt(I)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x4
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 381
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addInt(III)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
.line 730
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addInt(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addLong(IJJ)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
cmp-long p4, p2, p4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 741
|
|
:cond_0
|
|
invoke-virtual {p0, p2, p3}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addLong(J)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addLong(J)V
|
|
.locals 2
|
|
|
|
const/16 v0, 0x8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 388
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putLong(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addOffset(I)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x4
|
|
|
|
.line 410
|
|
invoke-virtual {p0, v1, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
.line 412
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
.line 413
|
|
invoke-virtual {p0, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putInt(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addOffset(III)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
.line 774
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addOffset(I)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addShort(ISI)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
if-eq p2, p3, :cond_1
|
|
|
|
.line 719
|
|
:cond_0
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addShort(S)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public addShort(S)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 374
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putShort(S)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public addStruct(III)V
|
|
.locals 0
|
|
|
|
if-eq p2, p3, :cond_0
|
|
|
|
.line 785
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->Nested(I)V
|
|
|
|
.line 786
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->slot(I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public clear()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 217
|
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 218
|
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->minalign:I
|
|
|
|
:goto_0
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable_in_use:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
iget-object v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
iput v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable_in_use:I
|
|
|
|
.line 220
|
|
aput v1, v2, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable_in_use:I
|
|
|
|
iput-boolean v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
iput-boolean v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished:Z
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->object_start:I
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->num_vtables:I
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vector_num_elems:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public createByteVector(Ljava/nio/ByteBuffer;)I
|
|
.locals 3
|
|
|
|
.line 600
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 601
|
|
invoke-virtual {p0, v1, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->startVector(III)V
|
|
|
|
iget-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v2, v0
|
|
|
|
iput v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 602
|
|
invoke-virtual {v1, v2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 603
|
|
invoke-virtual {v0, p1}, Ljava/nio/ByteBuffer;->put(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
|
|
|
|
.line 604
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->endVector()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public createByteVector([B)I
|
|
.locals 3
|
|
|
|
.line 568
|
|
array-length v0, p1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 569
|
|
invoke-virtual {p0, v1, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->startVector(III)V
|
|
|
|
iget-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v2, v0
|
|
|
|
iput v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 570
|
|
invoke-virtual {v1, v2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 571
|
|
invoke-virtual {v0, p1}, Ljava/nio/ByteBuffer;->put([B)Ljava/nio/ByteBuffer;
|
|
|
|
.line 572
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->endVector()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public createByteVector([BII)I
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 584
|
|
invoke-virtual {p0, v0, p3, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->startVector(III)V
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v1, p3
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 585
|
|
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 586
|
|
invoke-virtual {v0, p1, p2, p3}, Ljava/nio/ByteBuffer;->put([BII)Ljava/nio/ByteBuffer;
|
|
|
|
.line 587
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->endVector()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public createSortedVectorOfTables(Landroidx/emoji2/text/flatbuffer/Table;[I)I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Landroidx/emoji2/text/flatbuffer/Table;",
|
|
">(TT;[I)I"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 526
|
|
invoke-virtual {p1, p2, v0}, Landroidx/emoji2/text/flatbuffer/Table;->sortTables([ILjava/nio/ByteBuffer;)V
|
|
|
|
.line 527
|
|
invoke-virtual {p0, p2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->createVectorOfTables([I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public createString(Ljava/lang/CharSequence;)I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->utf8:Landroidx/emoji2/text/flatbuffer/Utf8;
|
|
|
|
.line 538
|
|
invoke-virtual {v0, p1}, Landroidx/emoji2/text/flatbuffer/Utf8;->encodedLength(Ljava/lang/CharSequence;)I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 539
|
|
invoke-virtual {p0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addByte(B)V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 540
|
|
invoke-virtual {p0, v1, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->startVector(III)V
|
|
|
|
iget-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v2, v0
|
|
|
|
iput v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 541
|
|
invoke-virtual {v1, v2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->utf8:Landroidx/emoji2/text/flatbuffer/Utf8;
|
|
|
|
iget-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 542
|
|
invoke-virtual {v0, p1, v1}, Landroidx/emoji2/text/flatbuffer/Utf8;->encodeUtf8(Ljava/lang/CharSequence;Ljava/nio/ByteBuffer;)V
|
|
|
|
.line 543
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->endVector()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public createString(Ljava/nio/ByteBuffer;)I
|
|
.locals 3
|
|
|
|
.line 553
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 554
|
|
invoke-virtual {p0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addByte(B)V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 555
|
|
invoke-virtual {p0, v1, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->startVector(III)V
|
|
|
|
iget-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v2, v0
|
|
|
|
iput v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 556
|
|
invoke-virtual {v1, v2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 557
|
|
invoke-virtual {v0, p1}, Ljava/nio/ByteBuffer;->put(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
|
|
|
|
.line 558
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->endVector()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public createUnintializedVector(III)Ljava/nio/ByteBuffer;
|
|
.locals 1
|
|
|
|
mul-int v0, p1, p2
|
|
|
|
.line 495
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->startVector(III)V
|
|
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget p2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr p2, v0
|
|
|
|
iput p2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 497
|
|
invoke-virtual {p1, p2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 500
|
|
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->slice()Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p0
|
|
|
|
sget-object p1, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;
|
|
|
|
invoke-virtual {p0, p1}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p0
|
|
|
|
.line 501
|
|
invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->limit(I)Ljava/nio/Buffer;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public createVectorOfTables([I)I
|
|
.locals 2
|
|
|
|
.line 512
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->notNested()V
|
|
|
|
const/4 v0, 0x4
|
|
|
|
.line 513
|
|
array-length v1, p1
|
|
|
|
invoke-virtual {p0, v0, v1, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->startVector(III)V
|
|
|
|
.line 514
|
|
array-length v0, p1
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_0
|
|
|
|
aget v1, p1, v0
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addOffset(I)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 515
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->endVector()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public dataBuffer()Ljava/nio/ByteBuffer;
|
|
.locals 0
|
|
|
|
.line 976
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished()V
|
|
|
|
iget-object p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public endTable()I
|
|
.locals 11
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 809
|
|
invoke-virtual {p0, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addInt(I)V
|
|
|
|
.line 810
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result v1
|
|
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable_in_use:I
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
:goto_0
|
|
if-ltz v2, :cond_0
|
|
|
|
iget-object v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
.line 814
|
|
aget v3, v3, v2
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v3, v2
|
|
|
|
:goto_1
|
|
if-ltz v3, :cond_2
|
|
|
|
iget-object v4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
.line 818
|
|
aget v4, v4, v3
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
sub-int v4, v1, v4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
move v4, v0
|
|
|
|
:goto_2
|
|
int-to-short v4, v4
|
|
|
|
.line 819
|
|
invoke-virtual {p0, v4}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addShort(S)V
|
|
|
|
add-int/lit8 v3, v3, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
iget v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->object_start:I
|
|
|
|
sub-int v3, v1, v3
|
|
|
|
int-to-short v3, v3
|
|
|
|
.line 823
|
|
invoke-virtual {p0, v3}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addShort(S)V
|
|
|
|
add-int/lit8 v2, v2, 0x3
|
|
|
|
const/4 v3, 0x2
|
|
|
|
mul-int/2addr v2, v3
|
|
|
|
int-to-short v2, v2
|
|
|
|
.line 824
|
|
invoke-virtual {p0, v2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addShort(S)V
|
|
|
|
move v2, v0
|
|
|
|
:goto_3
|
|
iget v4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->num_vtables:I
|
|
|
|
if-ge v2, v4, :cond_6
|
|
|
|
iget-object v4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 830
|
|
invoke-virtual {v4}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v4
|
|
|
|
iget-object v5, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtables:[I
|
|
|
|
aget v5, v5, v2
|
|
|
|
sub-int/2addr v4, v5
|
|
|
|
iget v5, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
iget-object v6, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 832
|
|
invoke-virtual {v6, v4}, Ljava/nio/ByteBuffer;->getShort(I)S
|
|
|
|
move-result v6
|
|
|
|
iget-object v7, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 833
|
|
invoke-virtual {v7, v5}, Ljava/nio/ByteBuffer;->getShort(I)S
|
|
|
|
move-result v7
|
|
|
|
if-ne v6, v7, :cond_5
|
|
|
|
move v7, v3
|
|
|
|
:goto_4
|
|
if-ge v7, v6, :cond_4
|
|
|
|
iget-object v8, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
add-int v9, v4, v7
|
|
|
|
.line 835
|
|
invoke-virtual {v8, v9}, Ljava/nio/ByteBuffer;->getShort(I)S
|
|
|
|
move-result v8
|
|
|
|
iget-object v9, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
add-int v10, v5, v7
|
|
|
|
invoke-virtual {v9, v10}, Ljava/nio/ByteBuffer;->getShort(I)S
|
|
|
|
move-result v9
|
|
|
|
if-eq v8, v9, :cond_3
|
|
|
|
goto :goto_5
|
|
|
|
:cond_3
|
|
add-int/lit8 v7, v7, 0x2
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
iget-object v4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtables:[I
|
|
|
|
.line 839
|
|
aget v2, v4, v2
|
|
|
|
goto :goto_6
|
|
|
|
:cond_5
|
|
:goto_5
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
move v2, v0
|
|
|
|
:goto_6
|
|
if-eqz v2, :cond_7
|
|
|
|
iget-object v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 847
|
|
invoke-virtual {v3}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v3, v1
|
|
|
|
iput v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
iget-object v4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
sub-int/2addr v2, v1
|
|
|
|
.line 849
|
|
invoke-virtual {v4, v3, v2}, Ljava/nio/ByteBuffer;->putInt(II)Ljava/nio/ByteBuffer;
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->num_vtables:I
|
|
|
|
iget-object v4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtables:[I
|
|
|
|
.line 853
|
|
array-length v5, v4
|
|
|
|
if-ne v2, v5, :cond_8
|
|
|
|
mul-int/2addr v2, v3
|
|
|
|
invoke-static {v4, v2}, Ljava/util/Arrays;->copyOf([II)[I
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtables:[I
|
|
|
|
:cond_8
|
|
iget-object v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtables:[I
|
|
|
|
iget v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->num_vtables:I
|
|
|
|
add-int/lit8 v4, v3, 0x1
|
|
|
|
iput v4, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->num_vtables:I
|
|
|
|
.line 854
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result v4
|
|
|
|
aput v4, v2, v3
|
|
|
|
iget-object v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 856
|
|
invoke-virtual {v2}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v3, v1
|
|
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result v4
|
|
|
|
sub-int/2addr v4, v1
|
|
|
|
invoke-virtual {v2, v3, v4}, Ljava/nio/ByteBuffer;->putInt(II)Ljava/nio/ByteBuffer;
|
|
|
|
:goto_7
|
|
iput-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
return v1
|
|
|
|
.line 808
|
|
:cond_9
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
const-string v0, "FlatBuffers: endTable called without startTable"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public endVector()I
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vector_num_elems:I
|
|
|
|
.line 478
|
|
invoke-virtual {p0, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->putInt(I)V
|
|
|
|
.line 479
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 476
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
const-string v0, "FlatBuffers: endVector called without startVector"
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public finish(I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 902
|
|
invoke-virtual {p0, p1, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finish(IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public finish(ILjava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 941
|
|
invoke-virtual {p0, p1, p2, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finish(ILjava/lang/String;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected finish(ILjava/lang/String;Z)V
|
|
.locals 3
|
|
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->minalign:I
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
move v2, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
add-int/lit8 v2, v2, 0x8
|
|
|
|
.line 923
|
|
invoke-virtual {p0, v0, v2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
.line 924
|
|
invoke-virtual {p2}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
const/4 v0, 0x3
|
|
|
|
:goto_1
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 928
|
|
invoke-virtual {p2, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
int-to-byte v1, v1
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addByte(B)V
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 930
|
|
:cond_1
|
|
invoke-virtual {p0, p1, p3}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finish(IZ)V
|
|
|
|
return-void
|
|
|
|
.line 925
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
const-string p1, "FlatBuffers: file identifier must be length 4"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method protected finish(IZ)V
|
|
.locals 3
|
|
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->minalign:I
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
move v2, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
add-int/2addr v2, v1
|
|
|
|
.line 887
|
|
invoke-virtual {p0, v0, v2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
.line 888
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addOffset(I)V
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 890
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result p1
|
|
|
|
iget p2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr p1, p2
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->addInt(I)V
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget p2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 892
|
|
invoke-virtual {p1, p2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput-boolean p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public finishSizePrefixed(I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 911
|
|
invoke-virtual {p0, p1, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finish(IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public finishSizePrefixed(ILjava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 952
|
|
invoke-virtual {p0, p1, p2, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finish(ILjava/lang/String;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public finished()V
|
|
.locals 1
|
|
|
|
iget-boolean p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished:Z
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 613
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
const-string v0, "FlatBuffers: you can only access the serialized buffer after it has been finished by FlatBufferBuilder.finish()."
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public forceDefaults(Z)Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->force_defaults:Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public init(Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;)Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;
|
|
.locals 0
|
|
|
|
iput-object p2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb_factory:Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;
|
|
|
|
iput-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 140
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
|
|
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 141
|
|
sget-object p2, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->minalign:I
|
|
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 143
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable_in_use:I
|
|
|
|
iput-boolean p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
iput-boolean p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished:Z
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->object_start:I
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->num_vtables:I
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vector_num_elems:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public notNested()V
|
|
.locals 1
|
|
|
|
iget-boolean p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 624
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
const-string v0, "FlatBuffers: object serialization must not be nested."
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public offset()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 257
|
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v0
|
|
|
|
iget p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v0, p0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public pad(I)V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
move v1, v0
|
|
|
|
:goto_0
|
|
if-ge v1, p1, :cond_0
|
|
|
|
iget-object v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v3, v3, -0x1
|
|
|
|
iput v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 266
|
|
invoke-virtual {v2, v3, v0}, Ljava/nio/ByteBuffer;->put(IB)Ljava/nio/ByteBuffer;
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public prep(II)V
|
|
.locals 4
|
|
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->minalign:I
|
|
|
|
if-le p1, v0, :cond_0
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->minalign:I
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 284
|
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
add-int/2addr v0, p2
|
|
|
|
not-int v0, v0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
add-int/lit8 v1, p1, -0x1
|
|
|
|
and-int/2addr v0, v1
|
|
|
|
:goto_0
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int v2, v0, p1
|
|
|
|
add-int/2addr v2, p2
|
|
|
|
if-ge v1, v2, :cond_2
|
|
|
|
iget-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 287
|
|
invoke-virtual {v1}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget-object v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb_factory:Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;
|
|
|
|
.line 289
|
|
invoke-static {v2, v3}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->growByteBuffer(Ljava/nio/ByteBuffer;Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
if-eq v2, v3, :cond_1
|
|
|
|
iget-object v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb_factory:Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;
|
|
|
|
.line 291
|
|
invoke-virtual {v3, v2}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferFactory;->releaseByteBuffer(Ljava/nio/ByteBuffer;)V
|
|
|
|
:cond_1
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
iget-object v3, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 293
|
|
invoke-virtual {v3}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v3, v1
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
iput v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
goto :goto_0
|
|
|
|
.line 295
|
|
:cond_2
|
|
invoke-virtual {p0, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->pad(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putBoolean(Z)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
int-to-byte p0, p1
|
|
|
|
.line 304
|
|
invoke-virtual {v0, v1, p0}, Ljava/nio/ByteBuffer;->put(IB)Ljava/nio/ByteBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putByte(B)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 312
|
|
invoke-virtual {v0, v1, p1}, Ljava/nio/ByteBuffer;->put(IB)Ljava/nio/ByteBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putDouble(D)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v1, v1, -0x8
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 352
|
|
invoke-virtual {v0, v1, p1, p2}, Ljava/nio/ByteBuffer;->putDouble(ID)Ljava/nio/ByteBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putFloat(F)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v1, v1, -0x4
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 344
|
|
invoke-virtual {v0, v1, p1}, Ljava/nio/ByteBuffer;->putFloat(IF)Ljava/nio/ByteBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putInt(I)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v1, v1, -0x4
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 328
|
|
invoke-virtual {v0, v1, p1}, Ljava/nio/ByteBuffer;->putInt(II)Ljava/nio/ByteBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putLong(J)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v1, v1, -0x8
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 336
|
|
invoke-virtual {v0, v1, p1, p2}, Ljava/nio/ByteBuffer;->putLong(IJ)Ljava/nio/ByteBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public putShort(S)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
add-int/lit8 v1, v1, -0x2
|
|
|
|
iput v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 320
|
|
invoke-virtual {v0, v1, p1}, Ljava/nio/ByteBuffer;->putShort(IS)Ljava/nio/ByteBuffer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public required(II)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 871
|
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v0
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
iget-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 872
|
|
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->getInt(I)I
|
|
|
|
move-result p1
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
iget-object p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
add-int/2addr v0, p2
|
|
|
|
.line 873
|
|
invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->getShort(I)S
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 876
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "FlatBuffers: field "
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, " must be set"
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public sizedByteArray()[B
|
|
.locals 3
|
|
|
|
iget v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
iget-object v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 1017
|
|
invoke-virtual {v1}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v1
|
|
|
|
iget v2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
invoke-virtual {p0, v0, v1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->sizedByteArray(II)[B
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public sizedByteArray(II)[B
|
|
.locals 1
|
|
|
|
.line 1004
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished()V
|
|
|
|
.line 1005
|
|
new-array p2, p2, [B
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 1006
|
|
invoke-virtual {v0, p1}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 1007
|
|
invoke-virtual {p0, p2}, Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer;
|
|
|
|
return-object p2
|
|
.end method
|
|
|
|
.method public sizedInputStream()Ljava/io/InputStream;
|
|
.locals 2
|
|
|
|
.line 1027
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->finished()V
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 1028
|
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->duplicate()Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->space:I
|
|
|
|
.line 1029
|
|
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
|
|
|
|
iget-object p0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->bb:Ljava/nio/ByteBuffer;
|
|
|
|
.line 1030
|
|
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {v0, p0}, Ljava/nio/ByteBuffer;->limit(I)Ljava/nio/Buffer;
|
|
|
|
.line 1031
|
|
new-instance p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;
|
|
|
|
invoke-direct {p0, v0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;-><init>(Ljava/nio/ByteBuffer;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public slot(I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
.line 797
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result p0
|
|
|
|
aput p0, v0, p1
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public startTable(I)V
|
|
.locals 2
|
|
|
|
.line 680
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->notNested()V
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 681
|
|
array-length v0, v0
|
|
|
|
if-ge v0, p1, :cond_1
|
|
|
|
:cond_0
|
|
new-array v0, p1, [I
|
|
|
|
iput-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
:cond_1
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable_in_use:I
|
|
|
|
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vtable:[I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 683
|
|
invoke-static {v0, v1, p1, v1}, Ljava/util/Arrays;->fill([IIII)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput-boolean p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
.line 685
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->offset()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->object_start:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public startVector(III)V
|
|
.locals 0
|
|
|
|
.line 460
|
|
invoke-virtual {p0}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->notNested()V
|
|
|
|
iput p2, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->vector_num_elems:I
|
|
|
|
mul-int/2addr p1, p2
|
|
|
|
const/4 p2, 0x4
|
|
|
|
.line 462
|
|
invoke-virtual {p0, p2, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
.line 463
|
|
invoke-virtual {p0, p3, p1}, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->prep(II)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
iput-boolean p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;->nested:Z
|
|
|
|
return-void
|
|
.end method
|