Lines Matching refs:itr
218 for ( inspector_list::const_iterator itr = insp_list.begin(); in check() local
219 itr != insp_list.end(); ++itr ) in check()
221 itr->inspector->inspect( lib, pth ); // always call two-argument form in check()
222 if ( find_signature( pth, itr->inspector->signatures() ) ) in check()
224 itr->inspector->inspect( lib, pth, content ); in check()
238 for ( DirectoryIterator itr( dir_path ); itr != end_itr; ++itr ) in visit_all() local
240 if ( fs::is_directory( *itr ) ) in visit_all()
242 if ( visit_predicate( *itr ) ) in visit_all()
244 string cur_lib( boost::inspect::impute_library( *itr ) ); in visit_all()
245 check( cur_lib, *itr, "", insps ); in visit_all()
246 visit_all<DirectoryIterator>( cur_lib, *itr, insps ); in visit_all()
249 else if (itr->path().leaf().string()[0] != '.') // ignore if hidden in visit_all()
253 load_content( *itr, content ); in visit_all()
256 *itr, content, insps ); in visit_all()
312 for ( error_msg_vector::iterator itr ( msgs.begin() ); in display_summary() local
313 itr != msgs.end(); ++itr ) in display_summary()
315 if ( current_library != itr->library ) in display_summary()
318 current_library = itr->library; in display_summary()
367 for ( error_msg_vector::iterator itr ( msgs.begin() ); in display_details() local
368 itr != msgs.end(); ++itr ) in display_details()
370 if ( current.library != itr->library ) in display_details()
373 std::cout << "\n|" << itr->library << "|\n"; in display_details()
375 std::cout << "\n\n|" << itr->library << '|'; in display_details()
378 if ( current.library != itr->library in display_details()
379 || current.rel_path != itr->rel_path ) in display_details()
383 std::cout << " " << itr->rel_path << ":\n"; in display_details()
388 path this_rel_path(itr->rel_path); in display_details()
396 if ( current.library != itr->library in display_details()
397 || current.rel_path != itr->rel_path in display_details()
398 || current.msg != itr->msg ) in display_details()
400 const string m = itr->msg; in display_details()
407 current.library = itr->library; in display_details()
408 current.rel_path = itr->rel_path; in display_details()
409 current.msg = itr->msg; in display_details()
419 for ( error_msg_vector::iterator itr ( msgs.begin() ); in display_details() local
420 itr != msgs.end(); ++itr ) in display_details()
422 if ( current.library != itr->library ) in display_details()
425 std::cout << "\n<h3><a name=\"" << itr->library in display_details()
426 << "\">" << itr->library << "</a></h3>\n<pre>"; in display_details()
428 if ( current.library != itr->library in display_details()
429 || current.rel_path != itr->rel_path ) in display_details()
432 std::cout << itr->rel_path; in display_details()
435 if ( current.library != itr->library in display_details()
436 || current.rel_path != itr->rel_path in display_details()
437 || current.msg != itr->msg ) in display_details()
441 if (itr->line_number) sep = ":<br> "; in display_details()
444 if (itr->line_number) sep = "<br> "; in display_details()
448 if (itr->line_number) in display_details()
449 std::cout << sep << "(line " << itr->line_number << ") " << html_encode(itr->msg); in display_details()
450 else std::cout << sep << html_encode(itr->msg); in display_details()
454 current.library = itr->library; in display_details()
455 current.rel_path = itr->rel_path; in display_details()
456 current.msg = itr->msg; in display_details()
483 for ( error_msg_vector::iterator itr ( msgs.begin() ); in worst_offenders_count() local
484 itr != msgs.end(); ++itr ) in worst_offenders_count()
486 if ( current_library != itr->library ) in worst_offenders_count()
489 current_library = itr->library; in worst_offenders_count()
517 for ( lib_error_count_vector::iterator itr ( libs.begin() ); in display_worst_offenders() local
518 itr != libs.end() in display_worst_offenders()
520 || itr->error_count == last_error_count); in display_worst_offenders()
521 ++itr, ++display_count ) in display_worst_offenders()
525 std::cout << itr->library << " " << itr->error_count << "\n"; in display_worst_offenders()
531 << itr->library in display_worst_offenders()
532 << "\">" << itr->library in display_worst_offenders()
534 << itr->error_count << ")<br>\n"; in display_worst_offenders()
536 last_error_count = itr->error_count; in display_worst_offenders()
902 for ( inspector_list::iterator itr = inspectors.begin(); in main() local
903 itr != inspectors.end(); ++itr ) in main()
905 itr->inspector->close(); in main()
979 for ( inspector_list::iterator itr = inspectors.begin(); in main() local
980 itr != inspectors.end(); ++itr ) in main()
984 + itr->inspector->name() in main()
985 + ' ' + itr->inspector->desc() in main()