Lines Matching refs:it
181 vector<profile_class>::const_iterator it = classes.v.begin(); in report_error() local
189 for (; it != end && i; ++it) { in report_error()
190 if (name_seen.find(it->name) == name_seen.end()) { in report_error()
191 name_seen.insert(it->name); in report_error()
192 str += it->name + ","; in report_error()
228 vector<profile_class>::const_iterator it = classes.v.begin(); in allow_axes() local
231 for (; it != end; ++it) { in allow_axes()
232 if (it->ptemplate.tgid != it->ptemplate.tid) in allow_axes()
276 list<string>::const_iterator it = files.cg_files.begin(); in merge_header() local
278 for ( ; it != end; ++it) { in merge_header()
279 opd_header const temp = read_header(*it); in merge_header()
297 citerator it = profile.files.begin(); in get_header() local
299 for ( ; it != end; ++it) in get_header()
300 merge_header(*it, header); in get_header()
305 citerator it = dep_it->files.begin(); in get_header() local
307 for ( ; it != end; ++it) in get_header()
308 merge_header(*it, header); in get_header()
328 vector<profile_class>::iterator it = classes.v.begin(); in name_classes() local
331 for (; it != end; ++it) { in name_classes()
332 it->name = axes[classes.axis].name + ":"; in name_classes()
335 it->name = it->ptemplate.event in name_classes()
336 + ":" + it->ptemplate.count; in name_classes()
337 header = get_header(*it, merge_by); in name_classes()
338 it->longname = describe_header(header); in name_classes()
341 it->name += it->ptemplate.tgid; in name_classes()
342 it->longname = "Processes with a thread group ID of "; in name_classes()
343 it->longname += it->ptemplate.tgid; in name_classes()
346 it->name += it->ptemplate.tid; in name_classes()
347 it->longname = "Processes with a thread ID of "; in name_classes()
348 it->longname += it->ptemplate.tid; in name_classes()
351 it->name += it->ptemplate.cpu; in name_classes()
352 it->longname = "Samples on CPU " + it->ptemplate.cpu; in name_classes()
369 vector<profile_class>::iterator it = classes.v.begin(); in identify_classes() local
370 ++it; in identify_classes()
374 if (it == end) in identify_classes()
377 for (; it != end; ++it) { in identify_classes()
378 if (it->ptemplate.event != ptemplate.event in identify_classes()
379 || it->ptemplate.count != ptemplate.count in identify_classes()
382 && it->ptemplate.unitmask != ptemplate.unitmask)) in identify_classes()
389 if (!merge_by.tgid && it->ptemplate.tgid != ptemplate.tgid) in identify_classes()
392 if (!merge_by.tid && it->ptemplate.tid != ptemplate.tid) in identify_classes()
395 if (!merge_by.cpu && it->ptemplate.cpu != ptemplate.cpu) in identify_classes()
422 vector<profile_class>::iterator it = classes.v.begin(); in identify_xml_classes() local
434 for (; it != end; ++it) { in identify_xml_classes()
435 string mask = it->ptemplate.unitmask; in identify_xml_classes()
438 if (new_event_index(it->ptemplate.event, event_array, event_num)) { in identify_xml_classes()
441 header = get_header(*it, merge_by); in identify_xml_classes()
445 if (it->ptemplate.cpu != "all") { in identify_xml_classes()
446 size_t cpu = atoi(it->ptemplate.cpu.c_str()); in identify_xml_classes()
452 it->ptemplate.event = str.str(); in identify_xml_classes()
552 list<profile_sample_files>::iterator it; in find_profile_sample_files() local
554 for (it = files.begin(); it != end; ++it) { in find_profile_sample_files()
555 if (!it->sample_filename.empty()) { in find_profile_sample_files()
557 parse_filename(it->sample_filename, extra); in find_profile_sample_files()
561 return *it; in find_profile_sample_files()
565 list<string>::const_iterator const cend = it->cg_files.end(); in find_profile_sample_files()
566 for (cit = it->cg_files.begin(); cit != cend; ++cit) { in find_profile_sample_files()
572 return *it; in find_profile_sample_files()
598 list<profile_dep_set>::iterator it = set.deps.begin(); in add_to_profile_set() local
601 for (; it != end; ++it) { in add_to_profile_set()
602 if (it->lib_image == parsed.lib_image && !merge_by_lib && in add_to_profile_set()
605 find_profile_sample_files(it->files, parsed, in add_to_profile_set()
629 list<profile_set>::iterator it = pclass.profiles.begin(); in add_profile() local
632 for (; it != end; ++it) { in add_profile()
633 if (it->image == parsed.image) { in add_profile()
634 add_to_profile_set(*it, parsed, merge_by_lib, extra); in add_profile()
654 list<string>::const_iterator it = files.begin(); in arrange_profiles() local
657 for (; it != end; ++it) { in arrange_profiles()
658 parsed_filename parsed = parse_filename(*it, extra); in arrange_profiles()
709 list<profile_sample_files>::const_iterator it; in operator <<() local
713 for (it = pdep_set.files.begin(); it != end; ++it) in operator <<()
714 out << "profile_sample_files #" << i++ << ":\n" << *it; in operator <<()
723 list<profile_sample_files>::const_iterator it; in operator <<() local
727 for (it = pset.files.begin(); it != end; ++it) in operator <<()
728 out << "profile_sample_files #" << i++ << ":\n" << *it; in operator <<()
757 list<profile_set>::const_iterator it; in operator <<() local
759 for (it = pclass.profiles.begin(); it != end; ++it) in operator <<()
760 out << "profiles_set #" << i++ << ":\n" << *it; in operator <<()
813 app_map_t::iterator it = app_map.begin(); in verify_and_fill() local
816 for (; it != end; ++it) { in verify_and_fill()
817 plist.push_back(it->second); in verify_and_fill()