.class public final Lokio/AsyncTimeout$source$1; .super Ljava/lang/Object; .source "AsyncTimeout.kt" # interfaces .implements Lokio/Source; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lokio/AsyncTimeout;->source(Lokio/Source;)Lokio/Source; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nAsyncTimeout.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AsyncTimeout.kt\nokio/AsyncTimeout$source$1\n+ 2 AsyncTimeout.kt\nokio/AsyncTimeout\n*L\n1#1,327:1\n147#2,11:328\n147#2,11:339\n*E\n*S KotlinDebug\n*F\n+ 1 AsyncTimeout.kt\nokio/AsyncTimeout$source$1\n*L\n129#1,11:328\n133#1,11:339\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000+\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016J\u0018\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0008\u001a\u00020\u0005H\u0016J\u0008\u0010\t\u001a\u00020\nH\u0016J\u0008\u0010\u000b\u001a\u00020\u000cH\u0016\u00a8\u0006\r" } d2 = { "okio/AsyncTimeout$source$1", "Lokio/Source;", "close", "", "read", "", "sink", "Lokio/Buffer;", "byteCount", "timeout", "Lokio/AsyncTimeout;", "toString", "", "okio" } k = 0x1 mv = { 0x1, 0x4, 0x0 } .end annotation # instance fields .field final synthetic $source:Lokio/Source; .field final synthetic this$0:Lokio/AsyncTimeout; # direct methods .method constructor (Lokio/AsyncTimeout;Lokio/Source;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lokio/Source;", ")V" } .end annotation iput-object p1, p0, Lokio/AsyncTimeout$source$1;->this$0:Lokio/AsyncTimeout; iput-object p2, p0, Lokio/AsyncTimeout$source$1;->$source:Lokio/Source; .line 127 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public close()V .locals 2 iget-object v0, p0, Lokio/AsyncTimeout$source$1;->this$0:Lokio/AsyncTimeout; .line 340 invoke-virtual {v0}, Lokio/AsyncTimeout;->enter()V :try_start_0 iget-object p0, p0, Lokio/AsyncTimeout$source$1;->$source:Lokio/Source; .line 133 invoke-interface {p0}, Lokio/Source;->close()V sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 348 invoke-virtual {v0}, Lokio/AsyncTimeout;->exit()Z move-result p0 if-nez p0, :cond_0 return-void :cond_0 const/4 p0, 0x0 .line 349 invoke-virtual {v0, p0}, Lokio/AsyncTimeout;->access$newTimeoutException(Ljava/io/IOException;)Ljava/io/IOException; move-result-object p0 check-cast p0, Ljava/lang/Throwable; throw p0 :catchall_0 move-exception p0 goto :goto_2 :catch_0 move-exception p0 .line 346 :try_start_1 invoke-virtual {v0}, Lokio/AsyncTimeout;->exit()Z move-result v1 if-nez v1, :cond_1 :goto_0 check-cast p0, Ljava/lang/Throwable; goto :goto_1 :cond_1 invoke-virtual {v0, p0}, Lokio/AsyncTimeout;->access$newTimeoutException(Ljava/io/IOException;)Ljava/io/IOException; move-result-object p0 goto :goto_0 :goto_1 throw p0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 .line 348 :goto_2 invoke-virtual {v0}, Lokio/AsyncTimeout;->exit()Z .line 349 throw p0 .end method .method public read(Lokio/Buffer;J)J .locals 1 const-string v0, "sink" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Lokio/AsyncTimeout$source$1;->this$0:Lokio/AsyncTimeout; .line 329 invoke-virtual {v0}, Lokio/AsyncTimeout;->enter()V :try_start_0 iget-object p0, p0, Lokio/AsyncTimeout$source$1;->$source:Lokio/Source; .line 129 invoke-interface {p0, p1, p2, p3}, Lokio/Source;->read(Lokio/Buffer;J)J move-result-wide p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 337 invoke-virtual {v0}, Lokio/AsyncTimeout;->exit()Z move-result p2 if-nez p2, :cond_0 return-wide p0 :cond_0 const/4 p0, 0x0 .line 338 invoke-virtual {v0, p0}, Lokio/AsyncTimeout;->access$newTimeoutException(Ljava/io/IOException;)Ljava/io/IOException; move-result-object p0 check-cast p0, Ljava/lang/Throwable; throw p0 :catchall_0 move-exception p0 goto :goto_2 :catch_0 move-exception p0 .line 335 :try_start_1 invoke-virtual {v0}, Lokio/AsyncTimeout;->exit()Z move-result p1 if-nez p1, :cond_1 :goto_0 check-cast p0, Ljava/lang/Throwable; goto :goto_1 :cond_1 invoke-virtual {v0, p0}, Lokio/AsyncTimeout;->access$newTimeoutException(Ljava/io/IOException;)Ljava/io/IOException; move-result-object p0 goto :goto_0 :goto_1 throw p0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 .line 337 :goto_2 invoke-virtual {v0}, Lokio/AsyncTimeout;->exit()Z .line 338 throw p0 .end method .method public timeout()Lokio/AsyncTimeout; .locals 0 iget-object p0, p0, Lokio/AsyncTimeout$source$1;->this$0:Lokio/AsyncTimeout; return-object p0 .end method .method public bridge synthetic timeout()Lokio/Timeout; .locals 0 .line 127 invoke-virtual {p0}, Lokio/AsyncTimeout$source$1;->timeout()Lokio/AsyncTimeout; move-result-object p0 check-cast p0, Lokio/Timeout; return-object p0 .end method .method public toString()Ljava/lang/String; .locals 2 .line 138 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "AsyncTimeout.source(" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget-object p0, p0, Lokio/AsyncTimeout$source$1;->$source:Lokio/Source; invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p0 const/16 v0, 0x29 invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method