/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...] |
/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);
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_suggestion_container.h | 44 - (void)setSuggestionText:(NSString*)line1
|
/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/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)
|
/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);
|
/external/chromium/chrome/browser/autofill/ |
address.h | 48 void set_line1(const string16& line1);
|
address.cc | 165 void Address::set_line1(const string16& line1) { 166 line1_ = line1; 168 Tokenize(line1, kAddressSplitChars, &line1_tokens_);
|
/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)
|
/external/jdiff/src/jdiff/ |
DiffMyers.java | 374 int line0 = i0, line1 = i1; local 381 script = new change(line0, line1, i0 - line0, i1 - line1, script); 408 int line0 = i0, line1 = i1; local 415 script = new change(i0, i1, line0 - i0, line1 - i1, script); 471 LINE0 and LINE1 are the first affected lines in the two files (origin 0). 476 which the insertion was done; vice versa for INSERTED and LINE1. */ 488 public final int line1; field in class:DiffMyers.change 491 LINE0 and LINE1 are the first affected lines in the two files (origin 0). 496 which the insertion was done; vice versa for INSERTED and LINE1. * [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_expectations.py | 418 def merge_expectation_lines(line1, line2, model_all_expectations): 419 """Merges the expectations of line2 into line1 and returns a fresh object.""" 420 if line1 is None: 423 return line1 424 if model_all_expectations and line1.filename != line2.filename: 433 result.line_numbers = line1.line_numbers + "," + line2.line_numbers 434 result.name = line1.name 435 result.path = line1.path 436 result.parsed_expectations = set(line1.parsed_expectations) | set(line2.parsed_expectations) 437 result.expectations = list(set(line1.expectations) | set(line2.expectations) [all...] |
/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/common/extensions/ |
PRESUBMIT.py | 119 for i, (line1, line2) in enumerate( 121 if line1 != line2: 123 (changes, i + 1, line1, line2))
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 193 SpannableString line1 = new SpannableString("Alice: hey there!"); local 194 line1.setSpan(bold, 0, 5, 0); 207 .addLine(line1)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gzip.py | 156 line1 = f.readline() 157 if not line1: break 160 if len(line1)>10: 163 amount = len(line1) 165 self.assertEqual(line1[:amount], line2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_gzip.py | 156 line1 = f.readline() 157 if not line1: break 160 if len(line1)>10: 163 amount = len(line1) 165 self.assertEqual(line1[:amount], line2)
|
/external/iproute2/lib/ |
utils.c | 725 char *line1 = NULL; local 729 if ((cc1 = getline(&line1, &len1, in)) < 0) { 737 cp = strchr(line1, '#'); 741 *lenp = strlen(*linep) + strlen(line1) + 1; 749 strcat(*linep, line1); 750 free(line1);
|
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 234 final String line1 = "1"; local 235 address.setAddressLine(0, line1); 236 assertEquals(line1, address.getAddressLine(0));
|
/external/chromium_org/chrome/browser/ui/autofill/ |
data_model_wrapper.cc | 248 base::string16 line1 = instrument_->descriptive_name() + ASCIIToUTF16("\n"); local 249 *vertically_compact = line1 + *vertically_compact; 250 *horizontally_compact = line1 + *horizontally_compact;
|
/cts/apps/CtsVerifier/include/colorchecker/ |
colorcheckertest.h | 82 Vec2f findCrossing(std::vector<int> line1, std::vector<int> line2);
|
/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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 102 public static float[] lineIntersect(float[] line1, float[] line2) { 103 float a0 = line1[0]; 104 float a1 = line1[1]; 105 float b0 = line1[2]; 106 float b1 = line1[3];
|
/packages/apps/Music/src/com/android/music/ |
ArtistAlbumBrowserActivity.java | 571 TextView line1; field in class:ArtistAlbumBrowserActivity.ArtistAlbumListAdapter.ViewHolder 642 vh.line1 = (TextView) v.findViewById(R.id.line1); 656 vh.line1 = (TextView) v.findViewById(R.id.line1); 677 vh.line1.setText(displayartist); 707 vh.line1.setText(displayname); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/ |
SDL_gapivideo.c | 881 PIXEL *line1, *line2; local 908 line1 = srcPointer; 914 *(DWORD*)destPointer =(*line2++ << 16) | *line1++; 923 *(DWORD*)destPointer =(*line1++ << 16) | *line2++; 966 line1 = srcPointer; 981 *(DWORD*)destPointer =(*line2++ << 16) | *line1++; 997 PIXEL *line1, *line2; local 1027 line1 = srcPointer; 1032 PIXEL c1 = *line1++; [all...] |