Lines Matching refs:u1

47     const u1*         fileStart;
48 const u1* fileEnd; // points to fileStart + fileLen
67 return ((const u1*) ptr) - state->fileStart; in fileOffset()
108 const u1* _startPtr = (const u1*) filePointer(state, (_start)); \
109 const u1* _endPtr = (const u1*) filePointer(state, (_end)); \
139 const u1* _start = (const u1*) (_ptr); \
140 const u1* _end = _start + ((_count) * (_elemSize)); \
911 const u1* data = (const u1*) filePointer(state, offset); in verifyClassDataIsForDef()
1042 static u1* swapFieldAnnotations(const CheckState* state, u4 count, u1* addr) { in swapFieldAnnotations()
1065 return (u1*) item; in swapFieldAnnotations()
1071 static u1* swapMethodAnnotations(const CheckState* state, u4 count, u1* addr) { in swapMethodAnnotations()
1094 return (u1*) item; in swapMethodAnnotations()
1100 static u1* swapParameterAnnotations(const CheckState* state, u4 count, in swapParameterAnnotations()
1101 u1* addr) { in swapParameterAnnotations()
1124 return (u1*) item; in swapParameterAnnotations()
1138 u1* addr = (u1*) (item + 1); in swapAnnotationsDirectoryItem()
1166 static const u1* crossVerifyFieldAnnotations(const CheckState* state, u4 count, in crossVerifyFieldAnnotations()
1167 const u1* addr, u4 definingClass) { in crossVerifyFieldAnnotations()
1181 return (const u1*) item; in crossVerifyFieldAnnotations()
1186 static const u1* crossVerifyMethodAnnotations(const CheckState* state, in crossVerifyMethodAnnotations()
1187 u4 count, const u1* addr, u4 definingClass) { in crossVerifyMethodAnnotations()
1201 return (const u1*) item; in crossVerifyMethodAnnotations()
1206 static const u1* crossVerifyParameterAnnotations(const CheckState* state, in crossVerifyParameterAnnotations()
1207 u4 count, const u1* addr, u4 definingClass) { in crossVerifyParameterAnnotations()
1222 return (const u1*) item; in crossVerifyParameterAnnotations()
1268 const u1* addr = (const u1*) (item + 1); in crossVerifyAnnotationsDirectoryItem()
1381 const u1* data = item->annotation; in annotationItemTypeIdx()
1535 const u1* data = (const u1*) ptr; in intraVerifyClassDataItem()
1588 const u1* data = (const u1*) ptr; in crossVerifyClassDataItem()
1636 const u1* fileEnd = state->fileEnd; in setHandlerOffsAndVerify()
1637 const u1* handlersBase = dexGetCatchHandlerData(code); in setHandlerOffsAndVerify()
1643 const u1* ptr = handlersBase + offset; in setHandlerOffsAndVerify()
1713 const u1* encodedHandlers = dexGetCatchHandlerData(code); in swapTriesAndCatches()
1714 const u1* encodedPtr = encodedHandlers; in swapTriesAndCatches()
1783 return (u1*) encodedHandlers + endOffset; in swapTriesAndCatches()
1847 const u1* fileEnd = state->fileEnd; in intraVerifyStringDataItem()
1848 const u1* data = (const u1*) ptr; in intraVerifyStringDataItem()
1864 u1 byte1 = *(data++); in intraVerifyStringDataItem()
1902 u1 byte2 = *(data++); in intraVerifyStringDataItem()
1907 u1 byte3 = *(data++); in intraVerifyStringDataItem()
1923 u1 byte2 = *(data++); in intraVerifyStringDataItem()
1948 const u1* fileEnd = state->fileEnd; in intraVerifyDebugInfoItem()
1949 const u1* data = (const u1*) ptr; in intraVerifyDebugInfoItem()
1990 u1 opcode = *(data++); in intraVerifyDebugInfoItem()
2089 static const u1* verifyEncodedValue(const CheckState* state, const u1* data,
2091 static const u1* verifyEncodedAnnotation(const CheckState* state,
2092 const u1* data, bool crossVerify);
2096 static u4 readUnsignedLittleEndian(const CheckState* state, const u1** pData, in readUnsignedLittleEndian()
2098 const u1* data = *pData; in readUnsignedLittleEndian()
2114 static const u1* verifyEncodedArray(const CheckState* state, in verifyEncodedArray()
2115 const u1* data, bool crossVerify) { in verifyEncodedArray()
2137 static const u1* verifyEncodedValue(const CheckState* state, in verifyEncodedValue()
2138 const u1* data, bool crossVerify) { in verifyEncodedValue()
2141 u1 headerByte = *(data++); in verifyEncodedValue()
2257 static const u1* verifyEncodedAnnotation(const CheckState* state, in verifyEncodedAnnotation()
2258 const u1* data, bool crossVerify) { in verifyEncodedAnnotation()
2259 const u1* fileEnd = state->fileEnd; in verifyEncodedAnnotation()
2326 return (void*) verifyEncodedArray(state, (const u1*) ptr, false); in intraVerifyEncodedArrayItem()
2331 const u1* data = (const u1*) ptr; in intraVerifyAnnotationItem()
2352 const u1* data = (const u1*) ptr; in crossVerifyAnnotationItem()
2383 u1* ptr = (u1*) filePointer(state, newOffset); in iterateSectionWithOptionalUpdate()
2386 ptr = (u1*) filePointer(state, offset); in iterateSectionWithOptionalUpdate()
2400 u1* newPtr = (u1*) func(state, ptr); in iterateSectionWithOptionalUpdate()
2513 const u1* ptr = (const u1*) filePointer(state, lastOffset); in swapEverythingButHeaderAndMap()
2613 intraVerifyClassDataItem, sizeof(u1), &lastOffset, in swapEverythingButHeaderAndMap()
2624 intraVerifyStringDataItem, sizeof(u1), &lastOffset, in swapEverythingButHeaderAndMap()
2630 intraVerifyDebugInfoItem, sizeof(u1), &lastOffset, in swapEverythingButHeaderAndMap()
2636 intraVerifyAnnotationItem, sizeof(u1), &lastOffset, in swapEverythingButHeaderAndMap()
2642 intraVerifyEncodedArrayItem, sizeof(u1), &lastOffset, in swapEverythingButHeaderAndMap()
2745 crossVerifyClassDataItem, sizeof(u1), NULL); in crossVerifyEverything()
2773 const u1* magic = pHeader->magic; in dexHasValidMagic()
2774 const u1* version = &magic[4]; in dexHasValidMagic()
2803 int dexSwapAndVerify(u1* addr, int len) in dexSwapAndVerify()
2849 adler = adler32(adler, ((const u1*) pHeader) + nonSum, in dexSwapAndVerify()
2929 int dexSwapAndVerifyIfNecessary(u1* addr, int len) in dexSwapAndVerifyIfNecessary()