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

123

/external/skia/tests/
H A DPathOpsLineIntersectionTest.cpp87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, argument
91 SkDPoint result2 = line2.ptAtT(ts[1][i]);
97 result2 = line2.ptAtT(ts[1][i ^ 1]);
107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, argument
110 SkASSERT(ValidLine(line2));
113 int pts = i.intersect(line1, line2);
116 check_results(reporter, line1, line2, i, nearAllowed);
117 if (line1[0] == line1[1] || line2[0] == line2[1]) {
124 ts.horizontal(line2, lef
151 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) argument
206 const SkDLine& line2 = coincidentTests[index][1]; local
211 const SkDLine& line2 = tests[index][1]; local
216 const SkDLine& line2 = noIntersect[index][1]; local
[all...]
H A DPathOpsDLineTest.cpp26 SkDLine line2; local
28 line2.set(pts);
29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]);
H A DPathOpsQuadLineIntersectionThreadedTest.cpp102 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; local
103 testLineIntersect(state.fReporter, quad, line2, x, y);
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
H A DRegionTest.java45 LineRegion line2 = new LineRegion(11, 20);
46 assertFalse(line1.intersects(line2));
49 assertTrue(line1.intersects(line2));
53 assertTrue(line1.intersects(line2));
57 assertFalse(line1.intersects(line2));
H A DLineRegionTest.java61 LineRegion line2 = new LineRegion(11, 20);
62 assertFalse(line1.intersects(line2));
65 assertTrue(line1.intersects(line2));
69 assertTrue(line1.intersects(line2));
73 assertFalse(line1.intersects(line2));
/external/pdfium/core/src/fxcodec/jbig2/
H A DJBig2_GrdProc.cpp70 FX_DWORD line1, line2; local
97 line2 = *pLine2++;
98 CONTEXT = ((line1 & 0xf800) | (line2 & 0x07f0));
101 line2 = (line2 << 8) | (*pLine2++);
107 ((line1 >> k) & 0x0800) | ((line2 >> k) & 0x0010));
112 line2 <<= 8;
119 ((line1 >> (7 - k)) & 0x0800) | ((line2 >> (7 - k)) & 0x0010));
124 line2 = (h & 1) ? (*pLine2++) : 0;
125 CONTEXT = (line2
160 FX_DWORD line1, line2, line3; local
208 FX_DWORD line1, line2; local
297 FX_DWORD line1, line2, line3; local
342 FX_DWORD line1, line2; local
431 FX_DWORD line1, line2, line3; local
550 FX_DWORD line1, line2; local
702 FX_DWORD line1, line2; local
797 FX_DWORD line1, line2, line3; local
852 FX_DWORD line1, line2; local
946 FX_DWORD line1, line2, line3; local
997 FX_DWORD line1, line2; local
1091 FX_DWORD line1, line2, line3; local
1222 FX_DWORD line1, line2; local
[all...]
H A DJBig2_GrrdProc.cpp39 FX_DWORD line1, line2, line3, line4, line5; local
51 line2 = 0;
71 CONTEXT |= line2 << 9;
77 line2 = ((line2 << 1) | bVal) & 0x01;
94 line2 = 0;
123 CONTEXT |= line2 << 9;
130 line2 = ((line2 << 1) | bVal) & 0x01;
291 FX_DWORD line1, line2, line local
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
H A Dcv_util.py13 def AreLinesOrthogonal(line1, line2, tolerance):
18 theta2 = np.arctan2(np.float(line2[1] - line2[3]),
19 np.float(line2[0] - line2[2]))
28 def FindLineIntersection(line1, line2):
37 line2p1 = line2[:2]
38 line2p0 = line2[2:]
H A Dscreen_finder.py288 line2):
293 self.line2 = line2
302 ',\nline1: ' + str(self.line1) + ',\nline2: ' + str(self.line2))
327 for corner_pos, score, point, line1, line2 in \
335 corner_data = self.CornerData(corner_pos, point, score, line1, line2)
354 filtered[i].line2)
551 corner_data[i].line2)
555 corner_data[i - 1].line2)
589 point, line1, line2
[all...]
H A Dscreen_finder_unittest.py96 line2 = np.asfarray(((0, 0, 0, 1)))
98 point_info = (point, line1, line2)
112 def _BuildResult(point, line1, line2):
113 return [point, np.asfarray(line1).tolist(), np.asfarray(line2).tolist()]
118 point, line1, line2 = result
121 l2 = np.round(line2).tolist()
202 self.assertEqual(cd.line2, 'e')
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
H A DLineImplTest.java134 LineImpl line2 = LineImpl.EMPTY;
135 line2 = line2.increment(CounterImpl.getInstance(111, 222),
137 assertEquals(line.hashCode(), line2.hashCode());
144 LineImpl line2 = LineImpl.EMPTY;
145 line2 = line2.increment(CounterImpl.getInstance(111, 222),
147 assertEquals(line, line2);
161 LineImpl line2 = LineImpl.EMPTY;
162 line2
[all...]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
H A DBinaryTagTest.java27 String line2 = "OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+"; field in class:BinaryTagTest
30 String content = line1 + line2 + line3 + line4;
/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/libchrome/base/files/
H A Dfile_util.cc96 std::string line1, line2; local
98 getline(file2, line2);
113 std::string::size_type end2 = line2.find_last_not_of("\r\n");
115 line2.clear();
116 else if (end2 + 1 < line2.length())
117 line2.erase(end2 + 1);
119 if (line1 != line2)
/external/google-breakpad/src/common/
H A Dstabs_to_module_unittest.cc179 Module::Line *line2 = &function->lines[1]; local
180 EXPECT_EQ(0xb4513963eff94e92LL, line2->address);
181 EXPECT_EQ(0x1000000000000ULL, line2->size); // derived from EndFunction
182 EXPECT_TRUE(line2->file == file2);
183 EXPECT_EQ(87660088, line2->number);
H A Dmodule_unittest.cc118 Module::Line line2 = { 0xdaf35bc123885c04LL, 0xcf621b8d324d0ebLL, local
120 function->lines.push_back(line2);
175 Module::Line line2 = { 0x401ce8c8a12d25e3LL, 0x895751c41b8d2ce2LL, local
178 function->lines.push_back(line2);
/external/opencv3/3rdparty/openexr/Imath/
H A DImathLineAlgo.h51 // const Line<T>& line2,
85 const Line3<T>& line2,
91 // is on line2 and the distance between point1 and point2 is minimal.
93 // or false if line1 and line2 are parallel or nearly parallel.
94 // This function assumes that line1.dir and line2.dir are normalized.
97 Vec3<T> w = line1.pos - line2.pos;
99 T d2w = line2.dir ^ w;
100 T d1d2 = line1.dir ^ line2.dir;
111 point2 = line2 (n2 / d);
83 closestPoints(const Line3<T>& line1, const Line3<T>& line2, Vec3<T>& point1, Vec3<T>& point2) argument
/external/libavc/common/x86/
H A Dih264_deblk_luma_ssse3.c108 __m128i line1, line2, line3, line4, line5, line6, line7, line8; local
114 line2 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 1 * src_strd));
122 temp1 = _mm_unpacklo_epi8(line1, line2);
128 line2 = _mm_unpackhi_epi16(temp1, temp2);
134 q0_8x16 = _mm_unpacklo_epi32(line2, line4);
135 q1_8x16 = _mm_unpackhi_epi32(line2, line4);
138 line2 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 9 * src_strd));
146 temp1 = _mm_unpacklo_epi8(line1, line2);
152 line2 = _mm_unpackhi_epi16(temp1, temp2);
158 temp3 = _mm_unpacklo_epi32(line2, line
1460 __m128i line1, line2, line3, line4, line5, line6, line7, line8; local
1778 __m128i line1, line2, line3, line4, line5, line6, line7, line8; local
[all...]
/external/pdfium/third_party/lcms2-2.6/src/
H A Dcmssm.c204 Closest point in sector line1 to sector line2 (both are defined as 0 <=t <= 1)
217 cmsBool ClosestLineToLine(cmsVEC3* r, const cmsLine* line1, const cmsLine* line2) argument
224 _cmsVEC3minus(&w0, &line1 ->a, &line2 ->a);
227 b = _cmsVEC3dot(&line1 ->u, &line2 ->u);
228 c = _cmsVEC3dot(&line2 ->u, &line2 ->u);
230 e = _cmsVEC3dot(&line2 ->u, &w0);
/external/autotest/client/profilers/powertop/src/
H A Dpowertop.c178 char line2[1024]; local
249 sprintf(line2, _(" <kernel IPI> : %s"), name);
251 sprintf(line2, _(" <interrupt> : %s"), name);
254 sprintf(line2, _(" <interrupt> : %s"), _("PS/2 keyboard/mouse/touchpad"));
257 push_line(line2, delta);
940 char line2[1024]; local
995 sprintf(line2, "%15s : %s", process, func);
996 push_line_pid(line2, cnt, pid);
/external/elfutils/libdw/
H A Ddwarf_getsrclines.c66 Dwarf_Line *line2 = &list2->line; local
68 if (line1->addr != line2->addr)
69 return (line1->addr < line2->addr) ? -1 : 1;
72 if (line1->end_sequence != line2->end_sequence)
73 return line2->end_sequence - line1->end_sequence;
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon_unittest.cc150 int line2 = __LINE__; GOOGLE_LOG(INFO) << "Visible2"; local
159 "0 "__FILE__":" + SimpleItoa(line2) + ": Visible2",
/external/skia/src/gpu/batches/
H A DGrPLSPathRenderer.cpp93 static bool outset(SkPoint* p1, SkPoint line1, SkPoint line2) { argument
96 SkScalar dotProd = line1.fY * line2.fY + line1.fX * line2.fX;
101 SkPoint bisector = line1 + line2;
111 SkPoint line2 = pts[0] - pts[2]; local
112 line2.normalize();
118 if (!outset(&result[0], line1, line2)) {
126 if (!outset(&result[2], -line3, -line2)) {
/external/opencv3/modules/imgcodecs/test/
H A Dtest_drawing.cpp427 vector<Point> line2; local
434 line2.push_back(Point(2, 2));
435 line2.push_back(Point(10, 2));
436 line2.push_back(Point(10, 16));
437 line2.push_back(Point(2, 16));
443 fillConvexPoly(gray0, line2, Scalar(0), 8, 1);
/external/autotest/client/tests/iozone/
H A Dpostprocessing.py77 for line1, line2 in zip(matrix1, matrix2):
79 for element1, element2 in zip(line1, line2):

Completed in 1069 milliseconds

123