/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/node/deps/v8/tools/clusterfuzz/foozzie/ |
D | v8_suppressions.py | 122 def caret_match(line1, line2): argument 124 not line2 or 126 len(line2) > MAX_LINE_LENGTH): 128 return bool(CARET_RE.match(line1) and CARET_RE.match(line2)) 138 def ignore_by_regexp(line1, line2, allowed): argument 139 if len(line1) > MAX_LINE_LENGTH or len(line2) > MAX_LINE_LENGTH: 143 match2 = exp.match(line2) 173 for ((line1, lookahead1), (line2, lookahead2)) in zip_longest( 177 assert not (line1 is None and line2 is None) 181 return '+ %s' % short_line_output(line2), source [all …]
|
/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/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/mbedtls/tests/src/ |
D | helpers.c | 104 memset(mbedtls_test_info.line2, 0, sizeof(mbedtls_test_info.line2)); in mbedtls_test_info_reset() 130 (void) mbedtls_snprintf(mbedtls_test_info.line2, in mbedtls_test_equal() 131 sizeof(mbedtls_test_info.line2), in mbedtls_test_equal() 157 (void) mbedtls_snprintf(mbedtls_test_info.line2, in mbedtls_test_le_u() 158 sizeof(mbedtls_test_info.line2), in mbedtls_test_le_u() 184 (void) mbedtls_snprintf(mbedtls_test_info.line2, in mbedtls_test_le_s() 185 sizeof(mbedtls_test_info.line2), in mbedtls_test_le_s()
|
/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/node/deps/icu-small/source/tools/toolutil/ |
D | writesrc.cpp | 353 char line[100], line2[100], line3[100], line4[100]; in usrc_writeUCPTrie() local 358 … snprintf(line2, sizeof(line2), "static const uint%d_t %s_trieData[%%ld]={\n", (int)width, name); in usrc_writeUCPTrie() 363 snprintf(line2, sizeof(line2), "data_%d = [\n ", (int)width); in usrc_writeUCPTrie() 369 usrc_writeUCPTrieArrays(f, line, line2, pTrie, line3, syntax); in usrc_writeUCPTrie() 374 snprintf(line2, sizeof(line2), "%s_trieIndex", name); in usrc_writeUCPTrie() 380 line2[0] = 0; in usrc_writeUCPTrie() 387 usrc_writeUCPTrieStruct(f, line, pTrie, line2, line3, line4, syntax); in usrc_writeUCPTrie()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | writesrc.cpp | 344 char line[100], line2[100], line3[100], line4[100]; in usrc_writeUCPTrie() local 349 sprintf(line2, "static const uint%d_t %s_trieData[%%ld]={\n", (int)width, name); in usrc_writeUCPTrie() 354 sprintf(line2, "data_%d = [\n ", (int)width); in usrc_writeUCPTrie() 360 usrc_writeUCPTrieArrays(f, line, line2, pTrie, line3, syntax); in usrc_writeUCPTrie() 365 sprintf(line2, "%s_trieIndex", name); in usrc_writeUCPTrie() 371 line2[0] = 0; in usrc_writeUCPTrie() 378 usrc_writeUCPTrieStruct(f, line, pTrie, line2, line3, line4, syntax); in usrc_writeUCPTrie()
|
/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"):
|
D | pindent.py | 145 line2 = self.readline() 146 if not line2: break 148 line += line2
|
/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/curl/tests/data/ |
D | test1457 | 33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --silent --write-out 'line1%{stderr}line2%{stdout}line3' 50 line2
|
D | test173 | 39 line2 71 line2
|
/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/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/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/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).
|
/third_party/glslang/Test/baseResults/ |
D | hlsl.pp.line2.frag.out | 1 hlsl.pp.line2.frag 11 1: String "hlsl.pp.line2.frag"
|
/third_party/elfutils/libdw/ |
D | dwarf_getsrclines.c | 65 Dwarf_Line *line2 = &list2->line; in compare_lines() local 67 if (line1->addr != line2->addr) in compare_lines() 68 return (line1->addr < line2->addr) ? -1 : 1; in compare_lines() 71 if (line1->end_sequence != line2->end_sequence) in compare_lines() 72 return line2->end_sequence - line1->end_sequence; in compare_lines()
|
/third_party/mbedtls/tests/include/test/ |
D | helpers.h | 68 char line2[76]; member
|