HomeSort by relevance Sort by last modified time
    Searched refs:line2 (Results 1 - 25 of 254) 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,
91 SkDPoint result2 = line2.ptAtT(ts[1][i]);
97 result2 = line2.ptAtT(ts[1][i ^ 1]);
107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
110 SkASSERT(ValidLine(line2));
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]) {
124 ts.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left)
206 const SkDLine& line2 = coincidentTests[index][1]; local
211 const SkDLine& line2 = tests[index][1]; local
216 const SkDLine& line2 = noIntersect[index][1]; local
    [all...]
PathOpsDLineTest.cpp 26 SkDLine line2; local
28 line2.set(pts);
29 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]);
  /external/toybox/tests/
more.test 9 line2
  /external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
RegionTest.java 45 LineRegion line2 = new LineRegion(11, 20); local
46 assertFalse(line1.intersects(line2));
49 assertTrue(line1.intersects(line2));
53 assertTrue(line1.intersects(line2));
57 assertFalse(line1.intersects(line2));
LineRegionTest.java 61 LineRegion line2 = new LineRegion(11, 20); local
62 assertFalse(line1.intersects(line2));
65 assertTrue(line1.intersects(line2));
69 assertTrue(line1.intersects(line2));
73 assertFalse(line1.intersects(line2));
  /external/ltp/testcases/kernel/fs/mongo/
mongo_compare.c 55 char line2[100]; local
104 fgets(line2, 100, f2);
108 if (p = strstr(line2, "\n"))
125 strcpy(tmp_str[i], line2);
134 line3, line2);
160 line2[strlen(line2) - 1] = 0;
161 while (strlen(line2) < 40) {
162 strcat(line2, " ");
165 strcat(line3, line2);
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
cv_util.py 13 def AreLinesOrthogonal(line1, line2, tolerance):
18 theta2 = np.arctan2(np.float(line2[1] - line2[3]),
19 np.float(line2[0] - line2[2]))
28 def FindLineIntersection(line1, line2):
37 line2p1 = line2[:2]
38 line2p0 = line2[2:]
  /external/pdfium/core/fxcodec/jbig2/
JBig2_GrdProc.cpp 89 uint32_t line2 = *pLine2++; local
90 uint32_t CONTEXT = ((line1 & 0xf800) | (line2 & 0x07f0));
93 line2 = (line2 << 8) | (*pLine2++);
99 ((line1 >> k) & 0x0800) | ((line2 >> k) & 0x0010));
104 line2 <<= 8;
111 ((line1 >> (7 - k)) & 0x0800) | ((line2 >> (7 - k)) & 0x0010));
116 uint32_t line2 = (h & 1) ? (*pLine2++) : 0; local
117 uint32_t CONTEXT = (line2 & 0x07f0);
120 line2 = (line2 << 8) | (*pLine2++)
161 uint32_t line2 = GBREG->getPixel(2, h - 1); local
214 uint32_t line2 = *pLine2++; local
241 uint32_t line2 = (h & 1) ? (*pLine2++) : 0; local
287 uint32_t line2 = GBREG->getPixel(2, h - 1); local
337 uint32_t line2 = *pLine2++; local
364 uint32_t line2 = (h & 1) ? (*pLine2++) : 0; local
409 uint32_t line2 = GBREG->getPixel(1, h - 1); local
516 uint32_t line2 = 0; local
671 uint32_t line2 = *pLine2++; local
698 uint32_t line2 = (m_loopIndex & 1) ? (*pLine2++) : 0; local
748 uint32_t line2 = pImage->getPixel(2, m_loopIndex - 1); local
808 uint32_t line2 = *pLine2++; local
835 uint32_t line2 = (m_loopIndex & 1) ? (*pLine2++) : 0; local
886 uint32_t line2 = pImage->getPixel(2, h - 1); local
941 uint32_t line2 = *pLine2++; local
968 uint32_t line2 = (m_loopIndex & 1) ? (*pLine2++) : 0; local
1018 uint32_t line2 = pImage->getPixel(1, m_loopIndex - 1); local
1137 uint32_t line2 = 0; local
    [all...]
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
LineImplTest.java 134 LineImpl line2 = LineImpl.EMPTY; local
135 line2 = line2.increment(CounterImpl.getInstance(111, 222),
137 assertEquals(line.hashCode(), line2.hashCode());
144 LineImpl line2 = LineImpl.EMPTY; local
145 line2 = line2.increment(CounterImpl.getInstance(111, 222),
147 assertEquals(line, line2);
161 LineImpl line2 = LineImpl.EMPTY; local
162 line2 = line2.increment(CounterImpl.getInstance(111, 2220)
171 LineImpl line2 = LineImpl.EMPTY; local
    [all...]
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
SeedTest.java 41 String line2 = getNextLine(s2); local
42 if (line1 != null || line2 != null) {
43 assertEquals(line1, line2);
  /frameworks/base/core/java/android/provider/
SearchRecentSuggestions.java 154 * @param line2 If you have configured your recent suggestions provider with
161 public void saveRecentQuery(final String queryString, final String line2) {
165 if (!mTwoLineDisplay && !TextUtils.isEmpty(line2)) {
172 saveRecentQueryBlocking(queryString, line2);
188 private void saveRecentQueryBlocking(String queryString, String line2) {
197 values.put(SuggestionColumns.DISPLAY2, line2);
  /device/google/marlin/dataservices/datatop/src/
datatop_str.h 59 int dt_parse_proc_dictionary(char *line1, int len1, char *line2, int len2,
datatop_str.c 87 * @param line2 Second line that is parsed to store the datapoint values as dictionary values.
88 * @param len2 Length of line2.
92 int dt_parse_proc_dictionary(char *line1, int len1, char *line2,
100 if (line1 == 0 || line2 == 0 || dict == 0)
115 if (line2[i] == ' ') {
116 dict->val[k] = &line2[i+1];
117 line2[i] = 0;
datatop_dual_line_poll.c 55 * @var dtop_dual_line_vars::line2
62 char **line2; member in struct:dtop_dual_line_vars
106 (dpg->priv))->line2[n],
132 (dpg->priv))->line2[2*i], line_len2[2*i],
174 free(((struct dtop_dual_line_vars *)(dpset->priv))->line2[i]);
177 free(((struct dtop_dual_line_vars *)(dpset->priv))->line2);
230 storage->line2 = malloc(storage->line_count * sizeof(*storage->line2));
233 storage->line2[i] = malloc(sizeof(char) * DTOP_DUAL_LINE);
250 line_len2[n] = dt_read_line(storage->line2[n]
    [all...]
  /frameworks/base/core/java/android/service/notification/
Condition.java 82 public final String line2; field in class:Condition
107 public Condition(Uri id, String summary, String line1, String line2, int icon,
115 this.line2 = line2;
140 dest.writeString(line2);
152 .append(",line2=").append(line2)
185 && Objects.equals(other.line2, line2)
193 return Objects.hash(id, summary, line1, line2, icon, state, flags)
    [all...]
  /cts/tests/app/src/android/app/cts/
ConditionTest.java 50 assertEquals("", condition.line2);
65 assertEquals("", condition1.line2);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
BinaryTagTest.java 27 String line2 = "OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+"; field in class:BinaryTagTest
30 String content = line1 + line2 + line3 + line4;
  /external/nist-sip/java/gov/nist/javax/sip/parser/
PipelinedMsgParser.java 227 String line2 = null; local
255 line2 = readLine(inputStream);
256 inputBuffer.append(line2);
257 if (line2.trim().equals(""))
269 inputBuffer.append(line2);
  /external/libchrome/base/files/
file_util.cc 96 std::string line1, line2; local
98 getline(file2, line2);
113 std::string::size_type end2 = line2.find_last_not_of("\r\n");
115 line2.clear();
116 else if (end2 + 1 < line2.length())
117 line2.erase(end2 + 1);
119 if (line1 != line2)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
findnocoding.py 58 line2 = infile.readline()
60 if get_declaration(line1) or get_declaration(line2):
69 if has_correct_encoding(line1+line2+rest, "ascii"):
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ActionPresenterSelector.java 113 CharSequence line2 = action.getLabel2(); local
115 vh.mButton.setText(line2);
116 } else if (TextUtils.isEmpty(line2)) {
119 vh.mButton.setText(line1 + "\n" + line2);
  /packages/apps/TV/src/com/android/tv/dvr/ui/
ActionPresenterSelector.java 120 CharSequence line2 = action.getLabel2(); local
122 vh.mButton.setText(line2);
123 } else if (TextUtils.isEmpty(line2)) {
126 vh.mButton.setText(line1 + "\n" + line2);
  /system/extras/memory_replay/tests/
ActionTest.cpp 91 const char* line2 = ""; local
92 action = Action::CreateAction(0x1234, "calloc", line2, memory);
128 const char* line2 = ""; local
129 action = Action::CreateAction(0x1234, "realloc", line2, memory);
154 const char* line2 = ""; local
155 action = Action::CreateAction(0x1234, "memalign", line2, memory);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
StringIO.py 302 line2 = f.read(len(line))
303 if line != line2:
305 f.seek(len(line2), 1)
309 line2 = f.read()
310 if line != line2:
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
StringIO.py 302 line2 = f.read(len(line))
303 if line != line2:
305 f.seek(len(line2), 1)
309 line2 = f.read()
310 if line != line2:

Completed in 1564 milliseconds

1 2 3 4 5 6 7 8 91011