HomeSort by relevance Sort by last modified time
    Searched full:bounds (Results 26 - 50 of 5210) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/compiler-rt/test/ubsan/TestCases/Misc/
bounds.cpp 1 // RUN: %clangxx -fsanitize=bounds %s -O3 -o %t
12 // CHECK-A-2: bounds.cpp:[[@LINE-1]]:10: runtime error: index 2 out of bounds for type 'int [2][3][4]'
13 // CHECK-B-3: bounds.cpp:[[@LINE-2]]:10: runtime error: index 3 out of bounds for type 'int [3][4]'
14 // CHECK-C-4: bounds.cpp:[[@LINE-3]]:10: runtime error: index 4 out of bounds for type 'int [4]'
  /external/skia/src/effects/
SkPaintImageFilter.cpp 40 SkIRect bounds; local
42 if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
46 sk_sp<SkSpecialSurface> surf(source->makeSurface(ctx.outputProperties(), bounds.size()));
57 matrix.postTranslate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top()));
58 SkRect rect = SkRect::MakeIWH(bounds.width(), bounds.height());
66 offset->fX = bounds.fLeft;
67 offset->fY = bounds.fTop;
SkMatrixConvolutionImageFilter.cpp 124 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) {
131 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) {
132 x = SkTPin(x, bounds.fLeft, bounds.fRight - 1);
133 y = SkTPin(y, bounds.fTop, bounds.fBottom - 1);
140 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) {
141 x = (x - bounds.left()) % bounds.width() + bounds.left()
296 SkIRect bounds; local
    [all...]
SkAlphaThresholdFilter.cpp 43 const SkIRect& bounds) const;
101 const SkIRect& bounds) const {
104 SkBackingFit::kApprox, bounds.width(), bounds.height(), kAlpha_8_GrPixelConfig, nullptr));
114 GrFixedClip clip(SkIRect::MakeWH(bounds.width(), bounds.height()));
144 SkIRect bounds; local
145 if (!this->applyCropRect(ctx, inputBounds, &bounds)) {
156 offset->fX = bounds.left();
157 offset->fY = bounds.top()
    [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...]
  /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();
  /prebuilts/go/darwin-x86/test/
bounds.go 7 // Test, using compiler diagnostic flags, that bounds check elimination
64 use(a1k[ui8]) // ERROR "index bounds check elided"
65 use(a100k[ui8]) // ERROR "index bounds check elided"
67 use(p1k[ui8]) // ERROR "index bounds check elided"
68 use(p100k[ui8]) // ERROR "index bounds check elided"
82 use(a100k[ui16]) // ERROR "index bounds check elided"
85 use(p100k[ui16]) // ERROR "index bounds check elided"
131 use(a1k[ui%999]) // ERROR "index bounds check elided"
132 use(a100k[ui%999]) // ERROR "index bounds check elided"
134 use(p1k[ui%999]) // ERROR "index bounds check elided
    [all...]
  /prebuilts/go/linux-x86/test/
bounds.go 7 // Test, using compiler diagnostic flags, that bounds check elimination
64 use(a1k[ui8]) // ERROR "index bounds check elided"
65 use(a100k[ui8]) // ERROR "index bounds check elided"
67 use(p1k[ui8]) // ERROR "index bounds check elided"
68 use(p100k[ui8]) // ERROR "index bounds check elided"
82 use(a100k[ui16]) // ERROR "index bounds check elided"
85 use(p100k[ui16]) // ERROR "index bounds check elided"
131 use(a1k[ui%999]) // ERROR "index bounds check elided"
132 use(a100k[ui%999]) // ERROR "index bounds check elided"
134 use(p1k[ui%999]) // ERROR "index bounds check elided
    [all...]
  /external/chromium-trace/catapult/telemetry/docs/pydoc/
telemetry.timeline.bounds.html 3 <html><head><title>Python: module telemetry.timeline.bounds</title>
10 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.timeline.html"><font color="#ffffff">timeline</font></a>.bounds</strong></big></big></font></td
12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/timeline/bounds.py">telemetry/timeline/bounds.py</a></font></td></tr></table>
27 <dt><font face="helvetica, arial"><a href="telemetry.timeline.bounds.html#Bounds">Bounds</a>
35 <font color="#000000" face="helvetica, arial"><a name="Bounds">class <strong>Bounds</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
38 <td colspan=2><tt>Represents&nbsp;a&nbsp;min-max&nbsp;bounds.<br>&nbsp;</tt></td></tr
    [all...]
  /external/clang/test/FixIt/
selector-fixit.m 34 - (int) bounds;
38 - (int) bounds { return 0; }
39 - (void)PrivateMeth { int bounds = [self bonds]; }
40 - (void)OtherPrivateMeth : (id) p { int bounds = [p bonds]; }
  /external/skia/src/gpu/
GrClip.h 34 * the draw will enable HW AA or uses the stencil buffer. On input 'bounds' is a conservative
35 * bounds of the draw that is to be clipped. After return 'bounds' has been intersected with a
36 * conservative bounds of the clip. A return value of false indicates that the draw can be
41 SkRect* bounds) const = 0;
48 * the render target bounds. Moreover, the returned rrect need not be contained by the render
49 * target bounds. We assume all draws will be implicitly clipped by the render target bounds.
51 * @param rtBounds The bounds of the render target that the clip will be applied to.
70 * Returns true if the given query bounds count as entirely inside the clip
    [all...]
  /external/skia/src/gpu/ops/
GrAnalyticRectOp.h 25 * @param croppedRect the shape in device space, clipped to the device's bounds
26 * @param bounds the axis aligned bounds of the shape in device space
34 const SkRect& bounds);
  /external/valgrind/none/tests/x86/
int.stderr.exp 4 GPF (Pointer out of bounds?)
  /external/llvm/test/Transforms/IRCE/
not-likely-taken.ll 15 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds.b ]
18 br i1 %abc.a, label %in.bounds.a, label %out.of.bounds, !prof !1
20 in.bounds.a:
24 br i1 %abc.b, label %in.bounds.b, label %out.of.bounds, !prof !1
26 in.bounds.b:
32 out.of.bounds:
only-lower-check.ll 7 ; CHECK-NEXT: CheckUse: br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1 Operand: 0
8 ; CHECK-NEXT: irce: in function only_lower_check: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
18 %idx = phi i32 [ %start, %entry ] , [ %idx.dec, %in.bounds ]
21 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1
23 in.bounds:
29 out.of.bounds:
only-upper-check.ll 7 ; CHECK-NEXT: CheckUse: br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1 Operand: 0
8 ; CHECK-NEXT: irce: in function incrementing: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting>
17 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds ]
21 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1
23 in.bounds:
29 out.of.bounds:
multiple-access-no-preloop.ll 13 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds.b ]
16 br i1 %abc.a, label %in.bounds.a, label %out.of.bounds, !prof !1
18 in.bounds.a:
22 br i1 %abc.b, label %in.bounds.b, label %out.of.bounds, !prof !1
24 in.bounds.b:
30 out.of.bounds:
52 ; CHECK: br i1 true, label %in.bounds.a, label %out.of.bounds
    [all...]
single-access-no-preloop.ll 10 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds ]
13 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1
15 in.bounds:
21 out.of.bounds:
31 ; CHECK: br i1 true, label %in.bounds, label %out.of.bounds
46 ; CHECK-NEXT: %idx.postloop = phi i32 [ %idx.next.postloop, %in.bounds.postloop ], [ %idx.copy, %postloop ]
49 ; CHECK-NEXT: br i1 %abc.postloop, label %in.bounds.postloop, label %out.of.bounds
    [all...]
  /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;
SkPathOpsTightBounds.cpp 75 SkPathOpsBounds bounds = current->bounds(); local
77 bounds.add(current->bounds());
80 bounds.set(bounds.left() * scaleFactor, bounds.top() * scaleFactor,
81 bounds.right() * scaleFactor, bounds.bottom() * scaleFactor);
83 *result = bounds;
    [all...]
  /external/libvterm/src/
rect.h 17 /* Clip the dst to ensure it does not step outside of bounds */
18 static void rect_clip(VTermRect *dst, VTermRect *bounds)
20 if(dst->start_row < bounds->start_row) dst->start_row = bounds->start_row;
21 if(dst->start_col < bounds->start_col) dst->start_col = bounds->start_col;
22 if(dst->end_row > bounds->end_row) dst->end_row = bounds->end_row;
23 if(dst->end_col > bounds->end_col) dst->end_col = bounds->end_col
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/timeline/
bounds.py 5 class Bounds(object):
6 """Represents a min-max bounds."""
14 bounds = Bounds()
15 bounds.AddEvent(event)
16 return bounds
20 return "Bounds()"
22 return "Bounds(min=%s,max=%s)" % (self.min_, self.max_)
41 def bounds(self): member in class:Bounds
68 def AddBounds(self, bounds)
    [all...]
  /external/toybox/tests/
tail.test 12 testing "-n in bounds" "tail -n 3 file1" "nine\nten\neleven\n" "" ""
13 testing "-n out of bounds" "tail -n 999 file1" "$BIGTEST" "" ""
14 testing "-n+ in bounds" "tail -n +3 file1" \
16 testing "-n+ outof bounds" "tail -n +999 file1" "" "" ""
17 testing "-c in bounds" "tail -c 27 file1" \
19 testing "-c out of bounds" "tail -c 999 file1" "$BIGTEST" "" ""
20 testing "-c+ in bounds" "tail -c +27 file1" \
30 testing "noseek -n in bounds" "tail -n 3" "nine\nten\neleven\n" \
32 testing "noseek -n out of bounds" "tail -n 999" "$BIGTEST" "" "$BIGTEST"
33 testing "noseek -n+ in bounds" "tail -n +3"
    [all...]
  /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...]
  /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++) {

Completed in 6707 milliseconds

12 3 4 5 6 7 8 91011>>