/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 55 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, 58 SkDPoint result1 = line1.ptAtT(ts[0][i]); 69 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { 70 SkASSERT(ValidLine(line1)); 73 int pts = i.intersect(line1, line2); 76 check_results(reporter, line1, line2, i); 77 if (line1[0] == line1[1] || line2[0] == line2[1]) { 80 if (line1[0].fY == line1[1].fY) 132 const SkDLine& line1 = coincidentTests[index][0]; local 138 const SkDLine& line1 = tests[index][0]; local 144 const SkDLine& line1 = noIntersect[index][0]; local [all...] |
/external/valgrind/main/drd/tests/ |
filter_annotate_barrier_xml | 9 line1 = $0 18 $0 = line1 20 print line1 25 print line1 29 print line1
|
/external/clang/unittests/Tooling/ |
RewriterTest.cpp | 17 FileID ID = Context.createOnDiskFile("t.cpp", "line1\nline2\nline3\nline4"); 20 EXPECT_EQ("line1\nreplaced\nline3\nline4", 29 "working.cpp", "line1\nline2\nline3\nline4"); 33 EXPECT_EQ("line1\nreplaced\nline3\nline4",
|
RefactoringTest.cpp | 53 FileID ID = Context.createInMemoryFile("input.cpp", "line1\nline2\nline3"); 70 "line1\nline2\nline3\nline4"); 74 EXPECT_EQ("line1\nlixne4", Context.getRewrittenText(ID)); 79 "line1\nline2\nline3\nline4"); 83 EXPECT_EQ("line1\nlix\ny\nne4", Context.getRewrittenText(ID)); 90 EXPECT_EQ("line1\nlix\ny\nnf4", Context.getRewrittenText(ID)); 113 "line1\nline2\nline3\nline4"); 120 EXPECT_EQ("line1\nreplaced\nother\nline4", Context.getRewrittenText(ID)); 125 "line1\nline2\nline3\nline4"); 134 EXPECT_EQ("line1\nreplaced\nline3\nline4", Context.getRewrittenText(ID)) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
DynamicLayoutTest.java | 39 private static final int LINE1 = 1; 99 assertEquals(0, dynamicLayout.getEllipsisCount(LINE1)); 100 assertEquals(ELLIPSIS_UNDEFINED, dynamicLayout.getEllipsisStart(LINE1)); 143 assertTrue(mDynamicLayout.getLineContainsTab(LINE1)); 147 assertEquals(mDynamicLayout.getLineBottom(LINE0), mDynamicLayout.getLineTop(LINE1)); 148 assertEquals(mDynamicLayout.getLineBottom(LINE1), mDynamicLayout.getLineTop(LINE2)); 162 assertEquals(mDynamicLayout.getLineDescent(LINE1) - mDynamicLayout.getLineAscent(LINE1), 163 mDynamicLayout.getLineBottom(LINE1) - mDynamicLayout.getLineBottom(LINE0)); 166 mDynamicLayout.getLineBottom(LINE2) - mDynamicLayout.getLineBottom(LINE1)); [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);
|
/cts/tests/assets/webkit/ |
test_br_tag.html | 23 there is a br after line1<br>line2
|
/external/opencv/cv/src/ |
cvoptflowhs.cpp | 126 int Line1; 245 Line1 = Line2 - ((Line2 == 0) ? 0 : imgStep); 249 ConvX = CONV( imgA[Line1 + 1], imgA[Line2 + 1], imgA[Line3 + 1] ); 272 ConvX = CONV( imgA[Line1 + j + 1], imgA[Line2 + j + 1], imgA[Line3 + j + 1] ); 293 ConvX = CONV( imgA[Line1 + imageWidth - 1], imgA[Line2 + imageWidth - 1], 360 Line1 = Line2 - ((Line2 == 0) ? 0 : velStep); 364 velocityX[Line2 + 1] + velocityX[Line1] + velocityX[Line3]) / 4; 367 velocityY[Line2 + 1] + velocityY[Line1] + velocityY[Line3]) / 4; 391 velocityX[Line1 + j] + velocityX[Line3 + j]) / 4; 394 velocityY[Line1 + j] + velocityY[Line3 + j]) / 4 [all...] |
/external/chromium_org/base/ |
file_util.cc | 103 std::string line1, line2; local 104 getline(file1, line1); 114 std::string::size_type end1 = line1.find_last_not_of("\r\n"); 116 line1.clear(); 117 else if (end1 + 1 < line1.length()) 118 line1.erase(end1 + 1); 126 if (line1 != line2)
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
GeometryMathUtils.java | 53 public static float[] lineIntersect(float[] line1, float[] line2) { 54 float a0 = line1[0]; 55 float a1 = line1[1]; 56 float b0 = line1[2]; 57 float b1 = line1[3];
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
common_unittest.py | 92 self.assert_carriage_return(["line1", "line2\r", "line3\r"], 93 ["line1", "line2", "line3"], 121 self.assert_tab(['line1', '\tline2', 'line3\t'], [2, 3])
|
/packages/apps/Music/res/layout/ |
music_picker_item.xml | 41 android:layout_alignBaseline="@+id/line1" 48 <TextView android:id="@+id/line1" 65 android:layout_below="@id/line1"
|
track_list_item_common.xml | 38 android:layout_alignBaseline="@+id/line1" 42 <TextView android:id="@+id/line1" 60 android:layout_below="@id/line1"
|
/cts/tests/tests/provider/src/android/provider/cts/ |
SearchRecentSuggestionsTest.java | 68 String line1 = "line1"; local 69 srs.saveRecentQuery(query1, line1); 78 assertEquals(line1, c
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_suggestion_container.h | 44 - (void)setSuggestionText:(NSString*)line1
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
verify_filelist.py | 164 def compare(line1, line2): 165 line1 = SplitPattern(line1)[0].lower() 167 return cmp(line1, line2)
|
/external/chromium/base/ |
file_util.cc | 123 std::string line1, line2; local 124 getline(file1, line1); 134 std::string::size_type end1 = line1.find_last_not_of("\r\n"); 136 line1.clear(); 137 else if (end1 + 1 < line1.length()) 138 line1.erase(end1 + 1); 146 if (line1 != line2)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ac97_codec.h | 73 #define AC97_LINE1_RATE 0x40 /* Line1 DAC/ADC Rate */ 76 #define AC97_LINE1_LEVEL 0x46 /* Line1 DAC/ADC Level */ 224 #define AC97_MEI_LINE1 0x0001 /* Line1 present */ 227 #define AC97_MEI_CID1 0x0008 /* caller ID decode for Line1 is supported */ 251 #define AC97_GPIO_LINE1_OH 0x0001 /* Off Hook Line1 */ 252 #define AC97_GPIO_LINE1_RI 0x0002 /* Ring Detect Line1 */ 253 #define AC97_GPIO_LINE1_CID 0x0004 /* Caller ID path enable Line1 */ 254 #define AC97_GPIO_LINE1_LCS 0x0008 /* Loop Current Sense Line1 */ 255 #define AC97_GPIO_LINE1_PULSE 0x0010 /* Opt./ Pulse Dial Line1 (out) */ 256 #define AC97_GPIO_LINE1_HL1R 0x0020 /* Opt./ Handset to Line1 relay control (out) * [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
ac97_codec.h | 73 #define AC97_LINE1_RATE 0x40 /* Line1 DAC/ADC Rate */ 76 #define AC97_LINE1_LEVEL 0x46 /* Line1 DAC/ADC Level */ 224 #define AC97_MEI_LINE1 0x0001 /* Line1 present */ 227 #define AC97_MEI_CID1 0x0008 /* caller ID decode for Line1 is supported */ 251 #define AC97_GPIO_LINE1_OH 0x0001 /* Off Hook Line1 */ 252 #define AC97_GPIO_LINE1_RI 0x0002 /* Ring Detect Line1 */ 253 #define AC97_GPIO_LINE1_CID 0x0004 /* Caller ID path enable Line1 */ 254 #define AC97_GPIO_LINE1_LCS 0x0008 /* Loop Current Sense Line1 */ 255 #define AC97_GPIO_LINE1_PULSE 0x0010 /* Opt./ Pulse Dial Line1 (out) */ 256 #define AC97_GPIO_LINE1_HL1R 0x0020 /* Opt./ Handset to Line1 relay control (out) * [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
SweepSphere.java | 93 private boolean pointsOnSameSide(Vector3f p1, Vector3f p2, Vector3f line1, Vector3f line2) { 94 // V1 = (line2 - line1) x (p1 - line1) 95 // V2 = (p2 - line1) x (line2 - line1) 97 temp1.set(line2).subtractLocal(line1); 99 temp2.set(p1).subtractLocal(line1); 102 temp2.set(p2).subtractLocal(line1);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_netrc.py | 32 line1 39 self.assertEqual(nrc.macros, {'macro1': ['line1\n', 'line2\n'],
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_netrc.py | 32 line1 39 self.assertEqual(nrc.macros, {'macro1': ['line1\n', 'line2\n'],
|
/external/chromium/chrome/browser/autofill/ |
address.cc | 165 void Address::set_line1(const string16& line1) { 166 line1_ = line1; 168 Tokenize(line1, kAddressSplitChars, &line1_tokens_);
|
/external/chromium_org/chrome/common/extensions/ |
PRESUBMIT.py | 119 for i, (line1, line2) in enumerate( 121 if line1 != line2: 123 (changes, i + 1, line1, line2))
|
/packages/apps/Mms/res/xml/ |
mms_config.xml | 97 x-up-calling-line-id: ##LINE1##|x-carrier-magic: http://magic.google.com 102 (Line1) to the httpPrams at runtime. Optional. 105 <string name="httpParamsLine1Key">##LINE1##</string>
|