• Home
  • Raw
  • Download

Lines Matching refs:data

921     const u1* data = (const u1*) filePointer(state, offset);  in verifyClassDataIsForDef()  local
922 DexClassData* classData = dexReadAndVerifyClassData(&data, NULL); in verifyClassDataIsForDef()
1470 const u1* data = item->annotation; in annotationItemTypeIdx() local
1471 return readUnsignedLeb128(&data); in annotationItemTypeIdx()
1624 const u1* data = (const u1*) ptr; in intraVerifyClassDataItem() local
1625 DexClassData* classData = dexReadAndVerifyClassData(&data, state->fileEnd); in intraVerifyClassDataItem()
1640 return (void*) data; in intraVerifyClassDataItem()
1677 const u1* data = (const u1*) ptr; in crossVerifyClassDataItem() local
1678 DexClassData* classData = dexReadAndVerifyClassData(&data, state->fileEnd); in crossVerifyClassDataItem()
1717 return (void*) data; in crossVerifyClassDataItem()
1940 const u1* data = (const u1*) ptr; in intraVerifyStringDataItem() local
1942 u4 utf16Size = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyStringDataItem()
1951 if (data >= fileEnd) { in intraVerifyStringDataItem()
1956 u1 byte1 = *(data++); in intraVerifyStringDataItem()
1994 u1 byte2 = *(data++); in intraVerifyStringDataItem()
1999 u1 byte3 = *(data++); in intraVerifyStringDataItem()
2015 u1 byte2 = *(data++); in intraVerifyStringDataItem()
2030 if (*(data++) != '\0') { in intraVerifyStringDataItem()
2035 return (void*) data; in intraVerifyStringDataItem()
2041 const u1* data = (const u1*) ptr; in intraVerifyDebugInfoItem() local
2045 readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2053 readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2067 readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2082 u1 opcode = *(data++); in intraVerifyDebugInfoItem()
2090 readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2094 readAndVerifySignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2099 u4 regNum = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2105 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2111 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2121 u4 regNum = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2131 u4 regNum = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2137 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2143 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2149 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2158 u4 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in intraVerifyDebugInfoItem()
2177 return (void*) data; in intraVerifyDebugInfoItem()
2181 static const u1* verifyEncodedValue(const CheckState* state, const u1* data,
2184 const u1* data, bool crossVerify);
2190 const u1* data = *pData; in readUnsignedLittleEndian() local
2194 CHECK_PTR_RANGE(data, data + size); in readUnsignedLittleEndian()
2197 result |= ((u4) *(data++)) << (i * 8); in readUnsignedLittleEndian()
2200 *pData = data; in readUnsignedLittleEndian()
2207 const u1* data, bool crossVerify) { in verifyEncodedArray() argument
2209 u4 size = readAndVerifyUnsignedLeb128(&data, state->fileEnd, &okay); in verifyEncodedArray()
2217 data = verifyEncodedValue(state, data, crossVerify); in verifyEncodedArray()
2218 if (data == NULL) { in verifyEncodedArray()
2224 return data; in verifyEncodedArray()
2237 const u1* data, bool crossVerify) { in verifyEncodedValue() argument
2238 CHECK_PTR_RANGE(data, data + 1); in verifyEncodedValue()
2240 u1 headerByte = *(data++); in verifyEncodedValue()
2250 data++; in verifyEncodedValue()
2259 data += valueArg + 1; in verifyEncodedValue()
2268 data += valueArg + 1; in verifyEncodedValue()
2273 data += valueArg + 1; in verifyEncodedValue()
2281 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); in verifyEncodedValue()
2290 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); in verifyEncodedValue()
2299 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); in verifyEncodedValue()
2308 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); in verifyEncodedValue()
2318 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); in verifyEncodedValue()
2327 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); in verifyEncodedValue()
2336 data = verifyEncodedArray(state, data, crossVerify); in verifyEncodedValue()
2344 data = verifyEncodedAnnotation(state, data, crossVerify); in verifyEncodedValue()
2369 return data; in verifyEncodedValue()
2375 const u1* data, bool crossVerify) { in verifyEncodedAnnotation() argument
2378 u4 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in verifyEncodedAnnotation()
2395 u4 size = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in verifyEncodedAnnotation()
2405 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); in verifyEncodedAnnotation()
2430 data = verifyEncodedValue(state, data, crossVerify); in verifyEncodedAnnotation()
2433 if (data == NULL) { in verifyEncodedAnnotation()
2438 return data; in verifyEncodedAnnotation()
2448 const u1* data = (const u1*) ptr; in intraVerifyAnnotationItem() local
2450 CHECK_PTR_RANGE(data, data + 1); in intraVerifyAnnotationItem()
2452 switch (*(data++)) { in intraVerifyAnnotationItem()
2459 ALOGE("Bogus annotation visibility: %#x", *data); in intraVerifyAnnotationItem()
2464 return (void*) verifyEncodedAnnotation(state, data, false); in intraVerifyAnnotationItem()