/third_party/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 87 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 D | v8_suppressions.py | 122 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 D | test_history.py | 12 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 D | mock_tk.py | 251 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 D | mongo_compare.c | 54 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 D | file_util.cc | 88 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 D | findnocoding.py | 59 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 D | testwith.py | 206 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 D | check_include_guards.py | 41 line1 = f.readline().strip() 45 if line1 != ("#define %s" % includeGuard):
|
/third_party/mbedtls/tests/src/ |
H A D | helpers.c | 186 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 D | me_cmp.c | 461 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 D | h264dsp.c | 647 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 D | dwarf_getsrclines.c | 64 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 D | pytracediff.py | 447 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 D | helpers.h | 77 char line1[MBEDTLS_TEST_LINE_LENGTH]; member
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | common_unittest.cc | 143 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 D | xsTest.cpp | 601 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 D | test_gzip.py | 257 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 D | expect.py | 232 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 D | expect.py | 232 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 D | expect.py | 232 line1 = assembly_file.readline() 236 if (line1 != '; SPIR-V\n' or line2 != '; Version: 1.0\n' or
|
/third_party/python/Lib/lib2to3/ |
H A D | refactor.py | 645 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 D | difflib.py | 1794 line1 = text[:i] 1801 line1 = line1 + '\1' 1805 data_list.append((line_num,line1))
|
/third_party/node/deps/ada/ |
H A D | ada.cpp | 14390 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 D | GrTriangulator.cpp | 1038 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()
|