/external/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, argument 90 SkDPoint result1 = line1.ptAtT(ts[0][i]); 107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, argument 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[ 151 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) argument 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/ |
H A D | RegionTest.java | 44 LineRegion line1 = new LineRegion(1, 10);
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));
|
H A D | LineRegionTest.java | 60 LineRegion line1 = new LineRegion(1, 10);
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/ |
H A D | 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/ |
H A D | 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 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...] |
H A D | 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 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...] |
/external/lldb/test/lang/c/stepping/ |
H A D | TestThreadStepping.py | 33 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 D | TestLogging.py | 86 for line1, line2 in zip (log_lines, expected_log_lines): 87 if line1 != line2: 89 err_msg = "Expected '" + line2 + "'; Found '" + line1 + "'"
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
H A D | BinaryTagTest.java | 26 String line1 = "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5"; field in class:BinaryTagTest 30 String content = line1 + line2 + line3 + line4;
|
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/ |
H A D | TestBreakpointIgnoreCount.py | 47 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/libchrome/base/files/ |
H A D | 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/lldb/test/python_api/lldbutil/iter/ |
H A D | TestLLDBIterator.py | 19 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 D | TestRegistersIterator.py | 19 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 D | PipelinedMsgParser.java | 226 String line1; 231 line1 = readLine(inputStream); 233 if (line1.equals("\n")) { 248 inputBuffer.append(line1);
|
/external/lldb/test/functionalities/inferior-changed/ |
H A D | TestInferiorChanged.py | 42 self.line1 = line_number('main.c', '// Crash here.') 65 'main.c:%d' % self.line1])
|
/external/chromium-trace/catapult/tracing/third_party/symbols/symbols/ |
H A D | elf_symbolizer.py | 337 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/v8/build/android/pylib/symbols/ |
H A D | elf_symbolizer.py | 338 for (line1, line2) in lines: 340 name = line1 if not line1.startswith('?') else None 427 line1 = process_pipe.readline().rstrip('\r\n') 429 if not line1 or not line2: 432 (line1 != '??' and line2 != '??:0')) 434 lines_for_one_symbol += [(line1, line2)]
|
/external/google-breakpad/src/common/ |
H A D | 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/lldb/test/functionalities/breakpoint/breakpoint_conditions/ |
H A D | TestBreakpointConditions.py | 60 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 D | TestDisasmAPI.py | 34 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 D | TestSymbolAPI.py | 34 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/chromium-trace/catapult/third_party/Paste/paste/ |
H A D | 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/ |
H A D | check_include_guards.py | 40 line1 = f.readline().strip() 44 if line1 != ("#define %s" % includeGuard):
|
/external/lldb/test/lang/c/anonymous/ |
H A D | TestAnonymous.py | 75 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 D | TestSetValues.py | 30 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)
|