/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_set.py | 101 i = self.s.intersection(self.otherword) 106 self.assertRaises(PassThru, self.s.intersection, check_pass_thru()) 108 self.assertEqual(self.thetype('abcba').intersection(C('cdc')), set('cc')) 109 self.assertEqual(self.thetype('abcba').intersection(C('efgfe')), set('')) 110 self.assertEqual(self.thetype('abcba').intersection(C('ccb')), set('bc')) 111 self.assertEqual(self.thetype('abcba').intersection(C('ef')), set('')) 112 self.assertEqual(self.thetype('abcba').intersection(C('cbcf'), C('bag')), set('b')) 114 z = s.intersection() 123 return not set(s1).intersection(s2) 135 i = self.s.intersection(self.otherword [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
TouchAdjustment.cpp | 316 // This returns quotient of the target area and its intersection with the touch area. 317 // This will prioritize largest intersection and smallest area, while balancing the two against each other. 328 IntRect intersection = rect; 329 intersection.intersect(touchArea); 331 // Return the quotient of the intersection. 332 return rect.size().area() / (float)intersection.size().area(); 409 // will fail to adjust the point to somewhere in the intersection. 434 // Distance functions could for instance be distance squared or area of intersection.
|
/external/chromium_org/third_party/bintrees/bintrees/ |
treemixin.py | 52 * __and__(other) <==> T & other, intersection 127 * intersection(t1, t2, ...) -> Tree with keys *common* to all trees 133 * isdisjoint(S) -> True if T has a null intersection with S 177 return self.intersection(other) 593 def intersection(self, *trees): member in class:TreeMixin 594 """ x.intersection(t1, t2, ...) -> Tree, with keys *common* to all trees 598 rkeys = thiskeys.intersection(*sets) 635 """ x.isdisjoint(S) -> True if x has a null intersection with tree """
|
/external/opencv/cvaux/src/ |
cv3dtracker.cpp | 65 static bool intersection(CvPoint3D32f o1, CvPoint3D32f p1, 476 // find the intersection of the two lines (or the points of closest 478 if (!intersection(p1a, p1b, p2a, p2b, r1, r2)) 518 // Find the intersection of two lines, or if they don't intersect, 523 static bool intersection(CvPoint3D32f o1, CvPoint3D32f p1, function
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
DFAState.java | 272 /** Add label uniquely and disjointly; intersection with 326 intersection.toString(dfa.nfa.grammar)); 336 // Replace existing s_i with intersection since we 339 IntSet intersection = s_i.and(t); local 340 reachableLabels.set(i, new Label(intersection));
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollbarTheme.cpp | 322 context->fillRect(intersection(horizontalOverhangRect, dirtyRect)); 324 context->fillRect(intersection(verticalOverhangRect, dirtyRect));
|
/external/chromium_org/chrome/tools/ |
check_grd_for_unused_strings.py | 105 missing = ids_left.intersection(file_ids)
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
Caret.cpp | 241 LayoutRect caret = intersection(drawingRect, clipRect);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
ClipRect.h | 83 inline ClipRect intersection(const ClipRect& a, const ClipRect& b) function in namespace:WebCore
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatPoint.h | 243 PLATFORM_EXPORT bool findIntersection(const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& d1, const FloatPoint& d2, FloatPoint& intersection);
|
FloatRect.h | 190 inline FloatRect intersection(const FloatRect& a, const FloatRect& b) function in namespace:WebCore
|
IntRect.h | 170 inline IntRect intersection(const IntRect& a, const IntRect& b) function in namespace:WebCore
|
FloatPolygon.cpp | 229 bool VertexPair::intersection(const VertexPair& other, FloatPoint& point) const 231 // See: http://paulbourke.net/geometry/pointlineplane/, "Intersection point of two lines in 2 dimensions" 241 // when 0 <= u <= 1. We're computing the values of u for each line at their intersection point.
|
LayoutRect.h | 177 inline LayoutRect intersection(const LayoutRect& a, const LayoutRect& b) function in namespace:WebCore
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPagePopupImpl.cpp | 102 m_popup->widgetClient()->didScrollRect(scrollDelta.width(), scrollDelta.height(), intersection(scrollRect, clipRect));
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_failures.py | 36 return set((FailureReftestMismatch, FailureReftestMismatchDidNotOccur, FailureReftestNoImagesGenerated)).intersection(failure_types)
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Hyperplane.h | 162 /** \returns the intersection of *this with \a other. 168 VectorType intersection(const Hyperplane& other) function in class:Eigen::Hyperplane
|
/external/eigen/Eigen/src/Geometry/ |
Hyperplane.h | 173 /** \returns the intersection of *this with \a other. 179 VectorType intersection(const Hyperplane& other) const function in class:Eigen::Hyperplane
|
/external/eigen/test/eigen2/ |
eigen2_hyperplane.cpp | 103 Vector result = line_u.intersection(line_v);
|
/external/eigen/test/ |
geo_hyperplane.cpp | 104 Vector result = line_u.intersection(line_v);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
MultisetCollectionTest.java | 230 return Multisets.intersection(multiset1, multiset2);
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab.cc | 440 gfx::Rect intersection(gfx::IntersectRects(tab_bounds, button_bounds)); 441 if (!intersection.IsEmpty()) { 442 // TODO(tdanderson): Consider always returning the intersection if 448 path->addRect(RectToSkRect(intersection)); 936 SkRect intersection(path->getBounds()); 937 intersection.intersect(RectToSkRect(clip)); 939 path->addRect(intersection); [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
NameSpaceChecker.java | 81 Set conflictingKeys = r.returnScope.intersection(r.parameterScope);
|
/external/chromium_org/tools/deep_memory_profiler/ |
accumulate.py | 64 matched_units = set(match['units']).intersection(target_units)
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
tracing_backend.py | 120 if len(self.included.intersection(other.excluded)):
|