• Home
  • Raw
  • Download

Lines Matching refs:first

43     auto it = strings_.emplace(str, IdxAndDataOffset()).first;  in AddString()
44 CHECK_LT(it->first.length(), 128u); // Don't allow multi-byte length in uleb128. in AddString()
75 auto it = protos_.emplace(proto_key, IdxAndDataOffset()).first; in AddMethod()
76 const ProtoKey* proto = &it->first; // Valid as long as the element remains in protos_. in AddMethod()
110 data_section_size += entry.first.length() + 1u /* length */ + 1u /* null-terminator */; in Build()
129 size_t num_args = entry.first.args.size(); in Build()
171 CHECK_LT(entry.first.size(), 128u); in Build()
173 dex_file_data_[raw_offset] = static_cast<uint8_t>(entry.first.size()); in Build()
174 std::memcpy(&dex_file_data_[raw_offset + 1], entry.first.c_str(), entry.first.size() + 1); in Build()
179 Write32(type_ids_offset + entry.second * sizeof(dex::TypeId), GetStringIdx(entry.first)); in Build()
184 size_t num_args = entry.first.args.size(); in Build()
188 Write32(raw_offset + 0u, GetStringIdx(entry.first.shorty)); in Build()
189 Write16(raw_offset + 4u, GetTypeIdx(entry.first.return_type)); in Build()
196 GetTypeIdx(entry.first.args[i])); in Build()
203 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
204 Write16(raw_offset + 2u, GetTypeIdx(entry.first.type)); in Build()
205 Write32(raw_offset + 4u, GetStringIdx(entry.first.name)); in Build()
210 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
211 auto it = protos_.find(*entry.first.proto); in Build()
214 Write32(raw_offset + 4u, GetStringIdx(entry.first.name)); in Build()