/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
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));
|
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));
|
/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);
|
module_unittest.cc | 116 Module::Line line1 = { 0xbec774ea5dd935f3LL, 0x1c2be6d6c5af2611LL, local 121 function->lines.push_back(line1); 173 Module::Line line1 = { 0x595fa44ebacc1086LL, 0x1e1e0191b066c5b3LL, local 177 function->lines.push_back(line1); 221 Module::Line line1 = { 0xbec774ea5dd935f3LL, 0x1c2be6d6c5af2611LL, local 223 function->lines.push_back(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/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;
|
/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/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/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/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;
|
/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...] |
JBig2_GrrdProc.cpp | 168 uint32_t line1 = (h > 0) ? pLine[-nStride] << 4 : 0; local 177 uint32_t CONTEXT = (line1 & 0x1c00) | (line1_r & 0x01c0) | 182 line1 = (line1 << 8) | 215 ((line1 >> (7 - k)) & 0x0400) | 223 uint32_t CONTEXT = (line1 & 0x1c00) | (line1_r & 0x01c0) | 228 line1 = (line1 << 8) | 265 ((line1 >> (7 - k)) & 0x0400) | 294 uint32_t line1 = GRREG->getPixel(1, h - 1) local 336 uint32_t line1 = GRREG->getPixel(1, h - 1); local 422 uint32_t line1 = (h > 0) ? pLine[-nStride] << 1 : 0; local [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
common_unittest.cc | 143 int line1 = __LINE__; GOOGLE_LOG(INFO) << "Visible1"; local 157 "0 " __FILE__ ":" + SimpleItoa(line1) + ": Visible1",
|
/frameworks/base/core/java/android/service/notification/ |
Condition.java | 85 public final String line1; field in class:Condition 112 public Condition(Uri id, String summary, String line1, String line2, int icon, 119 this.line1 = line1; 144 dest.writeString(line1); 156 .append(",line1=").append(line1) 171 proto.write(ConditionProto.LINE_1, line1); 205 && Objects.equals(other.line1, line1) [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
ActionPresenterSelector.java | 124 CharSequence line1 = action.getLabel1(); local 126 if (TextUtils.isEmpty(line1)) { 129 vh.mButton.setText(line1); 131 vh.mButton.setText(line1 + "\n" + line2);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
ActionPresenterSelector.java | 123 CharSequence line1 = action.getLabel1(); local 125 if (TextUtils.isEmpty(line1)) { 128 vh.mButton.setText(line1); 130 vh.mButton.setText(line1 + "\n" + line2);
|
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/ |
ErrorsTest.java | 96 String line1 = lines[1]; local 97 TestUtils.assertContains(line1, "Monty Python"); 98 TestUtils.assertAbsent(line1, "Holy grail"); 99 TestUtils.assertContains(line1, "John Cleese");
|
/developers/build/prebuilts/gradle/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/ |
Main.java | 232 final TextView line1 = (TextView) view.findViewById(R.id.line1); local 235 line1.setText(shortcut.getLongLabel());
|
/developers/samples/android/system/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/ |
Main.java | 232 final TextView line1 = (TextView) view.findViewById(R.id.line1); local 235 line1.setText(shortcut.getLongLabel());
|
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/ |
ShortcutAdapter.java | 159 final TextView line1 = (TextView) view.findViewById(getText1Id()); local 164 line1.setText(si.getShortLabel());
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
BaseActivityListFragment.java | 171 final TextView line1 = (TextView) view.findViewById(R.id.line1); local 174 line1.setText(ai.getLabel());
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
Main.java | 232 final TextView line1 = (TextView) view.findViewById(R.id.line1); local 235 line1.setText(shortcut.getLongLabel());
|
/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);
|