Lines Matching defs:bp
873 int32_t getSrcLine(int32_t bp);
874 int32_t getExpectedBreak(int32_t bp);
875 int32_t getSrcCol(int32_t bp);
950 int32_t TestParams::getSrcLine(int bp) {
951 if (bp >= textMap->size()) {
952 bp = textMap->size() - 1;
955 for(; bp >= 0 ; --bp) {
957 i = textMap->elementAti(bp);
966 int32_t TestParams::getExpectedBreak(int bp) {
967 if (bp >= textMap->size()) {
970 int32_t i = textMap->elementAti(bp);
979 int32_t TestParams::getSrcCol(int bp) {
980 if (bp >= textMap->size()) {
981 bp = textMap->size() - 1;
984 for(; bp >= 0; --bp) {
985 // Move bp to a character boundary if we are not on one already.
986 i = textMap->elementAti(bp);
996 int32_t bp;
1014 for (bp = t->bi->first(); bp != BreakIterator::DONE; bp = t->bi->next()) {
1015 if (prevBP == bp) {
1018 bp, t->getSrcLine(bp), t->getSrcCol(bp));
1024 for (i=prevBP+1; i<bp; i++) {
1034 if (t->getExpectedBreak(bp) == 0) {
1035 int expected[] = {0, bp};
1038 bp, t->getSrcLine(bp), t->getSrcCol(bp));
1042 int32_t expectedTagVal = t->getExpectedBreak(bp);
1046 int32_t line = t->getSrcLine(bp);
1051 bp, line, t->getSrcCol(bp), rs, expectedTagVal);
1055 prevBP = bp;
1070 for (bp = t->bi->last(); bp != BreakIterator::DONE; bp = t->bi->previous()) {
1071 if (prevBP == bp) {
1074 bp, t->getSrcLine(bp), t->getSrcCol(bp));
1080 for (i=prevBP-1; i>bp; i--) {
1088 if (t->getExpectedBreak(bp) == 0) {
1090 bp, t->getSrcLine(bp), t->getSrcCol(bp));
1094 int32_t expectedTagVal = t->getExpectedBreak(bp);
1098 int line = t->getSrcLine(bp);
1103 bp, line, t->getSrcCol(bp), rs, expectedTagVal);
1107 prevBP = bp;