Home | History | Annotate | Download | only in lang

Lines Matching refs:occurrences

1036         int occurrences = 0;
1041 ++ occurrences;
1045 if (occurrences != 6) {
1046 errln("indexOf failed: expected to find 6 occurrences, found "
1047 + occurrences);
1050 occurrences = 0;
1055 ++ occurrences;
1059 if (occurrences != 4) {
1060 errln("indexOf with starting offset failed: expected to find 4 occurrences, found "
1061 + occurrences);
1064 occurrences = 0;
1069 ++ occurrences;
1073 if (occurrences != 4) {
1074 errln("indexOf failed: expected to find 4 occurrences, found "
1075 + occurrences);
1078 occurrences = 0;
1083 ++ occurrences;
1087 if (occurrences != 2) {
1088 errln("indexOf failed: expected to find 2 occurrences, found "
1089 + occurrences);
1092 occurrences = 0;
1097 ++ occurrences;
1101 if (occurrences != 16) {
1102 errln("indexOf with character failed: expected to find 16 occurrences, found "
1103 + occurrences);
1106 occurrences = 0;
1111 ++ occurrences;
1115 if (occurrences != 12) {
1116 errln("indexOf with character & start offset failed: expected to find 12 occurrences, found "
1117 + occurrences);
1120 occurrences = 0;
1125 ++ occurrences;
1129 if (occurrences != 4) {
1130 errln("indexOf failed: expected to find 4 occurrences, found "
1131 + occurrences);
1134 occurrences = 0;
1138 ++ occurrences;
1142 if (occurrences != 3) {
1143 errln("indexOf with character & start & end offsets failed: expected to find 2 occurrences, found "
1144 + occurrences);
1146 occurrences = 0;
1150 ++ occurrences;
1154 if (occurrences != 6) {
1155 errln("lastIndexOf with starting and ending offsets failed: expected to find 4 occurrences, found "
1156 + occurrences);
1158 occurrences = 0;
1162 ++ occurrences;
1166 if (occurrences != 7) {
1167 errln("lastIndexOf with character & start & end offsets failed: expected to find 11 occurrences, found "
1168 + occurrences);
1172 occurrences = 0;
1176 ++ occurrences;
1179 if (occurrences != 3) {
1180 errln("lastIndexOf with character & start & end offsets failed: expected to find 3 occurrences, found "
1181 + occurrences);