/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 | 26 SkDLine line2; in DEF_TEST() local 28 line2.set(pts); in DEF_TEST() 29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); in DEF_TEST()
|
/external/skqp/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 | 26 SkDLine line2; in DEF_TEST() local 28 line2.set(pts); in DEF_TEST() 29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]); in DEF_TEST()
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_GrdProc.cpp | 118 uint32_t line2 = *pLine2++; in DecodeArithOpt3() local 120 ((line2 >> kOptConstant4[OPT]) & kOptConstant5[OPT]); in DecodeArithOpt3() 123 line2 = (line2 << 8) | (*pLine2++); in DecodeArithOpt3() 134 ((line2 >> (k + kOptConstant4[OPT])) & kOptConstant8[OPT])); in DecodeArithOpt3() 139 line2 <<= 8; in DecodeArithOpt3() 150 ((line2 >> (7 + kOptConstant4[OPT] - k)) & kOptConstant8[OPT])); in DecodeArithOpt3() 155 uint32_t line2 = (h & 1) ? (*pLine2++) : 0; in DecodeArithOpt3() local 156 uint32_t CONTEXT = ((line2 >> kOptConstant4[OPT]) & kOptConstant5[OPT]); in DecodeArithOpt3() 159 line2 = (line2 << 8) | (*pLine2++); in DecodeArithOpt3() 170 ((line2 >> (k + kOptConstant4[OPT])) & kOptConstant8[OPT])); in DecodeArithOpt3() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
D | LineImplTest.java | 134 LineImpl line2 = LineImpl.EMPTY; in testHashCode() local 135 line2 = line2.increment(CounterImpl.getInstance(111, 222), in testHashCode() 137 assertEquals(line.hashCode(), line2.hashCode()); in testHashCode() 144 LineImpl line2 = LineImpl.EMPTY; in testEquals1() local 145 line2 = line2.increment(CounterImpl.getInstance(111, 222), in testEquals1() 147 assertEquals(line, line2); in testEquals1() 161 LineImpl line2 = LineImpl.EMPTY; in testEquals3() local 162 line2 = line2.increment(CounterImpl.getInstance(111, 2220), in testEquals3() 164 assertFalse(line.equals(line2)); in testEquals3() 171 LineImpl line2 = LineImpl.EMPTY; in testEquals4() local [all …]
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | mongo_compare.c | 55 char line2[100]; in main() local 104 fgets(line2, 100, f2); in main() 108 if (p = strstr(line2, "\n")) in main() 125 strcpy(tmp_str[i], line2); in main() 134 line3, line2); in main() 160 line2[strlen(line2) - 1] = 0; in main() 161 while (strlen(line2) < 40) { in main() 162 strcat(line2, " "); in main() 165 strcat(line3, line2); in main() 175 if (p2 = strstr(line2, " :")) { in main() [all …]
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | mock_tk.py | 249 line2, char2 = self._decode(index2) 251 return line1 < line2 or line1 == line2 and char1 < char2 253 return line1 < line2 or line1 == line2 and char1 <= char2 255 return line1 > line2 or line1 == line2 and char1 > char2 257 return line1 > line2 or line1 == line2 and char1 >= char2 259 return line1 == line2 and char1 == char2 261 return line1 != line2 or char1 != char2
|
D | test_idlehistory.py | 11 line2 = 'b = a' variable 42 self.history.store(line2) 43 self.assertEqual(self.history.history, [line1, line2]) 45 self.assertEqual(self.history.history, [line2, line1]) 50 self.history.store(line2) 79 self.history.history = [line1, line2] 105 test(True, line2, prefix, 1) 113 test(False, line2, prefix, 1) 133 test(True, line2, prefix, 1) 142 test(True, line2, prefix, 1) [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | mock_tk.py | 249 line2, char2 = self._decode(index2) 251 return line1 < line2 or line1 == line2 and char1 < char2 253 return line1 < line2 or line1 == line2 and char1 <= char2 255 return line1 > line2 or line1 == line2 and char1 > char2 257 return line1 > line2 or line1 == line2 and char1 >= char2 259 return line1 == line2 and char1 == char2 261 return line1 != line2 or char1 != char2
|
D | test_history.py | 13 line2 = 'b = a' variable 45 self.history.store(line2) 46 self.assertEqual(self.history.history, [line1, line2]) 48 self.assertEqual(self.history.history, [line2, line1]) 53 self.history.store(line2) 83 self.history.history = [line1, line2] 109 test(True, line2, prefix, 1) 117 test(False, line2, prefix, 1) 137 test(True, line2, prefix, 1) 146 test(True, line2, prefix, 1) [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/catch2/scripts/ |
D | releaseNotes.py | 51 line2 = "" variable 55 line2 = line2 + match.group(1) + issue variable 57 if line2 == "": 60 messages.append( line2 )
|
/external/libchrome/base/files/ |
D | file_util.cc | 96 std::string line1, line2; in TextContentsEqual() local 98 getline(file2, line2); in TextContentsEqual() 113 std::string::size_type end2 = line2.find_last_not_of("\r\n"); in TextContentsEqual() 115 line2.clear(); in TextContentsEqual() 116 else if (end2 + 1 < line2.length()) in TextContentsEqual() 117 line2.erase(end2 + 1); in TextContentsEqual() 119 if (line1 != line2) in TextContentsEqual()
|
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/ |
D | PositionRangeSteps.java | 60 public void givenTheRange(int line1, int column1, int line2, int column2) { in givenTheRange() argument 61 this.range = range(line1, column1, line2, column2); in givenTheRange() 74 public void whenICompareToRange(int line1, int column1, int line2, int column2) { in whenICompareToRange() argument 75 this.secondRange = range(line1, column1, line2, column2); in whenICompareToRange()
|
/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/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/antlr/runtime/Cpp/tests/ |
D | t012lexerXMLLexer.g | 22 void output(const char* line1, const char *line2) 24 outbuf << line1 << line2 << "\r\n"; 27 void output(const char* line1, ImplTraits::StringType const& line2) 29 outbuf << line1 << line2 << "\r\n";
|
/external/python/cpython2/Tools/scripts/ |
D | findnocoding.py | 59 line2 = infile.readline() 62 blank_re.match(line1) and get_declaration(line2)): 71 if has_correct_encoding(line1+line2+rest, "ascii"):
|
/external/python/cpython3/Tools/scripts/ |
D | findnocoding.py | 60 line2 = infile.readline() 63 blank_re.match(line1) and get_declaration(line2)): 70 if has_correct_encoding(line1+line2+rest, "utf-8"):
|
/external/python/cpython2/Lib/ |
D | StringIO.py | 302 line2 = f.read(len(line)) 303 if line != line2: 305 f.seek(len(line2), 1) 309 line2 = f.read() 310 if line != line2:
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CldrUtility.java | 183 int compare(String line1, String line2); in compare() argument 196 public int compare(String line1, String line2) { in compare() argument 205 if (line2 == null) { in compare() 208 if ((flags & TRIM) != 0) line2 = line2.trim(); in compare() 209 if ((flags & SKIP_EMPTY) != 0 && line2.length() == 0) skipper += SKIP_SECOND; in compare() 218 if (line2 == null) return LINES_SAME; in compare() 221 if (line2 == null) { in compare() 226 if (line1.equals(line2)) return LINES_SAME; in compare() 230 if (line1.indexOf('$') >= 0 && line2.indexOf('$') >= 0) { in compare() 232 line2 = stripTags(line2); in compare() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | writesrc.cpp | 298 char line[100], line2[100], line3[100]; in usrc_writeUCPTrie() local 300 sprintf(line2, "static const uint%d_t %s_trieData[%%ld]={\n", (int)width, name); in usrc_writeUCPTrie() 301 usrc_writeUCPTrieArrays(f, line, line2, pTrie, "\n};\n\n"); in usrc_writeUCPTrie() 303 sprintf(line2, "%s_trieIndex", name); in usrc_writeUCPTrie() 305 usrc_writeUCPTrieStruct(f, line, pTrie, line2, line3, "};\n\n"); in usrc_writeUCPTrie()
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testwith.py | 207 line2 = h.readline() 210 self.assertEqual(line2, 'bar\n') 243 line2 = next(h) 246 self.assertEqual(line2, 'bar\n') 281 line2 = f.readline() 284 self.assertEqual(line2, b'def\n')
|