125 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			125 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class final Lcom/google/common/base/CharMatcher$Whitespace;
 | |
| .super Lcom/google/common/base/CharMatcher$NamedFastMatcher;
 | |
| .source "CharMatcher.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Lcom/google/common/annotations/VisibleForTesting;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Lcom/google/common/base/CharMatcher;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x19
 | |
|     name = "Whitespace"
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final INSTANCE:Lcom/google/common/base/CharMatcher$Whitespace;
 | |
| 
 | |
| .field public static final MULTIPLIER:I = 0x6449bf0a
 | |
| 
 | |
| .field public static final SHIFT:I
 | |
| 
 | |
| .field public static final TABLE:Ljava/lang/String; = "\u2002\u3000\r\u0085\u200a\u2005\u2000\u3000\u2029\u000b\u3000\u2008\u2003\u205f\u3000\u1680\t \u2006\u2001\u202f\u00a0\u000c\u2009\u3000\u2004\u3000\u3000\u2028\n\u2007\u3000"
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public static constructor <clinit>()V
 | |
|     .locals 1
 | |
| 
 | |
|     const/16 v0, 0x1f
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {v0}, Ljava/lang/Integer;->numberOfLeadingZeros(I)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     sput v0, Lcom/google/common/base/CharMatcher$Whitespace;->SHIFT:I
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Lcom/google/common/base/CharMatcher$Whitespace;
 | |
| 
 | |
|     invoke-direct {v0}, Lcom/google/common/base/CharMatcher$Whitespace;-><init>()V
 | |
| 
 | |
|     sput-object v0, Lcom/google/common/base/CharMatcher$Whitespace;->INSTANCE:Lcom/google/common/base/CharMatcher$Whitespace;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>()V
 | |
|     .locals 1
 | |
| 
 | |
|     const-string v0, "CharMatcher.whitespace()"
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, v0}, Lcom/google/common/base/CharMatcher$NamedFastMatcher;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public matches(C)Z
 | |
|     .locals 2
 | |
| 
 | |
|     const v0, 0x6449bf0a
 | |
| 
 | |
|     mul-int/2addr v0, p1
 | |
| 
 | |
|     .line 1
 | |
|     sget v1, Lcom/google/common/base/CharMatcher$Whitespace;->SHIFT:I
 | |
| 
 | |
|     ushr-int/2addr v0, v1
 | |
| 
 | |
|     const-string v1, "\u2002\u3000\r\u0085\u200a\u2005\u2000\u3000\u2029\u000b\u3000\u2008\u2003\u205f\u3000\u1680\t \u2006\u2001\u202f\u00a0\u000c\u2009\u3000\u2004\u3000\u3000\u2028\n\u2007\u3000"
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Ljava/lang/String;->charAt(I)C
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-ne v0, p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public setBits(Ljava/util/BitSet;)V
 | |
|     .locals 2
 | |
|     .annotation build Lcom/google/common/annotations/GwtIncompatible;
 | |
|     .end annotation
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     const/16 v1, 0x20
 | |
| 
 | |
|     if-ge v0, v1, :cond_0
 | |
| 
 | |
|     const-string v1, "\u2002\u3000\r\u0085\u200a\u2005\u2000\u3000\u2029\u000b\u3000\u2008\u2003\u205f\u3000\u1680\t \u2006\u2001\u202f\u00a0\u000c\u2009\u3000\u2004\u3000\u3000\u2028\n\u2007\u3000"
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {v1, v0}, Ljava/lang/String;->charAt(I)C
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     invoke-virtual {p1, v1}, Ljava/util/BitSet;->set(I)V
 | |
| 
 | |
|     add-int/lit8 v0, v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 |