apkfuckery/com.discord/smali_classes2/okhttp3/m$a.smali

402 lines
8.4 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public final Lokhttp3/m$a;
.super Ljava/lang/Object;
.source "Cookie.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/m;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
2019-12-04 22:43:03 +00:00
.field private cnr:J
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field private cns:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field private cnt:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field private cnu:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field private cnv:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
.field private domain:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
.field private name:Ljava/lang/String;
.field private path:Ljava/lang/String;
.field private value:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide v0, 0xe677d21fdbffL
2019-12-04 22:43:03 +00:00
iput-wide v0, p0, Lokhttp3/m$a;->cnr:J
2019-11-28 00:30:53 +00:00
const-string v0, "/"
iput-object v0, p0, Lokhttp3/m$a;->path:Ljava/lang/String;
return-void
.end method
2019-12-04 22:43:03 +00:00
.method private final h(Ljava/lang/String;Z)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 2
move-object v0, p0
check-cast v0, Lokhttp3/m$a;
2019-12-04 22:43:03 +00:00
invoke-static {p1}, Lokhttp3/internal/a;->ft(Ljava/lang/String;)Ljava/lang/String;
2019-11-28 00:30:53 +00:00
move-result-object v1
if-eqz v1, :cond_0
2019-12-04 22:43:03 +00:00
iput-object v1, v0, Lokhttp3/m$a;->domain:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iput-boolean p2, v0, Lokhttp3/m$a;->cnv:Z
2019-11-28 00:30:53 +00:00
return-object v0
:cond_0
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
const-string v0, "unexpected domain: "
invoke-virtual {v0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p2, Ljava/lang/Throwable;
throw p2
.end method
# virtual methods
2019-12-04 22:43:03 +00:00
.method public final Qc()Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 2
move-object v0, p0
check-cast v0, Lokhttp3/m$a;
const/4 v1, 0x1
2019-12-04 22:43:03 +00:00
iput-boolean v1, v0, Lokhttp3/m$a;->cns:Z
2019-11-28 00:30:53 +00:00
return-object v0
.end method
2019-12-04 22:43:03 +00:00
.method public final Qd()Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 2
move-object v0, p0
check-cast v0, Lokhttp3/m$a;
const/4 v1, 0x1
2019-12-04 22:43:03 +00:00
iput-boolean v1, v0, Lokhttp3/m$a;->cnt:Z
2019-11-28 00:30:53 +00:00
return-object v0
.end method
2019-12-04 22:43:03 +00:00
.method public final Qe()Lokhttp3/m;
2019-11-28 00:30:53 +00:00
.locals 13
new-instance v12, Lokhttp3/m;
iget-object v1, p0, Lokhttp3/m$a;->name:Ljava/lang/String;
if-eqz v1, :cond_2
iget-object v2, p0, Lokhttp3/m$a;->value:Ljava/lang/String;
if-eqz v2, :cond_1
2019-12-04 22:43:03 +00:00
iget-wide v3, p0, Lokhttp3/m$a;->cnr:J
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-object v5, p0, Lokhttp3/m$a;->domain:Ljava/lang/String;
2019-11-28 00:30:53 +00:00
if-eqz v5, :cond_0
iget-object v6, p0, Lokhttp3/m$a;->path:Ljava/lang/String;
2019-12-04 22:43:03 +00:00
iget-boolean v7, p0, Lokhttp3/m$a;->cns:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-boolean v8, p0, Lokhttp3/m$a;->cnt:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-boolean v9, p0, Lokhttp3/m$a;->cnu:Z
2019-11-28 00:30:53 +00:00
2019-12-04 22:43:03 +00:00
iget-boolean v10, p0, Lokhttp3/m$a;->cnv:Z
2019-11-28 00:30:53 +00:00
const/4 v11, 0x0
move-object v0, v12
invoke-direct/range {v0 .. v11}, Lokhttp3/m;-><init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZB)V
return-object v12
:cond_0
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "builder.domain == null"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
:cond_1
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "builder.value == null"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
:cond_2
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "builder.name == null"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
.end method
2019-12-04 22:43:03 +00:00
.method public final bh(J)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 4
move-object v0, p0
check-cast v0, Lokhttp3/m$a;
const-wide/16 v1, 0x0
cmp-long v3, p1, v1
if-gtz v3, :cond_0
const-wide/high16 p1, -0x8000000000000000L
:cond_0
const-wide v1, 0xe677d21fdbffL
cmp-long v3, p1, v1
if-lez v3, :cond_1
move-wide p1, v1
:cond_1
2019-12-04 22:43:03 +00:00
iput-wide p1, v0, Lokhttp3/m$a;->cnr:J
2019-11-28 00:30:53 +00:00
const/4 p1, 0x1
2019-12-04 22:43:03 +00:00
iput-boolean p1, v0, Lokhttp3/m$a;->cnu:Z
2019-11-28 00:30:53 +00:00
return-object v0
.end method
2019-12-04 22:43:03 +00:00
.method public final eP(Ljava/lang/String;)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 2
const-string v0, "name"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v0, p0
check-cast v0, Lokhttp3/m$a;
move-object v1, p1
check-cast v1, Ljava/lang/CharSequence;
invoke-static {v1}, Lkotlin/text/l;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v1, p1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
iput-object p1, v0, Lokhttp3/m$a;->name:Ljava/lang/String;
return-object v0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "name is not trimmed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
.end method
2019-12-04 22:43:03 +00:00
.method public final eQ(Ljava/lang/String;)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 2
const-string v0, "value"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v0, p0
check-cast v0, Lokhttp3/m$a;
move-object v1, p1
check-cast v1, Ljava/lang/CharSequence;
invoke-static {v1}, Lkotlin/text/l;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v1, p1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
iput-object p1, v0, Lokhttp3/m$a;->value:Ljava/lang/String;
return-object v0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "value is not trimmed"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
.end method
2019-12-04 22:43:03 +00:00
.method public final eR(Ljava/lang/String;)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 1
const-string v0, "domain"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
2019-12-04 22:43:03 +00:00
invoke-direct {p0, p1, v0}, Lokhttp3/m$a;->h(Ljava/lang/String;Z)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
move-result-object p1
return-object p1
.end method
2019-12-04 22:43:03 +00:00
.method public final eS(Ljava/lang/String;)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 1
const-string v0, "domain"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x1
2019-12-04 22:43:03 +00:00
invoke-direct {p0, p1, v0}, Lokhttp3/m$a;->h(Ljava/lang/String;Z)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
move-result-object p1
return-object p1
.end method
2019-12-04 22:43:03 +00:00
.method public final eT(Ljava/lang/String;)Lokhttp3/m$a;
2019-11-28 00:30:53 +00:00
.locals 5
const-string v0, "path"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move-object v0, p0
check-cast v0, Lokhttp3/m$a;
const-string v1, "/"
const/4 v2, 0x0
const/4 v3, 0x2
const/4 v4, 0x0
invoke-static {p1, v1, v2, v3, v4}, Lkotlin/text/l;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
iput-object p1, v0, Lokhttp3/m$a;->path:Ljava/lang/String;
return-object v0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "path must start with \'/\'"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p1, Ljava/lang/Throwable;
throw p1
.end method