/third_party/flutter/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()
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 108 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; in testQuadLineIntersectMain() local 109 testLineIntersect(state.fReporter, quad, line2, x, y); in testQuadLineIntersectMain()
|
/third_party/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()
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 108 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; in testQuadLineIntersectMain() local 109 testLineIntersect(state.fReporter, quad, line2, x, y); in testQuadLineIntersectMain()
|
/third_party/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 …]
|
/third_party/gstreamer/gstplugins_bad/gst/ivtc/ |
D | gstivtc.c | 371 reconstruct_line (guint8 * line1, guint8 * line2, int i, int a, int b, int c, in reconstruct_line() argument 380 x += line2[i + 0] * d; in reconstruct_line() 381 x += line2[i + 1] * c; in reconstruct_line() 382 x += line2[i + 2] * b; in reconstruct_line() 383 x += line2[i + 3] * a; in reconstruct_line() 411 guint8 *line2 = GET_LINE (&field->frame, k, j + 1); in reconstruct_single() local 418 dx = -line1[i - 1] - line2[i - 1] + line1[i + 1] + line2[i + 1]; in reconstruct_single() 422 + line2[i - 1] + 2 * line2[i] + line2[i + 1]; in reconstruct_single() 429 dest[i] = (line1[i] + line2[i] + 1) >> 1; in reconstruct_single() 432 dest[i] = reconstruct_line (line1, line2, i, 0, 0, 0, 16); in reconstruct_single() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | sccdec.c | 66 char line2[4096], line[4096]; in scc_read_header() local 80 while (!ff_text_eof(&tr) || next_ts == AV_NOPTS_VALUE || line2[0]) { in scc_read_header() 99 len = ff_subtitles_read_line(&tr, line2, sizeof(line2)); in scc_read_header() 103 if (av_sscanf(line2, "%d:%d:%d%*[:;]%d", &hh, &mm, &ss, &fs) == 4) in scc_read_header() 107 memmove(line, line2, sizeof(line)); in scc_read_header() 108 line2[0] = 0; in scc_read_header() 111 len = ff_subtitles_read_line(&tr, line2, sizeof(line2)); in scc_read_header() 115 if (av_sscanf(line2, "%d:%d:%d%*[:;]%d", &hh, &mm, &ss, &fs) == 4) in scc_read_header()
|
/third_party/python/Lib/idlelib/idle_test/ |
D | mock_tk.py | 252 line2, char2 = self._decode(index2) 254 return line1 < line2 or line1 == line2 and char1 < char2 256 return line1 < line2 or line1 == line2 and char1 <= char2 258 return line1 > line2 or line1 == line2 and char1 > char2 260 return line1 > line2 or line1 == line2 and char1 >= char2 262 return line1 == line2 and char1 == char2 264 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 …]
|
/third_party/gn/src/base/files/ |
D | file_util.cc | 88 std::string line1, line2; in TextContentsEqual() local 90 getline(file2, line2); in TextContentsEqual() 104 std::string::size_type end2 = line2.find_last_not_of("\r\n"); in TextContentsEqual() 106 line2.clear(); in TextContentsEqual() 107 else if (end2 + 1 < line2.length()) in TextContentsEqual() 108 line2.erase(end2 + 1); in TextContentsEqual() 110 if (line1 != line2) in TextContentsEqual()
|
/third_party/mbedtls/tests/src/ |
D | helpers.c | 99 memset( mbedtls_test_info.line2, 0, sizeof( mbedtls_test_info.line2 ) ); in mbedtls_test_info_reset() 118 (void) mbedtls_snprintf( mbedtls_test_info.line2, in mbedtls_test_equal() 119 sizeof( mbedtls_test_info.line2 ), in mbedtls_test_equal()
|
/third_party/python/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"):
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | writesrc.cpp | 335 char line[100], line2[100], line3[100], line4[100]; in usrc_writeUCPTrie() local 340 sprintf(line2, "static const uint%d_t %s_trieData[%%ld]={\n", (int)width, name); in usrc_writeUCPTrie() 345 sprintf(line2, "data_%d = [\n ", (int)width); in usrc_writeUCPTrie() 351 usrc_writeUCPTrieArrays(f, line, line2, pTrie, line3, syntax); in usrc_writeUCPTrie() 356 sprintf(line2, "%s_trieIndex", name); in usrc_writeUCPTrie() 362 line2[0] = 0; in usrc_writeUCPTrie() 369 usrc_writeUCPTrieStruct(f, line, pTrie, line2, line3, line4, syntax); in usrc_writeUCPTrie()
|
/third_party/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()
|
/third_party/flutter/skia/third_party/externals/icu/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()
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/python/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')
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | textStorage.ts | 47 const { line: line2, offset: offset2 } = ts2.positionToLineOffset(pos); 48 …assert.strictEqual(line1, line2, `positionToLineOffset ${pos}::line:: expected ${line1} to equal $…
|
/third_party/flutter/flutter/packages/flutter_test/lib/src/ |
D | stack_manipulation.dart | 20 final RegExp line2 = RegExp(r'^#2 +expect \(.+\)$'); 26 line2.firstMatch(stackLines[2]) != null &&
|
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/ |
D | 109-no-space-after-hash-line.c | 1 #line2
|
/third_party/toybox/tests/ |
D | more.test | 9 line2
|
/third_party/ffmpeg/libavcodec/ppc/ |
D | me_cmp.c | 462 register vector signed short line2 = vec_add(temp2, temp3); in hadamard8_diff8x8_altivec() local 469 register vector signed short line0B = vec_add(line0, line2); in hadamard8_diff8x8_altivec() 470 register vector signed short line2B = vec_sub(line0, line2); in hadamard8_diff8x8_altivec() 635 register vector signed short line2 = vec_add(temp2, temp3); in hadamard8_diff16x8_altivec() local 642 register vector signed short line0B = vec_add(line0, line2); in hadamard8_diff16x8_altivec() 643 register vector signed short line2B = vec_sub(line0, line2); in hadamard8_diff16x8_altivec()
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | pytracediff.py | 448 line2 = pkk_get_line(data2, nline) variable 451 if not options.plain and line1 != line2: 461 ansi2, pkk_format_line(line2, indent, colwidth), ansiend).
|