HomeSort by relevance Sort by last modified time
    Searched refs:line1 (Results 1 - 25 of 268) 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/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
cv_util.py 13 def AreLinesOrthogonal(line1, line2, tolerance):
16 theta1 = np.arctan2(np.float(line1[1] - line1[3]),
17 np.float(line1[0] - line1[2]))
28 def FindLineIntersection(line1, line2):
35 line1p1 = line1[:2]
36 line1p0 = line1[2:]
  /external/pdfium/core/src/fxcodec/jbig2/
JBig2_GrdProc.cpp 70 FX_DWORD line1, line2; local
96 line1 = (*pLine1++) << 6;
98 CONTEXT = ((line1 & 0xf800) | (line2 & 0x07f0));
100 line1 = (line1 << 8) | ((*pLine1++) << 6);
107 ((line1 >> k) & 0x0800) | ((line2 >> k) & 0x0010));
111 line1 <<= 8;
119 ((line1 >> (7 - k)) & 0x0800) | ((line2 >> (7 - k)) & 0x0010));
160 FX_DWORD line1, line2, line3; local
172 line1 = GBREG->getPixel(1, h - 2)
208 FX_DWORD line1, line2; local
297 FX_DWORD line1, line2, line3; local
342 FX_DWORD line1, line2; local
431 FX_DWORD line1, line2, line3; local
475 FX_DWORD line1; local
550 FX_DWORD line1, line2; local
702 FX_DWORD line1, line2; local
797 FX_DWORD line1, line2, line3; local
852 FX_DWORD line1, line2; local
946 FX_DWORD line1, line2, line3; local
997 FX_DWORD line1, line2; local
1091 FX_DWORD line1, line2, line3; local
1142 FX_DWORD line1; local
1222 FX_DWORD line1, line2; local
    [all...]
JBig2_GrrdProc.cpp 39 FX_DWORD line1, line2, line3, line4, line5; local
49 line1 = GRREG->getPixel(1, h - 1);
50 line1 |= GRREG->getPixel(0, h - 1) << 1;
72 CONTEXT |= line1 << 10;
76 line1 = ((line1 << 1) | GRREG->getPixel(w + 2, h - 1)) & 0x03;
92 line1 = GRREG->getPixel(1, h - 1);
93 line1 |= GRREG->getPixel(0, h - 1) << 1;
124 CONTEXT |= line1 << 10;
129 line1 = ((line1 << 1) | GRREG->getPixel(w + 2, h - 1)) & 0x03
157 FX_DWORD line1, line1_r, line2_r, line3_r; local
291 FX_DWORD line1, line2, line3, line4, line5; local
395 FX_DWORD line1, line1_r, line2_r, line3_r; local
    [all...]
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
SeedTest.java 40 String line1 = getNextLine(s1); local
42 if (line1 != null || line2 != null) {
43 assertEquals(line1, line2);
  /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)
  /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);
  /system/extras/memory_replay/tests/
ActionTest.cpp 87 const char* line1 = "100"; local
88 Action* action = Action::CreateAction(0x1234, "calloc", line1, memory);
124 const char* line1 = "0x100"; local
125 Action* action = Action::CreateAction(0x1234, "realloc", line1, memory);
150 const char* line1 = "100"; local
151 Action* action = Action::CreateAction(0x1234, "memalign", line1, memory);
  /external/google-breakpad/src/common/
stabs_to_module_unittest.cc 173 Module::Line *line1 = &function->lines[0]; local
174 EXPECT_EQ(0xb4513962eff94e92LL, line1->address);
175 EXPECT_EQ(0x100000000ULL, line1->size); // derived from EndFunction
176 EXPECT_TRUE(line1->file == file1);
177 EXPECT_EQ(77396614, line1->number);
  /external/opencv3/3rdparty/openexr/Imath/
ImathLineAlgo.h 50 // bool closestPoints(const Line<T>& line1,
84 (const Line3<T>& line1,
90 // Compute point1 and point2 such that point1 is on line1, point2
93 // or false if line1 and line2 are parallel or nearly parallel.
94 // This function assumes that line1.dir and line2.dir are normalized.
97 Vec3<T> w = line1.pos - line2.pos;
98 T d1w = line1.dir ^ w;
100 T d1d2 = line1.dir ^ line2.dir;
110 point1 = line1 (n1 / d);
  /external/chromium-trace/catapult/third_party/Paste/paste/
cgiapp.py 132 line1, self.buffer = self.buffer.split(b'\r\n', 1)
134 line1, self.buffer = self.buffer.split(b'\n', 1)
135 if not line1:
144 elif b':' not in line1:
146 "Bad header line: %r" % line1)
148 name, value = line1.split(b':', 1)
  /external/deqp/scripts/src_util/
check_include_guards.py 40 line1 = f.readline().strip()
44 if line1 != ("#define %s" % includeGuard):
  /external/chromium-trace/catapult/tracing/third_party/symbols/symbols/
elf_symbolizer.py 337 for (line1, line2) in lines:
339 name = line1 if not line1.startswith('?') else None
426 line1 = process_pipe.readline().rstrip('\r\n')
428 if not line1 or not line2:
431 (line1 != '??' and line2 != '??:0'))
433 lines_for_one_symbol += [(line1, line2)]
  /external/v8/build/android/pylib/symbols/
elf_symbolizer.py 338 for (line1, line2) in lines:
340 name = line1 if not line1.startswith('?') else None
427 line1 = process_pipe.readline().rstrip('\r\n')
429 if not line1 or not line2:
432 (line1 != '??' and line2 != '??:0'))
434 lines_for_one_symbol += [(line1, line2)]

Completed in 941 milliseconds

1 2 3 4 5 6 7 8 91011