Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:start_b

77 var start_b = 35 + comment_line_length;
89 assertEquals(start_b, Debug.sourcePosition(b));
157 assertEquals(start_b, script.locationFromPosition(start_b).position);
158 assertEquals(1, script.locationFromPosition(start_b).line - comment_lines);
159 assertEquals(13, script.locationFromPosition(start_b).column);
211 assertEquals(start_b, script.locationFromLine(0, 0, start_b).position);
212 assertEquals(1, script.locationFromLine(0, 0, start_b).line - comment_lines);
213 assertEquals(13, script.locationFromLine(0, 0, start_b).column);
216 assertEquals(start_b + 5, script.locationFromLine(1, 0, start_b).position);
217 assertEquals(2, script.locationFromLine(1, 0, start_b).line - comment_lines);
218 assertEquals(0, script.locationFromLine(1, 0, start_b).column);
221 assertEquals(start_b + 5 + 10, script.locationFromLine(1, 10, start_b).position);
222 assertEquals(2, script.locationFromLine(1, 10, start_b).line - comment_lines);
223 assertEquals(10, script.locationFromLine(1, 10, start_b).column);
227 assertEquals(start_b + 5 + 11, script.locationFromLine(1, 11, start_b).position);
228 assertEquals(3, script.locationFromLine(1, 11, start_b).line - comment_lines);
229 assertEquals(0, script.locationFromLine(1, 11, start_b).column);
233 assertEquals(0 + start_b, Debug.findFunctionSourceLocation(b, 0, 0).position);
234 assertEquals(5 + start_b, Debug.findFunctionSourceLocation(b, 1, 0).position);
235 assertEquals(7 + start_b, Debug.findFunctionSourceLocation(b, 1, 2).position);
236 assertEquals(16 + start_b, Debug.findFunctionSourceLocation(b, 2, 0).position);