Searched refs:bounds (Results 251 - 275 of 350) sorted by relevance

<<11121314

/external/selinux/libsepol/cil/src/
H A Dcil_internal.h412 struct cil_user *bounds; member in struct:cil_user
453 struct cil_role *bounds; member in struct:cil_role
479 struct cil_type *bounds; member in struct:cil_type
970 void cil_bounds_init(struct cil_bounds **bounds);
H A Dcil_verify.c615 } else if (user->bounds != NULL) {
619 struct cil_user *u2 = user->bounds;
623 cil_log(CIL_ERR, "Circular bounds found for user %s\n", u1->datum.name);
633 u2 = u2->bounds;
659 struct cil_role *r2 = role->bounds;
663 cil_log(CIL_ERR, "Circular bounds found for role %s\n", r1->datum.name);
673 r2 = r2->bounds;
690 struct cil_type *t2 = type->bounds;
694 cil_log(CIL_ERR, "Circular bounds found for type %s\n", t1->datum.name);
704 t2 = t2->bounds;
[all...]
H A Dcil_resolve_ast.c2254 struct cil_bounds *bounds = current->data; local
2264 rc = cil_resolve_name(current, bounds->parent_str, index, extra_args, &parent_datum);
2269 rc = cil_resolve_name(current, bounds->child_str, index, extra_args, &child_datum);
2278 if (user->bounds != NULL) {
2279 struct cil_tree_node *node = user->bounds->datum.nodes->head->data;
2280 cil_log(CIL_ERR, "User %s already bound by parent at line %u of %s\n", bounds->child_str, node->line, node->path);
2285 user->bounds = (struct cil_user *)parent_datum;
2291 if (role->bounds != NULL) {
2292 struct cil_tree_node *node = role->bounds->datum.nodes->head->data;
2293 cil_log(CIL_ERR, "Role %s already bound by parent at line %u of %s\n", bounds
[all...]
/external/skia/include/core/
H A DSkDraw.h62 /* If dstOrNull is null, computes a dst by mapping the bitmap's bounds through the matrix. */
91 solely to assist in computing the mask's bounds (if the mode requests that).
132 * Return the current clip bounds, in local coordinates, with slop to account
133 * for antialiasing or hairlines (i.e. device-bounds outset by 1, and then
137 * false and ignore bounds parameter.
140 computeConservativeLocalClipBounds(SkRect* bounds) const;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
H A DPropertyTable.java413 // if out of bounds, then ignore
470 // if out of bounds, then ignore
561 // set bounds
600 * Sets correct bounds for active editor, for example we need update bounds after scrolling.
609 // prepare bounds for editor
610 Rectangle bounds;
617 bounds = new Rectangle(x, y, width, height);
619 // update bounds using presentation
627 bounds
[all...]
/external/skia/gm/
H A Dxfermodes.cpp99 SkRect bounds = SkRect::MakeXYWH(x, y, SkIntToScalar(W), local
101 canvas->saveLayer(&bounds, &p);
/external/skia/src/core/
H A DSkRasterClip.cpp27 SkRasterClip::SkRasterClip(const SkIRect& bounds, bool forceConservativeRects) : fBW(bounds) { argument
30 fIsEmpty = this->computeIsEmpty(); // bounds might be empty, so compute
112 // the current clip to the device bounds.
129 // To reverse, we swap in the bounds with a replace op.
135 // which is always included in (bounds(A) union bounds(B))
186 // bounds, than just using the device. However, if currRgn is complex,
H A DSkTypeface.cpp323 bool SkTypeface::onComputeBounds(SkRect* bounds) const {
346 bounds->set(fm.fXMin * invTextSize, fm.fTop * invTextSize,
H A DSkPath.cpp20 * Path.bounds is defined to be the bounds of all the control points.
21 * If we called bounds.join(r) we would skip r if r was empty, which breaks
54 used when we know the bounds of the amount we are going to add to the path
58 cached bounds), and then if it can, it updates the cache bounds explicitly,
93 // Cannot use fRect for our bounds unless we know it is sorted
96 // Mark the path's bounds as dirty if (1) they are, or (2) the path
97 // is non-finite, and therefore its bounds are not meaningful
175 // note: don't need to look at isConvex or bounds, sinc
984 const SkRect& bounds = rrect.getBounds(); local
1999 SkRect bounds; local
[all...]
H A DSkDraw.cpp1176 // set the mask's bounds to the transformed bitmap-bounds,
1323 SkIRect bounds; local
1324 bounds.set(x, y, x + bitmap.width(), y + bitmap.height());
1326 if (fRC->quickReject(bounds)) {
1340 SkScan::FillIRect(bounds, *fRC, blitter);
1349 r.set(bounds);
1466 SkIRect* bounds = &mask.fBounds; local
1475 bounds = &storage;
1489 state.blitMask(mask, *bounds);
2179 compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, const SkMaskFilter* filter, const SkMatrix* filterMatrix, SkIRect* bounds) argument
[all...]
H A DSkPathRef.cpp78 * Here we optimize the bounds computation, by noting if the bounds are
84 * if it is non-finite. In those cases bounds need to stay empty,
234 const SkRect& bounds = this->getBounds(); local
250 buffer->write(&bounds, sizeof(bounds));
459 SkDebugf("bounds: %f %f %f %f\n",
H A DSkBitmap.cpp94 void SkBitmap::getBounds(SkRect* bounds) const {
95 SkASSERT(bounds);
96 bounds->set(0, 0,
100 void SkBitmap::getBounds(SkIRect* bounds) const {
101 SkASSERT(bounds);
102 bounds->set(0, 0, fInfo.width(), fInfo.height());
801 // If the upper left of the rectangle was outside the bounds of this SkBitmap, we should have
1133 // compute our (larger?) dst bounds if we have a filter
H A DSkMaskFilter.cpp53 const SkIRect& bounds, const SkIRect& clipR) {
55 if (r.intersect(bounds, clipR)) {
52 blitClippedMask(SkBlitter* blitter, const SkMask& mask, const SkIRect& bounds, const SkIRect& clipR) argument
/external/skia/tests/
H A DFontHostTest.cpp276 SkRect bounds; local
282 // Requesting the bounds forces a generateMetrics call.
283 SkScalar width2 = paint.measureText(txt, strlen(txt), &bounds);
H A DPathTest.cpp29 static void test_add_rrect(skiatest::Reporter* reporter, const SkRect& bounds, argument
32 rrect.setRectRadii(bounds, radii);
33 REPORTER_ASSERT(reporter, bounds == rrect.rect());
38 REPORTER_ASSERT(reporter, bounds == path.getBounds());
543 // Be sure that path::transform correctly updates isFinite and the bounds
545 // set to true in this case, but the bounds were not set to empty (which
1246 const SkRect& bounds) {
1248 REPORTER_ASSERT(reporter, p.getBounds() == bounds);
1252 REPORTER_ASSERT(reporter, p2.getBounds() == bounds);
1257 REPORTER_ASSERT(reporter, other.getBounds() == bounds);
1245 check_convex_bounds(skiatest::Reporter* reporter, const SkPath& p, const SkRect& bounds) argument
3648 SkRect bounds, bounds2; local
[all...]
/external/skia/dm/
H A DDMSrcSink.cpp518 SkRect bounds = SkRect::MakeIWH(srcW, srcH); local
519 matrix->mapRect(&bounds);
520 matrix->postTranslate(-bounds.x(), -bounds.y());
521 return SkISize::Make(SkScalarRoundToInt(bounds.width()), SkScalarRoundToInt(bounds.height()));
/external/skia/src/pathops/
H A DSkAddIntersections.cpp260 if (AlmostLessUlps(test->bounds().fBottom, next->bounds().fTop)) {
263 // OPTIMIZATION: outset contour bounds a smidgen instead?
264 if (!SkPathOpsBounds::Intersects(test->bounds(), next->bounds())) {
279 if (!SkPathOpsBounds::Intersects(wt.bounds(), wn.bounds())) {
/external/selinux/libsepol/src/
H A Dlink.c768 if (!type->bounds)
771 bounds_val = state->cur->map[SYM_TYPES][type->bounds - 1];
779 if (dest->bounds != 0 && dest->bounds != bounds_val) {
784 dest->bounds = bounds_val;
797 if (!role->bounds)
800 bounds_val = state->cur->map[SYM_ROLES][role->bounds - 1];
808 if (dest->bounds != 0 && dest->bounds != bounds_val) {
813 dest->bounds
[all...]
H A Dhierarchy.c55 * If the given datum has a valid bounds, this function merely
66 if (datum->bounds) \
67 *parent = a->p->prefix##_val_to_struct[datum->bounds - 1]; \
248 * See the following example. A_t type is bounds of B_t type,
264 * because it seems to us B_t is violated to bounds constraints
/external/opencv/cxcore/src/
H A Dcxdrawing.cpp1154 CvRect bounds = edges->rect; local
1211 bounds.y = MIN( bounds.y, pt0.y );
1212 bounds.height = MAX( bounds.height, pt1.y );
1216 bounds.x = MIN( bounds.x, pt0.x );
1217 bounds.width = MAX( bounds.width, pt1.x );
1221 bounds
[all...]
/external/selinux/checkpolicy/
H A Dpolicy_define.c1300 type_datum_t *bounds, *type; local
1307 bounds = hashtab_search(policydbp->p_types.table, bounds_id);
1308 if (!bounds || bounds->flavor == TYPE_ATTRIB) {
1330 if (!type->bounds)
1331 type->bounds = bounds->s.value;
1332 else if (type->bounds != bounds->s.value) {
1335 policydbp->p_type_val_to_name[type->bounds
1345 char *bounds, *id; local
1381 char *bounds, *delim; local
[all...]
/external/skia/src/gpu/
H A DGrDrawTarget.cpp78 //SkDebugf("No dev bounds when dst copy is made.\n");
137 if (!this->setupClip(pipelineBuilder, &arfp, &ars, &scissorState, &batch->bounds())) {
141 // Batch bounds are tight, so for dev copies
143 SkRect bounds = batch->bounds(); local
144 bounds.outset(0.5f, 0.5f);
146 GrDrawTarget::PipelineInfo pipelineInfo(pipelineBuilder, &scissorState, batch, &bounds,
382 // clip the left edge to src and dst bounds, adjusting dstPoint if necessary
392 // clip the top edge to src and dst bounds, adjusting dstPoint if necessary
402 // clip the right edge to the src and dst bounds
[all...]
/external/skia/src/utils/
H A DSkDeferredCanvas.cpp712 SkCanvas::SaveLayerStrategy SkDeferredCanvas::willSaveLayer(const SkRect* bounds, argument
719 this->drawingCanvas()->saveLayer(bounds, paint, flags);
721 this->INHERITED::willSaveLayer(bounds, paint, flags);
871 SkRect bounds = SkRect::MakeXYWH(x, y, local
874 this->isFullFrame(&bounds, paint) &&
/external/selinux/libsepol/include/sepol/policydb/
H A Dpolicydb.h138 uint32_t bounds; /* bounds role, if exist */ member in struct:role_datum
180 uint32_t bounds; /* bounds type, if exist */ member in struct:type_datum
201 uint32_t bounds; /* bounds user, if exist */ member in struct:user_datum
/external/guava/guava-tests/test/com/google/common/reflect/
H A DTypesTest.java337 TypeVariable<D> typeVariable, Type... bounds) {
339 typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds);
336 withBounds( TypeVariable<D> typeVariable, Type... bounds) argument

Completed in 689 milliseconds

<<11121314