/external/skia/tests/ |
D | PathOpsLineIntersectionTest.cpp | 87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, in check_results() argument 91 SkDPoint result2 = line2.ptAtT(ts[1][i]); in check_results() 97 result2 = line2.ptAtT(ts[1][i ^ 1]); in check_results() 107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, in testOne() argument 110 SkASSERT(ValidLine(line2)); 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() 124 ts.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left); in testOne() 125 check_results(reporter, line2, line1, ts, nearAllowed); in testOne() [all …]
|
D | PathOpsDLineTest.cpp | 35 SkDLine line2; in DEF_TEST() local 37 line2.set(pts); in DEF_TEST() 38 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); in DEF_TEST()
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 102 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; in testQuadLineIntersectMain() local 103 testLineIntersect(state.fReporter, quad, line2, x, y); in testQuadLineIntersectMain()
|
/external/pdfium/core/src/fxcodec/jbig2/ |
D | JBig2_GeneralDecoder.cpp | 107 FX_DWORD line1, line2, line3; in decode_Arith_Template0_opt() local 122 line2 = GBREG->getPixel(3, h - 1); in decode_Arith_Template0_opt() 123 line2 |= GBREG->getPixel(2, h - 1) << 1; in decode_Arith_Template0_opt() 124 line2 |= GBREG->getPixel(1, h - 1) << 2; in decode_Arith_Template0_opt() 125 line2 |= GBREG->getPixel(0, h - 1) << 3; in decode_Arith_Template0_opt() 132 CONTEXT |= line2 << 4; in decode_Arith_Template0_opt() 140 line2 = ((line2 << 1) | GBREG->getPixel(w + 4, h - 1)) & 0x7f; in decode_Arith_Template0_opt() 152 FX_DWORD line1, line2; in decode_Arith_Template0_opt2() local 175 line2 = (h > 0) ? pLine[-nStride] : 0; in decode_Arith_Template0_opt2() 176 CONTEXT = (line1 & 0xf800) | (line2 & 0x07f0); in decode_Arith_Template0_opt2() [all …]
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
D | RegionTest.java | 45 LineRegion line2 = new LineRegion(11, 20); in testIntersects() local 46 assertFalse(line1.intersects(line2)); in testIntersects() 49 assertTrue(line1.intersects(line2)); in testIntersects() 53 assertTrue(line1.intersects(line2)); in testIntersects() 57 assertFalse(line1.intersects(line2)); in testIntersects()
|
D | LineRegionTest.java | 61 LineRegion line2 = new LineRegion(11, 20); in testIntersects() local 62 assertFalse(line1.intersects(line2)); in testIntersects() 65 assertTrue(line1.intersects(line2)); in testIntersects() 69 assertTrue(line1.intersects(line2)); in testIntersects() 73 assertFalse(line1.intersects(line2)); in testIntersects()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | PipelinedMsgParser.java | 227 String line2 = null; in run() local 255 line2 = readLine(inputStream); in run() 256 inputBuffer.append(line2); in run() 257 if (line2.trim().equals("")) in run() 269 inputBuffer.append(line2); in run()
|
/external/lldb/test/lang/c/anonymous/ |
D | TestAnonymous.py | 76 self.line2 = line_number('main.c', '// Set breakpoint 2 here.') 117 self.common_setup(self.line2) 129 self.common_setup(self.line2) 142 self.common_setup(self.line2)
|
/external/lldb/test/logging/ |
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/lldb/test/lang/c/stepping/ |
D | TestThreadStepping.py | 34 … self.line2 = line_number('main.c', '// frame select 2, thread step-out while stopped at "c(1)"') 58 "frame #3.*main.c:%d" % self.line2]) 66 patterns = ["frame #0.*main.c:%d" % self.line2])
|
/external/google-breakpad/src/common/ |
D | stabs_to_module_unittest.cc | 179 Module::Line *line2 = &function->lines[1]; in TEST() local 180 EXPECT_EQ(0xb4513963eff94e92LL, line2->address); in TEST() 181 EXPECT_EQ(0x1000000000000ULL, line2->size); // derived from EndFunction in TEST() 182 EXPECT_TRUE(line2->file == file2); in TEST() 183 EXPECT_EQ(87660088, line2->number); in TEST()
|
/external/lldb/test/python_api/function_symbol/ |
D | TestDisasmAPI.py | 35 self.line2 = line_number('main.c', '// Find the line number for breakpoint 2 here.') 47 breakpoint2 = target.BreakpointCreateByLocation('main.c', self.line2) 86 self.assertTrue(lineEntry.GetLine() == self.line2)
|
D | TestSymbolAPI.py | 35 self.line2 = line_number('main.c', '// Find the line number for breakpoint 2 here.') 47 breakpoint2 = target.BreakpointCreateByLocation('main.c', self.line2)
|
/external/libavc/common/x86/ |
D | ih264_deblk_luma_ssse3.c | 108 __m128i line1, line2, line3, line4, line5, line6, line7, line8; in ih264_deblk_luma_vert_bs4_ssse3() local 114 line2 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 1 * src_strd)); in ih264_deblk_luma_vert_bs4_ssse3() 122 temp1 = _mm_unpacklo_epi8(line1, line2); in ih264_deblk_luma_vert_bs4_ssse3() 128 line2 = _mm_unpackhi_epi16(temp1, temp2); in ih264_deblk_luma_vert_bs4_ssse3() 134 q0_8x16 = _mm_unpacklo_epi32(line2, line4); in ih264_deblk_luma_vert_bs4_ssse3() 135 q1_8x16 = _mm_unpackhi_epi32(line2, line4); in ih264_deblk_luma_vert_bs4_ssse3() 138 line2 = _mm_loadl_epi64((__m128i *)(pu1_src - 4 + 9 * src_strd)); in ih264_deblk_luma_vert_bs4_ssse3() 146 temp1 = _mm_unpacklo_epi8(line1, line2); in ih264_deblk_luma_vert_bs4_ssse3() 152 line2 = _mm_unpackhi_epi16(temp1, temp2); in ih264_deblk_luma_vert_bs4_ssse3() 158 temp3 = _mm_unpacklo_epi32(line2, line4); in ih264_deblk_luma_vert_bs4_ssse3() [all …]
|
/external/lldb/test/python_api/hello_world/ |
D | TestHelloWorld.py | 91 self.line2 = line_number('main.c', '// Waiting to be attached...') 156 substrs = ['main.c:%d' % self.line2, 194 substrs = ['main.c:%d' % self.line2,
|
/external/lldb/test/functionalities/inferior-changed/ |
D | TestInferiorChanged.py | 43 self.line2 = line_number('main2.c', '// Not crash here.') 82 …lldbutil.run_break_set_by_file_and_line (self, "main2.c", self.line2, num_expected_locations=1, lo…
|
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/ |
D | TestDataFormatterLibcxxList.py | 34 self.line2 = line_number('main.cpp', '// Set second break point at this line.') 41 … lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=-1)
|
/external/lldb/test/lang/c/set_values/ |
D | TestSetValues.py | 31 self.line2 = line_number('main.c', '// Set break point #2.') 44 …lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line2, num_expected_locations=1, loc…
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmssm.c | 217 cmsBool ClosestLineToLine(cmsVEC3* r, const cmsLine* line1, const cmsLine* line2) in ClosestLineToLine() argument 224 _cmsVEC3minus(&w0, &line1 ->a, &line2 ->a); in ClosestLineToLine() 227 b = _cmsVEC3dot(&line1 ->u, &line2 ->u); in ClosestLineToLine() 228 c = _cmsVEC3dot(&line2 ->u, &line2 ->u); in ClosestLineToLine() 230 e = _cmsVEC3dot(&line2 ->u, &w0); in ClosestLineToLine()
|
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/ |
D | TestDataFormatterLibcxxVector.py | 34 self.line2 = line_number('main.cpp', '// Set second break point at this line.') 41 … lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=-1)
|
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/ |
D | TestBreakpointIgnoreCount.py | 48 self.line2 = line_number('main.c', '// b(2) -> c(2) Find the call site of b(2).') 78 "frame #2.*main.c:%d" % self.line2])
|
/external/elfutils/src/libdw/ |
D | dwarf_getsrclines.c | 66 Dwarf_Line *line2 = &list2->line; in compare_lines() local 68 if (line1->addr != line2->addr) in compare_lines() 69 return (line1->addr < line2->addr) ? -1 : 1; in compare_lines() 72 if (line1->end_sequence != line2->end_sequence) in compare_lines() 73 return line2->end_sequence - line1->end_sequence; in compare_lines()
|
/external/lldb/test/python_api/target/ |
D | TestTargetAPI.py | 110 self.line2 = line_number('main.c', '// Find the line number for breakpoint 2 here.') 248 breakpoint2 = target.BreakpointCreateByLocation('main.c', self.line2) 281 self.assertTrue(lineEntry.GetLine() == self.line2)
|
/external/lldb/test/python_api/lldbutil/iter/ |
D | TestLLDBIterator.py | 20 self.line2 = line_number('main.cpp', '// And that line.') 79 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line2)
|
/external/lldb/test/functionalities/breakpoint/breakpoint_conditions/ |
D | TestBreakpointConditions.py | 61 self.line2 = line_number('main.c', "// Find the line number of c's parent call here.") 100 "frame #1.*main.c:%d" % self.line2])
|