CharsKt__CharKt.smali
3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
.class Lkotlin/text/CharsKt__CharKt;
.super Lkotlin/text/CharsKt__CharJVMKt;
.source "Char.kt"
# annotations
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nChar.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Char.kt\nkotlin/text/CharsKt__CharKt\n*L\n1#1,44:1\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0014\n\u0000\n\u0002\u0010\u000b\n\u0002\u0010\u000c\n\u0002\u0008\u0004\n\u0002\u0010\u000e\n\u0000\u001a\u001c\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u00022\u0008\u0008\u0002\u0010\u0004\u001a\u00020\u0001\u001a\n\u0010\u0005\u001a\u00020\u0001*\u00020\u0002\u001a\u0015\u0010\u0006\u001a\u00020\u0007*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0007H\u0087\n\u00a8\u0006\u0008"
}
d2 = {
"equals",
"",
"",
"other",
"ignoreCase",
"isSurrogate",
"plus",
"",
"kotlin-stdlib"
}
k = 0x5
mv = {
0x1,
0x1,
0xf
}
xi = 0x1
xs = "kotlin/text/CharsKt"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/text/CharsKt__CharJVMKt;-><init>()V
return-void
.end method
.method public static final equals(CCZ)Z
.locals 3
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-nez p2, :cond_1
return v1
.line 35
:cond_1
invoke-static {p0}, Ljava/lang/Character;->toUpperCase(C)C
move-result p2
invoke-static {p1}, Ljava/lang/Character;->toUpperCase(C)C
move-result v2
if-ne p2, v2, :cond_2
return v0
.line 36
:cond_2
invoke-static {p0}, Ljava/lang/Character;->toLowerCase(C)C
move-result p0
invoke-static {p1}, Ljava/lang/Character;->toLowerCase(C)C
move-result p1
if-ne p0, p1, :cond_3
return v0
:cond_3
return v1
.end method
.method public static synthetic equals$default(CCZILjava/lang/Object;)Z
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
const/4 p2, 0x0
.line 31
:cond_0
invoke-static {p0, p1, p2}, Lkotlin/text/CharsKt;->equals(CCZ)Z
move-result p0
return p0
.end method
.method public static final isSurrogate(C)Z
.locals 1
const v0, 0xd800
if-le v0, p0, :cond_0
goto :goto_0
:cond_0
const v0, 0xdfff
if-lt v0, p0, :cond_1
const/4 p0, 0x1
goto :goto_1
:cond_1
:goto_0
const/4 p0, 0x0
:goto_1
return p0
.end method
.method private static final plus(CLjava/lang/String;)Ljava/lang/String;
.locals 1
.annotation build Lkotlin/internal/InlineOnly;
.end annotation
.line 17
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-static {p0}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method