Home
last modified time | relevance | path

Searched refs:line2 (Results 1 - 25 of 40) sorted by relevance

12

/third_party/skia/tests/
H A DPathOpsLineIntersectionTest.cpp87 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, lef in testOne()
151 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) testOneCoincident() argument
206 const SkDLine& line2 = coincidentTests[index][1]; DEF_TEST() local
211 const SkDLine& line2 = tests[index][1]; DEF_TEST() local
216 const SkDLine& line2 = noIntersect[index][1]; DEF_TEST() local
[all...]
H A DPathOpsDLineTest.cpp26 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()
H A DPathOpsQuadLineIntersectionThreadedTest.cpp108 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/
H A Dv8_suppressions.py122 def caret_match(line1, line2):
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):
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), sourc
[all...]
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_compare.c55 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()
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_history.py13 line2 = 'b = a'
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)
120 # Prefix 'a' tests skip line2, which starts with 'b'
137 test(True, line2, prefi
[all...]
H A Dmock_tk.py252 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 an
[all...]
/third_party/gn/src/base/files/
H A Dfile_util.cc88 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/
H A Dwritesrc.cpp353 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, line in usrc_writeUCPTrie()
[all...]
/third_party/python/Tools/scripts/
H A Dfindnocoding.py60 line2 = infile.readline()
63 blank_re.match(line1) and get_declaration(line2)):
70 if has_correct_encoding(line1+line2+rest, "utf-8"):
H A Dpindent.py145 line2 = self.readline()
146 if not line2: break
148 line += line2
/third_party/icu/icu4c/source/tools/toolutil/
H A Dwritesrc.cpp344 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/skia/third_party/externals/icu/source/tools/toolutil/
H A Dwritesrc.cpp298 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/
H A Dtestwith.py207 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/mbedtls/tests/src/
H A Dhelpers.c211 memcpy(line, mbedtls_test_info.line2, MBEDTLS_TEST_LINE_LENGTH); in mbedtls_test_get_line2()
224 memset(mbedtls_test_info.line2, 0, MBEDTLS_TEST_LINE_LENGTH); in mbedtls_test_set_line2_internal()
226 memcpy(mbedtls_test_info.line2, line, MBEDTLS_TEST_LINE_LENGTH); in mbedtls_test_set_line2_internal()
/third_party/ffmpeg/libavcodec/ppc/
H A Dme_cmp.c462 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()
H A Dh264dsp.c647 register vec_u8 line0, line1, line2, line3, line4, line5; in h264_h_loop_filter_luma_altivec() local
650 readAndTranspose16x6(pix-3, stride, line0, line1, line2, line3, line4, line5); in h264_h_loop_filter_luma_altivec()
651 h264_loop_filter_luma_altivec(line0, line1, line2, line3, line4, line5, alpha, beta, tc0); in h264_h_loop_filter_luma_altivec()
652 transpose4x16(line1, line2, line3, line4); in h264_h_loop_filter_luma_altivec()
653 write16x4(pix-2, stride, line1, line2, line3, line4); in h264_h_loop_filter_luma_altivec()
/third_party/elfutils/libdw/
H A Ddwarf_getsrclines.c65 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/mesa3d/src/gallium/tools/trace/
H A Dpytracediff.py448 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/mbedtls/tests/include/test/
H A Dhelpers.h78 char line2[MBEDTLS_TEST_LINE_LENGTH]; member
/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon_unittest.cc151 int line2 = __LINE__; GOOGLE_LOG(INFO) << "Visible2"; in TEST() local
160 "0 " __FILE__ ":" + SimpleItoa(line2) + ": Visible2", in TEST()
/third_party/astc-encoder/Source/
H A Dastcenc_mathlib.h450 struct line2 struct
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dexpect.py233 line2 = assembly_file.readline()
236 if (line1 != '; SPIR-V\n' or line2 != '; Version: 1.0\n' or
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dexpect.py233 line2 = assembly_file.readline()
236 if (line1 != '; SPIR-V\n' or line2 != '; Version: 1.0\n' or
/third_party/spirv-tools/test/tools/
H A Dexpect.py233 line2 = assembly_file.readline()
236 if (line1 != '; SPIR-V\n' or line2 != '; Version: 1.0\n' or

Completed in 19 milliseconds

12