/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | ExceptionWithContext.java | 23 * Exception which carries around structured context. 27 /** {@code non-null;} human-oriented context of the exception */ 28 private StringBuffer context; field in class:ExceptionWithContext 31 * Augments the given exception with the given context, and return the 37 * @param str {@code non-null;} context to add 83 String ctx = ((ExceptionWithContext) cause).context.toString(); 84 context = new StringBuffer(ctx.length() + 200); 85 context.append(ctx); 87 context = new StringBuffer(200); 95 out.println(context); [all...] |
/dalvik/dx/src/com/android/dex/util/ |
H A D | ExceptionWithContext.java | 23 * Exception which carries around structured context. 26 /** {@code non-null;} human-oriented context of the exception */ 27 private StringBuffer context; field in class:ExceptionWithContext 30 * Augments the given exception with the given context, and return the 36 * @param str {@code non-null;} context to add 82 String ctx = ((ExceptionWithContext) cause).context.toString(); 83 context = new StringBuffer(ctx.length() + 200); 84 context.append(ctx); 86 context = new StringBuffer(200); 94 out.println(context); [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | AttributeFactory.java | 30 * depending on the context and name. 33 /** context for attributes on class files */ 36 /** context for attributes on fields */ 39 /** context for attributes on methods */ 42 /** context for attributes on code attributes */ 62 * @param context context to parse in; one of the {@code CTX_*} 69 public final Attribute parse(DirectClassFile cf, int context, int offset, argument 75 if ((context < 0) || (context > 121 parse0(DirectClassFile cf, int context, String name, int offset, int length, ParseObserver observer) argument [all...] |
H A D | AttributeListParser.java | 33 /** attribute parsing context */ 34 private final int context; field in class:AttributeListParser 56 * @param context attribute parsing context (see {@link AttributeFactory}) 60 public AttributeListParser(DirectClassFile cf, int context, int offset, argument 73 this.context = context; 142 attributeFactory.parse(cf, context, at, observer);
|
H A D | StdAttributeFactory.java | 84 protected Attribute parse0(DirectClassFile cf, int context, String name, argument 86 switch (context) { 199 return super.parse0(cf, context, name, offset, length, observer);
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
H A D | CfTranslator.java | 91 * @param context {@code non-null;} the state global to this invocation. 99 public static ClassDefItem translate(DxContext context, DirectClassFile cf, byte[] bytes, argument 102 return translate0(context, cf, bytes, cfOptions, dexOptions, dexFile); 115 * @param context {@code non-null;} the state global to this invocation. 123 private static ClassDefItem translate0(DxContext context, DirectClassFile cf, byte[] bytes, argument 126 context.optimizerOptions.loadOptimizeLists(cfOptions.optimizeListFile, 150 processMethods(context, cf, cfOptions, dexOptions, out, dexFile); 270 * @param context {@code non-null;} the state global to this invocation. 277 private static void processMethods(DxContext context, DirectClassFile cf, CfOptions cfOptions, argument 320 context 406 updateDexStatistics(DxContext context, CfOptions cfOptions, DexOptions dexOptions, RopMethod optRmeth, RopMethod nonOptRmeth, LocalVariableInfo locals, int paramSize, int originalByteCount) argument [all...] |
/dalvik/libdex/ |
H A D | sha1.cpp | 25 void SHA1Update(SHA1_CTX* context, unsigned char* data, 28 void SHA1Update(SHA1_CTX* context, unsigned char* data, 148 /* Copy context->state[] to working vars */ 183 /* Add the working vars back into context.state[] */ 196 /* SHA1Init - Initialize new context */ 198 void SHA1Init(SHA1_CTX* context) argument 201 context->state[0] = 0x67452301; 202 context->state[1] = 0xEFCDAB89; 203 context->state[2] = 0x98BADCFE; 204 context 212 SHA1Update(SHA1_CTX* context, const unsigned char* data, unsigned long len) argument 238 SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context) argument 282 SHA1_CTX context; local [all...] |
H A D | DexFile.cpp | 126 SHA1_CTX context; local 127 SHA1Init(&context); 128 SHA1Update(&context, data, length); 129 SHA1Final(digest, &context);
|
/dalvik/dx/src/com/android/dx/merge/ |
H A D | DexMerger.java | 48 private final DxContext context; field in class:DexMerger 91 public DexMerger(Dex[] dexes, CollisionPolicy collisionPolicy, DxContext context) argument 93 this(dexes, collisionPolicy, context, new WriterSizes(dexes)); 96 private DexMerger(Dex[] dexes, CollisionPolicy collisionPolicy, DxContext context, argument 100 this.context = context; 209 new Dex[] {dexOut, new Dex(0)}, CollisionPolicy.FAIL, context, compactedSizes); 211 context.out.printf("Result compacted from %.1fKiB to %.1fKiB to save %.1fKiB%n", 219 context.out.printf("Merged dex #%d (%d defs/%.1fKiB)%n", 224 context [all...] |
/dalvik/dx/src/com/android/dx/command/dexer/ |
H A D | Main.java | 211 * committed to translation in the context of the current dex 216 * committed to translation in the context of the current dex 232 private final DxContext context; field in class:Main 234 public Main(DxContext context) { argument 235 this.context = context; 243 DxContext context = new DxContext(); 244 Arguments arguments = new Arguments(context); 247 int result = new Main(context).runDx(arguments); 303 context 1251 public final DxContext context; field in class:Main.Arguments 1360 Arguments(DxContext context) argument [all...] |