Home
last modified time | relevance | path

Searched refs:line1 (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/tests/
DPathOpsLineIntersectionTest.cpp87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, in check_results() argument
90 SkDPoint result1 = line1.ptAtT(ts[0][i]); in check_results()
107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, in testOne() argument
109 SkASSERT(ValidLine(line1)); in testOne()
113 int pts = i.intersect(line1, line2); in testOne()
116 check_results(reporter, line1, line2, i, nearAllowed); in testOne()
117 if (line1[0] == line1[1] || line2[0] == line2[1]) { in testOne()
120 if (line1[0].fY == line1[1].fY) { in testOne()
121 double left = SkTMin(line1[0].fX, line1[1].fX); in testOne()
122 double right = SkTMax(line1[0].fX, line1[1].fX); in testOne()
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DRegionTest.java44 LineRegion line1 = new LineRegion(1, 10); in testIntersects() local
46 assertFalse(line1.intersects(line2)); in testIntersects()
48 line1.setMaxVal(15); in testIntersects()
49 assertTrue(line1.intersects(line2)); in testIntersects()
52 line1.setMaxVal(30); in testIntersects()
53 assertTrue(line1.intersects(line2)); in testIntersects()
56 line1.setMinVal(21); in testIntersects()
57 assertFalse(line1.intersects(line2)); in testIntersects()
DLineRegionTest.java60 LineRegion line1 = new LineRegion(1, 10); in testIntersects() local
62 assertFalse(line1.intersects(line2)); in testIntersects()
64 line1.setMaxVal(15); in testIntersects()
65 assertTrue(line1.intersects(line2)); in testIntersects()
68 line1.setMaxVal(30); in testIntersects()
69 assertTrue(line1.intersects(line2)); in testIntersects()
72 line1.setMinVal(21); in testIntersects()
73 assertFalse(line1.intersects(line2)); in testIntersects()
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_GeneralDecoder.cpp107 FX_DWORD line1, line2, line3; in decode_Arith_Template0_opt() local
119 line1 = GBREG->getPixel(2, h - 2); in decode_Arith_Template0_opt()
120 line1 |= GBREG->getPixel(1, h - 2) << 1; in decode_Arith_Template0_opt()
121 line1 |= GBREG->getPixel(0, h - 2) << 2; in decode_Arith_Template0_opt()
133 CONTEXT |= line1 << 11; in decode_Arith_Template0_opt()
139 line1 = ((line1 << 1) | GBREG->getPixel(w + 3, h - 2)) & 0x1f; in decode_Arith_Template0_opt()
152 FX_DWORD line1, line2; in decode_Arith_Template0_opt2() local
174 line1 = (h > 1) ? pLine[-nStride2] << 6 : 0; in decode_Arith_Template0_opt2()
176 CONTEXT = (line1 & 0xf800) | (line2 & 0x07f0); in decode_Arith_Template0_opt2()
181 line1 = (line1 << 8) | (pLine[-nStride2 + (w >> 3) + 1] << 6); in decode_Arith_Template0_opt2()
[all …]
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/
DTestBreakpointIgnoreCount.py47 self.line1 = line_number('main.c', '// Find the line number of function "c" here.')
59 …lldbutil.run_break_set_by_file_and_line (self, 'main.c', self.line1, extra_options='-i 1', num_exp…
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/jdiff/src/jdiff/
DDiffMyers.java374 int line0 = i0, line1 = i1; in build_reverse_script() local
381 script = new change(line0, line1, i0 - line0, i1 - line1, script); in build_reverse_script()
408 int line0 = i0, line1 = i1; in build_script() local
415 script = new change(i0, i1, line0 - i0, line1 - i1, script); in build_script()
488 public final int line1; field in DiffMyers.change
497 change(int line0, int line1, int deleted, int inserted, change old) { in change() argument
499 this.line1 = line1; in change()
/external/lldb/test/lang/c/stepping/
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…
57 patterns = ["frame #0.*main.c:%d" % self.line1,
/external/lldb/test/logging/
DTestLogging.py86 for line1, line2 in zip (log_lines, expected_log_lines):
87 if line1 != line2:
89 err_msg = "Expected '" + line2 + "'; Found '" + line1 + "'"
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dcgiapp.py132 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/google-breakpad/src/common/
Dstabs_to_module_unittest.cc173 Module::Line *line1 = &function->lines[0]; in TEST() local
174 EXPECT_EQ(0xb4513962eff94e92LL, line1->address); in TEST()
175 EXPECT_EQ(0x100000000ULL, line1->size); // derived from EndFunction in TEST()
176 EXPECT_TRUE(line1->file == file1); in TEST()
177 EXPECT_EQ(77396614, line1->number); in TEST()
Dmodule_unittest.cc116 Module::Line line1 = { 0xbec774ea5dd935f3LL, 0x1c2be6d6c5af2611LL, in TEST() local
121 function->lines.push_back(line1); in TEST()
173 Module::Line line1 = { 0x595fa44ebacc1086LL, 0x1e1e0191b066c5b3LL, in TEST() local
177 function->lines.push_back(line1); in TEST()
221 Module::Line line1 = { 0xbec774ea5dd935f3LL, 0x1c2be6d6c5af2611LL, in TEST() local
223 function->lines.push_back(line1); in TEST()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipelinedMsgParser.java226 String line1; in run() local
231 line1 = readLine(inputStream); in run()
233 if (line1.equals("\n")) { in run()
248 inputBuffer.append(line1); in run()
/external/lldb/test/python_api/lldbutil/iter/
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)
DTestRegistersIterator.py19 self.line1 = line_number('main.cpp', '// Set break point at this line.')
35 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
/external/libavc/common/x86/
Dih264_deblk_luma_ssse3.c108 __m128i line1, line2, line3, line4, line5, line6, line7, line8; in ih264_deblk_luma_vert_bs4_ssse3() local
113 line1 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 0 * src_strd)); in ih264_deblk_luma_vert_bs4_ssse3()
122 temp1 = _mm_unpacklo_epi8(line1, line2); in ih264_deblk_luma_vert_bs4_ssse3()
127 line1 = _mm_unpacklo_epi16(temp1, temp2); in ih264_deblk_luma_vert_bs4_ssse3()
132 p1_8x16 = _mm_unpacklo_epi32(line1, line3); in ih264_deblk_luma_vert_bs4_ssse3()
133 p0_8x16 = _mm_unpackhi_epi32(line1, line3); in ih264_deblk_luma_vert_bs4_ssse3()
137 line1 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 8 * src_strd)); in ih264_deblk_luma_vert_bs4_ssse3()
146 temp1 = _mm_unpacklo_epi8(line1, line2); in ih264_deblk_luma_vert_bs4_ssse3()
151 line1 = _mm_unpacklo_epi16(temp1, temp2); in ih264_deblk_luma_vert_bs4_ssse3()
156 temp1 = _mm_unpacklo_epi32(line1, line3); in ih264_deblk_luma_vert_bs4_ssse3()
[all …]
/external/lldb/test/python_api/function_symbol/
DTestDisasmAPI.py34 self.line1 = line_number('main.c', '// Find the line number for breakpoint 1 here.')
46 breakpoint1 = target.BreakpointCreateByLocation('main.c', self.line1)
67 self.assertTrue(lineEntry.GetLine() == self.line1)
DTestSymbolAPI.py34 self.line1 = line_number('main.c', '// Find the line number for breakpoint 1 here.')
46 breakpoint1 = target.BreakpointCreateByLocation('main.c', self.line1)
/external/lldb/test/functionalities/breakpoint/breakpoint_conditions/
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,
185 self.assertTrue(frame0.GetLineEntry().GetLine() == self.line1 and
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmssm.c217 cmsBool ClosestLineToLine(cmsVEC3* r, const cmsLine* line1, const cmsLine* line2) in ClosestLineToLine() argument
224 _cmsVEC3minus(&w0, &line1 ->a, &line2 ->a); in ClosestLineToLine()
226 a = _cmsVEC3dot(&line1 ->u, &line1 ->u); in ClosestLineToLine()
227 b = _cmsVEC3dot(&line1 ->u, &line2 ->u); in ClosestLineToLine()
229 d = _cmsVEC3dot(&line1 ->u, &w0); in ClosestLineToLine()
291 GetPointOfLine(r, line1, sc); in ClosestLineToLine()
/external/lldb/test/python_api/target/
DTestTargetAPI.py109 self.line1 = line_number('main.c', '// Find the line number for breakpoint 1 here.')
127 breakpoint = target.BreakpointCreateByLocation('main.c', self.line1)
247 breakpoint1 = target.BreakpointCreateByLocation('main.c', self.line1)
269 self.assertTrue(lineEntry.GetLine() == self.line1)
/external/lldb/test/functionalities/inferior-changed/
DTestInferiorChanged.py42 self.line1 = line_number('main.c', '// Crash here.')
65 'main.c:%d' % self.line1])
/external/iproute2/lib/
Dutils.c725 char *line1 = NULL; in getcmdline() local
729 if ((cc1 = getline(&line1, &len1, in)) < 0) { in getcmdline()
737 cp = strchr(line1, '#'); in getcmdline()
741 *lenp = strlen(*linep) + strlen(line1) + 1; in getcmdline()
749 strcat(*linep, line1); in getcmdline()
750 free(line1); in getcmdline()
/external/deqp/scripts/src_util/
Dcheck_include_guards.py40 line1 = f.readline().strip()
44 if line1 != ("#define %s" % includeGuard):
/external/lldb/test/lang/c/set_values/
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…
/external/libvncserver/x11vnc/
Duser.c2463 char line1[1024], line2[16384]; in do_run_cmd() local
2470 memset(line1, 0, sizeof(line1)); in do_run_cmd()
2616 } else if (fgets(line1, 1024, p) == NULL) { in do_run_cmd()
2624 strncpy(line, line1, 100); in do_run_cmd()
2625 memcpy(line + strlen(line1), line2, n); in do_run_cmd()
2626 if (db) fprintf(stderr, "line1: '%s'\n", line1); in do_run_cmd()
2627 n += strlen(line1); in do_run_cmd()
2659 line1[k] = q[k]; in do_run_cmd()
2722 if (fgets(line1, 1024, p) == NULL) { in do_run_cmd()
2763 if (fgets(line1, 1024, p) == NULL) { in do_run_cmd()
[all …]

12