Searched refs:context (Results 1 - 7 of 7) sorted by relevance

/dalvik/libdex/
H A Dsha1.h15 void SHA1Init(SHA1_CTX* context);
16 void SHA1Update(SHA1_CTX* context, const unsigned char* data,
18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
H A Dsha1.cpp25 void SHA1Update(SHA1_CTX* context, unsigned char* data,
28 void SHA1Update(SHA1_CTX* context, unsigned char* data,
151 /* Copy context->state[] to working vars */
186 /* Add the working vars back into context.state[] */
199 /* SHA1Init - Initialize new context */
201 void SHA1Init(SHA1_CTX* context) argument
204 context->state[0] = 0x67452301;
205 context->state[1] = 0xEFCDAB89;
206 context->state[2] = 0x98BADCFE;
207 context
215 SHA1Update(SHA1_CTX* context, const unsigned char* data, unsigned long len) argument
241 SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context) argument
285 SHA1_CTX context; local
[all...]
H A DDexFile.cpp126 SHA1_CTX context; local
127 SHA1Init(&context);
128 SHA1Update(&context, data, length);
129 SHA1Final(digest, &context);
/dalvik/dexgen/src/com/android/dexgen/util/
H A DExceptionWithContext.java23 * 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/dx/cf/direct/
H A DAttributeFactory.java30 * 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 DAttributeListParser.java33 /** 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 DStdAttributeFactory.java79 protected Attribute parse0(DirectClassFile cf, int context, String name, argument
81 switch (context) {
188 return super.parse0(cf, context, name, offset, length, observer);

Completed in 531 milliseconds