mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
467 lines
13 KiB
Smali
467 lines
13 KiB
Smali
.class final synthetic Lokio/Okio__JvmOkioKt;
|
|
.super Ljava/lang/Object;
|
|
.source "JvmOkio.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000L\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u001a\n\u0010\n\u001a\u00020\u000b*\u00020\u000c\u001a\u0016\u0010\r\u001a\u00020\u000b*\u00020\u000c2\u0008\u0008\u0002\u0010\u000e\u001a\u00020\u0006H\u0007\u001a\n\u0010\r\u001a\u00020\u000b*\u00020\u000f\u001a\n\u0010\r\u001a\u00020\u000b*\u00020\u0010\u001a%\u0010\r\u001a\u00020\u000b*\u00020\u00112\u0012\u0010\u0012\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00140\u0013\"\u00020\u0014H\u0007\u00a2\u0006\u0002\u0010\u0015\u001a\n\u0010\u0016\u001a\u00020\u0017*\u00020\u000c\u001a\n\u0010\u0016\u001a\u00020\u0017*\u00020\u0018\u001a\n\u0010\u0016\u001a\u00020\u0017*\u00020\u0010\u001a%\u0010\u0016\u001a\u00020\u0017*\u00020\u00112\u0012\u0010\u0012\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00140\u0013\"\u00020\u0014H\u0007\u00a2\u0006\u0002\u0010\u0019\"\u001c\u0010\u0000\u001a\n \u0002*\u0004\u0018\u00010\u00010\u0001X\u0082\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0003\u0010\u0004\"\u001c\u0010\u0005\u001a\u00020\u0006*\u00060\u0007j\u0002`\u00088@X\u0080\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0005\u0010\t\u00a8\u0006\u001a"
|
|
}
|
|
d2 = {
|
|
"logger",
|
|
"Ljava/util/logging/Logger;",
|
|
"kotlin.jvm.PlatformType",
|
|
"getLogger$Okio__JvmOkioKt",
|
|
"()Ljava/util/logging/Logger;",
|
|
"isAndroidGetsocknameError",
|
|
"",
|
|
"Ljava/lang/AssertionError;",
|
|
"Lkotlin/AssertionError;",
|
|
"(Ljava/lang/AssertionError;)Z",
|
|
"appendingSink",
|
|
"Lokio/Sink;",
|
|
"Ljava/io/File;",
|
|
"sink",
|
|
"append",
|
|
"Ljava/io/OutputStream;",
|
|
"Ljava/net/Socket;",
|
|
"Ljava/nio/file/Path;",
|
|
"options",
|
|
"",
|
|
"Ljava/nio/file/OpenOption;",
|
|
"(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Lokio/Sink;",
|
|
"source",
|
|
"Lokio/Source;",
|
|
"Ljava/io/InputStream;",
|
|
"(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Lokio/Source;",
|
|
"okio"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
xs = "okio/Okio"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final logger:Ljava/util/logging/Logger;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "okio.Okio"
|
|
|
|
.line 139
|
|
invoke-static {v0}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lokio/Okio__JvmOkioKt;->logger:Ljava/util/logging/Logger;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getLogger$p()Ljava/util/logging/Logger;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokio/Okio__JvmOkioKt;->logger:Ljava/util/logging/Logger;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final appendingSink(Ljava/io/File;)Lokio/Sink;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/FileNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$appendingSink"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 174
|
|
new-instance v0, Ljava/io/FileOutputStream;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, p0, v1}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
|
|
|
|
check-cast v0, Ljava/io/OutputStream;
|
|
|
|
invoke-static {v0}, Lokio/Okio;->sink(Ljava/io/OutputStream;)Lokio/Sink;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final getLogger$Okio__JvmOkioKt()Ljava/util/logging/Logger;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokio/Okio__JvmOkioKt;->logger:Ljava/util/logging/Logger;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final isAndroidGetsocknameError(Ljava/lang/AssertionError;)Z
|
|
.locals 4
|
|
|
|
const-string v0, "$this$isAndroidGetsocknameError"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 197
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
check-cast p0, Ljava/lang/CharSequence;
|
|
|
|
const-string v0, "getsockname failed"
|
|
|
|
check-cast v0, Ljava/lang/CharSequence;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-static {p0, v0, v1, v2, v3}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public static final sink(Ljava/io/File;)Lokio/Sink;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/FileNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p0, v2, v0, v1}, Lokio/Okio;->sink$default(Ljava/io/File;ZILjava/lang/Object;)Lokio/Sink;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final sink(Ljava/io/File;Z)Lokio/Sink;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/FileNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$sink"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 170
|
|
new-instance v0, Ljava/io/FileOutputStream;
|
|
|
|
invoke-direct {v0, p0, p1}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;Z)V
|
|
|
|
check-cast v0, Ljava/io/OutputStream;
|
|
|
|
invoke-static {v0}, Lokio/Okio;->sink(Ljava/io/OutputStream;)Lokio/Sink;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final sink(Ljava/io/OutputStream;)Lokio/Sink;
|
|
.locals 2
|
|
|
|
const-string v0, "$this$sink"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 39
|
|
new-instance v0, Lokio/OutputStreamSink;
|
|
|
|
new-instance v1, Lokio/Timeout;
|
|
|
|
invoke-direct {v1}, Lokio/Timeout;-><init>()V
|
|
|
|
invoke-direct {v0, p0, v1}, Lokio/OutputStreamSink;-><init>(Ljava/io/OutputStream;Lokio/Timeout;)V
|
|
|
|
check-cast v0, Lokio/Sink;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final sink(Ljava/net/Socket;)Lokio/Sink;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$sink"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 122
|
|
new-instance v0, Lokio/SocketAsyncTimeout;
|
|
|
|
invoke-direct {v0, p0}, Lokio/SocketAsyncTimeout;-><init>(Ljava/net/Socket;)V
|
|
|
|
.line 123
|
|
new-instance v1, Lokio/OutputStreamSink;
|
|
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getOutputStream()Ljava/io/OutputStream;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v2, "getOutputStream()"
|
|
|
|
invoke-static {p0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Lokio/Timeout;
|
|
|
|
invoke-direct {v1, p0, v2}, Lokio/OutputStreamSink;-><init>(Ljava/io/OutputStream;Lokio/Timeout;)V
|
|
|
|
.line 124
|
|
check-cast v1, Lokio/Sink;
|
|
|
|
invoke-virtual {v0, v1}, Lokio/SocketAsyncTimeout;->sink(Lokio/Sink;)Lokio/Sink;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final varargs sink(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Lokio/Sink;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$sink"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "options"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 184
|
|
array-length v0, p1
|
|
|
|
invoke-static {p1, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [Ljava/nio/file/OpenOption;
|
|
|
|
invoke-static {p0, p1}, Ljava/nio/file/Files;->newOutputStream(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "Files.newOutputStream(this, *options)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lokio/Okio;->sink(Ljava/io/OutputStream;)Lokio/Sink;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic sink$default(Ljava/io/File;ZILjava/lang/Object;)Lokio/Sink;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/FileNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 170
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lokio/Okio;->sink(Ljava/io/File;Z)Lokio/Sink;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final source(Ljava/io/File;)Lokio/Source;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/FileNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$source"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 178
|
|
new-instance v0, Ljava/io/FileInputStream;
|
|
|
|
invoke-direct {v0, p0}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
|
|
|
|
check-cast v0, Ljava/io/InputStream;
|
|
|
|
invoke-static {v0}, Lokio/Okio;->source(Ljava/io/InputStream;)Lokio/Source;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final source(Ljava/io/InputStream;)Lokio/Source;
|
|
.locals 2
|
|
|
|
const-string v0, "$this$source"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 76
|
|
new-instance v0, Lokio/InputStreamSource;
|
|
|
|
new-instance v1, Lokio/Timeout;
|
|
|
|
invoke-direct {v1}, Lokio/Timeout;-><init>()V
|
|
|
|
invoke-direct {v0, p0, v1}, Lokio/InputStreamSource;-><init>(Ljava/io/InputStream;Lokio/Timeout;)V
|
|
|
|
check-cast v0, Lokio/Source;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final source(Ljava/net/Socket;)Lokio/Source;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$source"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 134
|
|
new-instance v0, Lokio/SocketAsyncTimeout;
|
|
|
|
invoke-direct {v0, p0}, Lokio/SocketAsyncTimeout;-><init>(Ljava/net/Socket;)V
|
|
|
|
.line 135
|
|
new-instance v1, Lokio/InputStreamSource;
|
|
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getInputStream()Ljava/io/InputStream;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v2, "getInputStream()"
|
|
|
|
invoke-static {p0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Lokio/Timeout;
|
|
|
|
invoke-direct {v1, p0, v2}, Lokio/InputStreamSource;-><init>(Ljava/io/InputStream;Lokio/Timeout;)V
|
|
|
|
.line 136
|
|
check-cast v1, Lokio/Source;
|
|
|
|
invoke-virtual {v0, v1}, Lokio/SocketAsyncTimeout;->source(Lokio/Source;)Lokio/Source;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final varargs source(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Lokio/Source;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$source"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "options"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 190
|
|
array-length v0, p1
|
|
|
|
invoke-static {p1, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [Ljava/nio/file/OpenOption;
|
|
|
|
invoke-static {p0, p1}, Ljava/nio/file/Files;->newInputStream(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "Files.newInputStream(this, *options)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lokio/Okio;->source(Ljava/io/InputStream;)Lokio/Source;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|