Lines Matching refs:ptr

138   const uint8_t* ptr = begin + string_id->string_data_off_;  in GetString()  local
139 DecodeUnsignedLeb128(&ptr); // Ignore the result. in GetString()
140 return reinterpret_cast<const char*>(ptr); in GetString()
224 bool CheckList(size_t element_size, const char* label, const uint8_t* *ptr);
322 uint32_t FindFirstAnnotationsDirectoryDefiner(const uint8_t* ptr);
534 bool DexFileVerifier::CheckList(size_t element_size, const char* label, const uint8_t* *ptr) { in CheckList() argument
536 if (!CheckListSize(*ptr, 1, 4U, label)) { in CheckList()
540 uint32_t count = *reinterpret_cast<const uint32_t*>(*ptr); in CheckList()
542 if (!CheckListSize(*ptr + 4, count, element_size, label)) { in CheckList()
547 *ptr += 4 + count * element_size; in CheckList()
764 #define DECODE_UNSIGNED_CHECKED_FROM_WITH_ERROR_VALUE(ptr, var, error_value) \ argument
766 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \
770 #define DECODE_UNSIGNED_CHECKED_FROM(ptr, var) \ argument
772 if (!DecodeUnsignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \
777 #define DECODE_SIGNED_CHECKED_FROM(ptr, var) \ argument
779 if (!DecodeSignedLeb128Checked(&(ptr), begin_ + size_, &(var))) { \
1392 const uint8_t* ptr = ptr_; in CheckIntraClassDataItemFields() local
1398 if (UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &field_idx_diff)) || in CheckIntraClassDataItemFields()
1399 UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &access_flags))) { in CheckIntraClassDataItemFields()
1421 ptr_ = ptr; in CheckIntraClassDataItemFields()
1432 const uint8_t* ptr = ptr_; in CheckIntraClassDataItemMethods() local
1445 if (UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &method_idx_diff)) || in CheckIntraClassDataItemMethods()
1446 UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &access_flags)) || in CheckIntraClassDataItemMethods()
1447 UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &code_off))) { in CheckIntraClassDataItemMethods()
1486 ptr_ = ptr; in CheckIntraClassDataItemMethods()
1492 const uint8_t* ptr = ptr_; in CheckIntraClassDataItem() local
1496 if (UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &static_fields_size)) || in CheckIntraClassDataItem()
1497 UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &instance_fields_size)) || in CheckIntraClassDataItem()
1498 UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &direct_methods_size)) || in CheckIntraClassDataItem()
1499 UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &virtual_methods_size))) { in CheckIntraClassDataItem()
1503 ptr_ = ptr; in CheckIntraClassDataItem()
2451 uint32_t DexFileVerifier::FindFirstAnnotationsDirectoryDefiner(const uint8_t* ptr) { in FindFirstAnnotationsDirectoryDefiner() argument
2455 reinterpret_cast<const dex::AnnotationsDirectoryItem*>(ptr); in FindFirstAnnotationsDirectoryDefiner()