Searched refs:line1 (Results 1 - 25 of 61) 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
87 SkDPoint result1 = line1.ptAtT(ts[0][i]);
101 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { argument
102 SkASSERT(ValidLine(line1));
105 int pts = i.intersect(line1, line2);
108 check_results(reporter, line1, line2, i);
109 if (line1[0] == line1[1] || line2[0] == line2[1]) {
112 if (line1[0].fY == line1[
143 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) argument
197 const SkDLine& line1 = coincidentTests[index][0]; local
202 const SkDLine& line1 = tests[index][0]; local
207 const SkDLine& line1 = noIntersect[index][0]; local
[all...]
/external/skia/tests/
H A DPathOpsLineIntersectionTest.cpp77 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, argument
80 SkDPoint result1 = line1.ptAtT(ts[0][i]);
94 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { argument
95 SkASSERT(ValidLine(line1));
98 int pts = i.intersect(line1, line2);
101 check_results(reporter, line1, line2, i);
102 if (line1[0] == line1[1] || line2[0] == line2[1]) {
105 if (line1[0].fY == line1[
136 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) argument
190 const SkDLine& line1 = coincidentTests[index][0]; local
195 const SkDLine& line1 = tests[index][0]; local
200 const SkDLine& line1 = noIntersect[index][0]; local
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DLineIntersection_Test.cpp40 const _Line& line1 = tests[index][0]; local
43 int pts = intersect(line1, line2, ts);
49 xy_at_t(line1, ts.fT[0][i], result1.x, result1.y);
64 const _Line& line1 = noIntersect[index][0]; local
67 int pts = intersect(line1, line2, ts);
H A DQuadraticIntersection.cpp128 _Line line1, line2; local
150 xy_at_t(quad1, minT1, line1[0].x, line1[0].y);
151 xy_at_t(quad1, maxT1, line1[1].x, line1[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.cpp40 const _Line& line1 = tests[index][0]; local
43 int pts = intersect(line1, line2, ts);
49 xy_at_t(line1, ts.fT[0][i], result1.x, result1.y);
64 const _Line& line1 = noIntersect[index][0]; local
67 int pts = intersect(line1, line2, ts);
H A DQuadraticIntersection.cpp128 _Line line1, line2; local
150 xy_at_t(quad1, minT1, line1[0].x, line1[0].y);
151 xy_at_t(quad1, maxT1, line1[1].x, line1[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.py33 self.line1 = line_number('main.c', '// Find the line number of function "c" here.')
44 lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line1, num_expected_locations=1, loc_exact=True)
57 patterns = ["frame #0.*main.c:%d" % self.line1,
/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/pdfium/core/src/fxcodec/jbig2/
H A DJBig2_GeneralDecoder.cpp54 FX_DWORD line1, line2, line3; local
66 line1 = GBREG->getPixel(2, h - 2);
67 line1 |= GBREG->getPixel(1, h - 2) << 1;
68 line1 |= GBREG->getPixel(0, h - 2) << 2;
80 CONTEXT |= line1 << 11;
86 line1 = ((line1 << 1) | GBREG->getPixel(w + 3, h - 2)) & 0x1f;
99 FX_DWORD line1, line2; local
121 line1 = (h > 1) ? pLine[-nStride2] << 6 : 0;
123 CONTEXT = (line1
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
836 FX_DWORD line1; local
895 FX_DWORD line1; local
971 FX_DWORD line1, line2; local
1010 FX_DWORD line1, line2, line3; local
1294 FX_DWORD line1, line2, line3, line4, line5; local
1378 FX_DWORD line1, line1_r, line2_r, line3_r; local
1509 FX_DWORD line1, line2, line3, line4, line5; local
1587 FX_DWORD line1, line1_r, line2_r, line3_r; 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
4178 FX_DWORD line1; local
4254 FX_DWORD line1, line2; local
[all...]
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/
H A DTestBreakpointIgnoreCount.py47 self.line1 = line_number('main.c', '// Find the line number of function "c" here.')
58 # Create a breakpoint in main.c at line1.
59 lldbutil.run_break_set_by_file_and_line (self, 'main.c', self.line1, extra_options='-i 1', num_expected_locations=1, loc_exact=True)
77 patterns = ["frame #0.*main.c:%d" % self.line1,
97 patterns = ["frame #0.*main.c:%d" % self.line1,
141 self.assertTrue(frame0.GetLineEntry().GetLine() == self.line1 and
/external/chromium_org/base/files/
H A Dfile_util.cc100 std::string line1, line2; local
101 getline(file1, line1);
111 std::string::size_type end1 = line1.find_last_not_of("\r\n");
113 line1.clear();
114 else if (end1 + 1 < line1.length())
115 line1.erase(end1 + 1);
123 if (line1 != line2)
/external/lldb/test/python_api/lldbutil/iter/
H A DTestLLDBIterator.py19 self.line1 = line_number('main.cpp', '// Set break point at this line.')
46 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
77 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
106 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
H A DTestRegistersIterator.py19 self.line1 = line_number('main.cpp', '// Set break point at this line.')
35 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DPipelinedMsgParser.java226 String line1;
231 line1 = readLine(inputStream);
233 if (line1.equals("\n")) {
248 inputBuffer.append(line1);
/external/lldb/test/functionalities/inferior-changed/
H A DTestInferiorChanged.py42 self.line1 = line_number('main.c', '// Crash here.')
65 'main.c:%d' % self.line1])
/external/chromium_org/build/android/pylib/symbols/
H A Delf_symbolizer.py337 for (line1, line2) in lines:
339 name = line1 if not line1.startswith('?') else None
426 line1 = 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/functionalities/breakpoint/breakpoint_conditions/
H A DTestBreakpointConditions.py60 self.line1 = line_number('main.c', '// Find the line number of function "c" here.')
99 patterns = ["frame #0.*main.c:%d" % self.line1,
179 # Frame #0 should be on self.line1 and the break condition should hold.
185 self.assertTrue(frame0.GetLineEntry().GetLine() == self.line1 and
/external/lldb/test/python_api/function_symbol/
H A DTestDisasmAPI.py34 self.line1 = line_number('main.c', '// Find the line number for breakpoint 1 here.')
46 breakpoint1 = target.BreakpointCreateByLocation('main.c', self.line1)
61 # Frame #0 should be on self.line1.
67 self.assertTrue(lineEntry.GetLine() == self.line1)
H A DTestSymbolAPI.py34 self.line1 = line_number('main.c', '// Find the line number for breakpoint 1 here.')
46 breakpoint1 = target.BreakpointCreateByLocation('main.c', self.line1)
61 # Frame #0 should be on self.line1.
/external/deqp/scripts/
H A Dcheck_include_guards.py20 line1 = f.readline().strip()
24 if line1 != ("#define %s" % includeGuard):
/external/lldb/test/lang/c/anonymous/
H A DTestAnonymous.py75 self.line1 = line_number('main.c', '// Set breakpoint 1 here.')
107 self.common_setup(self.line1)
/external/lldb/test/lang/c/set_values/
H A DTestSetValues.py30 self.line1 = line_number('main.c', '// Set break point #1.')
42 lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line1, 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):
174 line1 = SplitPattern(line1)[0].lower()
176 return cmp(line1, line2)
/external/jdiff/src/jdiff/
H A DDiffMyers.java374 int line0 = i0, line1 = i1;
381 script = new change(line0, line1, i0 - line0, i1 - line1, script);
408 int line0 = i0, line1 = i1;
415 script = new change(i0, i1, line0 - i0, line1 - i1, script);
488 public final int line1; field in class:DiffMyers.change
497 change(int line0, int line1, int deleted, int inserted, change old) { argument
499 this.line1 = line1;
503 //System.err.println(line0+","+line1
[all...]
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dwallet_test_util.h22 std::vector<base::string16> StreetAddress(const std::string& line1,

Completed in 2091 milliseconds

123