Searched refs:opt_idx (Results 1 – 6 of 6) sorted by relevance
91 auto opt_idx = valid_.IndexOf(idx); in Get() local92 return opt_idx ? base::Optional<T>(data_[*opt_idx]) : base::nullopt; in Get()146 auto opt_idx = valid_.IndexOf(idx); in Set() local150 if (PERFETTO_UNLIKELY(opt_idx)) { in Set()151 data_[*opt_idx] = val; in Set()155 opt_idx = valid_.IndexOf(idx); in Set()156 PERFETTO_DCHECK(opt_idx); in Set()157 data_.insert(data_.begin() + static_cast<ptrdiff_t>(*opt_idx), val); in Set()
56 for (unsigned opt_idx = 0; opt_idx < m_opts.size(); ++opt_idx) { in parse() local57 const Option& o = m_opts[opt_idx]; in parse()72 copt.val = opt_idx + 1000; in parse()
303 int c, opt_idx = 0; in main() local347 c = getopt_long(argc, argv, "a:b:hknps:", cmd_opt, &opt_idx); in main()389 cur_opt = cmd_opt_get_name(opt_idx); in main()394 cur_opt = cmd_opt_get_name(opt_idx); in main()399 cur_opt = cmd_opt_get_name(opt_idx); in main()
56 auto opt_idx = FindDescriptorIdx(search_path); in ResolveShortType() local57 if (opt_idx) in ResolveShortType()58 return opt_idx; in ResolveShortType()
233 auto opt_idx = IndexOf(value); in FilterInto() local234 if (opt_idx) { in FilterInto()235 rm->Intersect(RowMap::SingleRow(*opt_idx)); in FilterInto()
808 auto opt_idx = pool_.FindDescriptorIdx(".perfetto.protos.TraceMetrics"); in ComputeMetric() local809 if (!opt_idx.has_value()) in ComputeMetric()812 const auto& root_descriptor = pool_.descriptors()[opt_idx.value()]; in ComputeMetric()