Lines Matching defs:state
66 static inline u4 fileOffset(const CheckState* state, const void* ptr) { in fileOffset()
73 static inline void* filePointer(const CheckState* state, u4 offset) { in filePointer()
85 static inline bool checkPtrRange(const CheckState* state, in checkPtrRange()
207 static bool verifyFieldDefiner(const CheckState* state, u4 definingClass, in verifyFieldDefiner()
214 static bool verifyMethodDefiner(const CheckState* state, u4 definingClass, in verifyMethodDefiner()
224 static size_t calcDefinedClassBitsSize(const CheckState* state) in calcDefinedClassBitsSize()
233 static bool setDefinedClassBit(const CheckState* state, u4 typeIdx) { in setDefinedClassBit()
247 static bool swapDexHeader(const CheckState* state, DexHeader* pHeader) in swapDexHeader()
297 static bool checkHeaderSection(const CheckState* state, u4 sectionOffset, in checkHeaderSection()
369 static bool swapMap(CheckState* state, DexMapList* pMap) in swapMap()
500 static bool checkMapSection(const CheckState* state, u4 sectionOffset, in checkMapSection()
521 static void* swapStringIdItem(const CheckState* state, void* ptr) { in swapStringIdItem()
531 static void* crossVerifyStringIdItem(const CheckState* state, void* ptr) { in crossVerifyStringIdItem()
554 static void* swapTypeIdItem(const CheckState* state, void* ptr) { in swapTypeIdItem()
564 static void* crossVerifyTypeIdItem(const CheckState* state, void* ptr) { in crossVerifyTypeIdItem()
588 static void* swapProtoIdItem(const CheckState* state, void* ptr) { in swapProtoIdItem()
645 static void* crossVerifyProtoIdItem(const CheckState* state, void* ptr) { in crossVerifyProtoIdItem()
738 static void* swapFieldIdItem(const CheckState* state, void* ptr) { in swapFieldIdItem()
750 static void* crossVerifyFieldIdItem(const CheckState* state, void* ptr) { in crossVerifyFieldIdItem()
810 static void* swapMethodIdItem(const CheckState* state, void* ptr) { in swapMethodIdItem()
822 static void* crossVerifyMethodIdItem(const CheckState* state, void* ptr) { in crossVerifyMethodIdItem()
876 static void* swapClassDefItem(const CheckState* state, void* ptr) { in swapClassDefItem()
905 static bool verifyClassDataIsForDef(const CheckState* state, u4 offset, in verifyClassDataIsForDef()
934 static bool verifyAnnotationsDirectoryIsForDef(const CheckState* state, in verifyAnnotationsDirectoryIsForDef()
948 static void* crossVerifyClassDefItem(const CheckState* state, void* ptr) { in crossVerifyClassDefItem()
1042 static u1* swapFieldAnnotations(const CheckState* state, u4 count, u1* addr) { in swapFieldAnnotations()
1072 static u1* swapMethodAnnotations(const CheckState* state, u4 count, u1* addr) { in swapMethodAnnotations()
1102 static u1* swapParameterAnnotations(const CheckState* state, u4 count, in swapParameterAnnotations()
1132 static void* swapAnnotationsDirectoryItem(const CheckState* state, void* ptr) { in swapAnnotationsDirectoryItem()
1169 static const u1* crossVerifyFieldAnnotations(const CheckState* state, u4 count, in crossVerifyFieldAnnotations()
1189 static const u1* crossVerifyMethodAnnotations(const CheckState* state, in crossVerifyMethodAnnotations()
1209 static const u1* crossVerifyParameterAnnotations(const CheckState* state, in crossVerifyParameterAnnotations()
1231 static u4 findFirstAnnotationsDirectoryDefiner(const CheckState* state, in findFirstAnnotationsDirectoryDefiner()
1261 static void* crossVerifyAnnotationsDirectoryItem(const CheckState* state, in crossVerifyAnnotationsDirectoryItem()
1301 static void* swapTypeList(const CheckState* state, void* ptr) in swapTypeList()
1325 static void* swapAnnotationSetRefList(const CheckState* state, void* ptr) { in swapAnnotationSetRefList()
1347 static void* crossVerifyAnnotationSetRefList(const CheckState* state, in crossVerifyAnnotationSetRefList()
1366 static void* swapAnnotationSetItem(const CheckState* state, void* ptr) { in swapAnnotationSetItem()
1395 static void* crossVerifyAnnotationSetItem(const CheckState* state, void* ptr) { in crossVerifyAnnotationSetItem()
1427 static bool verifyFields(const CheckState* state, u4 size, in verifyFields()
1454 static bool verifyMethods(const CheckState* state, u4 size, in verifyMethods()
1503 static bool verifyClassDataItem0(const CheckState* state, in verifyClassDataItem0()
1543 static void* intraVerifyClassDataItem(const CheckState* state, void* ptr) { in intraVerifyClassDataItem()
1566 static u4 findFirstClassDataDefiner(const CheckState* state, in findFirstClassDataDefiner()
1596 static void* crossVerifyClassDataItem(const CheckState* state, void* ptr) { in crossVerifyClassDataItem()
1643 static u4 setHandlerOffsAndVerify(const CheckState* state, in setHandlerOffsAndVerify()
1721 static void* swapTriesAndCatches(const CheckState* state, DexCode* code) { in swapTriesAndCatches()
1797 static void* swapCodeItem(const CheckState* state, void* ptr) { in swapCodeItem()
1858 static void* intraVerifyStringDataItem(const CheckState* state, void* ptr) { in intraVerifyStringDataItem()
1959 static void* intraVerifyDebugInfoItem(const CheckState* state, void* ptr) { in intraVerifyDebugInfoItem()
2108 static u4 readUnsignedLittleEndian(const CheckState* state, const u1** pData, in readUnsignedLittleEndian()
2126 static const u1* verifyEncodedArray(const CheckState* state, in verifyEncodedArray()
2149 static const u1* verifyEncodedValue(const CheckState* state, in verifyEncodedValue()
2269 static const u1* verifyEncodedAnnotation(const CheckState* state, in verifyEncodedAnnotation()
2337 static void* intraVerifyEncodedArrayItem(const CheckState* state, void* ptr) { in intraVerifyEncodedArrayItem()
2342 static void* intraVerifyAnnotationItem(const CheckState* state, void* ptr) { in intraVerifyAnnotationItem()
2363 static void* crossVerifyAnnotationItem(const CheckState* state, void* ptr) { in crossVerifyAnnotationItem()
2385 static bool iterateSectionWithOptionalUpdate(CheckState* state, in iterateSectionWithOptionalUpdate()
2445 static bool iterateSection(CheckState* state, u4 offset, u4 count, in iterateSection()
2455 static bool checkBoundsAndIterateSection(CheckState* state, in checkBoundsAndIterateSection()
2477 static bool iterateDataSection(CheckState* state, u4 offset, u4 count, in iterateDataSection()
2511 static bool swapEverythingButHeaderAndMap(CheckState* state, in swapEverythingButHeaderAndMap()
2685 static bool crossVerifyEverything(CheckState* state, DexMapList* pMap) in crossVerifyEverything()
2819 CheckState state; in dexSwapAndVerify() local