Home
last modified time | relevance | path

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

/dalvik/dexgen/src/com/android/dexgen/util/
DExceptionWithContext.java28 private StringBuffer context; field in ExceptionWithContext
83 String ctx = ((ExceptionWithContext) cause).context.toString(); in ExceptionWithContext()
84 context = new StringBuffer(ctx.length() + 200); in ExceptionWithContext()
85 context.append(ctx); in ExceptionWithContext()
87 context = new StringBuffer(200); in ExceptionWithContext()
95 out.println(context); in printStackTrace()
102 out.println(context); in printStackTrace()
115 context.append(str); in addContext()
117 context.append('\n'); in addContext()
127 return context.toString(); in getContext()
[all …]
/dalvik/libdex/
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);
Dsha1.cpp198 void SHA1Init(SHA1_CTX* context) in SHA1Init() argument
201 context->state[0] = 0x67452301; in SHA1Init()
202 context->state[1] = 0xEFCDAB89; in SHA1Init()
203 context->state[2] = 0x98BADCFE; in SHA1Init()
204 context->state[3] = 0x10325476; in SHA1Init()
205 context->state[4] = 0xC3D2E1F0; in SHA1Init()
206 context->count[0] = context->count[1] = 0; in SHA1Init()
212 void SHA1Update(SHA1_CTX* context, const unsigned char* data, in SHA1Update() argument
217 j = (context->count[0] >> 3) & 63; in SHA1Update()
218 if ((context->count[0] += len << 3) < (len << 3)) in SHA1Update()
[all …]
DDexFile.cpp126 SHA1_CTX context; in dexComputeSHA1Digest() local
127 SHA1Init(&context); in dexComputeSHA1Digest()
128 SHA1Update(&context, data, length); in dexComputeSHA1Digest()
129 SHA1Final(digest, &context); in dexComputeSHA1Digest()
/dalvik/dx/src/com/android/dx/cf/direct/
DAttributeFactory.java69 public final Attribute parse(DirectClassFile cf, int context, int offset, in parse() argument
75 if ((context < 0) || (context >= CTX_COUNT)) { in parse()
96 return parse0(cf, context, name.getString(), offset + 6, length, in parse()
121 protected Attribute parse0(DirectClassFile cf, int context, String name, in parse0() argument
DAttributeListParser.java34 private final int context; field in AttributeListParser
60 public AttributeListParser(DirectClassFile cf, int context, int offset, in AttributeListParser() argument
73 this.context = context; in AttributeListParser()
142 attributeFactory.parse(cf, context, at, observer); in parse()
DStdAttributeFactory.java79 protected Attribute parse0(DirectClassFile cf, int context, String name, in parse0() argument
81 switch (context) { in parse0()
188 return super.parse0(cf, context, name, offset, length, observer); in parse0()