2020-05-11 19:22:21 +00:00
|
|
|
.class public Ly/b0/u;
|
|
|
|
.super Ly/b0/p;
|
2020-03-14 04:13:36 +00:00
|
|
|
.source "Strings.kt"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {p0}, Ly/b0/p;-><init>()V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-nez p5, :cond_2
|
|
|
|
|
|
|
|
if-gez p2, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p5, Lkotlin/ranges/IntRange;
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-le p3, v0, :cond_1
|
|
|
|
|
|
|
|
move p3, v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-direct {p5, p2, p3}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/b0/u;->getLastIndex(Ljava/lang/CharSequence;)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p5
|
|
|
|
|
|
|
|
if-le p2, p5, :cond_3
|
|
|
|
|
|
|
|
move p2, p5
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
if-gez p3, :cond_4
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_4
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p2, p3}, Ly/y/f;->downTo(II)Lkotlin/ranges/IntProgression;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p5
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
instance-of p2, p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz p2, :cond_7
|
|
|
|
|
|
|
|
instance-of p2, p1, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz p2, :cond_7
|
|
|
|
|
|
|
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getFirst()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getLast()I
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getStep()I
|
|
|
|
|
|
|
|
move-result p5
|
|
|
|
|
|
|
|
if-ltz p5, :cond_5
|
|
|
|
|
|
|
|
if-gt p2, p3, :cond_a
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
if-lt p2, p3, :cond_a
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
move v3, p2
|
|
|
|
|
|
|
|
move v5, p4
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Ly/b0/p;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
|
|
|
|
return p2
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
if-eq p2, p3, :cond_a
|
|
|
|
|
|
|
|
add-int/2addr p2, p5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getFirst()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getLast()I
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-virtual {p5}, Lkotlin/ranges/IntProgression;->getStep()I
|
|
|
|
|
|
|
|
move-result p5
|
|
|
|
|
|
|
|
if-ltz p5, :cond_8
|
|
|
|
|
|
|
|
if-gt p2, p3, :cond_a
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
if-lt p2, p3, :cond_a
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
move v3, p2
|
|
|
|
|
|
|
|
move v5, p4
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Ly/b0/u;->regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
|
|
|
|
return p2
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
if-eq p2, p3, :cond_a
|
|
|
|
|
|
|
|
add-int/2addr p2, p5
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZI)I
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
and-int/lit8 p6, p6, 0x10
|
|
|
|
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
|
|
|
|
const/4 p5, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move v5, p5
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
move v2, p2
|
|
|
|
|
|
|
|
move v3, p3
|
|
|
|
|
|
|
|
move v4, p4
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Ly/b0/u;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final a(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List;
|
|
|
|
.locals 7
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"ZI)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ltz p3, :cond_0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v0, p2}, Ly/b0/u;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v3, -0x1
|
|
|
|
|
|
|
|
if-eq v2, v3, :cond_7
|
|
|
|
|
|
|
|
if-ne p3, v1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-lez p3, :cond_2
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
new-instance v5, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
const/16 v6, 0xa
|
|
|
|
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
|
|
|
|
if-le p3, v6, :cond_3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move v6, p3
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
invoke-direct {v5, v6}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
invoke-interface {p0, v0, v2}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v5, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/util/ArrayList;->size()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
add-int/lit8 v6, p3, -0x1
|
|
|
|
|
|
|
|
if-ne v2, v6, :cond_6
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v0, p2}, Ly/b0/u;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-ne v2, v3, :cond_5
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-interface {p0, v0, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-virtual {v5, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-object v5
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
:goto_4
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Lf/o/a/j/a;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string p1, "Limit must be non-negative, but was "
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 p1, 0x2e
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic a(Ljava/lang/CharSequence;[CIZII)Lkotlin/sequences/Sequence;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
and-int/lit8 v0, p5, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 v0, p5, 0x4
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
|
|
|
|
const/4 p4, 0x0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-ltz p4, :cond_3
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
new-instance p5, Ly/b0/b;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
new-instance v0, Ly/b0/q;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {v0, p1, p3}, Ly/b0/q;-><init>([CZ)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {p5, p0, p2, p4, v0}, Ly/b0/b;-><init>(Ljava/lang/CharSequence;IILkotlin/jvm/functions/Function2;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
return-object p5
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string p1, "Limit must be non-negative, but was "
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 p1, 0x2e
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic a(Ljava/lang/CharSequence;[Ljava/lang/String;IZII)Lkotlin/sequences/Sequence;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
and-int/lit8 v0, p5, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 v0, p5, 0x4
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
|
|
|
|
const/4 p4, 0x0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-ltz p4, :cond_3
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p1}, Lf/o/a/j/a;->asList([Ljava/lang/Object;)Ljava/util/List;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
new-instance p5, Ly/b0/b;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
new-instance v0, Ly/b0/r;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {v0, p1, p3}, Ly/b0/r;-><init>(Ljava/util/List;Z)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {p5, p0, p2, p4, v0}, Ly/b0/b;-><init>(Ljava/lang/CharSequence;IILkotlin/jvm/functions/Function2;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
return-object p5
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string p1, "Limit must be non-negative, but was "
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const/16 p1, 0x2e
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final contains(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
|
|
|
.locals 10
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
instance-of v0, p1, Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v2, p2, v0}, Ly/b0/u;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-ltz p0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/16 v9, 0x10
|
|
|
|
|
|
|
|
move-object v3, p0
|
|
|
|
|
|
|
|
move-object v4, p1
|
|
|
|
|
|
|
|
move v7, p2
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v3 .. v9}, Ly/b0/u;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZI)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-ltz p0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "other"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$contains"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic contains$default(Ljava/lang/CharSequence;CZI)Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
and-int/2addr p3, v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v1, p2, v0}, Ly/b0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-ltz p0, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$contains"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZI)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, p2}, Ly/b0/u;->contains(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getLastIndex(Ljava/lang/CharSequence;)I
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
add-int/lit8 p0, p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$lastIndex"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
|
|
|
|
instance-of v0, p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/16 v6, 0x10
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
move v2, p2
|
|
|
|
|
|
|
|
move v4, p3
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v0 .. v6}, Ly/b0/u;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZI)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "string"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$indexOf"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
|
|
|
|
if-nez p3, :cond_3
|
|
|
|
|
|
|
|
instance-of p4, p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez p4, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_0
|
|
|
|
const/4 p4, 0x1
|
|
|
|
|
|
|
|
new-array p4, p4, [C
|
|
|
|
|
|
|
|
aput-char p1, p4, v1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p4, p2, p3}, Ly/b0/u;->indexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$indexOf"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, p2, p3}, Ly/b0/u;->indexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final indexOfAny(Ljava/lang/CharSequence;[CIZ)I
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_7
|
|
|
|
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
|
|
|
|
array-length v1, p1
|
|
|
|
|
|
|
|
if-ne v1, v0, :cond_0
|
|
|
|
|
|
|
|
instance-of v1, p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p1}, Lf/o/a/j/a;->single([C)C
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->indexOf(II)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-gez p2, :cond_1
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/b0/u;->getLastIndex(Ljava/lang/CharSequence;)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-gt p2, v2, :cond_5
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0, p2}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
array-length v4, p1
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v5, v4, :cond_3
|
|
|
|
|
|
|
|
aget-char v6, p1, v5
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v6, v3, p3}, Lf/o/a/j/a;->equals(CCZ)Z
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
|
|
|
|
return p2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
if-eq p2, v2, :cond_5
|
|
|
|
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const-string p0, "chars"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const-string p0, "$this$indexOfAny"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-04-27 21:50:40 +00:00
|
|
|
.method public static final lastIndexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
|
|
|
|
instance-of v0, p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;I)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x1
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
move v2, p2
|
|
|
|
|
|
|
|
move v4, p3
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v0 .. v5}, Ly/b0/u;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IIZZ)I
|
2020-04-27 21:50:40 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "string"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-04-27 21:50:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$lastIndexOf"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-04-27 21:50:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
.method public static synthetic lastIndexOf$default(Ljava/lang/CharSequence;CIZI)I
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/b0/u;->getLastIndex(Ljava/lang/CharSequence;)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-eqz p0, :cond_a
|
|
|
|
|
|
|
|
if-nez p3, :cond_3
|
|
|
|
|
|
|
|
instance-of p4, p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez p4, :cond_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(II)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_0
|
|
|
|
const/4 p4, 0x1
|
|
|
|
|
|
|
|
new-array v1, p4, [C
|
|
|
|
|
|
|
|
aput-char p1, v1, v0
|
|
|
|
|
|
|
|
if-nez p3, :cond_4
|
|
|
|
|
|
|
|
array-length p1, v1
|
|
|
|
|
|
|
|
if-ne p1, p4, :cond_4
|
|
|
|
|
|
|
|
instance-of p1, p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v1}, Lf/o/a/j/a;->single([C)C
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->lastIndexOf(II)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_4
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/b0/u;->getLastIndex(Ljava/lang/CharSequence;)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-le p2, p1, :cond_5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
move p1, p2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ltz p1, :cond_9
|
|
|
|
|
|
|
|
invoke-interface {p0, p1}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
array-length v2, v1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge v3, v2, :cond_7
|
|
|
|
|
|
|
|
aget-char v4, v1, v3
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v4, p2, p3}, Lf/o/a/j/a;->equals(CCZ)Z
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-eqz p2, :cond_8
|
|
|
|
|
|
|
|
move p0, p1
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
const-string p0, "$this$lastIndexOf"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
|
2020-04-27 21:50:40 +00:00
|
|
|
.locals 1
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/b0/u;->getLastIndex(Ljava/lang/CharSequence;)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
:cond_0
|
2020-04-27 21:50:40 +00:00
|
|
|
and-int/lit8 p4, p4, 0x4
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-04-27 21:50:40 +00:00
|
|
|
if-eqz p4, :cond_1
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, p2, p3}, Ly/b0/u;->lastIndexOf(Ljava/lang/CharSequence;Ljava/lang/String;IZ)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final regionMatchesImpl(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IIZ)Z
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-ltz p3, :cond_3
|
|
|
|
|
|
|
|
if-ltz p1, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
sub-int/2addr v1, p4
|
|
|
|
|
|
|
|
if-gt p1, v1, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
sub-int/2addr v1, p4
|
|
|
|
|
|
|
|
if-le p3, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, p4, :cond_2
|
|
|
|
|
|
|
|
add-int v2, p1, v1
|
|
|
|
|
|
|
|
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
add-int v3, p3, v1
|
|
|
|
|
|
|
|
invoke-interface {p2, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v2, v3, p5}, Lf/o/a/j/a;->equals(CCZ)Z
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "other"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p0, "$this$regionMatchesImpl"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move v5, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 p2, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move v6, p3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
|
|
|
array-length p2, p1
|
|
|
|
|
|
|
|
const/4 p3, 0x1
|
|
|
|
|
|
|
|
if-ne p2, p3, :cond_2
|
|
|
|
|
|
|
|
aget-char p1, p1, v1
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v5, v6}, Ly/b0/u;->a(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x2
|
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v2 .. v7}, Ly/b0/u;->a(Ljava/lang/CharSequence;[CIZII)Lkotlin/sequences/Sequence;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p1}, Lf/o/a/j/a;->asIterable(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
const/16 p3, 0xa
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p1, p3}, Lf/o/a/j/a;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-direct {p2, p3}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result p3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
if-eqz p3, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
move-result-object p3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
check-cast p3, Lkotlin/ranges/IntRange;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p3}, Ly/b0/u;->substring(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
move-result-object p3
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-interface {p2, p3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
goto :goto_2
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
:cond_3
|
|
|
|
move-object p0, p2
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "delimiters"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p0, "$this$split"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p2
|
2020-03-10 23:21:53 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
.method public static synthetic split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
|
|
|
|
.locals 8
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
and-int/lit8 v0, p4, 0x2
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
const/4 v1, 0x0
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move v5, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 p2, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move v6, p3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_6
|
|
|
|
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
|
|
|
array-length p2, p1
|
|
|
|
|
|
|
|
const/4 p3, 0x1
|
|
|
|
|
|
|
|
if-ne p2, p3, :cond_3
|
|
|
|
|
|
|
|
aget-object p2, p1, v1
|
|
|
|
|
|
|
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result p4
|
|
|
|
|
|
|
|
if-nez p4, :cond_2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-nez p3, :cond_3
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p2, v5, v6}, Ly/b0/u;->a(Ljava/lang/CharSequence;Ljava/lang/String;ZI)Ljava/util/List;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x2
|
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v2 .. v7}, Ly/b0/u;->a(Ljava/lang/CharSequence;[Ljava/lang/String;IZII)Lkotlin/sequences/Sequence;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p1}, Lf/o/a/j/a;->asIterable(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
const/16 p3, 0xa
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p1, p3}, Lf/o/a/j/a;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
invoke-direct {p2, p3}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
if-eqz p3, :cond_4
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
check-cast p3, Lkotlin/ranges/IntRange;
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p3}, Ly/b0/u;->substring(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-interface {p2, p3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object p0, p2
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p0, "delimiters"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
const-string p0, "$this$split"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p2
|
2020-03-10 23:21:53 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
.method public static synthetic splitToSequence$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Lkotlin/sequences/Sequence;
|
|
|
|
.locals 8
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
:cond_0
|
|
|
|
move v5, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 p2, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move v6, p3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_3
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x2
|
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static/range {v2 .. v7}, Ly/b0/u;->a(Ljava/lang/CharSequence;[Ljava/lang/String;IZII)Lkotlin/sequences/Sequence;
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
move-result-object p1
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
new-instance p2, Ly/b0/s;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {p2, p0}, Ly/b0/s;-><init>(Ljava/lang/CharSequence;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p1, p2}, Lf/o/a/j/a;->map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "delimiters"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$splitToSequence"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p2
|
2020-03-10 23:21:53 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
.method public static final substring(Ljava/lang/CharSequence;Lkotlin/ranges/IntRange;)Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
move-result-object p1
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
invoke-interface {p0, v0, p1}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2020-03-10 23:21:53 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-03-14 04:13:36 +00:00
|
|
|
const-string p0, "range"
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
throw v0
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$substring"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic substringAfter$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
move-object p2, p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
const/4 p3, 0x6
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v0, v0, p3}, Ly/b0/u;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
if-ne p3, v0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
add-int/2addr p1, p3
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p0, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p2, p0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "missingDelimiterValue"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "delimiter"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$substringAfter"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw p3
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final substringAfterLast(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v0, 0x6
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v1, v1, v0}, Ly/b0/u;->lastIndexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p0, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p2, p0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "missingDelimiterValue"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$substringAfterLast"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic substringAfterLast$default(Ljava/lang/String;CLjava/lang/String;I)Ljava/lang/String;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
move-object p2, p0
|
|
|
|
|
|
|
|
:cond_0
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, p2}, Ly/b0/u;->substringAfterLast(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final substringBefore(Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
const/4 v0, 0x6
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0, p1, v1, v1, v0}, Ly/b0/u;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p0, v1, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
const-string p0, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p2, p0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "missingDelimiterValue"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$substringBefore"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-gt v2, v0, :cond_4
|
|
|
|
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
|
|
|
|
move v4, v2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move v4, v0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-interface {p0, v4}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {v4}, Lf/o/a/j/a;->isWhitespace(C)Z
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_2
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
invoke-interface {p0, v2, v0}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
const-string p0, "$this$trim"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-12-06 03:29:40 +00:00
|
|
|
.end method
|