code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
package net.coobird.thumbnailator.tasks.io;
import java.awt.image.BufferedImage;
import java.io.IOException;
import net.coobird.thumbnailator.ThumbnailParameter;
/**
* An interface to be implemented by classes which stores the image resulting
* from a thumbnail generation task.
*
* @param <T> The d... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/tasks/io/ImageSink.java | Java | mit | 1,587 |
package net.coobird.thumbnailator.tasks.io;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
import javax.imageio.IIOImage;
import javax.imageio.I... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/tasks/io/FileImageSink.java | Java | mit | 12,176 |
package net.coobird.thumbnailator.tasks.io;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;
import java.util.Iterator;
import javax.imageio.ImageIO;
import javax.imageio.ImageReadParam;
import javax.imageio.ImageReader;
import javax.im... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/tasks/io/InputStreamImageSource.java | Java | mit | 2,697 |
package net.coobird.thumbnailator.resizers;
import java.awt.Dimension;
/**
* This class provides factory methods which provides suitable {@link Resizer}s
* for a given situation.
* <p>
* <DL>
* <DT><B>Usage:</B></DT>
* <DD>
* The following example code demonstrates how to use {@link ResizerFactory... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/ResizerFactory.java | Java | mit | 2,421 |
/**
*
*/
package net.coobird.thumbnailator.resizers.configurations;
import java.awt.RenderingHints;
import java.awt.RenderingHints.Key;
/**
* An enum which is used to specify the alpha interpolation settings of the
* resizing operations.
*
* @author coobird
*
*/
public enum AlphaInterpolation... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/configurations/AlphaInterpolation.java | Java | mit | 1,206 |
/**
* This package provides enums which are used to set rendering hints used when
* using {@link net.coobird.thumbnailator.resizers.Resizers} to create
* thumbnails.
*/
package net.coobird.thumbnailator.resizers.configurations;
| zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/configurations/package-info.java | Java | mit | 238 |
package net.coobird.thumbnailator.resizers.configurations;
import java.awt.RenderingHints;
import net.coobird.thumbnailator.resizers.Resizer;
/**
* An interface which are implemented by classes and enums which provide
* configuration information for {@link Resizer}s.
*
* @author coobird
*
*/
pub... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/configurations/ResizerConfiguration.java | Java | mit | 607 |
/**
*
*/
package net.coobird.thumbnailator.resizers.configurations;
import java.awt.RenderingHints;
import java.awt.RenderingHints.Key;
/**
* An enum which is used to specify the antialiasing settings of the
* resizing operations.
*
* @author coobird
*
*/
public enum Antialiasing implements R... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/configurations/Antialiasing.java | Java | mit | 1,038 |
/**
*
*/
package net.coobird.thumbnailator.resizers.configurations;
import java.awt.RenderingHints;
import java.awt.RenderingHints.Key;
/**
* An enum which is used to specify the dithering settings of the
* resizing operations.
*
* @author coobird
*
*/
public enum Dithering implements Resizer... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/configurations/Dithering.java | Java | mit | 1,037 |
/**
*
*/
package net.coobird.thumbnailator.resizers.configurations;
import java.awt.RenderingHints;
import java.awt.RenderingHints.Key;
/**
* An enum which is used to specify the dithering settings of the
* resizing operations.
*
* @author coobird
*
*/
public enum Rendering implements Resizer... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/configurations/Rendering.java | Java | mit | 967 |
/**
*
*/
package net.coobird.thumbnailator.resizers.configurations;
import net.coobird.thumbnailator.resizers.ProgressiveBilinearResizer;
/**
* An enum which is used to specify how to scale images when creating
* thumbnails.
*
* @author coobird
*
*/
public enum ScalingMode
{
/**
* A hin... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/configurations/ScalingMode.java | Java | mit | 728 |
package net.coobird.thumbnailator.resizers;
import java.awt.AlphaComposite;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.Map;
/**
* A {@link Resizer} which performs resizing operations by using
* progressi... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/ProgressiveBilinearResizer.java | Java | mit | 4,064 |
/**
* This package provides classes which perform image resizing operations which
* is used to create thumbnails with Thumbnailator.
*/
package net.coobird.thumbnailator.resizers;
| zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/package-info.java | Java | mit | 188 |
package net.coobird.thumbnailator.resizers;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.Map;
/**
* Image resizer class using bicubic interpolation for the resizing operation.
*
* @author coobird
*
*/
public class BicubicResizer... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/BicubicResizer.java | Java | mit | 1,411 |
package net.coobird.thumbnailator.resizers;
import java.awt.image.BufferedImage;
/**
* This enum can be used to select a specific {@link Resizer} in order
* to perform a resizing operation.
* <p>
* The instance held by a value of this enum is a single instance. When using
* specific implementations of {... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/Resizers.java | Java | mit | 1,926 |
package net.coobird.thumbnailator.resizers;
import java.awt.image.BufferedImage;
/**
* This interface is implemented by classes which perform resizing operations.
*
* @author coobird
*
*/
public interface Resizer
{
/**
* Resizes an image.
* <p>
* The source image is resized to fit the dime... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/Resizer.java | Java | mit | 542 |
package net.coobird.thumbnailator.resizers;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* A class which performs a resize operation on a source image and outputs the
* re... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/AbstractResizer.java | Java | mit | 3,375 |
package net.coobird.thumbnailator.resizers;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.Map;
/**
* Image resizer class using bilinear interpolation for the resizing operation.
*
* @author coobird
*
*/
public class BilinearResiz... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/resizers/BilinearResizer.java | Java | mit | 1,426 |
package net.coobird.thumbnailator.builders;
import java.awt.Dimension;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.List;
import net.coobird.thumbnailator.ThumbnailParameter;
import net.coobird.thumbnailator.filters.ImageFilter;
import net.coobird.thumbnailator.geometry... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/builders/ThumbnailParameterBuilder.java | Java | mit | 9,917 |
package net.coobird.thumbnailator.builders;
import java.awt.Dimension;
import java.awt.image.BufferedImage;
/**
* A builder for creating {@link BufferedImage} with specified parameters.
*
* @author coobird
*
*/
public final class BufferedImageBuilder
{
/**
* The default image type of the {@link... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/builders/BufferedImageBuilder.java | Java | mit | 4,050 |
/**
* This package provides classes which provides convenient builders for classes
* which are used by Thumbnailator.
*/
package net.coobird.thumbnailator.builders;
| zyslovely-thumbnailator | src/net/coobird/thumbnailator/builders/package-info.java | Java | mit | 173 |
package net.coobird.thumbnailator.filters;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import net.coobird.thumbnailator.util.BufferedImages;
/**
* An {@link ImageFilter} which will apply multiple {@link Ima... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/Pipeline.java | Java | mit | 2,847 |
package net.coobird.thumbnailator.filters;
import java.awt.image.BufferedImage;
/**
* This interface is to be implemented by classes which performs an image
* filtering operation on a {@link BufferedImage}.
* <p>
* The general contract for classes implementing {@link ImageFilter} is that
* they should n... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/ImageFilter.java | Java | mit | 916 |
package net.coobird.thumbnailator.filters;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.builders.BufferedImageBuilder;
/**
* An image filter which will add a color tint to an image.
*
* @author coobird
*
*/
public final c... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/Colorize.java | Java | mit | 2,466 |
package net.coobird.thumbnailator.filters;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.geometry.Position;
import net.coobird.thumbnailator.util.BufferedIm... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/Caption.java | Java | mit | 3,400 |
package net.coobird.thumbnailator.filters;
import java.awt.AlphaComposite;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.builders.BufferedImageBuilder;
import net.coobird.thumbnailator.geometry.Position;
/**
* This class applies a... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/Watermark.java | Java | mit | 2,485 |
/**
* This package provides classes which perform filtering operations on images,
* such as adding watermark, text captions, and color tints.
*/
package net.coobird.thumbnailator.filters;
| zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/package-info.java | Java | mit | 196 |
package net.coobird.thumbnailator.filters;
import java.awt.AlphaComposite;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
/**
* An image filter which will make an image transparent.
* <p>
* The resulting image will always have an image type of
* {@link BufferedImage#TYPE_INT_ARGB}.
... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/Transparency.java | Java | mit | 2,387 |
package net.coobird.thumbnailator.filters;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.builders.BufferedImageBuilder;
/**
* A class containing rotation filters.
* <p>
* Aside from the three {@link Rotator}s provided a... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/Rotation.java | Java | mit | 5,772 |
package net.coobird.thumbnailator.filters;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.image.BufferedImage;
import net.coobird.thumbnailator.geometry.Position;
/**
* An {@link ImageFilter} which will enclose an image into a specified
* enclosing image.
* <p>... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/filters/Canvas.java | Java | mit | 5,030 |
package net.coobird.thumbnailator.name;
/**
* This class is used to rename file names.
*
* @author coobird
*
*/
public abstract class Rename
{
/**
* A {@code Rename} which does not alter the given file name.
* <p>
* <dt>Example</dt>
* <ul>
* <li>Before: {@code picture.jpg}</li>
* <li... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/name/Rename.java | Java | mit | 3,583 |
/**
* This package contains classes used to generate file names when saving
* thumbnail images to files.
*/
package net.coobird.thumbnailator.name;
| zyslovely-thumbnailator | src/net/coobird/thumbnailator/name/package-info.java | Java | mit | 156 |
package net.coobird.thumbnailator.name;
import java.io.File;
import java.io.IOException;
import java.util.Formatter;
import java.util.Iterator;
/**
* This class is used to produce file names based on a given format string
* and an internal counter which increments every time a new file name
* is produced... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/name/ConsecutivelyNumberedFilenames.java | Java | mit | 9,958 |
package net.coobird.thumbnailator;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collectio... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/Thumbnailator.java | Java | mit | 15,722 |
/**
* This package contains utilities classes used by Thumbnailator.
*/
package net.coobird.thumbnailator.util;
| zyslovely-thumbnailator | src/net/coobird/thumbnailator/util/package-info.java | Java | mit | 118 |
package net.coobird.thumbnailator.util;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import javax.imageio.ImageIO;
import javax.imageio.ImageWriter;
import net.coobird.thumbnailator.ThumbnailParameter;
/**
* A utility class for Thumbnailator.... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/util/ThumbnailatorUtils.java | Java | mit | 3,605 |
package net.coobird.thumbnailator.util;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
/**
* This class provides convenience methods for using {@link BufferedImage}s.
*
* @author coobird
*
*/
public final class BufferedImages
{
/**
* This class is not intended to be instantiated... | zyslovely-thumbnailator | src/net/coobird/thumbnailator/util/BufferedImages.java | Java | mit | 1,295 |
/* Javadoc style sheet */
/* Define colors, fonts and other style attributes here to override the defaults */
/* Page background color */
body { background-color: #FFFFFF }
/* Headings */
h1 { font-size: 145% }
/* Table colors */
.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
.TableSubH... | zyslovely-thumbnailator | javadoc/stylesheet.css | CSS | mit | 1,231 |
package net.coobird.thumbnailator.test;
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
public final class BufferedImageComparer
{
public static final boolean isSame(BufferedImage img0, BufferedImage img1)
{
int width0 = img0.getWidth();
int height0 = img0.getHeight();
int width1... | zyslovely-thumbnailator | test/net/coobird/thumbnailator/test/BufferedImageComparer.java | Java | mit | 3,640 |
# Copyright 2011, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the fo... | zzhpublic-mytest | deodexerant/Android.mk | Makefile | bsd | 1,731 |
/*
* Copyright 2011, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | zzhpublic-mytest | deodexerant/deodexerant.c | C | bsd | 2,812 |
package org.jf.smali;
import java.io.*;
import org.antlr.runtime.*;
import org.jf.util.*;
import static org.jf.smali.smaliParser.*;
%%
%public
%class smaliFlexLexer
%implements TokenSource
%implements LexerErrorInterface
%type Token
%unicode
%line
%column
%char
%{
private StringBuffer sb = new StringBuffer();
... | zzhpublic-mytest | smali/src/main/jflex/smaliLexer.flex | JFlex | bsd | 22,028 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | smali/src/main/antlr3/org/jf/smali/smaliParser.g | GAP | bsd | 41,315 |
/*
* The comment, number, string and character constant lexical rules are
* derived from rules from the Java 1.6 grammar which can be found here:
* http://openjdk.java.net/projects/compiler-grammar/antlrworks/Java.g
*
* Specifically, these rules:
*
* BASE_INTEGER, DECIMAL_EXPONENT, BINARY_EXPONENT, HEX_PREFIX, H... | zzhpublic-mytest | smali/src/main/antlr3/org/jf/smali/smaliLexer.g | GAP | bsd | 17,816 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | smali/src/main/antlr3/org/jf/smali/smaliTreeWalker.g | GAP | bsd | 58,897 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | smali/src/main/java/org/jf/smali/SemanticException.java | Java | bsd | 3,046 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | smali/src/main/java/org/jf/smali/LexerErrorInterface.java | Java | bsd | 2,224 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice,... | zzhpublic-mytest | smali/src/main/java/org/jf/smali/InvalidToken.java | Java | bsd | 2,099 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | smali/src/main/java/org/jf/smali/LiteralTools.java | Java | bsd | 13,000 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | smali/src/main/java/org/jf/smali/main.java | Java | bsd | 15,886 |
/*
* [The "BSD licence"]
* Copyright (c) 2010 Ben Gruver (JesusFreke)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
... | zzhpublic-mytest | smali/src/main/java/org/jf/smali/OdexedInstructionException.java | Java | bsd | 2,079 |
0x0
0x00
0x1
0x12345678
0x7fffffff
0x80000000
0xFFFFFFFF
-0x00
-0x01
-0x12345678
-0x80000000
-0x1FFFFFFF
-0x80000001
-0xFFFFFFFF
-0x100000000
0
1
1234567890
2147483647
2147483648
4294967295
-0
-1
-1234567890
-2147483647
-2147483648
-2147483649
-4294967295
4294967295
4294967300
8589934592
00
01
012345670123
017777777777... | zzhpublic-mytest | smali/src/test/resources/LexerTest/IntegerLiteralTest.smali | Smali | bsd | 438 |
0x0T
0x00
0x1T
0x12
0x7fT
0x80t
0xFFt
-0x00
-0x01
-0x12
-0x80
-0x1f
-0x1fT
-0x81
-0xFF
-0x100
0
1t
123
127T
128
255
-0
-1
-123
-123T
-127
-128
-129
-255
256
260
00
01
0123t
0177
0200T
0377
-00
-01
-0123
-0123t
-177
-0200
-0201
-0377
-0400 | zzhpublic-mytest | smali/src/test/resources/LexerTest/ByteLiteralTest.smali | Smali | bsd | 238 |
0x0L
0x00L
0x1L
0x1234567890123456L
0x7fffffffffffffffL
0x8000000000000000L
0xFFFFFFFFFFFFFFFFL
-0x00L
-0x01L
-0x1234567890123456L
-0x8000000000000000L
-0x1fffffffffffffffL
-0x8000000000000001
-0xFFFFFFFFFFFFFFFF
0x10000000000000000
0L
1
1234567890123456789
1234567890123456789L
9223372036854775807
9223372036854775808
1... | zzhpublic-mytest | smali/src/test/resources/LexerTest/LongLiteralTest.smali | Smali | bsd | 816 |
Z
B
S
C
I
J
F
D
V
Ljava/lang/String;
LI;
LV;
LI/I/I;
[Z
[B
[S
[C
[I
[J
[F
[D
[Ljava/lang/String;
[LI/I/I;
IIIII
ZBSCIJFD
ILa;[La;[I
Ljava/lang/String;Ljava/lang/String;
[I[I[I
[I[Z
[I[Ljava/lang/String;
<init>
<clinit>
Ljava/lang/String
L;
LI
L[Ljava/lang/String;
[
[V
[java/lang/String;
[;
<linit> | zzhpublic-mytest | smali/src/test/resources/LexerTest/TypeAndIdentifierTest.smali | Smali | bsd | 305 |
#
#abcd
# abcd
#0x1234
0x1234 #0x1234
invoke-virtual #invoke-virtual | zzhpublic-mytest | smali/src/test/resources/LexerTest/CommentTest.smali | Smali | bsd | 82 |
.class
.super
.implements
.source
.field
.end field
.subannotation
.end subannotation
.annotation
.end annotation
.enum
.method
.end method
.registers
.locals
.array-data
.end array-data
.packed-switch
.end packed-switch
.sparse-switch
.end sparse-switch
.catch
.catchall
.line
.parameter
.end parameter
.local
.end loc... | zzhpublic-mytest | smali/src/test/resources/LexerTest/DirectiveTest.smali | Smali | bsd | 597 |
' '
' '
'a'
'A'
'z'
'Z'
'a''a'
'1'
'2'
'\n'
'\r'
'\t'
'\b'
'\f'
'\u0030'
'\uABCD'
'\uabcd'
'\\'
'\''
'\"'
'"'
'a'a'
'ab'
'\a'
''
'
'
'
'\u'
'\u0'
'\ua'
'\uab'
'\u01a'
'\uz'
'\u012z'
'a'
' | zzhpublic-mytest | smali/src/test/resources/LexerTest/CharLiteralTest.smali | Smali | bsd | 190 |
.class public final Lcom/android/internal/telephony/cdma/RuimFileHandler;
.super Lcom/android/internal/telephony/IccFileHandler;
.source "RuimFileHandler.java"
# static fields
.field static final LOG_TAG:Ljava/lang/String; = "CDMA"
.field static final CARD_MAX_APPS:I = 0x8
.field mWifiOnUid:I
.field public static ... | zzhpublic-mytest | smali/src/test/resources/LexerTest/RealSmaliFileTest.smali | Smali | bsd | 7,510 |
true
false
null
p0
p90
pab
v0
v90
vab
truefalse
build
runtime
system
public
private
protected
static
final
synchronized
bridge
varargs
native
abstract
strictfp
synthetic
constructor
declared-synchronized
interface
enum
annotation
volatile
transient
no-error
generic-error
no-such-class
no-such-field
no-such-method
i... | zzhpublic-mytest | smali/src/test/resources/LexerTest/MiscTest.smali | Smali | bsd | 692 |
goto
return-void
nop
return-void-barrier
const/4
move-result
move-result-wide
move-result-object
move-exception
return
return-wide
move
move-wide
move-object
array-length
neg-int
not-int
neg-long
not-long
neg-float
neg-double
int-to-long
int-to-float
int-to-double
long-to-int
long-to-float
long-to-double
float-to-int
f... | zzhpublic-mytest | smali/src/test/resources/LexerTest/InstructionTest.smali | Smali | bsd | 3,848 |
1234E9
1234e9
1234e-9
-1234e9
-1234e-9
1234E9d
1234e9D
1234e-9d
-1234e9D
-1234e-9d
1234E9F
1234e9F
1234e-9f
-1234e9F
-1234e-9f
0x123ABCP1
0x123ABCp1
0x123ABCp-1
-0x123ABCp1
-0x123ABCp-1
0x123ABCP1D
0x123ABCp1D
0x123ABCp-1D
-0x123ABCp1d
-0x123ABCp-1d
0x123ABCP1f
0x123ABCp1F
0x123ABCp-1f
-0x123ABCp1F
-0x123ABCp-1F
... | zzhpublic-mytest | smali/src/test/resources/LexerTest/FloatLiteralTest.smali | Smali | bsd | 2,001 |
0x0S
0x00
0x1s
0x1234
0x7fffS
0x8000s
0xFFFF
-0x00
-0x01
-01234
-01234s
-0x8000
-0x1fff
-0x1fffS
-0x8001
-0xFFFF
-0x100000
0
1
12345
12345s
32767
32678
65535S
-0
-1
-12345S
-32767
-32768s
-32679s
-65535s
65536
65600
00
01
012345
012345s
077777
0100000
0177777
-00
-01
-012345
-012345S
-077777
-0100000
-0100001
-0177777
... | zzhpublic-mytest | smali/src/test/resources/LexerTest/ShortLiteralTest.smali | Smali | bsd | 327 |
""
" "
" "
" "
"aaaaaaaaaaaaaaaaaaaaaaaaaa"
"\"\"\"\\"
"abcd1234"
"abcd 1234"
"ABCD""ABCD"
"1234"
"\n"
"\r"
"\t"
"\b"
"\f"
"\u0030"
"\uABCD"
"\uabcd"
"\\"
"\'"
"'"
"\""
"\n\r\t\b\f\u0030\uABCD\"\\\''\""
"\uABCD01234"
"\uABCDEFGHIJK"
"\u12341234"
"\\\\\\\\\\\\\\\""
"a"a"
"\a"
"
"
"
"\u"
"\u0"
"\ua"
"\uab"
"\u01a"
"\uz... | zzhpublic-mytest | smali/src/test/resources/LexerTest/StringLiteralTest.smali | Smali | bsd | 351 |
..
->
=
:
,
{}()
{ } ( )
{
}
(
)
| zzhpublic-mytest | smali/src/test/resources/LexerTest/SymbolTest.smali | Smali | bsd | 57 |
/*
* The string related lexical rules are derived from rules from the
* Java 1.6 grammar which can be found here:
* http://openjdk.java.net/projects/compiler-grammar/antlrworks/Java.g
*
* Specifically, these rules:
*
* HEX_PREFIX, HEX_DIGIT, ESCAPE_SEQUENCE, STRING_LITERAL, BASE_STRING_LITERAL
*
* These rules ... | zzhpublic-mytest | smali/src/test/antlr3/org/jf/smali/expectedTokensTestGrammar.g | GAP | bsd | 5,355 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-field-tests/Format41c_autofix.smali | Smali | bsd | 4,765 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-field-tests/Format41c.smali | Smali | bsd | 5,102 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-field-tests/Format52c_autofix.smali | Smali | bsd | 5,669 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-field-tests/zzzInstanceFields.smali | Smali | bsd | 1,937 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-field-tests/TestSuite.smali | Smali | bsd | 1,877 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-field-tests/Format52c.smali | Smali | bsd | 6,262 |
.class public LAssert;
.super Ljava/lang/Object;
.source "Assert.smali"
#junit's Assert doesn't have an AssertEquals method for ints, only longs
.method public static assertEquals(II)V
.registers 4
int-to-long v0, p1
int-to-long p0, p0
invoke-static {v0, v1, p0, p1}, Lorg/junit/Assert;->assertEquals(... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-field-tests/Assert.smali | Smali | bsd | 963 |
.class public LAllTests;
.super Ljava/lang/Object;
.annotation runtime Lorg/junit/runner/RunWith;
value = Lorg/junit/runners/Suite;
.end annotation
.annotation runtime Lorg/junit/runners/Suite$SuiteClasses;
value = { LFormat31c; }
.end annotation
| zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-string-tests/TestSuite.smali | Smali | bsd | 259 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/Format5rc.smali | Smali | bsd | 76,965 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/Format5rc_autofix.smali | Smali | bsd | 4,768 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/zzzRangeMethodsInterface_autofix.smali | Smali | bsd | 1,663 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/zzzRangeMethodsSuper_autofix.smali | Smali | bsd | 2,269 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/zzzRangeMethodsInterface.smali | Smali | bsd | 1,949 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/zzzRangeMethodsSuper.smali | Smali | bsd | 28,702 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/zzzRangeMethods.smali | Smali | bsd | 42,020 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/TestSuite.smali | Smali | bsd | 1,798 |
#Copyright 2011, Google Inc.
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
#met:
#
# * Redistributions of source code must retain the above copyright
#notice, this list of conditions and the followin... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/zzzRangeMethods_autofix.smali | Smali | bsd | 2,400 |
.class public LAssert;
.super Ljava/lang/Object;
.source "Assert.smali"
#junit's Assert doesn't have an AssertEquals method for ints, only longs
.method public static assertEquals(II)V
.registers 4
int-to-long v0, p1
int-to-long p0, p0
invoke-static/jumbo {v0 .. p1}, Lorg/junit/Assert;->assertEquals(... | zzhpublic-mytest | smali-integration-tests/src/test/smali/jumbo-method-tests/Assert.smali | Smali | bsd | 963 |
.class public LStaticFieldInitializerTest;
.super Ljava/lang/Object;
.field public static longStaticField:J = 0x300000000L
.field public static longNegStaticField:J = -0x300000000L
.field public static intStaticField:I = 0x70000000
.field public static intNegStaticField:I = -500
.field public static shortStaticFiel... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/StaticFieldInitializerTest/StaticFieldInitializerTest.smali | Smali | bsd | 8,363 |
.class public LLineTest;
.super Ljava/lang/Object;
.source "LineTest.smali"
#this class tests line debug info
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public largerThanSignedShort()V
.registers 1
.annotatio... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/LineTest/LineTest.smali | Smali | bsd | 929 |
.class public LSpecialInstructionPaddingTest;
.super Ljava/lang/Object;
.source "InstructionPaddingTest.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test()V
.registers 2
.annotation runtime Lorg/ju... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/SpecialInstructionPaddingTest/SpecialInstructionPaddingTest.smali | Smali | bsd | 2,895 |
.class public abstract interface annotation LTestAnnotationClass;
.super Ljava/lang/Object;
.implements Ljava/lang/annotation/Annotation;
.method public abstract stringValue()Ljava/lang/String;
.end method
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation LAnnotationWithValues;
... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/AnnotationTests/TestAnnotationClass.smali | Smali | bsd | 422 |
.class public LAnnotationTests;
.super Ljava/lang/Object;
.source "AnnotationTests.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.annotation runtime LTestAnnotationClass;
stringValue = "Class Annotation Test"
.end ann... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/AnnotationTests/AnnotationTests.smali | Smali | bsd | 4,417 |
.class public LAssert;
.super Ljava/lang/Object;
.source "Assert.smali"
#junit's Assert doesn't have an AssertEquals method for ints, only longs
.method public static assertEquals(II)V
.registers 4
int-to-long v0, p1
int-to-long p0, p0
invoke-static {v0, v1, p0, p1}, Lorg/junit/Assert;->assertEquals(... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/Util/Assert.smali | Smali | bsd | 963 |
.class public LGotoTest;
.super Ljava/lang/Object;
.source "GotoTest.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public testGoto()V
.registers 2
.annotation runtime Lorg/junit/Test;
.end annotation
... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/AutofixTests/GotoTest.smali | Smali | bsd | 18,329 |
.class public LExceptionTest;
.super Ljava/lang/Object;
.source "ExceptionTest.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public singleCatchTest()V
.registers 2
.annotation runtime Lorg/junit/Test;
... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/ExceptionTest/ExceptionTest.smali | Smali | bsd | 1,955 |
.class public LFormat21h;
.super Ljava/lang/Object;
.source "Format21h.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test_const-high16()V
.registers 2
.annotation runtime Lorg/junit/Test;
.end a... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format21h/Format21h.smali | Smali | bsd | 764 |
.class public LFormat11n;
.super Ljava/lang/Object;
.source "Format11n.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test_const-4()V
.registers 2
.annotation runtime Lorg/junit/Test;
.end annota... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format11n/Format11n.smali | Smali | bsd | 444 |
.class public LFormat22x;
.super Ljava/lang/Object;
.source "Format22x.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test_move-from16()V
.registers 276
.annotation runtime Lorg/junit/Test;
.end ... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format22x/Format22x.smali | Smali | bsd | 1,132 |
.class public LFormat21t;
.super Ljava/lang/Object;
.source "Format21t.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test_if-eqz()V
.registers 1
.annotation runtime Lorg/junit/Test;
.end annotat... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format21t/Format21t.smali | Smali | bsd | 2,425 |
.class public LFormat22s;
.super Ljava/lang/Object;
.source "Format22s.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test_add-int-lit8()V
.registers 2
.annotation runtime Lorg/junit/Test;
.end a... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format22s/Format22s.smali | Smali | bsd | 2,353 |
.class public LFormat21s;
.super Ljava/lang/Object;
.source "Format21s.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test_const-16()V
.registers 2
.annotation runtime Lorg/junit/Test;
.end annot... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format21s/Format21s.smali | Smali | bsd | 727 |
.class public LStaticFields;
.super Ljava/lang/Object;
.field public static staticField:I
.field public static staticWideField:J
.field public static staticObjectField:Ljava/lang/String;
.field public static staticBooleanField:Z
.field public static staticByteField:B
.field public static staticCharField:C
.field publi... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format21c/StaticFields.smali | Smali | bsd | 347 |
.class public LStringWrapper;
.super Ljava/lang/Object;
.field private stringValue:Ljava/lang/String;
.method public constructor <init>(Ljava/lang/String;)V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, LStringWrapper;->stringValue:Ljava/lang/String;
return-void... | zzhpublic-mytest | smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format21c/StringWrapper.smali | Smali | bsd | 501 |