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

1 2 3 4 5 6 7 8 91011>>

  /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/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/v8/tools/foozzie/
v8_suppressions.py 182 def caret_match(line1, line2):
183 if (not line1 or
185 len(line1) > MAX_LINE_LENGTH or
188 return bool(CARET_RE.match(line1) and CARET_RE.match(line2))
198 def ignore_by_regexp(line1, line2, allowed):
199 if len(line1) > MAX_LINE_LENGTH or len(line2) > MAX_LINE_LENGTH:
202 match1 = exp.match(line1)
233 for ((line1, lookahead1), (line2, lookahead2)) in itertools.izip_longest(
237 assert not (line1 is None and line2 is None)
240 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/pdfium/core/fxcodec/jbig2/
JBig2_GrdProc.cpp 88 uint32_t line1 = (*pLine1++) << 6; local
90 uint32_t CONTEXT = ((line1 & 0xf800) | (line2 & 0x07f0));
92 line1 = (line1 << 8) | ((*pLine1++) << 6);
99 ((line1 >> k) & 0x0800) | ((line2 >> k) & 0x0010));
103 line1 <<= 8;
111 ((line1 >> (7 - k)) & 0x0800) | ((line2 >> (7 - k)) & 0x0010));
159 uint32_t line1 = GBREG->getPixel(1, h - 2); local
160 line1 |= GBREG->getPixel(0, h - 2) << 1;
175 CONTEXT |= line1 << 12
213 uint32_t line1 = (*pLine1++) << 4; local
284 uint32_t line1 = GBREG->getPixel(2, h - 2); local
336 uint32_t line1 = (*pLine1++) << 1; local
407 uint32_t line1 = GBREG->getPixel(1, h - 2); local
455 uint32_t line1 = *pLine1++; local
514 uint32_t line1 = GBREG->getPixel(1, h - 1); local
670 uint32_t line1 = (*pLine1++) << 6; local
746 uint32_t line1 = pImage->getPixel(1, m_loopIndex - 2); local
807 uint32_t line1 = (*pLine1++) << 4; local
883 uint32_t line1 = pImage->getPixel(2, h - 2); local
940 uint32_t line1 = (*pLine1++) << 1; local
1016 uint32_t line1 = pImage->getPixel(1, m_loopIndex - 2); local
1071 uint32_t line1 = *pLine1++; local
1135 uint32_t line1 = pImage->getPixel(1, m_loopIndex - 1); local
    [all...]
JBig2_GrrdProc.cpp 44 uint32_t line1 = GRREG->getPixel(1, h - 1); local
45 line1 |= GRREG->getPixel(0, h - 1) << 1;
70 CONTEXT |= line1 << 10;
74 line1 = ((line1 << 1) | GRREG->getPixel(w + 2, h - 1)) & 0x03;
90 uint32_t line1 = GRREG->getPixel(1, h - 1); local
91 line1 |= GRREG->getPixel(0, h - 1) << 1;
125 CONTEXT |= line1 << 10;
130 line1 = ((line1 << 1) | GRREG->getPixel(w + 2, h - 1)) & 0x03
175 uint32_t line1 = (h > 0) ? pLine[-nStride] << 4 : 0; local
292 uint32_t line1 = GRREG->getPixel(1, h - 1); local
331 uint32_t line1 = GRREG->getPixel(1, h - 1); local
410 uint32_t line1 = (h > 0) ? pLine[-nStride] << 1 : 0; local
    [all...]
  /frameworks/base/cmds/bootanimation/iot/
BootAction.cpp 129 auto& line1 = lines.at(lineNumber); local
130 while (StartsWith(line1, "#")) {
135 line1 = lines.at(lineNumber);
139 if (!StartsWith(line1, libraryNameToken.c_str())) {
141 "Instead found: %s", libraryNameToken.c_str(), line1.c_str());
145 std::string libraryName = line1.substr(libraryNameToken.length());
  /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/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"):
  /frameworks/base/core/java/android/service/notification/
Condition.java 80 public final String line1; field in class:Condition
107 public Condition(Uri id, String summary, String line1, String line2, int icon,
114 this.line1 = line1;
139 dest.writeString(line1);
151 .append(",line1=").append(line1)
184 && Objects.equals(other.line1, line1)
193 return Objects.hash(id, summary, line1, line2, icon, state, flags)
    [all...]
  /cts/tests/app/src/android/app/cts/
ConditionTest.java 49 assertEquals("", condition.line1);
64 assertEquals("", condition1.line1);
  /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;
  /external/libchrome/base/files/
file_util.cc 96 std::string line1, line2; local
97 getline(file1, line1);
107 std::string::size_type end1 = line1.find_last_not_of("\r\n");
109 line1.clear();
110 else if (end1 + 1 < line1.length())
111 line1.erase(end1 + 1);
119 if (line1 != line2)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
findnocoding.py 57 line1 = infile.readline()
60 if get_declaration(line1) or get_declaration(line2):
69 if has_correct_encoding(line1+line2+rest, "ascii"):
  /external/nist-sip/java/gov/nist/javax/sip/parser/
PipelinedMsgParser.java 226 String line1; local
231 line1 = readLine(inputStream);
233 if (line1.equals("\n")) {
248 inputBuffer.append(line1);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ActionPresenterSelector.java 112 CharSequence line1 = action.getLabel1(); local
114 if (TextUtils.isEmpty(line1)) {
117 vh.mButton.setText(line1);
119 vh.mButton.setText(line1 + "\n" + line2);

Completed in 679 milliseconds

1 2 3 4 5 6 7 8 91011>>