HomeSort by relevance Sort by last modified time
    Searched refs:line1 (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /external/skia/tests/
PathOpsLineIntersectionTest.cpp 87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
90 SkDPoint result1 = line1.ptAtT(ts[0][i]);
107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
109 SkASSERT(ValidLine(line1));
113 int pts = i.intersect(line1, line2);
116 check_results(reporter, line1, line2, i, nearAllowed);
117 if (line1[0] == line1[1] || line2[0] == line2[1]) {
120 if (line1[0].fY == line1[1].fY)
205 const SkDLine& line1 = coincidentTests[index][0]; local
210 const SkDLine& line1 = tests[index][0]; local
215 const SkDLine& line1 = noIntersect[index][0]; local
    [all...]
  /external/skqp/tests/
PathOpsLineIntersectionTest.cpp 87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
90 SkDPoint result1 = line1.ptAtT(ts[0][i]);
107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
109 SkASSERT(ValidLine(line1));
113 int pts = i.intersect(line1, line2);
116 check_results(reporter, line1, line2, i, nearAllowed);
117 if (line1[0] == line1[1] || line2[0] == line2[1]) {
120 if (line1[0].fY == line1[1].fY)
205 const SkDLine& line1 = coincidentTests[index][0]; local
210 const SkDLine& line1 = tests[index][0]; local
215 const SkDLine& line1 = noIntersect[index][0]; local
    [all...]
  /external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
RegionTest.java 44 LineRegion line1 = new LineRegion(1, 10); local
46 assertFalse(line1.intersects(line2));
48 line1.setMaxVal(15);
49 assertTrue(line1.intersects(line2));
52 line1.setMaxVal(30);
53 assertTrue(line1.intersects(line2));
56 line1.setMinVal(21);
57 assertFalse(line1.intersects(line2));
LineRegionTest.java 60 LineRegion line1 = new LineRegion(1, 10); local
62 assertFalse(line1.intersects(line2));
64 line1.setMaxVal(15);
65 assertTrue(line1.intersects(line2));
68 line1.setMaxVal(30);
69 assertTrue(line1.intersects(line2));
72 line1.setMinVal(21);
73 assertFalse(line1.intersects(line2));
  /device/google/marlin/dataservices/datatop/src/
datatop_str.c 85 * @param line1 First line that is parsed to store the datapoint names as keys.
86 * @param len1 Length of line1.
92 int dt_parse_proc_dictionary(char *line1, int len1, char *line2,
100 if (line1 == 0 || line2 == 0 || dict == 0)
105 if (line1[i] == ' ') {
106 dict->key[k] = &line1[i+1];
107 line1[i] = 0;
136 * @param line1 Line to parse to find datapoint prefix.
137 * @param len1 Length of line1.
140 void dt_parse_for_prefix(char *line1, int len1, struct dt_procdict *dict
    [all...]
datatop_str.h 59 int dt_parse_proc_dictionary(char *line1, int len1, char *line2, int len2,
64 int dt_parse_proc_same_line_key_and_val(char *line1, int len1, int l,
67 void dt_parse_for_prefix(char *line1, int len1, struct dt_procdict *dict);
69 int dt_single_line_parse(char *line1, int len1, struct dt_procdict *dict);
datatop_dev_poll.c 65 * @param line1 Line to parse to find datapoint names and values.
66 * @param len1 Length of line1.
70 static void dt_dev_parse(char *line1, int len1,
76 while (line1[i] == ' ' || line1[i] == ' ')
78 dict->key[index] = &line1[i];
80 if (line1[i] == ':') {
81 line1[i+1] = 0;
89 if (line1[j] != ' ' && line1[j] != ' ')
    [all...]
datatop_meminfo_file_poll.c 67 * @param line1 Line to parse to find datapoint names and values.
68 * @param len1 Length of line1.
72 int dt_meminfo_parse(char *line1, int len1,
79 if (line1 == 0 || dict == 0)
83 dict->key[k] = &line1[0];
85 if (line1[i] == ' ' || line1[i] == ' ') {
86 line1[i] = 0;
88 while (line1[n] == ' ' || line1[n] == ' '
    [all...]
datatop_stat_poll.c 65 * @param line1 Line to parse to find datapoint names and values.
66 * @param len1 Length of line1.
71 static int dt_stat_parse(char *line1, int len1,
78 if (line1 == 0 || dict == 0)
81 dict->key[n_index] = &line1[0];
83 if (line1[i] == ' ') {
84 line1[i] = 0;
92 if (line1[i] != ' ') {
93 dict->val[k] = &line1[i];
95 if (line1[j] == ' ')
    [all...]
  /external/toybox/tests/
more.test 8 line1
12 testing "non-tty" "more file1 | cat -" "line1\nline2\n" "" ""
  /external/syzkaller/pkg/email/
reply_test.go 30 email: `line1
36 result: `> line1
46 email: `> line1
52 result: `>> line1
62 email: `line1
66 result: `> line1
76 email: `line1
80 result: `> line1
  /external/perf_data_converter/src/quipper/
perf_stat_parser_test.cc 62 const auto& line1 = proto.line(0); local
63 EXPECT_EQ("/uncore/reads/", line1.event_name());
64 EXPECT_EQ(711983, line1.count());
65 EXPECT_FALSE(line1.has_time_ms());
98 const auto& line1 = proto.line(0); local
99 EXPECT_EQ("cycles", line1.event_name());
100 EXPECT_EQ(19062079, line1.count());
101 EXPECT_EQ(2001, line1.time_ms());
  /external/libxcam/cl_kernel/
kernel_wavelet_coeff.cl 66 float16 line1 = *((__local float16 *)(local_src_data + (local_id_y + 1) * SLM_CELL_X_SIZE + local_id_x));
82 line_sum[1] = mad(line1.s0123, line1.s0123, line_sum[1]);
83 line_sum[1] = mad(line1.s1234, line1.s1234, line_sum[1]);
84 line_sum[1] = mad(line1.s2345, line1.s2345, line_sum[1]);
85 line_sum[1] = mad(line1.s3456, line1.s3456, line_sum[1]);
86 line_sum[1] = mad(line1.s4567, line1.s4567, line_sum[1])
    [all...]
  /external/v8/tools/clusterfuzz/
v8_suppressions.py 149 def caret_match(line1, line2):
150 if (not line1 or
152 len(line1) > MAX_LINE_LENGTH or
155 return bool(CARET_RE.match(line1) and CARET_RE.match(line2))
165 def ignore_by_regexp(line1, line2, allowed):
166 if len(line1) > MAX_LINE_LENGTH or len(line2) > MAX_LINE_LENGTH:
169 match1 = exp.match(line1)
200 for ((line1, lookahead1), (line2, lookahead2)) in itertools.izip_longest(
204 assert not (line1 is None and line2 is None)
207 if line1 is None
    [all...]
  /external/python/cpython2/Lib/idlelib/idle_test/
test_idlehistory.py 10 line1 = 'a = 7'
40 self.history.store(line1)
41 self.assertEqual(self.history.history, [line1])
43 self.assertEqual(self.history.history, [line1, line2])
44 self.history.store(line1)
45 self.assertEqual(self.history.history, [line2, line1])
48 self.history.prefix = line1
79 self.history.history = [line1, line2]
106 test(True, line1, prefix, 0)
112 test(False, line1, prefix, 0
    [all...]
mock_tk.py 248 line1, char1 = self._decode(index1)
251 return line1 < line2 or line1 == line2 and char1 < char2
253 return line1 < line2 or line1 == line2 and char1 <= char2
255 return line1 > line2 or line1 == line2 and char1 > char2
257 return line1 > line2 or line1 == line2 and char1 >= char2
259 return line1 == line2 and char1 == char
    [all...]
  /external/python/cpython3/Lib/idlelib/idle_test/
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, prefix, 0
    [all...]
mock_tk.py 248 line1, char1 = self._decode(index1)
251 return line1 < line2 or line1 == line2 and char1 < char2
253 return line1 < line2 or line1 == line2 and char1 <= char2
255 return line1 > line2 or line1 == line2 and char1 > char2
257 return line1 > line2 or line1 == line2 and char1 >= char2
259 return line1 == line2 and char1 == char
    [all...]
  /external/pdfium/core/fxcodec/jbig2/
JBig2_GrdProc.cpp 100 uint32_t line1 = (*pLine1++) << 6; local
102 uint32_t CONTEXT = ((line1 & 0xf800) | (line2 & 0x07f0));
104 line1 = (line1 << 8) | ((*pLine1++) << 6);
114 ((line1 >> k) & 0x0800) | ((line2 >> k) & 0x0010));
118 line1 <<= 8;
129 ((line1 >> (7 - k)) & 0x0800) | ((line2 >> (7 - k)) & 0x0010));
187 uint32_t line1 = GBREG->getPixel(1, h - 2); local
188 line1 |= GBREG->getPixel(0, h - 2) << 1;
203 CONTEXT |= line1 << 12
248 uint32_t line1 = (*pLine1++) << 4; local
335 uint32_t line1 = GBREG->getPixel(2, h - 2); local
394 uint32_t line1 = (*pLine1++) << 1; local
481 uint32_t line1 = GBREG->getPixel(1, h - 2); local
538 uint32_t line1 = *pLine1++; local
613 uint32_t line1 = GBREG->getPixel(1, h - 1); local
775 uint32_t line1 = (*pLine1++) << 6; local
867 uint32_t line1 = pImage->getPixel(1, m_loopIndex - 2); local
934 uint32_t line1 = (*pLine1++) << 4; local
1026 uint32_t line1 = pImage->getPixel(2, h - 2); local
1089 uint32_t line1 = (*pLine1++) << 1; local
1181 uint32_t line1 = pImage->getPixel(1, m_loopIndex - 2); local
1242 uint32_t line1 = *pLine1++; local
1322 uint32_t line1 = pImage->getPixel(1, m_loopIndex - 1); local
    [all...]
  /external/ltp/testcases/kernel/fs/mongo/
mongo_compare.c 54 char line1[100]; local
103 while (fgets(line1, 100, f1)) {
106 if (p = strstr(line1, "\n"))
111 strcpy(line3, line1);
171 if (p1 = strstr(line1, " :")) {
173 strncpy(name_str1, line1, p1 - line1);
196 line1[0] = 0;
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
SeedTest.java 42 String line1 = getNextLine(s1); local
44 if (line1 != null || line2 != null) {
45 assertEquals(line1, line2);
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
PositionRangeSteps.java 59 @Given("the range $line1, $column1 - $line2, $column2")
60 public void givenTheRange(int line1, int column1, int line2, int column2) {
61 this.range = range(line1, column1, line2, column2);
73 @When("I compare to range $line1, $column1 - $line2, $column2")
74 public void whenICompareToRange(int line1, int column1, int line2, int column2) {
75 this.secondRange = range(line1, column1, line2, column2);
  /external/python/cpython2/Tools/scripts/
findnocoding.py 58 line1 = infile.readline()
61 if (get_declaration(line1) or
62 blank_re.match(line1) and get_declaration(line2)):
71 if has_correct_encoding(line1+line2+rest, "ascii"):
  /external/python/cpython3/Tools/scripts/
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"):
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
BinaryTagTest.java 26 String line1 = "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5"; field in class:BinaryTagTest
30 String content = line1 + line2 + line3 + line4;

Completed in 2557 milliseconds

1 2 3 4