Lines Matching defs:ptr
35 explicit MethodInfo(const uint8_t* ptr) {
36 if (ptr != nullptr) {
37 num_method_indices_ = DecodeUnsignedLeb128(&ptr);
38 region_ = MemoryRegion(const_cast<uint8_t*>(ptr),
44 MethodInfo(uint8_t* ptr, size_t num_method_indices) : num_method_indices_(num_method_indices) {
45 DCHECK(ptr != nullptr);
46 ptr = EncodeUnsignedLeb128(ptr, num_method_indices_);
47 region_ = MemoryRegion(ptr, num_method_indices_ * sizeof(MethodIndexType));
52 uint8_t* ptr = temp;
53 ptr = EncodeUnsignedLeb128(ptr, num_method_indices);
54 return (ptr - temp) + num_method_indices * sizeof(MethodIndexType);