Lines Matching defs:names
1227 // Function and local names will be decoded when needed.
1238 // Skip the whole names section in the outer decoder.
2483 std::unordered_map<uint32_t, WireBytesRef>* names) {
2484 DCHECK_NOT_NULL(names);
2485 DCHECK(names->empty());
2506 // Be lenient with errors in the name section: Ignore non-UTF8 names.
2510 names->insert(std::make_pair(function_index, name));
2522 std::vector<NameAssoc> names;
2535 uint32_t count = decoder.consume_u32v("names count");
2542 names.emplace_back(static_cast<int>(index), name);
2545 std::stable_sort(names.begin(), names.end(), NameAssoc::IndexLess{});
2546 return NameMap{std::move(names)};
2571 std::vector<NameAssoc> names;
2578 // Ignore non-utf8 names.
2580 names.emplace_back(static_cast<int>(inner_index), name);
2582 // Use stable sort to get deterministic names (the first one declared)
2584 std::stable_sort(names.begin(), names.end(), NameAssoc::IndexLess{});
2585 entries.emplace_back(static_cast<int>(outer_index), std::move(names));