Lines Matching refs:first

146 +    iterator               ifl = filename.first;
172 + iterator i = current_file_name.first;
195 + Files_Iterator_t tmp = files.insert(v).first;
245 + Ordered_Files_t::iterator first, last;
247 + for(first = files_in_order.begin(),
249 first != last;
250 ++first
253 + Files_Iterator_t i = *first;
255 + cout << CovStream::fullname(i->first) << "," << endl;
271 + ++instrumented_lines[r.first]; // for each ref, increment the
276 + cout << r.first << "," << r.second << "," << endl;
423 while(t.first != end);
480 iterator input = t.first;
493 + if(t.first == end)
496 + if(*t.first == '\n')
517 + if(*t.first == '#')
519 + output_token(t.first, t.second); // the #
523 + if(t.first == end)
528 + output_token(t.first, t.second);
530 + if( isdigit(*t.first) )
536 + iterator scan = t.first;
549 + if(t.first != end && *t.first != '\n')
550 + output_token(t.first, t.second);
559 + while(t.first != end && *t.first != '\n')
563 + if(t.first != end && *t.first != '\n')
564 + output_token(t.first, t.second);
590 + output_token(t.first, t.second);
592 while(t.first != end && *t.first != ';');
618 bool compare_token(iterator first, iterator last, char const *s)
620 + while(first != last && *s && *first == *s)
622 + ++first;
626 + if(first == last && *s == 0)
648 + if(t.first == end || *t.first == ';' || *t.first == '}')
649 + output_token(t.first,t.second);
653 + if(compare_token(t.first, t.second, "extern"))
659 + if(t.first != end && *t.first == '"')
661 + output_token(save.first, save.second);
662 + output_token(t.first, t.second);
666 + if(t.first != end)
668 + if(*t.first == '{')
672 + output_token(t.first, t.second);
679 while(t.first != end && *t.first != '}');
681 + output_token(t.first, t.second);
699 + output_token(save.first, save.second);
706 + if(compare_token(t.first, t.second, "struct") ||
707 compare_token(t.first, t.second, "class") ||
708 compare_token(t.first, t.second, "union") ||
709 compare_token(t.first, t.second, "namespace")
714 + if(*t.first == 's')
717 + if(*t.first == 'u')
720 + if(*t.first == 'n')
726 + if(compare_token(t.first, t.second, "enum") )
732 compare_token(t.first, t.second, "public") ||
733 compare_token(t.first, t.second, "private") ||
734 compare_token(t.first, t.second, "protected")
739 + output_token(t.first, t.second);
741 + output_token(t.first, t.second);
745 + if(compare_token(t.first, t.second, "template") )
750 + if(compare_token(t.first, t.second, "namespace") )
755 + if(compare_token(t.first, t.second, "catch") )
757 + output_token(t.first, t.second);
766 + if(compare_token(t.first, t.second, "typedef") ||
767 compare_token(t.first, t.second, "using")
773 + if(isalnum(*t.first) || *t.first == '_')
779 + output_token(t.first,t.second);
788 + output_token(t.first, t.second); // class, struct, union, etc
792 + while(t.first != end)
796 + if(t.first == end || *t.first == ';' || *t.first == '{')
799 + output_token(t.first, t.second);
802 + if(t.first != end && *t.first != ';')
806 + output_token(t.first, t.second);
811 + while(t.first != end && *t.first != '}')
818 + output_token(t.first, t.second);
833 + output_token(t.first, t.second);
835 + while(t.first != end)
839 + output_token(t.first, t.second);
841 + if(t.first == end)
844 + if(*t.first == ';' )
847 + if(*t.first == '{' )
852 + if(t.first != end)
856 + while(t.first != end)
860 + output_token(t.first, t.second);
862 + if(t.first == end || *t.first == '}')
879 + output_token(t.first, t.second);
883 + while(t.first != end)
887 + output_token(t.first, t.second);
889 + if(t.first == end)
892 + if(compare_token(t.first, t.second, "<>"))
895 + if(*t.first == '<')
898 + if(*t.first == '>')
928 + if(t.first == end)
931 + if(*t.first == '{')
934 + if(*t.first == '}')
940 + output_token(t.first, t.second);
942 while(t.first != end && *t.first != ';');
952 + output_token(t.first, t.second);
956 + if( compare_token(t.first, t.second, "struct") ||
957 compare_token(t.first, t.second, "class") ||
958 compare_token(t.first, t.second, "union")
964 + output_token(t.first, t.second);
979 + output_token(t.first, t.second);
990 + if(t.first != end && compare_token(t.first, t.second, "operator") )
996 + output_token(t.first, t.second);
1003 + output_token(t.first, t.second);
1011 + if(t.first != end && *t.first == '(')
1015 + if(t.first != end &&
1016 compare_token(t.first, t.second, "const")
1019 + output_token(t.first, t.second);
1023 + if(t.first != end &&
1024 compare_token(t.first, t.second, "try")
1027 + output_token(t.first, t.second);
1034 + output_token(t.first, t.second);
1036 while(t.first != end &&
1037 *t.first != ';' &&
1038 *t.first != '=' &&
1039 *t.first != '{'
1042 + if(t.first == end || *t.first == ';')
1045 + if(*t.first == '=' )
1058 + while(t.first != end && *t.first != '}')
1063 + output_token(t.first, t.second);
1080 + if(t.first == end)
1085 + if(*t.first == ';')
1087 + output_token(t.first, t.second);
1091 + if(*t.first == '{')
1095 + output_token(t.first, t.second);
1098 + while( t.first != end && *t.first != '}' )
1103 + output_token(t.first, t.second);
1111 + if(compare_token(t.first, t.second, "if") )
1117 + if(compare_token(t.first, t.second, "case") )
1119 + output_token(t.first, t.second); // case
1125 + output_token(t.first, t.second); // label
1127 while(t.first != end && !compare_token(t.first,t.second,":"));
1132 + if(compare_token(t.first, t.second, "default") )
1134 + output_token(t.first, t.second); // default
1138 + output_token(t.first, t.second); // :
1143 + if(compare_token(t.first, t.second, "while") )
1149 + if(compare_token(t.first, t.second, "do") )
1155 + if(compare_token(t.first, t.second, "for") )
1161 + if(compare_token(t.first, t.second, "switch") )
1167 + if(compare_token(t.first, t.second, "enum") )
1173 + if(compare_token(t.first, t.second, "try") )
1179 + if(compare_token(t.first, t.second, "typedef") ||
1180 compare_token(t.first, t.second, "using") ||
1181 compare_token(t.first, t.second, "namespace")
1187 + if(compare_token(t.first, t.second, "class") ||
1188 compare_token(t.first, t.second, "struct")||
1189 compare_token(t.first, t.second, "union")
1203 + output_token(t.first, t.second);
1218 + output_token(t.first, t.second);
1226 + if(t.first == end)
1230 + if(*t.first == ')')
1239 + if(*t.first == '(')
1244 + output_token(t.first, t.second);
1249 + output_token(t.first, t.second);
1259 + output_token(t.first, t.second);
1269 + if(compare_token(t.first, t.second, "else"))
1271 + output_token(t.first, t.second);
1286 + output_token(t.first, t.second);
1302 + output_token(t.first, t.second); // print do, get first token of statement
1310 + output_token(t.first, t.second);
1321 + output_token(t.first, t.second);
1341 + output_token(t.first, t.second);
1352 + output_token(t.first, t.second);
1356 + while(t.first != end && compare_token(t.first, t.second, "catch"))
1358 + output_token(t.first, t.second); // catch