/external/valgrind/drd/tests/ |
matinv.stdout.exp | 1 Error within bounds.
|
omp_matinv.stdout.exp | 1 Error within bounds.
|
omp_matinv_racy.stdout.exp | 1 Error within bounds.
|
/external/fonttools/Lib/fontTools/pens/ |
boundsPen.py | 13 """Pen to calculate the "control bounds" of a shape. This is the 18 When the shape has been drawn, the bounds are available as the 19 'bounds' attribute of the pen object. It's a 4-tuple: 25 self.bounds = None 28 bounds = self.bounds 29 if bounds: 30 self.bounds = updateBounds(bounds, pt) 33 self.bounds = (x, y, x, y [all...] |
/external/skia/src/core/ |
SkBBHFactory.cpp | 13 SkBBoxHierarchy* SkRTreeFactory::operator()(const SkRect& bounds) const { 14 SkScalar aspectRatio = bounds.width() / bounds.height();
|
SkCanvasPriv.h | 15 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds);
|
/external/skia/src/gpu/ |
GrPathRenderer.cpp | 16 SkRect* bounds) { 18 *bounds = SkRect::MakeWH(SkIntToScalar(devW), SkIntToScalar(devH)); 21 *bounds = path.getBounds(); 22 matrix.mapRect(bounds);
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
bounds_unittest.py | 6 from telemetry.timeline import bounds 13 self.assertEquals(0, bounds.Bounds.GetOverlap(10, 20, 30, 40)) 14 self.assertEquals(0, bounds.Bounds.GetOverlap(30, 40, 10, 20)) 16 self.assertEquals(10, bounds.Bounds.GetOverlap(10, 30, 20, 40)) 17 self.assertEquals(10, bounds.Bounds.GetOverlap(20, 40, 10, 30)) 19 self.assertEquals(10, bounds.Bounds.GetOverlap(10, 40, 20, 30) [all...] |
/external/skia/include/core/ |
SkBBHFactory.h | 20 virtual SkBBoxHierarchy* operator()(const SkRect& bounds) const = 0; 26 SkBBoxHierarchy* operator()(const SkRect& bounds) const override;
|
/frameworks/base/core/java/com/android/internal/policy/ |
DockedDividerUtils.java | 55 * Makes sure that the bounds are always valid, i. e. they are at least one pixel high and wide. 57 * @param bounds The bounds to sanitize. 58 * @param topLeft Pass true if the bounds are at the top/left of the screen, false if they are 60 * the bounds. 62 public static void sanitizeStackBounds(Rect bounds, boolean topLeft) { 64 // If the bounds are either on the top or left of the screen, rather move it further to the 68 if (bounds.left >= bounds.right) { 69 bounds.left = bounds.right - 1 [all...] |
/cts/tests/tests/gesture/src/android/gesture/cts/ |
LineGestureStrokeHelper.java | 61 RectF bounds = new RectF(); local 62 linePath.computeBounds(bounds, true); 66 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.bottom); 67 Assert.assertEquals(LINE_START_POINT, bounds.left); 68 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.right); 69 Assert.assertEquals(LINE_START_POINT, bounds.top); 73 * Helper method to assert expected values for a bounds derived from createLineGesture 77 void assertLineBoundingBox(RectF bounds) { 80 Assert.assertEquals(LINE_END_POINT, bounds.bottom); 81 Assert.assertEquals(LINE_START_POINT, bounds.left) [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue4232.go | 14 _ = a[-1] // ERROR "invalid array index -1|index out of bounds" 15 _ = a[-1:] // ERROR "invalid slice index -1|index out of bounds" 16 _ = a[:-1] // ERROR "invalid slice index -1|index out of bounds" 17 _ = a[10] // ERROR "invalid array index 10|index out of bounds" 20 _ = a[9:12] // ERROR "invalid slice index 12|index out of bounds" 21 _ = a[11:12] // ERROR "invalid slice index 11|index out of bounds" 22 _ = a[1<<100 : 1<<110] // ERROR "overflows int" "invalid slice index 1 << 100|index out of bounds" 25 _ = s[-1] // ERROR "invalid slice index -1|index out of bounds" 26 _ = s[-1:] // ERROR "invalid slice index -1|index out of bounds" 27 _ = s[:-1] // ERROR "invalid slice index -1|index out of bounds" [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue4232.go | 14 _ = a[-1] // ERROR "invalid array index -1|index out of bounds" 15 _ = a[-1:] // ERROR "invalid slice index -1|index out of bounds" 16 _ = a[:-1] // ERROR "invalid slice index -1|index out of bounds" 17 _ = a[10] // ERROR "invalid array index 10|index out of bounds" 20 _ = a[9:12] // ERROR "invalid slice index 12|index out of bounds" 21 _ = a[11:12] // ERROR "invalid slice index 11|index out of bounds" 22 _ = a[1<<100 : 1<<110] // ERROR "overflows int" "invalid slice index 1 << 100|index out of bounds" 25 _ = s[-1] // ERROR "invalid slice index -1|index out of bounds" 26 _ = s[-1:] // ERROR "invalid slice index -1|index out of bounds" 27 _ = s[:-1] // ERROR "invalid slice index -1|index out of bounds" [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
SplashscreenTests.java | 37 private void assertAllColor(BufferedImage img, Rectangle bounds, int expectedColor) { 38 for (int x = bounds.x; x < bounds.x + bounds.width; x++) { 39 for (int y = bounds.y; y < bounds.y + bounds.height; y++) {
|
/external/skia/tests/ |
PathOpsBoundsTest.cpp | 19 {{2, 0, 4, 1}, {3, 0, 3, 0}}, // intersecting an empty bounds is OK 49 SkPathOpsBounds bounds; local 50 bounds.setEmpty(); 51 bounds.add(1, 2, 3, 4); 54 REPORTER_ASSERT(reporter, bounds == expected); 55 bounds.setEmpty(); 58 bounds.add(ordinal); 59 REPORTER_ASSERT(reporter, bounds == expected); 60 bounds.setEmpty(); 62 bounds.add(botRight) [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_context.h | 195 const VGfloat *bounds, 200 if (bounds) { 201 coords[2] = MIN2(coords[2], bounds[2]); 203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) { 204 coords[2] = (bounds[0] + bounds[2]) - coords[0]; 210 const VGfloat *bounds, 215 if (bounds) { 216 coords[3] = MIN2(coords[3], bounds[3]) [all...] |
/external/clang/test/SemaCXX/ |
array-bounds-system-header.cpp | 2 #include <array-bounds-system-header.h>
|
/external/skia/include/svg/ |
SkSVGCanvas.h | 25 * The 'bounds' parameter defines an initial SVG viewport (viewBox attribute on the root 28 static std::unique_ptr<SkCanvas> Make(const SkRect& bounds, SkXMLWriter*);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
StackWindowListener.java | 28 void requestResize(Rect bounds);
|
/external/skia/gm/ |
textblobblockreordering.cpp | 32 SkRect bounds; variable 33 paint.measureText(text, strlen(text), &bounds); 35 SkScalar yOffset = bounds.height(); 59 SkRect bounds = fBlob->bounds(); variable 60 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20; 61 const int xDelta = SkScalarFloorToInt(bounds.width()); 70 canvas->drawRect(bounds, redPaint);
|
/external/skia/src/pathops/ |
SkIntersectionHelper.h | 35 return bounds().fBottom; 38 const SkPathOpsBounds& bounds() const { function in class:SkIntersectionHelper 39 return fSegment->bounds(); 51 return bounds().fLeft; 59 return bounds().fRight; 86 return bounds().fTop; 94 return bounds().fLeft; 102 return bounds().fTop;
|
/external/skia/src/svg/ |
SkSVGCanvas.cpp | 12 std::unique_ptr<SkCanvas> SkSVGCanvas::Make(const SkRect& bounds, SkXMLWriter* writer) { 13 // TODO: pass full bounds to the device 14 SkISize size = bounds.roundOut().size();
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
NormalizedFace.java | 29 public RectF bounds; field in class:NormalizedFace 51 bounds = new RectF(); 52 bounds.left = (float) (face.getBounds().left - offX) / dX; 53 bounds.top = (float) (face.getBounds().top - offY) / dY; 54 bounds.right = (float) (face.getBounds().right - offX) / dX; 55 bounds.bottom = (float) (face.getBounds().bottom - offY) / dY; 69 float oldLeft = bounds.left; 70 bounds.left = 1f - bounds.right; 71 bounds.right = 1f - oldLeft [all...] |
/external/skia/bench/ |
ChromeBench.cpp | 484 SkIRect bounds = canvas->getDeviceClipBounds(); local 485 SkASSERT(bounds.right()-bounds.left() >= W); 486 SkASSERT(bounds.bottom()-bounds.top() >= H);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
FrameLayoutRuleTest.java | 29 .bounds(new Rect(0, 0, 240, 480)).add( 30 TestNode.create("android.widget.Button").id("@+id/Button01").bounds( 32 TestNode.create("android.widget.Button").id("@+id/Button02").bounds( 34 TestNode.create("android.widget.Button").id("@+id/Button03").bounds( 36 TestNode.create("android.widget.Button").id("@+id/Button04").bounds( 45 // Bounds of the dragged item 53 // Bounds rectangle 58 // Without drag bounds we should just draw guide lines instead
|