/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.
|
/art/test/449-checker-bce/ |
info.txt | 1 Checker test for testing array bounds check elimination.
|
/art/test/582-checker-bce-length/ |
info.txt | 1 Regression test on deopt bounds check elimination.
|
/art/test/620-checker-bce-intrinsics/ |
info.txt | 1 Test on bounds check elimination in loops using intrinsics.
|
/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/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...] |
/art/test/578-bce-visit/ |
info.txt | 1 Fuzz test that exposed bug in bounds check elimination visiting of blocks.
|
/art/test/513-array-deopt/ |
info.txt | 2 that used to have wrong assumptions about array length 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);
|
/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...] |
/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/skia/gm/ |
mixedtextblobs.cpp | 56 SkRect bounds; variable 57 paint.measureText(text, strlen(text), &bounds); 59 SkScalar yOffset = bounds.height(); 61 SkScalar corruptedAx = bounds.width(); 64 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf; 65 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf; 76 paint.measureText(text, strlen(text), &bounds); 77 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset - bounds.width() * 0.25f, 78 yOffset - bounds.height() * 0.5f); 79 yOffset += bounds.height() 124 SkRect bounds = fBlob->bounds(); variable [all...] |
/external/skia/src/core/ |
SkBBHFactory.cpp | 13 SkBBoxHierarchy* SkRTreeFactory::operator()(const SkRect& bounds) const { 14 SkScalar aspectRatio = bounds.width() / bounds.height();
|
SkRecordDraw.cpp | 24 // this canvas' clip bounds transformed back into identity space, which 77 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds, 154 // The interesting part here is how to calculate bounds for ops which don't 155 // have intrinsic bounds. What is the bounds of a Save or a Translate? 157 // We answer this by thinking about a particular definition of bounds: if I 159 // the bounds of a Save, a Translate, a Restore, etc. are the union of the 160 // bounds of Draw* ops that they might have an effect on. For any given 161 // Save/Restore block, the bounds of the Save, the Restore, and any other 162 // non-drawing ("control") ops inside are exactly the union of the bounds o 240 Bounds bounds; \/\/ Bounds of everything in the block. member in struct:SkRecords::FillBounds::SaveBounds 402 Bounds bounds(const DrawText&) const { return fCurrentClipBounds; } function in class:SkRecords::FillBounds 404 Bounds bounds(const DrawPaint&) const { return fCurrentClipBounds; } function in class:SkRecords::FillBounds 405 Bounds bounds(const NoOp&) const { return Bounds::MakeEmpty(); } \/\/ NoOps don't draw. function in class:SkRecords::FillBounds 407 Bounds bounds(const DrawRect& op) const { return this->adjustAndMap(op.rect, &op.paint); } function in class:SkRecords::FillBounds 408 Bounds bounds(const DrawRegion& op) const { function in class:SkRecords::FillBounds 412 Bounds bounds(const DrawOval& op) const { return this->adjustAndMap(op.oval, &op.paint); } function in class:SkRecords::FillBounds 414 Bounds bounds(const DrawArc& op) const { return this->adjustAndMap(op.oval, &op.paint); } function in class:SkRecords::FillBounds 415 Bounds bounds(const DrawRRect& op) const { function in class:SkRecords::FillBounds 418 Bounds bounds(const DrawDRRect& op) const { function in class:SkRecords::FillBounds 421 Bounds bounds(const DrawImage& op) const { function in class:SkRecords::FillBounds 427 Bounds bounds(const DrawImageLattice& op) const { function in class:SkRecords::FillBounds 430 Bounds bounds(const DrawImageRect& op) const { function in class:SkRecords::FillBounds 433 Bounds bounds(const DrawImageNine& op) const { function in class:SkRecords::FillBounds 436 Bounds bounds(const DrawPath& op) const { function in class:SkRecords::FillBounds 440 Bounds bounds(const DrawPoints& op) const { function in class:SkRecords::FillBounds 450 Bounds bounds(const DrawPatch& op) const { function in class:SkRecords::FillBounds 455 Bounds bounds(const DrawVertices& op) const { function in class:SkRecords::FillBounds 459 Bounds bounds(const DrawAtlas& op) const { function in class:SkRecords::FillBounds 469 Bounds bounds(const DrawPicture& op) const { function in class:SkRecords::FillBounds 475 Bounds bounds(const DrawShadowedPicture& op) const { function in class:SkRecords::FillBounds 481 Bounds bounds(const DrawPosText& op) const { function in class:SkRecords::FillBounds 492 Bounds bounds(const DrawPosTextH& op) const { function in class:SkRecords::FillBounds 507 Bounds bounds(const DrawTextOnPath& op) const { function in class:SkRecords::FillBounds 523 Bounds bounds(const DrawTextRSXform& op) const { function in class:SkRecords::FillBounds 531 Bounds bounds(const DrawTextBlob& op) const { function in class:SkRecords::FillBounds 537 Bounds bounds(const DrawDrawable& op) const { function in class:SkRecords::FillBounds 541 Bounds bounds(const DrawAnnotation& op) const { function in class:SkRecords::FillBounds [all...] |
/art/test/070-nio-buffer/ |
expected.txt | 3 Got expected out-of-bounds exception
|
/art/test/471-deopt-environment/ |
info.txt | 1 Regression test for the bounds check elimination pass, which
|
/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...] |
issue7150.go | 7 // issue 7150: array index out of bounds error off by one 13 _ = [0]int{0: 0} // ERROR "index 0 out of bounds \[0:0\]" 14 _ = [0]int{5: 25} // ERROR "index 5 out of bounds \[0:0\]" 15 _ = [10]int{2: 10, 15: 30} // ERROR "index 15 out of bounds \[0:10\]" 16 _ = [10]int{5: 5, 1: 1, 12: 12} // ERROR "index 12 out of bounds \[0:10\]"
|
/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...] |
issue7150.go | 7 // issue 7150: array index out of bounds error off by one 13 _ = [0]int{0: 0} // ERROR "index 0 out of bounds \[0:0\]" 14 _ = [0]int{5: 25} // ERROR "index 5 out of bounds \[0:0\]" 15 _ = [10]int{2: 10, 15: 30} // ERROR "index 15 out of bounds \[0:10\]" 16 _ = [10]int{5: 5, 1: 1, 12: 12} // ERROR "index 12 out of bounds \[0:10\]"
|
/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/llvm/test/Analysis/ScalarEvolution/ |
infer-via-ranges.ll | 12 %idx = phi i32 [ %start, %entry ] , [ %idx.dec, %in.bounds ] 15 ; CHECK: br i1 true, label %in.bounds, label %out.of.bounds 16 br i1 %abc, label %in.bounds, label %out.of.bounds 18 in.bounds: 19 ; CHECK-LABEL: in.bounds: 25 out.of.bounds:
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropDrawingUtils.java | 30 public static void drawRuleOfThird(Canvas canvas, RectF bounds) { 35 float stepX = bounds.width() / 3.0f; 36 float stepY = bounds.height() / 3.0f; 37 float x = bounds.left + stepX; 38 float y = bounds.top + stepY; 40 canvas.drawLine(x, bounds.top, x, bounds.bottom, p); 44 canvas.drawLine(bounds.left, y, bounds.right, y, p); 49 public static void drawCropRect(Canvas canvas, RectF bounds) { [all...] |