Home
last modified time | relevance | path

Searched refs:line1 (Results 1 - 25 of 38) 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
90 SkDPoint result1 = line1.ptAtT(ts[0][i]); in check_results()
107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, in testOne() argument
109 SkASSERT(ValidLine(line1)); 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()
120 if (line1[0].fY == line1[ in testOne()
151 testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) testOneCoincident() argument
205 const SkDLine& line1 = coincidentTests[index][0]; DEF_TEST() local
210 const SkDLine& line1 = tests[index][0]; DEF_TEST() local
215 const SkDLine& line1 = noIntersect[index][0]; DEF_TEST() local
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
H A Dv8_suppressions.py122 def caret_match(line1, line2):
123 if (not line1 or
125 len(line1) > MAX_LINE_LENGTH or
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:
142 match1 = exp.match(line1)
173 for ((line1, lookahead1), (line2, lookahead2)) in zip_longest(
177 assert not (line1 is None and line2 is None)
180 if line1 i
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_history.py12 line1 = 'a = 7'
43 self.history.store(line1)
44 self.assertEqual(self.history.history, [line1])
46 self.assertEqual(self.history.history, [line1, line2])
47 self.history.store(line1)
48 self.assertEqual(self.history.history, [line2, line1])
51 self.history.prefix = line1
83 self.history.history = [line1, line2]
110 test(True, line1, prefix, 0)
116 test(False, line1, prefi
[all...]
H A Dmock_tk.py251 line1, char1 = self._decode(index1)
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
[all...]
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_compare.c54 char line1[100]; in main() local
103 while (fgets(line1, 100, f1)) { in main()
106 if (p = strstr(line1, "\n")) in main()
111 strcpy(line3, line1); in main()
171 if (p1 = strstr(line1, " :")) { in main()
173 strncpy(name_str1, line1, p1 - line1); in main()
196 line1[0] = 0; in main()
/third_party/gn/src/base/files/
H A Dfile_util.cc88 std::string line1, line2; in TextContentsEqual() local
89 getline(file1, line1); in TextContentsEqual()
98 std::string::size_type end1 = line1.find_last_not_of("\r\n"); in TextContentsEqual()
100 line1.clear(); in TextContentsEqual()
101 else if (end1 + 1 < line1.length()) in TextContentsEqual()
102 line1.erase(end1 + 1); in TextContentsEqual()
110 if (line1 != line2) in TextContentsEqual()
/third_party/python/Tools/scripts/
H A Dfindnocoding.py59 line1 = infile.readline()
62 if (get_declaration(line1) or
63 blank_re.match(line1) and get_declaration(line2)):
70 if has_correct_encoding(line1+line2+rest, "utf-8"):
/third_party/python/Lib/unittest/test/testmock/
H A Dtestwith.py206 line1 = h.readline()
209 self.assertEqual(line1, 'foo\n')
242 line1 = next(h)
245 self.assertEqual(line1, 'foo\n')
280 line1 = f.readline()
283 self.assertEqual(line1, b'abc\n')
315 line1 = h.readline()
317 self.assertEqual(line1, 'foo\n')
323 line1 = h.readline()
325 self.assertEqual(line1, 'fo
[all...]
/third_party/vk-gl-cts/scripts/src_util/
H A Dcheck_include_guards.py41 line1 = f.readline().strip()
45 if line1 != ("#define %s" % includeGuard):
/third_party/mbedtls/tests/src/
H A Dhelpers.c186 memcpy(line, mbedtls_test_info.line1, MBEDTLS_TEST_LINE_LENGTH); in mbedtls_test_get_line1()
199 memset(mbedtls_test_info.line1, 0, MBEDTLS_TEST_LINE_LENGTH); in mbedtls_test_set_line1_internal()
201 memcpy(mbedtls_test_info.line1, line, MBEDTLS_TEST_LINE_LENGTH); in mbedtls_test_set_line1_internal()
/third_party/ffmpeg/libavcodec/ppc/
H A Dme_cmp.c461 register vector signed short line1 = vec_sub(temp0, temp1); in hadamard8_diff8x8_altivec() local
471 register vector signed short line1B = vec_add(line1, line3); in hadamard8_diff8x8_altivec()
472 register vector signed short line3B = vec_sub(line1, line3); in hadamard8_diff8x8_altivec()
634 register vector signed short line1 = vec_sub(temp0, temp1); in hadamard8_diff16x8_altivec() local
644 register vector signed short line1B = vec_add(line1, line3); in hadamard8_diff16x8_altivec()
645 register vector signed short line3B = vec_sub(line1, line3); 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.c64 Dwarf_Line *line1 = &list1->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.py447 line1 = pkk_get_line(data1, nline) variable
451 if not options.plain and line1 != line2:
459 ansi1, pkk_format_line(line1, indent, colwidth), ansiend,
/third_party/mbedtls/tests/include/test/
H A Dhelpers.h77 char line1[MBEDTLS_TEST_LINE_LENGTH]; member
/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon_unittest.cc143 int line1 = __LINE__; GOOGLE_LOG(INFO) << "Visible1"; in TEST() local
157 "0 " __FILE__ ":" + SimpleItoa(line1) + ": Visible1", in TEST()
/third_party/vk-gl-cts/execserver/tools/
H A DxsTest.cpp601 const char line1[] = "Bar\n"; in runProgram() local
610 XS_CHECK(deFile_write(file, line1, sizeof(line1)-1, &numWritten) == DE_FILERESULT_SUCCESS); in runProgram()
611 XS_CHECK(numWritten == sizeof(line1)-1); in runProgram()
/third_party/python/Lib/test/
H A Dtest_gzip.py257 line1 = f.readline()
258 if not line1: break
261 if len(line1)>10:
264 amount = len(line1)
266 self.assertEqual(line1[:amount], line2)
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dexpect.py232 line1 = 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.py232 line1 = 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.py232 line1 = assembly_file.readline()
236 if (line1 != '; SPIR-V\n' or line2 != '; Version: 1.0\n' or
/third_party/python/Lib/lib2to3/
H A Drefactor.py645 for type, value, (line0, col0), (line1, col1), line_text in tokens:
647 line1 += lineno - 1
653 yield type, value, (line0, col0), (line1, col1), line_text
/third_party/python/Lib/
H A Ddifflib.py1794 line1 = text[:i]
1801 line1 = line1 + '\1'
1805 data_list.append((line_num,line1))
/third_party/node/deps/ada/
H A Dada.cpp14390 std::string line1;
14391 line1.resize(buffer.size(), ' ');
14393 line1[components.hash_start] = '|';
14396 line1[components.search_start] = '|';
14399 line1[components.pathname_start] = '|';
14402 line1[components.host_end] = '|';
14405 line1[components.host_start] = '|';
14408 line1[components.username_end] = '|';
14411 line1[components.protocol_end] = '|';
14413 answer.append(line1);
[all...]
/third_party/skia/src/gpu/geometry/
H A DGrTriangulator.cpp1038 Line line1 = edge1->fLine; in computeBisector() local
1040 line1.normalize(); in computeBisector()
1042 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in computeBisector()
1046 line1.fC += edge1->fWinding > 0 ? -1 : 1; in computeBisector()
1049 if (line1.intersect(line2, &p)) { in computeBisector()

Completed in 63 milliseconds

12