Searched refs:line2 (Results 1 - 25 of 68) sorted by relevance

123

/external/chromium_org/third_party/skia/tests/
H A DPathOpsLineIntersectionTest.cpp84 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, argument
88 SkDPoint result2 = line2.ptAtT(ts[1][i]);
91 result2 = line2.ptAtT(ts[1][i ^ 1]);
101 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { argument
103 SkASSERT(ValidLine(line2));
105 int pts = i.intersect(line1, line2);
108 check_results(reporter, line1, line2, i);
109 if (line1[0] == line1[1] || line2[0] == line2[1]) {
116 ts.horizontal(line2, lef
143 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) argument
198 const SkDLine& line2 = coincidentTests[index][1]; local
203 const SkDLine& line2 = tests[index][1]; local
208 const SkDLine& line2 = noIntersect[index][1]; local
[all...]
H A DPathOpsDLineTest.cpp35 SkDLine line2; local
37 line2.set(pts);
38 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]);
46 line2 = line.subDivide(1, 0);
47 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]);
48 line2 = SkDLine::SubDivide(pts, 1, 0);
49 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[
[all...]
H A DPathOpsQuadLineIntersectionThreadedTest.cpp102 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; local
103 testLineIntersect(state.fReporter, quad, line2, x, y);
/external/skia/tests/
H A DPathOpsLineIntersectionTest.cpp77 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, argument
81 SkDPoint result2 = line2.ptAtT(ts[1][i]);
84 result2 = line2.ptAtT(ts[1][i ^ 1]);
94 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { argument
96 SkASSERT(ValidLine(line2));
98 int pts = i.intersect(line1, line2);
101 check_results(reporter, line1, line2, i);
102 if (line1[0] == line1[1] || line2[0] == line2[1]) {
109 ts.horizontal(line2, lef
136 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) argument
191 const SkDLine& line2 = coincidentTests[index][1]; local
196 const SkDLine& line2 = tests[index][1]; local
201 const SkDLine& line2 = noIntersect[index][1]; local
[all...]
H A DPathOpsDLineTest.cpp35 SkDLine line2; local
37 line2.set(pts);
38 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]);
46 line2 = line.subDivide(1, 0);
47 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]);
48 line2 = SkDLine::SubDivide(pts, 1, 0);
49 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DLineIntersection_Test.cpp41 const _Line& line2 = tests[index][1]; local
43 int pts = intersect(line1, line2, ts);
50 xy_at_t(line2, ts.fT[1][i], result2.x, result2.y);
55 xy_at_t(line2, ts.fT[1][i ^ 1], result2.x, result2.y);
65 const _Line& line2 = noIntersect[index][1]; local
67 int pts = intersect(line1, line2, ts);
H A DQuadraticIntersection.cpp128 _Line line1, line2; local
154 xy_at_t(quad2, minT2, line2[0].x, line2[0].y);
155 xy_at_t(quad2, maxT2, line2[1].x, line2[1].y);
161 pts = ::intersect(line1, line2, t1, t2);
176 treat1AsLine ? line1 : line2, lq);
181 double lineT = t_at(treat1AsLine ? line1 : line2, midQuad);
182 xy_at_t(treat1AsLine ? line1 : line2, lineT, midLine.x, midLine.y);
/external/skia/experimental/Intersection/
H A DLineIntersection_Test.cpp41 const _Line& line2 = tests[index][1]; local
43 int pts = intersect(line1, line2, ts);
50 xy_at_t(line2, ts.fT[1][i], result2.x, result2.y);
55 xy_at_t(line2, ts.fT[1][i ^ 1], result2.x, result2.y);
65 const _Line& line2 = noIntersect[index][1]; local
67 int pts = intersect(line1, line2, ts);
H A DQuadraticIntersection.cpp128 _Line line1, line2; local
154 xy_at_t(quad2, minT2, line2[0].x, line2[0].y);
155 xy_at_t(quad2, maxT2, line2[1].x, line2[1].y);
161 pts = ::intersect(line1, line2, t1, t2);
176 treat1AsLine ? line1 : line2, lq);
181 double lineT = t_at(treat1AsLine ? line1 : line2, midQuad);
182 xy_at_t(treat1AsLine ? line1 : line2, lineT, midLine.x, midLine.y);
/external/lldb/test/lang/c/stepping/
H A DTestThreadStepping.py34 self.line2 = line_number('main.c', '// frame select 2, thread step-out while stopped at "c(1)"')
58 "frame #3.*main.c:%d" % self.line2])
66 patterns = ["frame #0.*main.c:%d" % self.line2])
/external/lldb/test/logging/
H A DTestLogging.py86 for line1, line2 in zip (log_lines, expected_log_lines):
87 if line1 != line2:
89 err_msg = "Expected '" + line2 + "'; Found '" + line1 + "'"
/external/lldb/test/lang/c/anonymous/
H A DTestAnonymous.py76 self.line2 = line_number('main.c', '// Set breakpoint 2 here.')
117 self.common_setup(self.line2)
129 self.common_setup(self.line2)
142 self.common_setup(self.line2)
/external/pdfium/core/src/fxcodec/jbig2/
H A DJBig2_GeneralDecoder.cpp54 FX_DWORD line1, line2, line3; local
69 line2 = GBREG->getPixel(3, h - 1);
70 line2 |= GBREG->getPixel(2, h - 1) << 1;
71 line2 |= GBREG->getPixel(1, h - 1) << 2;
72 line2 |= GBREG->getPixel(0, h - 1) << 3;
79 CONTEXT |= line2 << 4;
87 line2 = ((line2 << 1) | GBREG->getPixel(w + 4, h - 1)) & 0x7f;
99 FX_DWORD line1, line2; local
122 line2
166 FX_DWORD line1, line2; local
258 FX_DWORD line1, line2, line3; local
305 FX_DWORD line1, line2, line3; local
350 FX_DWORD line1, line2; local
417 FX_DWORD line1, line2; local
508 FX_DWORD line1, line2, line3; local
553 FX_DWORD line1, line2, line3; local
596 FX_DWORD line1, line2; local
663 FX_DWORD line1, line2; local
754 FX_DWORD line1, line2, line3; local
797 FX_DWORD line1, line2; local
971 FX_DWORD line1, line2; local
1010 FX_DWORD line1, line2, line3; local
1294 FX_DWORD line1, line2, line3, line4, line5; local
1509 FX_DWORD line1, line2, line3, line4, line5; local
3442 FX_DWORD line1, line2, line3; local
3763 FX_DWORD line1, line2; local
3855 FX_DWORD line1, line2, line3; local
3904 FX_DWORD line1, line2; local
3995 FX_DWORD line1, line2, line3; local
4042 FX_DWORD line1, line2; local
4133 FX_DWORD line1, line2, line3; local
4254 FX_DWORD line1, line2; local
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DPipelinedMsgParser.java227 String line2 = null;
255 line2 = readLine(inputStream);
256 inputBuffer.append(line2);
257 if (line2.trim().equals(""))
269 inputBuffer.append(line2);
/external/chromium_org/base/files/
H A Dfile_util.cc100 std::string line1, line2; local
102 getline(file2, line2);
117 std::string::size_type end2 = line2.find_last_not_of("\r\n");
119 line2.clear();
120 else if (end2 + 1 < line2.length())
121 line2.erase(end2 + 1);
123 if (line1 != line2)
/external/lldb/test/functionalities/inferior-changed/
H A DTestInferiorChanged.py43 self.line2 = line_number('main2.c', '// Not crash here.')
82 lldbutil.run_break_set_by_file_and_line (self, "main2.c", self.line2, num_expected_locations=1, loc_exact=True)
/external/chromium_org/build/android/pylib/symbols/
H A Delf_symbolizer.py337 for (line1, line2) in lines:
342 m = ELFSymbolizer.Addr2Line.SYM_ADDR_RE.match(line2)
349 logging.warning('Got invalid symbol path from addr2line: %s' % line2)
427 line2 = process_pipe.readline().rstrip('\r\n')
428 if not line1 or not line2:
431 (line1 != '??' and line2 != '??:0'))
433 lines_for_one_symbol += [(line1, line2)]
/external/lldb/test/python_api/function_symbol/
H A DTestDisasmAPI.py35 self.line2 = line_number('main.c', '// Find the line number for breakpoint 2 here.')
47 breakpoint2 = target.BreakpointCreateByLocation('main.c', self.line2)
86 self.assertTrue(lineEntry.GetLine() == self.line2)
H A DTestSymbolAPI.py35 self.line2 = line_number('main.c', '// Find the line number for breakpoint 2 here.')
47 breakpoint2 = target.BreakpointCreateByLocation('main.c', self.line2)
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/
H A DTestDataFormatterLibcxxList.py34 self.line2 = line_number('main.cpp', '// Set second break point at this line.')
41 lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=-1)
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/
H A DTestDataFormatterLibcxxVector.py34 self.line2 = line_number('main.cpp', '// Set second break point at this line.')
41 lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=-1)
/external/lldb/test/lang/c/set_values/
H A DTestSetValues.py31 self.line2 = line_number('main.c', '// Set break point #2.')
44 lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line2, num_expected_locations=1, loc_exact=True)
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dverify_filelist.py173 def compare(line1, line2):
175 line2 = SplitPattern(line2)[0].lower()
176 return cmp(line1, line2)
/external/lldb/test/functionalities/breakpoint/breakpoint_conditions/
H A DTestBreakpointConditions.py61 self.line2 = line_number('main.c', "// Find the line number of c's parent call here.")
100 "frame #1.*main.c:%d" % self.line2])
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/
H A DTestBreakpointIgnoreCount.py48 self.line2 = line_number('main.c', '// b(2) -> c(2) Find the call site of b(2).')
78 "frame #2.*main.c:%d" % self.line2])

Completed in 1422 milliseconds

123