mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
3485 lines
89 KiB
Smali
3485 lines
89 KiB
Smali
.class public final Lokhttp3/internal/Util;
|
|
.super Ljava/lang/Object;
|
|
.source "Util.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nUtil.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Util.kt\nokhttp3/internal/Util\n+ 2 ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n+ 3 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n+ 4 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 5 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,633:1\n37#2,2:634\n1590#3,6:636\n1#4:642\n1497#5:643\n1568#5,3:644\n*E\n*S KotlinDebug\n*F\n+ 1 Util.kt\nokhttp3/internal/Util\n*L\n128#1,2:634\n168#1,6:636\n293#1:643\n293#1,3:644\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000\u00b8\u0002\n\u0000\n\u0002\u0010\u0012\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0011\n\u0002\u0010\u0000\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010!\n\u0002\u0008\u0003\n\u0002\u0010\u0005\n\u0000\n\u0002\u0010\n\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u000c\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010$\n\u0002\u0008\u0008\n\u0002\u0010\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u001a \u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u00112\u0006\u0010\u0016\u001a\u00020\u00172\u0008\u0010\u0018\u001a\u0004\u0018\u00010\u0019\u001a\u001e\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u00172\u0006\u0010\u001d\u001a\u00020\u00172\u0006\u0010\u001e\u001a\u00020\u0017\u001a\'\u0010\u001f\u001a\u00020\u00112\u0006\u0010\u001f\u001a\u00020\u00112\u0012\u0010 \u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\"0!\"\u00020\"\u00a2\u0006\u0002\u0010#\u001a\u001a\u0010$\u001a\u00020\u001b2\u000c\u0010%\u001a\u0008\u0012\u0004\u0012\u00020\u001b0&H\u0086\u0008\u00f8\u0001\u0000\u001a-\u0010\'\u001a\u0008\u0012\u0004\u0012\u0002H)0(\"\u0004\u0008\u0000\u0010)2\u0012\u0010*\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H)0!\"\u0002H)H\u0007\u00a2\u0006\u0002\u0010+\u001a1\u0010,\u001a\u0004\u0018\u0001H)\"\u0004\u0008\u0000\u0010)2\u0006\u0010-\u001a\u00020\"2\u000c\u0010.\u001a\u0008\u0012\u0004\u0012\u0002H)0/2\u0006\u00100\u001a\u00020\u0011\u00a2\u0006\u0002\u00101\u001a\u0016\u00102\u001a\u0002032\u0006\u0010\u0015\u001a\u00020\u00112\u0006\u00104\u001a\u00020\u000f\u001a\"\u00105\u001a\u00020\u001b2\u0006\u0010\u0015\u001a\u00020\u00112\u000c\u0010%\u001a\u0008\u0012\u0004\u0012\u00020\u001b0&H\u0086\u0008\u00f8\u0001\u0000\u001a%\u00106\u001a\u00020\u001b\"\u0004\u0008\u0000\u00107*\u0008\u0012\u0004\u0012\u0002H7082\u0006\u00109\u001a\u0002H7H\u0000\u00a2\u0006\u0002\u0010:\u001a\u0015\u0010;\u001a\u00020\u0014*\u00020<2\u0006\u0010=\u001a\u00020\u0014H\u0086\u0004\u001a\u0015\u0010;\u001a\u00020\u0017*\u00020\u00142\u0006\u0010=\u001a\u00020\u0017H\u0086\u0004\u001a\u0015\u0010;\u001a\u00020\u0014*\u00020>2\u0006\u0010=\u001a\u00020\u0014H\u0086\u0004\u001a\n\u0010?\u001a\u00020@*\u00020A\u001a\r\u0010B\u001a\u00020\u001b*\u00020\"H\u0080\u0008\u001a\r\u0010C\u001a\u00020\u001b*\u00020\"H\u0080\u0008\u001a\n\u0010D\u001a\u00020\u000f*\u00020\u0011\u001a\u0012\u0010E\u001a\u00020\u000f*\u00020F2\u0006\u0010G\u001a\u00020F\u001a\n\u0010H\u001a\u00020\u001b*\u00020I\u001a\n\u0010H\u001a\u00020\u001b*\u00020J\u001a\n\u0010H\u001a\u00020\u001b*\u00020K\u001a#\u0010L\u001a\u0008\u0012\u0004\u0012\u00020\u00110!*\u0008\u0012\u0004\u0012\u00020\u00110!2\u0006\u0010M\u001a\u00020\u0011\u00a2\u0006\u0002\u0010N\u001a&\u0010O\u001a\u00020\u0014*\u00020\u00112\u0006\u0010P\u001a\u00020Q2\u0008\u0008\u0002\u0010R\u001a\u00020\u00142\u0008\u0008\u0002\u0010S\u001a\u00020\u0014\u001a&\u0010O\u001a\u00020\u0014*\u00020\u00112\u0006\u0010T\u001a\u00020\u00112\u0008\u0008\u0002\u0010R\u001a\u00020\u00142\u0008\u0008\u0002\u0010S\u001a\u00020\u0014\u001a\u001a\u0010U\u001a\u00020\u000f*\u00020V2\u0006\u0010W\u001a\u00020\u00142\u0006\u0010X\u001a\u00020\u0019\u001a;\u0010Y\u001a\u0008\u0012\u0004\u0012\u0002H)0(\"\u0004\u0008\u0000\u0010)*\u0008\u0012\u0004\u0012\u0002H)0Z2\u0017\u0010[\u001a\u0013\u0012\u0004\u0012\u0002H)\u0012\u0004\u0012\u00020\u000f0\\\u00a2\u0006\u0002\u0008]H\u0086\u0008\u00f8\u0001\u0000\u001a5\u0010^\u001a\u00020\u000f*\u0008\u0012\u0004\u0012\u00020\u00110!2\u000e\u0010G\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010!2\u000e\u0010_\u001a\n\u0012\u0006\u0008\u0000\u0012\u00020\u00110`\u00a2\u0006\u0002\u0010a\u001a\n\u0010b\u001a\u00020\u0017*\u00020c\u001a+\u0010d\u001a\u00020\u0014*\u0008\u0012\u0004\u0012\u00020\u00110!2\u0006\u0010M\u001a\u00020\u00112\u000c\u0010_\u001a\u0008\u0012\u0004\u0012\u00020\u00110`\u00a2\u0006\u0002\u0010e\u001a\n\u0010f\u001a\u00020\u0014*\u00020\u0011\u001a\u001e\u0010g\u001a\u00020\u0014*\u00020\u00112\u0008\u0008\u0002\u0010R\u001a\u00020\u00142\u0008\u0008\u0002\u0010S\u001a\u00020\u0014\u001a\u001e\u0010h\u001a\u00020\u0014*\u00020\u00112\u0008\u0008\u0002\u0010R\u001a\u00020\u00142\u0008\u0008\u0002\u0010S\u001a\u00020\u0014\u001a\u0014\u0010i\u001a\u00020\u0014*\u00020\u00112\u0008\u0008\u0002\u0010R\u001a\u00020\u0014\u001a9\u0010j\u001a\u0008\u0012\u0004\u0012\u00020\u00110!*\u0008\u0012\u0004\u0012\u00020\u00110!2\u000c\u0010G\u001a\u0008\u0012\u0004\u0012\u00020\u00110!2\u000e\u0010_\u001a\n\u0012\u0006\u0008\u0000\u0012\u00020\u00110`\u00a2\u0006\u0002\u0010k\u001a\u0012\u0010l\u001a\u00020\u000f*\u00020m2\u0006\u0010n\u001a\u00020o\u001a\u0012\u0010p\u001a\u00020\u000f*\u00020K2\u0006\u0010q\u001a\u00020r\u001a\r\u0010s\u001a\u00020\u001b*\u00020\"H\u0086\u0008\u001a\r\u0010t\u001a\u00020\u001b*\u00020\"H\u0086\u0008\u001a\n\u0010u\u001a\u00020\u0014*\u00020Q\u001a\n\u0010v\u001a\u00020\u0011*\u00020K\u001a\u0012\u0010w\u001a\u00020x*\u00020r2\u0006\u0010y\u001a\u00020x\u001a\n\u0010z\u001a\u00020\u0014*\u00020r\u001a\u0012\u0010{\u001a\u00020\u0014*\u00020|2\u0006\u0010}\u001a\u00020<\u001a\u001a\u0010{\u001a\u00020\u000f*\u00020V2\u0006\u0010\u0016\u001a\u00020\u00142\u0006\u0010X\u001a\u00020\u0019\u001a\u0010\u0010~\u001a\u0008\u0012\u0004\u0012\u00020\u007f0(*\u00020\u0003\u001a\u0011\u0010\u0080\u0001\u001a\u00020\u0003*\u0008\u0012\u0004\u0012\u00020\u007f0(\u001a\u000b\u0010\u0081\u0001\u001a\u00020\u0011*\u00020\u0014\u001a\u000b\u0010\u0081\u0001\u001a\u00020\u0011*\u00020\u0017\u001a\u0016\u0010\u0082\u0001\u001a\u00020\u0011*\u00020F2\t\u0008\u0002\u0010\u0083\u0001\u001a\u00020\u000f\u001a\u001d\u0010\u0084\u0001\u001a\u0008\u0012\u0004\u0012\u0002H)0(\"\u0004\u0008\u0000\u0010)*\u0008\u0012\u0004\u0012\u0002H)0(\u001a7\u0010\u0085\u0001\u001a\u0011\u0012\u0005\u0012\u0003H\u0087\u0001\u0012\u0005\u0012\u0003H\u0088\u00010\u0086\u0001\"\u0005\u0008\u0000\u0010\u0087\u0001\"\u0005\u0008\u0001\u0010\u0088\u0001*\u0011\u0012\u0005\u0012\u0003H\u0087\u0001\u0012\u0005\u0012\u0003H\u0088\u00010\u0086\u0001\u001a\u0014\u0010\u0089\u0001\u001a\u00020\u0017*\u00020\u00112\u0007\u0010\u008a\u0001\u001a\u00020\u0017\u001a\u0016\u0010\u008b\u0001\u001a\u00020\u0014*\u0004\u0018\u00010\u00112\u0007\u0010\u008a\u0001\u001a\u00020\u0014\u001a\u001f\u0010\u008c\u0001\u001a\u00020\u0011*\u00020\u00112\u0008\u0008\u0002\u0010R\u001a\u00020\u00142\u0008\u0008\u0002\u0010S\u001a\u00020\u0014\u001a\u000e\u0010\u008d\u0001\u001a\u00020\u001b*\u00020\"H\u0086\u0008\u001a\'\u0010\u008e\u0001\u001a\u00030\u008f\u0001*\u00080\u0090\u0001j\u0003`\u0091\u00012\u0013\u0010\u0092\u0001\u001a\u000e\u0012\n\u0012\u00080\u0090\u0001j\u0003`\u0091\u00010(\u001a\u0015\u0010\u0093\u0001\u001a\u00020\u001b*\u00030\u0094\u00012\u0007\u0010\u0095\u0001\u001a\u00020\u0014\"\u0010\u0010\u0000\u001a\u00020\u00018\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\"\u0010\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\"\u0010\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\"\u0010\u0010\u0006\u001a\u00020\u00078\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0008\u001a\u00020\tX\u0082\u0004\u00a2\u0006\u0002\n\u0000\"\u0010\u0010\n\u001a\u00020\u000b8\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u000c\u001a\u00020\rX\u0082\u0004\u00a2\u0006\u0002\n\u0000\"\u0010\u0010\u000e\u001a\u00020\u000f8\u0000X\u0081\u0004\u00a2\u0006\u0002\n\u0000\"\u0010\u0010\u0010\u001a\u00020\u00118\u0000X\u0081\u0004\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0012\u001a\u00020\u0011X\u0086T\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\u0096\u0001"
|
|
}
|
|
d2 = {
|
|
"EMPTY_BYTE_ARRAY",
|
|
"",
|
|
"EMPTY_HEADERS",
|
|
"Lokhttp3/Headers;",
|
|
"EMPTY_REQUEST",
|
|
"Lokhttp3/RequestBody;",
|
|
"EMPTY_RESPONSE",
|
|
"Lokhttp3/ResponseBody;",
|
|
"UNICODE_BOMS",
|
|
"Lokio/Options;",
|
|
"UTC",
|
|
"Ljava/util/TimeZone;",
|
|
"VERIFY_AS_IP_ADDRESS",
|
|
"Lkotlin/text/Regex;",
|
|
"assertionsEnabled",
|
|
"",
|
|
"okHttpName",
|
|
"",
|
|
"userAgent",
|
|
"checkDuration",
|
|
"",
|
|
"name",
|
|
"duration",
|
|
"",
|
|
"unit",
|
|
"Ljava/util/concurrent/TimeUnit;",
|
|
"checkOffsetAndCount",
|
|
"",
|
|
"arrayLength",
|
|
"offset",
|
|
"count",
|
|
"format",
|
|
"args",
|
|
"",
|
|
"",
|
|
"(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;",
|
|
"ignoreIoExceptions",
|
|
"block",
|
|
"Lkotlin/Function0;",
|
|
"immutableListOf",
|
|
"",
|
|
"T",
|
|
"elements",
|
|
"([Ljava/lang/Object;)Ljava/util/List;",
|
|
"readFieldOrNull",
|
|
"instance",
|
|
"fieldType",
|
|
"Ljava/lang/Class;",
|
|
"fieldName",
|
|
"(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;",
|
|
"threadFactory",
|
|
"Ljava/util/concurrent/ThreadFactory;",
|
|
"daemon",
|
|
"threadName",
|
|
"addIfAbsent",
|
|
"E",
|
|
"",
|
|
"element",
|
|
"(Ljava/util/List;Ljava/lang/Object;)V",
|
|
"and",
|
|
"",
|
|
"mask",
|
|
"",
|
|
"asFactory",
|
|
"Lokhttp3/EventListener$Factory;",
|
|
"Lokhttp3/EventListener;",
|
|
"assertThreadDoesntHoldLock",
|
|
"assertThreadHoldsLock",
|
|
"canParseAsIpAddress",
|
|
"canReuseConnectionFor",
|
|
"Lokhttp3/HttpUrl;",
|
|
"other",
|
|
"closeQuietly",
|
|
"Ljava/io/Closeable;",
|
|
"Ljava/net/ServerSocket;",
|
|
"Ljava/net/Socket;",
|
|
"concat",
|
|
"value",
|
|
"([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;",
|
|
"delimiterOffset",
|
|
"delimiter",
|
|
"",
|
|
"startIndex",
|
|
"endIndex",
|
|
"delimiters",
|
|
"discard",
|
|
"Lokio/Source;",
|
|
"timeout",
|
|
"timeUnit",
|
|
"filterList",
|
|
"",
|
|
"predicate",
|
|
"Lkotlin/Function1;",
|
|
"Lkotlin/ExtensionFunctionType;",
|
|
"hasIntersection",
|
|
"comparator",
|
|
"Ljava/util/Comparator;",
|
|
"([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z",
|
|
"headersContentLength",
|
|
"Lokhttp3/Response;",
|
|
"indexOf",
|
|
"([Ljava/lang/String;Ljava/lang/String;Ljava/util/Comparator;)I",
|
|
"indexOfControlOrNonAscii",
|
|
"indexOfFirstNonAsciiWhitespace",
|
|
"indexOfLastNonAsciiWhitespace",
|
|
"indexOfNonWhitespace",
|
|
"intersect",
|
|
"([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)[Ljava/lang/String;",
|
|
"isCivilized",
|
|
"Lokhttp3/internal/io/FileSystem;",
|
|
"file",
|
|
"Ljava/io/File;",
|
|
"isHealthy",
|
|
"source",
|
|
"Lokio/BufferedSource;",
|
|
"notify",
|
|
"notifyAll",
|
|
"parseHexDigit",
|
|
"peerName",
|
|
"readBomAsCharset",
|
|
"Ljava/nio/charset/Charset;",
|
|
"default",
|
|
"readMedium",
|
|
"skipAll",
|
|
"Lokio/Buffer;",
|
|
"b",
|
|
"toHeaderList",
|
|
"Lokhttp3/internal/http2/Header;",
|
|
"toHeaders",
|
|
"toHexString",
|
|
"toHostHeader",
|
|
"includeDefaultPort",
|
|
"toImmutableList",
|
|
"toImmutableMap",
|
|
"",
|
|
"K",
|
|
"V",
|
|
"toLongOrDefault",
|
|
"defaultValue",
|
|
"toNonNegativeInt",
|
|
"trimSubstring",
|
|
"wait",
|
|
"withSuppressed",
|
|
"",
|
|
"Ljava/lang/Exception;",
|
|
"Lkotlin/Exception;",
|
|
"suppressed",
|
|
"writeMedium",
|
|
"Lokio/BufferedSink;",
|
|
"medium",
|
|
"okhttp"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final EMPTY_BYTE_ARRAY:[B
|
|
|
|
.field public static final EMPTY_HEADERS:Lokhttp3/Headers;
|
|
|
|
.field public static final EMPTY_REQUEST:Lokhttp3/RequestBody;
|
|
|
|
.field public static final EMPTY_RESPONSE:Lokhttp3/ResponseBody;
|
|
|
|
.field private static final UNICODE_BOMS:Lokio/Options;
|
|
|
|
.field public static final UTC:Ljava/util/TimeZone;
|
|
|
|
.field private static final VERIFY_AS_IP_ADDRESS:Lkotlin/text/Regex;
|
|
|
|
.field public static final assertionsEnabled:Z
|
|
|
|
.field public static final okHttpName:Ljava/lang/String;
|
|
|
|
.field public static final userAgent:Ljava/lang/String; = "okhttp/4.9.1"
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 9
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v2, v0, [B
|
|
|
|
sput-object v2, Lokhttp3/internal/Util;->EMPTY_BYTE_ARRAY:[B
|
|
|
|
.line 63
|
|
sget-object v1, Lokhttp3/Headers;->Companion:Lokhttp3/Headers$Companion;
|
|
|
|
new-array v3, v0, [Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v3}, Lokhttp3/Headers$Companion;->of([Ljava/lang/String;)Lokhttp3/Headers;
|
|
|
|
move-result-object v1
|
|
|
|
sput-object v1, Lokhttp3/internal/Util;->EMPTY_HEADERS:Lokhttp3/Headers;
|
|
|
|
.line 66
|
|
sget-object v1, Lokhttp3/ResponseBody;->Companion:Lokhttp3/ResponseBody$Companion;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v8, 0x1
|
|
|
|
invoke-static {v1, v2, v3, v8, v3}, Lokhttp3/ResponseBody$Companion;->create$default(Lokhttp3/ResponseBody$Companion;[BLokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/ResponseBody;
|
|
|
|
move-result-object v1
|
|
|
|
sput-object v1, Lokhttp3/internal/Util;->EMPTY_RESPONSE:Lokhttp3/ResponseBody;
|
|
|
|
.line 68
|
|
sget-object v1, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x7
|
|
|
|
const/4 v7, 0x0
|
|
|
|
invoke-static/range {v1 .. v7}, Lokhttp3/RequestBody$Companion;->create$default(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;IIILjava/lang/Object;)Lokhttp3/RequestBody;
|
|
|
|
move-result-object v1
|
|
|
|
sput-object v1, Lokhttp3/internal/Util;->EMPTY_REQUEST:Lokhttp3/RequestBody;
|
|
|
|
.line 71
|
|
sget-object v1, Lokio/Options;->Companion:Lokio/Options$Companion;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
new-array v2, v2, [Lokio/ByteString;
|
|
|
|
.line 72
|
|
sget-object v3, Lokio/ByteString;->Companion:Lokio/ByteString$Companion;
|
|
|
|
const-string v4, "efbbbf"
|
|
|
|
invoke-virtual {v3, v4}, Lokio/ByteString$Companion;->decodeHex(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v2, v0
|
|
|
|
.line 73
|
|
sget-object v3, Lokio/ByteString;->Companion:Lokio/ByteString$Companion;
|
|
|
|
const-string v4, "feff"
|
|
|
|
invoke-virtual {v3, v4}, Lokio/ByteString$Companion;->decodeHex(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v2, v8
|
|
|
|
.line 74
|
|
sget-object v3, Lokio/ByteString;->Companion:Lokio/ByteString$Companion;
|
|
|
|
const-string v4, "fffe"
|
|
|
|
invoke-virtual {v3, v4}, Lokio/ByteString$Companion;->decodeHex(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x2
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
.line 75
|
|
sget-object v3, Lokio/ByteString;->Companion:Lokio/ByteString$Companion;
|
|
|
|
const-string v4, "0000ffff"
|
|
|
|
invoke-virtual {v3, v4}, Lokio/ByteString$Companion;->decodeHex(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x3
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
.line 76
|
|
sget-object v3, Lokio/ByteString;->Companion:Lokio/ByteString$Companion;
|
|
|
|
const-string v4, "ffff0000"
|
|
|
|
invoke-virtual {v3, v4}, Lokio/ByteString$Companion;->decodeHex(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x4
|
|
|
|
aput-object v3, v2, v4
|
|
|
|
.line 71
|
|
invoke-virtual {v1, v2}, Lokio/Options$Companion;->of([Lokio/ByteString;)Lokio/Options;
|
|
|
|
move-result-object v1
|
|
|
|
sput-object v1, Lokhttp3/internal/Util;->UNICODE_BOMS:Lokio/Options;
|
|
|
|
const-string v1, "GMT"
|
|
|
|
.line 81
|
|
invoke-static {v1}, Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
sput-object v1, Lokhttp3/internal/Util;->UTC:Ljava/util/TimeZone;
|
|
|
|
.line 94
|
|
new-instance v1, Lkotlin/text/Regex;
|
|
|
|
const-string v2, "([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\\d.]+)"
|
|
|
|
invoke-direct {v1, v2}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
|
|
|
|
sput-object v1, Lokhttp3/internal/Util;->VERIFY_AS_IP_ADDRESS:Lkotlin/text/Regex;
|
|
|
|
.line 587
|
|
const-class v1, Lokhttp3/OkHttpClient;
|
|
|
|
sput-boolean v0, Lokhttp3/internal/Util;->assertionsEnabled:Z
|
|
|
|
.line 597
|
|
const-class v0, Lokhttp3/OkHttpClient;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "OkHttpClient::class.java.name"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v1, "okhttp3."
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/text/StringsKt;->removePrefix(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Client"
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/text/StringsKt;->removeSuffix(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lokhttp3/internal/Util;->okHttpName:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final addIfAbsent(Ljava/util/List;Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"TE;>;TE;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$addIfAbsent"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 583
|
|
invoke-interface {p0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-interface {p0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final and(BI)I
|
|
.locals 0
|
|
|
|
and-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final and(SI)I
|
|
.locals 0
|
|
|
|
and-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final and(IJ)J
|
|
.locals 2
|
|
|
|
int-to-long v0, p0
|
|
|
|
and-long p0, v0, p1
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final asFactory(Lokhttp3/EventListener;)Lokhttp3/EventListener$Factory;
|
|
.locals 1
|
|
|
|
const-string v0, "$this$asFactory"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 302
|
|
new-instance v0, Lokhttp3/internal/Util$asFactory$1;
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/internal/Util$asFactory$1;-><init>(Lokhttp3/EventListener;)V
|
|
|
|
check-cast v0, Lokhttp3/EventListener$Factory;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final assertThreadDoesntHoldLock(Ljava/lang/Object;)V
|
|
.locals 4
|
|
|
|
const-string v0, "$this$assertThreadDoesntHoldLock"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-boolean v0, Lokhttp3/internal/Util;->assertionsEnabled:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 608
|
|
invoke-static {p0}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 609
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/AssertionError;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Thread "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "Thread.currentThread()"
|
|
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Thread;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, " MUST NOT hold lock on "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final assertThreadHoldsLock(Ljava/lang/Object;)V
|
|
.locals 4
|
|
|
|
const-string v0, "$this$assertThreadHoldsLock"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-boolean v0, Lokhttp3/internal/Util;->assertionsEnabled:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 601
|
|
invoke-static {p0}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 602
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/AssertionError;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Thread "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "Thread.currentThread()"
|
|
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Thread;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, " MUST hold lock on "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final canParseAsIpAddress(Ljava/lang/String;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "$this$canParseAsIpAddress"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v0, Lokhttp3/internal/Util;->VERIFY_AS_IP_ADDRESS:Lkotlin/text/Regex;
|
|
|
|
.line 248
|
|
check-cast p0, Ljava/lang/CharSequence;
|
|
|
|
invoke-virtual {v0, p0}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final canReuseConnectionFor(Lokhttp3/HttpUrl;Lokhttp3/HttpUrl;)Z
|
|
.locals 2
|
|
|
|
const-string v0, "$this$canReuseConnectionFor"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 300
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->host()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Lokhttp3/HttpUrl;->host()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->port()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Lokhttp3/HttpUrl;->port()I
|
|
|
|
move-result v1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->scheme()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p1}, Lokhttp3/HttpUrl;->scheme()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
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
|
|
|
|
.method public static final checkDuration(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
|
|
.locals 7
|
|
|
|
const-string v0, "name"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-ltz v2, :cond_0
|
|
|
|
move v5, v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v5, v4
|
|
|
|
:goto_0
|
|
if-eqz v5, :cond_8
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
move v5, v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v5, v4
|
|
|
|
:goto_1
|
|
if-eqz v5, :cond_7
|
|
|
|
.line 272
|
|
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
const p3, 0x7fffffff
|
|
|
|
int-to-long v5, p3
|
|
|
|
cmp-long p3, p1, v5
|
|
|
|
if-gtz p3, :cond_2
|
|
|
|
move p3, v3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move p3, v4
|
|
|
|
:goto_2
|
|
if-eqz p3, :cond_6
|
|
|
|
cmp-long p3, p1, v0
|
|
|
|
if-nez p3, :cond_4
|
|
|
|
if-gtz v2, :cond_3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move v3, v4
|
|
|
|
:cond_4
|
|
:goto_3
|
|
if-eqz v3, :cond_5
|
|
|
|
long-to-int p0, p1
|
|
|
|
return p0
|
|
|
|
.line 274
|
|
:cond_5
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, " too small."
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
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
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
throw p1
|
|
|
|
.line 273
|
|
:cond_6
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, " too large."
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
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
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
throw p1
|
|
|
|
.line 271
|
|
:cond_7
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "unit == null"
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
|
|
.line 270
|
|
:cond_8
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, " < 0"
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final checkOffsetAndCount(JJJ)V
|
|
.locals 4
|
|
|
|
or-long v0, p2, p4
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
cmp-long v0, p2, p0
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
sub-long/2addr p0, p2
|
|
|
|
cmp-long p0, p0, p4
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 98
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>()V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final closeQuietly(Ljava/io/Closeable;)V
|
|
.locals 1
|
|
|
|
const-string v0, "$this$closeQuietly"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 488
|
|
:try_start_0
|
|
invoke-interface {p0}, Ljava/io/Closeable;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-void
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
.line 490
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final closeQuietly(Ljava/net/ServerSocket;)V
|
|
.locals 1
|
|
|
|
const-string v0, "$this$closeQuietly"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 515
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/net/ServerSocket;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-void
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
.line 517
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final closeQuietly(Ljava/net/Socket;)V
|
|
.locals 2
|
|
|
|
const-string v0, "$this$closeQuietly"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 498
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/net/Socket;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_2
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-void
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
.line 502
|
|
invoke-virtual {p0}, Ljava/lang/RuntimeException;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "bio == null"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 507
|
|
:cond_0
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
.line 500
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final concat([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "$this$concat"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "value"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 172
|
|
array-length v0, p0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "java.util.Arrays.copyOf(this, newSize)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p0, [Ljava/lang/String;
|
|
|
|
.line 173
|
|
invoke-static {p0}, Lkotlin/collections/ArraysKt;->getLastIndex([Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
aput-object p1, p0, v0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 174
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string p1, "null cannot be cast to non-null type kotlin.Array<kotlin.String>"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final delimiterOffset(Ljava/lang/String;CII)I
|
|
.locals 1
|
|
|
|
const-string v0, "$this$delimiterOffset"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_1
|
|
|
|
.line 227
|
|
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p3
|
|
.end method
|
|
|
|
.method public static final delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
|
|
.locals 5
|
|
|
|
const-string v0, "$this$delimiterOffset"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "delimiters"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_1
|
|
|
|
.line 216
|
|
move-object v0, p1
|
|
|
|
check-cast v0, Ljava/lang/CharSequence;
|
|
|
|
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-static {v0, v1, v4, v2, v3}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p3
|
|
.end method
|
|
|
|
.method public static synthetic delimiterOffset$default(Ljava/lang/String;CIIILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 225
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p3
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3}, Lokhttp3/internal/Util;->delimiterOffset(Ljava/lang/String;CII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic delimiterOffset$default(Ljava/lang/String;Ljava/lang/String;IIILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 214
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p3
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3}, Lokhttp3/internal/Util;->delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final discard(Lokio/Source;ILjava/util/concurrent/TimeUnit;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "$this$discard"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "timeUnit"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 358
|
|
:try_start_0
|
|
invoke-static {p0, p1, p2}, Lokhttp3/internal/Util;->skipAll(Lokio/Source;ILjava/util/concurrent/TimeUnit;)Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final filterList(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/util/List;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Iterable<",
|
|
"+TT;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;",
|
|
"Ljava/lang/Boolean;",
|
|
">;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$filterList"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "predicate"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 622
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
.line 623
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 624
|
|
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 625
|
|
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
:cond_1
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 626
|
|
invoke-static {v0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string p1, "null cannot be cast to non-null type kotlin.collections.MutableList<T>"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final varargs format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "format"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "args"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 253
|
|
sget-object v0, Lkotlin/jvm/internal/StringCompanionObject;->INSTANCE:Lkotlin/jvm/internal/StringCompanionObject;
|
|
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
array-length v1, p1
|
|
|
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
array-length v1, p1
|
|
|
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p0, p1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "java.lang.String.format(locale, format, *args)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final hasIntersection([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"([",
|
|
"Ljava/lang/String;",
|
|
"[",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Comparator<",
|
|
"-",
|
|
"Ljava/lang/String;",
|
|
">;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$hasIntersection"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 141
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_4
|
|
|
|
array-length v0, p1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
goto :goto_2
|
|
|
|
.line 144
|
|
:cond_1
|
|
array-length v0, p0
|
|
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_4
|
|
|
|
aget-object v3, p0, v2
|
|
|
|
.line 145
|
|
array-length v4, p1
|
|
|
|
move v5, v1
|
|
|
|
:goto_1
|
|
if-ge v5, v4, :cond_3
|
|
|
|
aget-object v6, p1, v5
|
|
|
|
.line 146
|
|
invoke-interface {p2, v3, v6}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_2
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
:goto_2
|
|
return v1
|
|
.end method
|
|
|
|
.method public static final headersContentLength(Lokhttp3/Response;)J
|
|
.locals 2
|
|
|
|
const-string v0, "$this$headersContentLength"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 437
|
|
invoke-virtual {p0}, Lokhttp3/Response;->headers()Lokhttp3/Headers;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Content-Length"
|
|
|
|
invoke-virtual {p0, v0}, Lokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0, v0, v1}, Lokhttp3/internal/Util;->toLongOrDefault(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
:cond_0
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final ignoreIoExceptions(Lkotlin/jvm/functions/Function0;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "block"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 396
|
|
:try_start_0
|
|
invoke-interface {p0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final varargs immutableListOf([Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/SafeVarargs;
|
|
.end annotation
|
|
|
|
const-string v0, "elements"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 473
|
|
invoke-virtual {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, [Ljava/lang/Object;
|
|
|
|
array-length v0, p0
|
|
|
|
invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Collections.unmodifiable\u2026istOf(*elements.clone()))"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final indexOf([Ljava/lang/String;Ljava/lang/String;Ljava/util/Comparator;)I
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"([",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Comparator<",
|
|
"Ljava/lang/String;",
|
|
">;)I"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$indexOf"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "value"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 636
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 637
|
|
aget-object v2, p0, v1
|
|
|
|
.line 168
|
|
invoke-interface {p2, v2, p1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v1, -0x1
|
|
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public static final indexOfControlOrNonAscii(Ljava/lang/String;)I
|
|
.locals 4
|
|
|
|
const-string v0, "$this$indexOfControlOrNonAscii"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 237
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_2
|
|
|
|
.line 238
|
|
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v2
|
|
|
|
const/16 v3, 0x1f
|
|
|
|
.line 239
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
|
|
|
|
move-result v3
|
|
|
|
if-lez v3, :cond_1
|
|
|
|
const/16 v3, 0x7f
|
|
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
|
|
|
|
move-result v2
|
|
|
|
if-ltz v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
return v1
|
|
|
|
:cond_2
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final indexOfFirstNonAsciiWhitespace(Ljava/lang/String;II)I
|
|
.locals 2
|
|
|
|
const-string v0, "$this$indexOfFirstNonAsciiWhitespace"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
if-ge p1, p2, :cond_1
|
|
|
|
.line 182
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xc
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xd
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p2
|
|
.end method
|
|
|
|
.method public static synthetic indexOfFirstNonAsciiWhitespace$default(Ljava/lang/String;IIILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p4, p3, 0x1
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 180
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p2
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2}, Lokhttp3/internal/Util;->indexOfFirstNonAsciiWhitespace(Ljava/lang/String;II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final indexOfLastNonAsciiWhitespace(Ljava/lang/String;II)I
|
|
.locals 2
|
|
|
|
const-string v0, "$this$indexOfLastNonAsciiWhitespace"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
if-lt p2, p1, :cond_1
|
|
|
|
.line 195
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xc
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xd
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
if-eq p2, p1, :cond_1
|
|
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p1
|
|
.end method
|
|
|
|
.method public static synthetic indexOfLastNonAsciiWhitespace$default(Ljava/lang/String;IIILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p4, p3, 0x1
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 193
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p2
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2}, Lokhttp3/internal/Util;->indexOfLastNonAsciiWhitespace(Ljava/lang/String;II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final indexOfNonWhitespace(Ljava/lang/String;I)I
|
|
.locals 3
|
|
|
|
const-string v0, "$this$indexOfNonWhitespace"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 426
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
:goto_0
|
|
if-ge p1, v0, :cond_1
|
|
|
|
.line 427
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x20
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
const/16 v2, 0x9
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 432
|
|
:cond_1
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic indexOfNonWhitespace$default(Ljava/lang/String;IILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 425
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lokhttp3/internal/Util;->indexOfNonWhitespace(Ljava/lang/String;I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final intersect([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)[Ljava/lang/String;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"([",
|
|
"Ljava/lang/String;",
|
|
"[",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Comparator<",
|
|
"-",
|
|
"Ljava/lang/String;",
|
|
">;)[",
|
|
"Ljava/lang/String;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$intersect"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 119
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
.line 120
|
|
array-length v1, p0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_2
|
|
|
|
aget-object v4, p0, v3
|
|
|
|
.line 121
|
|
array-length v5, p1
|
|
|
|
move v6, v2
|
|
|
|
:goto_1
|
|
if-ge v6, v5, :cond_1
|
|
|
|
aget-object v7, p1, v6
|
|
|
|
.line 122
|
|
invoke-interface {p2, v4, v7}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_0
|
|
|
|
.line 123
|
|
invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_2
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 128
|
|
:cond_2
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
new-array p0, v2, [Ljava/lang/String;
|
|
|
|
.line 635
|
|
invoke-interface {v0, p0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
check-cast p0, [Ljava/lang/String;
|
|
|
|
return-object p0
|
|
|
|
:cond_3
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
const-string p1, "null cannot be cast to non-null type kotlin.Array<T>"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final isCivilized(Lokhttp3/internal/io/FileSystem;Ljava/io/File;)Z
|
|
.locals 3
|
|
|
|
const-string v0, "$this$isCivilized"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "file"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 534
|
|
invoke-interface {p0, p1}, Lokhttp3/internal/io/FileSystem;->sink(Ljava/io/File;)Lokio/Sink;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/io/Closeable;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move-object v2, v1
|
|
|
|
check-cast v2, Ljava/lang/Throwable;
|
|
|
|
:try_start_0
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Lokio/Sink;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 536
|
|
:try_start_1
|
|
invoke-interface {p0, p1}, Lokhttp3/internal/io/FileSystem;->delete(Ljava/io/File;)V
|
|
:try_end_1
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 537
|
|
invoke-static {v0, v1}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
.line 540
|
|
:catch_0
|
|
:try_start_2
|
|
sget-object v2, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 534
|
|
invoke-static {v0, v1}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
.line 541
|
|
invoke-interface {p0, p1}, Lokhttp3/internal/io/FileSystem;->delete(Ljava/io/File;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
.line 534
|
|
:try_start_3
|
|
throw p0
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
invoke-static {v0, p0}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final isHealthy(Ljava/net/Socket;Lokio/BufferedSource;)Z
|
|
.locals 2
|
|
|
|
const-string v0, "$this$isHealthy"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "source"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 379
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getSoTimeout()I
|
|
|
|
move-result v1
|
|
:try_end_0
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 381
|
|
:try_start_1
|
|
invoke-virtual {p0, v0}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
.line 382
|
|
invoke-interface {p1}, Lokio/BufferedSource;->exhausted()Z
|
|
|
|
move-result p1
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
xor-int/2addr p1, v0
|
|
|
|
.line 384
|
|
:try_start_2
|
|
invoke-virtual {p0, v1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
move v0, p1
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {p0, v1}, Ljava/net/Socket;->setSoTimeout(I)V
|
|
|
|
throw p1
|
|
:try_end_2
|
|
.catch Ljava/net/SocketTimeoutException; {:try_start_2 .. :try_end_2} :catch_1
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
:catch_0
|
|
const/4 v0, 0x0
|
|
|
|
:catch_1
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static final notify(Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
const-string v0, "$this$notify"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 553
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notify()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final notifyAll(Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
const-string v0, "$this$notifyAll"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 556
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final parseHexDigit(C)I
|
|
.locals 2
|
|
|
|
const/16 v0, 0x30
|
|
|
|
if-le v0, p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/16 v1, 0x39
|
|
|
|
if-lt v1, p0, :cond_1
|
|
|
|
sub-int/2addr p0, v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/16 v0, 0x61
|
|
|
|
if-le v0, p0, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/16 v0, 0x66
|
|
|
|
if-lt v0, p0, :cond_3
|
|
|
|
add-int/lit8 p0, p0, -0x57
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const/16 v0, 0x41
|
|
|
|
if-le v0, p0, :cond_4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const/16 v0, 0x46
|
|
|
|
if-lt v0, p0, :cond_5
|
|
|
|
add-int/lit8 p0, p0, -0x37
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
:goto_2
|
|
const/4 p0, -0x1
|
|
|
|
:goto_3
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final peerName(Ljava/net/Socket;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "$this$peerName"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 364
|
|
invoke-virtual {p0}, Ljava/net/Socket;->getRemoteSocketAddress()Ljava/net/SocketAddress;
|
|
|
|
move-result-object p0
|
|
|
|
.line 365
|
|
instance-of v0, p0, Ljava/net/InetSocketAddress;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Ljava/net/InetSocketAddress;
|
|
|
|
invoke-virtual {p0}, Ljava/net/InetSocketAddress;->getHostName()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "address.hostName"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Ljava/net/SocketAddress;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final readBomAsCharset(Lokio/BufferedSource;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$readBomAsCharset"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "default"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v0, Lokhttp3/internal/Util;->UNICODE_BOMS:Lokio/Options;
|
|
|
|
.line 258
|
|
invoke-interface {p0, v0}, Lokio/BufferedSource;->select(Lokio/Options;)I
|
|
|
|
move-result p0
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-eq p0, v0, :cond_5
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
const/4 p1, 0x1
|
|
|
|
if-eq p0, p1, :cond_3
|
|
|
|
const/4 p1, 0x2
|
|
|
|
if-eq p0, p1, :cond_2
|
|
|
|
const/4 p1, 0x3
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
const/4 p1, 0x4
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
.line 263
|
|
sget-object p0, Lkotlin/text/Charsets;->INSTANCE:Lkotlin/text/Charsets;
|
|
|
|
invoke-virtual {p0}, Lkotlin/text/Charsets;->UTF32_LE()Ljava/nio/charset/Charset;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 265
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
throw p0
|
|
|
|
.line 262
|
|
:cond_1
|
|
sget-object p0, Lkotlin/text/Charsets;->INSTANCE:Lkotlin/text/Charsets;
|
|
|
|
invoke-virtual {p0}, Lkotlin/text/Charsets;->UTF32_BE()Ljava/nio/charset/Charset;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
.line 261
|
|
:cond_2
|
|
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_16LE:Ljava/nio/charset/Charset;
|
|
|
|
const-string p0, "UTF_16LE"
|
|
|
|
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 260
|
|
:cond_3
|
|
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_16BE:Ljava/nio/charset/Charset;
|
|
|
|
const-string p0, "UTF_16BE"
|
|
|
|
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 259
|
|
:cond_4
|
|
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
const-string p0, "UTF_8"
|
|
|
|
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:cond_5
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static final readFieldOrNull(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/Class<",
|
|
"TT;>;",
|
|
"Ljava/lang/String;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "instance"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "fieldType"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "fieldName"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 559
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
.line 560
|
|
:goto_0
|
|
const-class v1, Ljava/lang/Object;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
xor-int/2addr v1, v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 562
|
|
:try_start_0
|
|
invoke-virtual {v0, p2}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v4, "field"
|
|
|
|
.line 563
|
|
invoke-static {v1, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V
|
|
|
|
.line 564
|
|
invoke-virtual {v1, p0}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 565
|
|
invoke-virtual {p1, v1}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
invoke-virtual {p1, v1}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:goto_1
|
|
return-object v3
|
|
|
|
.line 569
|
|
:catch_0
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "c.superclass"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const-string v0, "delegate"
|
|
|
|
.line 574
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
xor-int/2addr v1, v2
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 575
|
|
const-class v1, Ljava/lang/Object;
|
|
|
|
invoke-static {p0, v1, v0}, Lokhttp3/internal/Util;->readFieldOrNull(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 576
|
|
invoke-static {p0, p1, p2}, Lokhttp3/internal/Util;->readFieldOrNull(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_2
|
|
return-object v3
|
|
.end method
|
|
|
|
.method public static final readMedium(Lokio/BufferedSource;)I
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$readMedium"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 317
|
|
invoke-interface {p0}, Lokio/BufferedSource;->readByte()B
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0xff
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/internal/Util;->and(BI)I
|
|
|
|
move-result v0
|
|
|
|
shl-int/lit8 v0, v0, 0x10
|
|
|
|
.line 318
|
|
invoke-interface {p0}, Lokio/BufferedSource;->readByte()B
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2, v1}, Lokhttp3/internal/Util;->and(BI)I
|
|
|
|
move-result v2
|
|
|
|
shl-int/lit8 v2, v2, 0x8
|
|
|
|
or-int/2addr v0, v2
|
|
|
|
.line 319
|
|
invoke-interface {p0}, Lokio/BufferedSource;->readByte()B
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0, v1}, Lokhttp3/internal/Util;->and(BI)I
|
|
|
|
move-result p0
|
|
|
|
or-int/2addr p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final skipAll(Lokio/Buffer;B)I
|
|
.locals 3
|
|
|
|
const-string v0, "$this$skipAll"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 414
|
|
:goto_0
|
|
invoke-virtual {p0}, Lokio/Buffer;->exhausted()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
invoke-virtual {p0, v1, v2}, Lokio/Buffer;->getByte(J)B
|
|
|
|
move-result v1
|
|
|
|
if-ne v1, p1, :cond_0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 416
|
|
invoke-virtual {p0}, Lokio/Buffer;->readByte()B
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static final skipAll(Lokio/Source;ILjava/util/concurrent/TimeUnit;)Z
|
|
.locals 11
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$skipAll"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "timeUnit"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 328
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 329
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lokio/Timeout;->hasDeadline()Z
|
|
|
|
move-result v2
|
|
|
|
const-wide v3, 0x7fffffffffffffffL
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 330
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lokio/Timeout;->deadlineNanoTime()J
|
|
|
|
move-result-wide v5
|
|
|
|
sub-long/2addr v5, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-wide v5, v3
|
|
|
|
.line 334
|
|
:goto_0
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object v2
|
|
|
|
int-to-long v7, p1
|
|
|
|
invoke-virtual {p2, v7, v8}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
invoke-static {v5, v6, p1, p2}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
add-long/2addr p1, v0
|
|
|
|
invoke-virtual {v2, p1, p2}, Lokio/Timeout;->deadlineNanoTime(J)Lokio/Timeout;
|
|
|
|
.line 336
|
|
:try_start_0
|
|
new-instance p1, Lokio/Buffer;
|
|
|
|
invoke-direct {p1}, Lokio/Buffer;-><init>()V
|
|
|
|
:goto_1
|
|
const-wide/16 v7, 0x2000
|
|
|
|
.line 337
|
|
invoke-interface {p0, p1, v7, v8}, Lokio/Source;->read(Lokio/Buffer;J)J
|
|
|
|
move-result-wide v7
|
|
|
|
const-wide/16 v9, -0x1
|
|
|
|
cmp-long p2, v7, v9
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 338
|
|
invoke-virtual {p1}, Lokio/Buffer;->clear()V
|
|
:try_end_0
|
|
.catch Ljava/io/InterruptedIOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
cmp-long p1, v5, v3
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
.line 345
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lokio/Timeout;->clearDeadline()Lokio/Timeout;
|
|
|
|
goto :goto_2
|
|
|
|
.line 347
|
|
:cond_2
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Lokio/Timeout;->deadlineNanoTime(J)Lokio/Timeout;
|
|
|
|
:goto_2
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
cmp-long p2, v5, v3
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
.line 345
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lokio/Timeout;->clearDeadline()Lokio/Timeout;
|
|
|
|
goto :goto_3
|
|
|
|
.line 347
|
|
:cond_3
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Lokio/Timeout;->deadlineNanoTime(J)Lokio/Timeout;
|
|
|
|
.line 348
|
|
:goto_3
|
|
throw p1
|
|
|
|
:catch_0
|
|
cmp-long p1, v5, v3
|
|
|
|
if-nez p1, :cond_4
|
|
|
|
.line 345
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Lokio/Timeout;->clearDeadline()Lokio/Timeout;
|
|
|
|
goto :goto_4
|
|
|
|
.line 347
|
|
:cond_4
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Lokio/Timeout;->deadlineNanoTime(J)Lokio/Timeout;
|
|
|
|
:goto_4
|
|
const/4 p0, 0x0
|
|
|
|
:goto_5
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final threadFactory(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
|
|
.locals 1
|
|
|
|
const-string v0, "name"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 105
|
|
new-instance v0, Lokhttp3/internal/Util$threadFactory$1;
|
|
|
|
invoke-direct {v0, p0, p1}, Lokhttp3/internal/Util$threadFactory$1;-><init>(Ljava/lang/String;Z)V
|
|
|
|
check-cast v0, Ljava/util/concurrent/ThreadFactory;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final threadName(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "name"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "block"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 402
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "currentThread"
|
|
|
|
.line 403
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 404
|
|
invoke-virtual {v0, p0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x1
|
|
|
|
.line 406
|
|
:try_start_0
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
|
|
|
|
.line 408
|
|
invoke-virtual {v0, v1}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 409
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
|
|
|
|
.line 408
|
|
invoke-virtual {v0, v1}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final toHeaderList(Lokhttp3/Headers;)Ljava/util/List;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lokhttp3/Headers;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Lokhttp3/internal/http2/Header;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$toHeaderList"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 293
|
|
invoke-virtual {p0}, Lokhttp3/Headers;->size()I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v0, v1}, Lkotlin/ranges/RangesKt;->until(II)Lkotlin/ranges/IntRange;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Iterable;
|
|
|
|
.line 643
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-static {v0, v2}, Lkotlin/collections/CollectionsKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
check-cast v1, Ljava/util/Collection;
|
|
|
|
.line 644
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Lkotlin/collections/IntIterator;
|
|
|
|
invoke-virtual {v2}, Lkotlin/collections/IntIterator;->nextInt()I
|
|
|
|
move-result v2
|
|
|
|
.line 294
|
|
new-instance v3, Lokhttp3/internal/http2/Header;
|
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->name(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->value(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v3, v4, v2}, Lokhttp3/internal/http2/Header;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 646
|
|
:cond_0
|
|
check-cast v1, Ljava/util/List;
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public static final toHeaders(Ljava/util/List;)Lokhttp3/Headers;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lokhttp3/internal/http2/Header;",
|
|
">;)",
|
|
"Lokhttp3/Headers;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$toHeaders"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 286
|
|
new-instance v0, Lokhttp3/Headers$Builder;
|
|
|
|
invoke-direct {v0}, Lokhttp3/Headers$Builder;-><init>()V
|
|
|
|
.line 287
|
|
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lokhttp3/internal/http2/Header;
|
|
|
|
invoke-virtual {v1}, Lokhttp3/internal/http2/Header;->component1()Lokio/ByteString;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1}, Lokhttp3/internal/http2/Header;->component2()Lokio/ByteString;
|
|
|
|
move-result-object v1
|
|
|
|
.line 288
|
|
invoke-virtual {v2}, Lokio/ByteString;->utf8()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1}, Lokio/ByteString;->utf8()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v2, v1}, Lokhttp3/Headers$Builder;->addLenient$okhttp(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
|
|
|
|
goto :goto_0
|
|
|
|
.line 290
|
|
:cond_0
|
|
invoke-virtual {v0}, Lokhttp3/Headers$Builder;->build()Lokhttp3/Headers;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final toHexString(I)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 547
|
|
invoke-static {p0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Integer.toHexString(this)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final toHexString(J)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 545
|
|
invoke-static {p0, p1}, Ljava/lang/Long;->toHexString(J)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "java.lang.Long.toHexString(this)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final toHostHeader(Lokhttp3/HttpUrl;Z)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
const-string v0, "$this$toHostHeader"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 155
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->host()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/CharSequence;
|
|
|
|
const-string v1, ":"
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-static {v0, v1, v4, v2, v3}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 156
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "["
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->host()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
.line 158
|
|
:cond_0
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->host()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
if-nez p1, :cond_1
|
|
|
|
.line 160
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->port()I
|
|
|
|
move-result p1
|
|
|
|
sget-object v1, Lokhttp3/HttpUrl;->Companion:Lokhttp3/HttpUrl$Companion;
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->scheme()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Lokhttp3/HttpUrl$Companion;->defaultPort(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
if-eq p1, v1, :cond_2
|
|
|
|
.line 161
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const/16 v0, 0x3a
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Lokhttp3/HttpUrl;->port()I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_2
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static synthetic toHostHeader$default(Lokhttp3/HttpUrl;ZILjava/lang/Object;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 154
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lokhttp3/internal/Util;->toHostHeader(Lokhttp3/HttpUrl;Z)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final toImmutableList(Ljava/util/List;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$toImmutableList"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 467
|
|
check-cast p0, Ljava/util/Collection;
|
|
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Collections.unmodifiableList(toMutableList())"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final toImmutableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"TK;+TV;>;)",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$toImmutableMap"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 478
|
|
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 479
|
|
invoke-static {}, Lkotlin/collections/MapsKt;->emptyMap()Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 481
|
|
:cond_0
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Collections.unmodifiableMap(LinkedHashMap(this))"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final toLongOrDefault(Ljava/lang/String;J)J
|
|
.locals 1
|
|
|
|
const-string v0, "$this$toLongOrDefault"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 442
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-wide p1
|
|
.end method
|
|
|
|
.method public static final toNonNegativeInt(Ljava/lang/String;I)I
|
|
.locals 3
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 454
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide p0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
const v0, 0x7fffffff
|
|
|
|
int-to-long v1, v0
|
|
|
|
cmp-long v1, p0, v1
|
|
|
|
if-lez v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v0, p0, v0
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
long-to-int v0, p0
|
|
|
|
:goto_0
|
|
return v0
|
|
|
|
:catch_0
|
|
:cond_2
|
|
return p1
|
|
.end method
|
|
|
|
.method public static final trimSubstring(Ljava/lang/String;II)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "$this$trimSubstring"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 205
|
|
invoke-static {p0, p1, p2}, Lokhttp3/internal/Util;->indexOfFirstNonAsciiWhitespace(Ljava/lang/String;II)I
|
|
|
|
move-result p1
|
|
|
|
.line 206
|
|
invoke-static {p0, p1, p2}, Lokhttp3/internal/Util;->indexOfLastNonAsciiWhitespace(Ljava/lang/String;II)I
|
|
|
|
move-result p2
|
|
|
|
.line 207
|
|
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic trimSubstring$default(Ljava/lang/String;IIILjava/lang/Object;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
and-int/lit8 p4, p3, 0x1
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 204
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p2
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2}, Lokhttp3/internal/Util;->trimSubstring(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final wait(Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
const-string v0, "$this$wait"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 550
|
|
invoke-virtual {p0}, Ljava/lang/Object;->wait()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final withSuppressed(Ljava/lang/Exception;Ljava/util/List;)Ljava/lang/Throwable;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Exception;",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Ljava/lang/Exception;",
|
|
">;)",
|
|
"Ljava/lang/Throwable;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$withSuppressed"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "suppressed"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 614
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
.line 615
|
|
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
|
|
|
|
.line 618
|
|
:cond_0
|
|
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Exception;
|
|
|
|
move-object v1, p0
|
|
|
|
check-cast v1, Ljava/lang/Throwable;
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
invoke-static {v1, v0}, Lkotlin/ExceptionsKt;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 613
|
|
:cond_1
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final writeMedium(Lokio/BufferedSink;I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$writeMedium"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
ushr-int/lit8 v0, p1, 0x10
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
.line 310
|
|
invoke-interface {p0, v0}, Lokio/BufferedSink;->writeByte(I)Lokio/BufferedSink;
|
|
|
|
ushr-int/lit8 v0, p1, 0x8
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
.line 311
|
|
invoke-interface {p0, v0}, Lokio/BufferedSink;->writeByte(I)Lokio/BufferedSink;
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
.line 312
|
|
invoke-interface {p0, p1}, Lokio/BufferedSink;->writeByte(I)Lokio/BufferedSink;
|
|
|
|
return-void
|
|
.end method
|