Lines Matching refs:pCode
700 size_t dexGetDexCodeSize(const DexCode* pCode)
710 if (pCode->triesSize != 0) {
711 handlersSize = dexGetHandlersSize(pCode);
712 offset = dexGetFirstHandlerOffset(pCode);
720 dexCatchIteratorInit(&iterator, pCode, offset);
721 offset = dexCatchIteratorGetEndOffset(&iterator, pCode);
724 const u1* handlerData = dexGetCatchHandlerData(pCode);
726 //LOGD("+++ pCode=%p handlerData=%p last offset=%d\n",
727 // pCode, handlerData, offset);
730 return (handlerData - (u1*) pCode) + offset;
850 const DexCode* pCode,
857 const u1 *stream = dexGetDebugInfoStream(pDexFile, pCode);
861 LocalInfo localInReg[pCode->registersSize];
862 u4 insnsSize = pCode->insnsSize;
865 memset(localInReg, 0, sizeof(LocalInfo) * pCode->registersSize);
874 u2 argReg = pCode->registersSize - pCode->insSize;
883 assert(pCode->insSize == (dexProtoComputeArgsSize(&proto) + 1));
890 assert(pCode->insSize == dexProtoComputeArgsSize(&proto));
901 if ((argReg >= pCode->registersSize) || (descriptor == NULL)) {
946 if (reg > pCode->registersSize) goto invalid_stream;
966 if (reg > pCode->registersSize) goto invalid_stream;
974 if (reg > pCode->registersSize) goto invalid_stream;
1019 for (reg = 0; reg < pCode->registersSize; reg++) {