/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, 90 SkDPoint result1 = line1.ptAtT(ts[0][i]); 107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, 109 SkASSERT(ValidLine(line1)); 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]) { 120 if (line1[0].fY == line1[1].fY) 205 const SkDLine& line1 = coincidentTests[index][0]; local 210 const SkDLine& line1 = tests[index][0]; local 215 const SkDLine& line1 = noIntersect[index][0]; local [all...] |
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
RegionTest.java | 44 LineRegion line1 = new LineRegion(1, 10);
local 46 assertFalse(line1.intersects(line2));
48 line1.setMaxVal(15);
49 assertTrue(line1.intersects(line2));
52 line1.setMaxVal(30);
53 assertTrue(line1.intersects(line2));
56 line1.setMinVal(21);
57 assertFalse(line1.intersects(line2));
|
LineRegionTest.java | 60 LineRegion line1 = new LineRegion(1, 10);
local 62 assertFalse(line1.intersects(line2));
64 line1.setMaxVal(15);
65 assertTrue(line1.intersects(line2));
68 line1.setMaxVal(30);
69 assertTrue(line1.intersects(line2));
72 line1.setMinVal(21);
73 assertFalse(line1.intersects(line2));
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
cv_util.py | 13 def AreLinesOrthogonal(line1, line2, tolerance): 16 theta1 = np.arctan2(np.float(line1[1] - line1[3]), 17 np.float(line1[0] - line1[2])) 28 def FindLineIntersection(line1, line2): 35 line1p1 = line1[:2] 36 line1p0 = line1[2:]
|
/external/pdfium/core/src/fxcodec/jbig2/ |
JBig2_GrdProc.cpp | 70 FX_DWORD line1, line2; local 96 line1 = (*pLine1++) << 6; 98 CONTEXT = ((line1 & 0xf800) | (line2 & 0x07f0)); 100 line1 = (line1 << 8) | ((*pLine1++) << 6); 107 ((line1 >> k) & 0x0800) | ((line2 >> k) & 0x0010)); 111 line1 <<= 8; 119 ((line1 >> (7 - k)) & 0x0800) | ((line2 >> (7 - k)) & 0x0010)); 160 FX_DWORD line1, line2, line3; local 172 line1 = GBREG->getPixel(1, h - 2) 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 475 FX_DWORD line1; 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 1142 FX_DWORD line1; local 1222 FX_DWORD line1, line2; local [all...] |
JBig2_GrrdProc.cpp | 39 FX_DWORD line1, line2, line3, line4, line5; local 49 line1 = GRREG->getPixel(1, h - 1); 50 line1 |= GRREG->getPixel(0, h - 1) << 1; 72 CONTEXT |= line1 << 10; 76 line1 = ((line1 << 1) | GRREG->getPixel(w + 2, h - 1)) & 0x03; 92 line1 = GRREG->getPixel(1, h - 1); 93 line1 |= GRREG->getPixel(0, h - 1) << 1; 124 CONTEXT |= line1 << 10; 129 line1 = ((line1 << 1) | GRREG->getPixel(w + 2, h - 1)) & 0x03 157 FX_DWORD line1, line1_r, line2_r, line3_r; local 291 FX_DWORD line1, line2, line3, line4, line5; local 395 FX_DWORD line1, line1_r, line2_r, line3_r; local [all...] |
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
SeedTest.java | 40 String line1 = getNextLine(s1); local 42 if (line1 != null || line2 != null) { 43 assertEquals(line1, line2);
|
/frameworks/base/core/java/android/service/notification/ |
Condition.java | 80 public final String line1; field in class:Condition 107 public Condition(Uri id, String summary, String line1, String line2, int icon, 114 this.line1 = line1; 139 dest.writeString(line1); 151 .append(",line1=").append(line1) 184 && Objects.equals(other.line1, line1) 193 return Objects.hash(id, summary, line1, line2, icon, state, flags) [all...] |
/cts/tests/app/src/android/app/cts/ |
ConditionTest.java | 49 assertEquals("", condition.line1); 64 assertEquals("", condition1.line1);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
BinaryTagTest.java | 26 String line1 = "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5"; field in class:BinaryTagTest 30 String content = line1 + line2 + line3 + line4;
|
/external/libchrome/base/files/ |
file_util.cc | 96 std::string line1, line2; local 97 getline(file1, line1); 107 std::string::size_type end1 = line1.find_last_not_of("\r\n"); 109 line1.clear(); 110 else if (end1 + 1 < line1.length()) 111 line1.erase(end1 + 1); 119 if (line1 != line2)
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
PipelinedMsgParser.java | 226 String line1; local 231 line1 = readLine(inputStream); 233 if (line1.equals("\n")) { 248 inputBuffer.append(line1);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ActionPresenterSelector.java | 112 CharSequence line1 = action.getLabel1(); local 114 if (TextUtils.isEmpty(line1)) { 117 vh.mButton.setText(line1); 119 vh.mButton.setText(line1 + "\n" + line2);
|
/system/extras/memory_replay/tests/ |
ActionTest.cpp | 87 const char* line1 = "100"; local 88 Action* action = Action::CreateAction(0x1234, "calloc", line1, memory); 124 const char* line1 = "0x100"; local 125 Action* action = Action::CreateAction(0x1234, "realloc", line1, memory); 150 const char* line1 = "100"; local 151 Action* action = Action::CreateAction(0x1234, "memalign", line1, memory);
|
/external/google-breakpad/src/common/ |
stabs_to_module_unittest.cc | 173 Module::Line *line1 = &function->lines[0]; local 174 EXPECT_EQ(0xb4513962eff94e92LL, line1->address); 175 EXPECT_EQ(0x100000000ULL, line1->size); // derived from EndFunction 176 EXPECT_TRUE(line1->file == file1); 177 EXPECT_EQ(77396614, line1->number);
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathLineAlgo.h | 50 // bool closestPoints(const Line<T>& line1, 84 (const Line3<T>& line1, 90 // Compute point1 and point2 such that point1 is on line1, point2 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; 98 T d1w = line1.dir ^ w; 100 T d1d2 = line1.dir ^ line2.dir; 110 point1 = line1 (n1 / d);
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
cgiapp.py | 132 line1, self.buffer = self.buffer.split(b'\r\n', 1) 134 line1, self.buffer = self.buffer.split(b'\n', 1) 135 if not line1: 144 elif b':' not in line1: 146 "Bad header line: %r" % line1) 148 name, value = line1.split(b':', 1)
|
/external/deqp/scripts/src_util/ |
check_include_guards.py | 40 line1 = f.readline().strip() 44 if line1 != ("#define %s" % includeGuard):
|
/external/jdiff/src/jdiff/ |
DiffMyers.java | 374 int line0 = i0, line1 = i1; local 381 script = new change(line0, line1, i0 - line0, i1 - line1, script); 408 int line0 = i0, line1 = i1; local 415 script = new change(i0, i1, line0 - i0, line1 - i1, script); 471 LINE0 and LINE1 are the first affected lines in the two files (origin 0). 476 which the insertion was done; vice versa for INSERTED and LINE1. */ 488 public final int line1; field in class:DiffMyers.change 491 LINE0 and LINE1 are the first affected lines in the two files (origin 0). 496 which the insertion was done; vice versa for INSERTED and LINE1. * [all...] |
/external/libavc/common/x86/ |
ih264_deblk_luma_ssse3.c | 108 __m128i line1, line2, line3, line4, line5, line6, line7, line8; local 113 line1 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 0 * src_strd)); 122 temp1 = _mm_unpacklo_epi8(line1, line2); 127 line1 = _mm_unpacklo_epi16(temp1, temp2); 132 p1_8x16 = _mm_unpacklo_epi32(line1, line3); 133 p0_8x16 = _mm_unpackhi_epi32(line1, line3); 137 line1 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 8 * src_strd)); 146 temp1 = _mm_unpacklo_epi8(line1, line2); 151 line1 = _mm_unpacklo_epi16(temp1, temp2); 156 temp1 = _mm_unpacklo_epi32(line1, line3) 1460 __m128i line1, line2, line3, line4, line5, line6, line7, line8; local 1778 __m128i line1, line2, line3, line4, line5, line6, line7, line8; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
ZenFooter.java | 120 final String line1 = local 125 Util.setText(mSummaryLine1, line1);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
SearchRecentSuggestionsTest.java | 68 String line1 = "line1"; local 69 srs.saveRecentQuery(query1, line1); 78 assertEquals(line1, c
|
/hardware/ril/reference-ril/ |
atchannel.c | 437 char *line1; local 443 line1 = strdup(line); 447 free(line1); 452 s_unsolHandler (line1, line2); 454 free(line1);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_gzip.py | 156 line1 = f.readline() 157 if not line1: break 160 if len(line1)>10: 163 amount = len(line1) 165 self.assertEqual(line1[:amount], line2)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_gzip.py | 156 line1 = f.readline() 157 if not line1: break 160 if len(line1)>10: 163 amount = len(line1) 165 self.assertEqual(line1[:amount], line2)
|