Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/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.c201 void SHA1Init(SHA1_CTX* context) in SHA1Init() argument
204 context->state[0] = 0x67452301; in SHA1Init()
205 context->state[1] = 0xEFCDAB89; in SHA1Init()
206 context->state[2] = 0x98BADCFE; in SHA1Init()
207 context->state[3] = 0x10325476; in SHA1Init()
208 context->state[4] = 0xC3D2E1F0; in SHA1Init()
209 context->count[0] = context->count[1] = 0; in SHA1Init()
215 void SHA1Update(SHA1_CTX* context, const unsigned char* data, in SHA1Update() argument
220 j = (context->count[0] >> 3) & 63; in SHA1Update()
221 if ((context->count[0] += len << 3) < (len << 3)) in SHA1Update()
[all …]
DDexFile.c306 SHA1_CTX context; in dexComputeSHA1Digest() local
307 SHA1Init(&context); in dexComputeSHA1Digest()
308 SHA1Update(&context, data, length); in dexComputeSHA1Digest()
309 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.java81 protected Attribute parse0(DirectClassFile cf, int context, String name, in parse0() argument
83 switch (context) { in parse0()
190 return super.parse0(cf, context, name, offset, length, observer); in parse0()
/dalvik/dvz/
Ddvz.c34 static void signal_forwarder (int signal, siginfo_t *si, void *context) in signal_forwarder() argument
/dalvik/vm/
DDebugger.c1361 DebugCallbackContext context; in dvmDbgOutputLineTable() local
1363 memset (&context, 0, sizeof(DebugCallbackContext)); in dvmDbgOutputLineTable()
1381 context.pReply = pReply; in dvmDbgOutputLineTable()
1388 lineTablePositionsCb, NULL, &context); in dvmDbgOutputLineTable()
1390 set4BE(expandBufGetBuffer(pReply) + numLinesOffset, context.numItems); in dvmDbgOutputLineTable()
1466 DebugCallbackContext context; in dvmDbgOutputVariableTable() local
1468 memset (&context, 0, sizeof(DebugCallbackContext)); in dvmDbgOutputVariableTable()
1478 context.pReply = pReply; in dvmDbgOutputVariableTable()
1479 context.withGeneric = withGeneric; in dvmDbgOutputVariableTable()
1485 NULL, variableTableCb, &context); in dvmDbgOutputVariableTable()
[all …]
DInit.c1073 static void busCatcher(int signum, siginfo_t* info, void* context) in busCatcher() argument
/dalvik/vm/interp/
DStack.c825 LineNumFromPcContext context; in dvmLineNumFromPC() local
826 memset(&context, 0, sizeof(context)); in dvmLineNumFromPC()
827 context.address = relPc; in dvmLineNumFromPC()
829 context.lineNum = -1; in dvmLineNumFromPC()
835 lineNumForPcCb, NULL, &context); in dvmLineNumFromPC()
837 return context.lineNum; in dvmLineNumFromPC()