/external/fonttools/Lib/fontTools/pens/ |
D | boundsPen.py | 31 self.bounds = None 42 bounds = self.bounds 43 if bounds: 44 self.bounds = updateBounds(bounds, self._start) 47 self.bounds = (x, y, x, y) 52 self.bounds = updateBounds(self.bounds, pt) 56 bounds = self.bounds 57 bounds = updateBounds(bounds, bcp1) 58 bounds = updateBounds(bounds, bcp2) 59 bounds = updateBounds(bounds, pt) [all …]
|
/external/ImageMagick/MagickCore/ |
D | layer.c | 100 static void ClearBounds(Image *image,RectangleInfo *bounds, in ClearBounds() argument 106 if (bounds->x < 0) in ClearBounds() 110 for (y=0; y < (ssize_t) bounds->height; y++) in ClearBounds() 118 q=GetAuthenticPixels(image,bounds->x,bounds->y+y,bounds->width,1,exception); in ClearBounds() 121 for (x=0; x < (ssize_t) bounds->width; x++) in ClearBounds() 166 const Image *image2,RectangleInfo *bounds,ExceptionInfo *exception) in IsBoundsCleared() argument 178 if (bounds->x < 0) in IsBoundsCleared() 180 for (y=0; y < (ssize_t) bounds->height; y++) in IsBoundsCleared() 182 p=GetVirtualPixels(image1,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared() 183 q=GetVirtualPixels(image2,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared() [all …]
|
/external/Microsoft-GSL/tests/ |
D | strided_span_tests.cpp | 92 CHECK(sav1.bounds().index_bounds() == multi_span_index<1>{9}); 93 CHECK(sav1.bounds().stride() == 1); 97 CHECK(sav2.bounds().index_bounds() == multi_span_index<1>{4}); 98 CHECK(sav2.bounds().strides() == multi_span_index<1>{2}); 102 CHECK((sav3.bounds().index_bounds() == multi_span_index<2>{2, 2})); 103 CHECK((sav3.bounds().strides() == multi_span_index<2>{6, 2})); 116 CHECK(sav.bounds().index_bounds() == multi_span_index<1>{2}); 117 CHECK(sav.bounds().strides() == multi_span_index<1>{1}); 128 CHECK(sav_c.bounds().index_bounds() == multi_span_index<1>{2}); 129 CHECK(sav_c.bounds().strides() == multi_span_index<1>{1}); [all …]
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | TypeVariableName.java | 36 public final List<TypeName> bounds; field in TypeVariableName 38 private TypeVariableName(String name, List<TypeName> bounds) { in TypeVariableName() argument 39 this(name, bounds, new ArrayList<>()); in TypeVariableName() 42 private TypeVariableName(String name, List<TypeName> bounds, List<AnnotationSpec> annotations) { in TypeVariableName() argument 45 this.bounds = bounds; in TypeVariableName() 47 for (TypeName bound : this.bounds) { in TypeVariableName() 53 return new TypeVariableName(name, bounds, annotations); in annotated() 57 return new TypeVariableName(name, bounds); in withoutAnnotations() 60 public TypeVariableName withBounds(Type... bounds) { in withBounds() argument 61 return withBounds(TypeName.list(bounds)); in withBounds() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IRCE/ |
D | unsigned_comparisons_ult.ll | 4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 5 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 6 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 7 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 8 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 9 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 10 … test_07: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 11 … test_08: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 12 … test_09: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 23 ; CHECK-NEXT: %idx = phi i32 [ %idx.next, %in.bounds ], [ 0, %loop.preheader ] [all …]
|
D | unsigned_comparisons_ugt.ll | 4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 5 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 6 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 7 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 8 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 9 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 20 ; CHECK-NEXT: %idx = phi i32 [ %idx.next, %in.bounds ], [ 0, %loop.preheader ] 23 ; CHECK-NEXT: br i1 true, label %in.bounds, label %out.of.bounds.loopexit1 26 …: %idx.postloop = phi i32 [ %idx.copy, %postloop ], [ %idx.next.postloop, %in.bounds.postloop ] 29 ; CHECK-NEXT: br i1 %abc.postloop, label %in.bounds.postloop, label %out.of.bounds.loopexit [all …]
|
D | eq_ne.ll | 4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 5 …test_01u: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 6 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 7 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 8 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 9 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 10 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 11 … test_07: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 12 … test_08: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 20 ; CHECK-NEXT: [[PSEUDO_PHI:%[^ ]+]] = phi i32 [ %idx.next, %in.bounds ] [all …]
|
D | with-parent-loops.ll | 9 …ner_loop: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 16 loop: ; preds = %in.bounds, %entry 17 %idx = phi i32 [ 0, %entry ], [ %idx.next, %in.bounds ] 20 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1 22 in.bounds: ; preds = %loop 28 out.of.bounds: ; preds = %loop 31 exit: ; preds = %in.bounds, %entry 37 …rent: constrained Loop at depth 2 containing: %loop.i<header><exiting>,%in.bounds.i<latch><exiting> 50 loop.i: ; preds = %in.bounds.i, %loop 51 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %in.bounds.i ] [all …]
|
D | stride_more_than_1.ll | 4 … test_01: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 5 … test_02: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 6 … test_03: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 7 … test_04: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 8 … test_05: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 9 … test_06: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 10 … test_07: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 11 … test_08: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 24 ; CHECK-NEXT: %idx = phi i32 [ %idx.next, %in.bounds ], [ 0, %loop.preheader ] 27 ; CHECK-NEXT: br i1 true, label %in.bounds, label %out.of.bounds.loopexit1 [all …]
|
D | single-access-no-preloop.ll | 11 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds ] 14 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1 16 in.bounds: 22 out.of.bounds: 32 ; CHECK: br i1 true, label %in.bounds, label %out.of.bounds 35 ; CHECK-NEXT: %idx.next.lcssa = phi i32 [ %idx.next, %in.bounds ] 48 ; CHECK-NEXT: %idx.postloop = phi i32 [ %idx.next.postloop, %in.bounds.postloop ], [ %idx.copy, %po… 51 ; CHECK-NEXT: br i1 %abc.postloop, label %in.bounds.postloop, label %out.of.bounds 53 ; CHECK: in.bounds.postloop: 67 %idx = phi i32 [ 0, %entry ] , [ %idx.next, %in.bounds ] [all …]
|
/external/skia/src/gpu/effects/ |
D | GrGaussianConvolutionFragmentProcessor.cpp | 83 const char* bounds = uniformHandler->getUniformCStr(fBoundsUni); in emitCode() local 89 component, component, bounds, bounds); in emitCode() 95 component, component, bounds, bounds, bounds, bounds); in emitCode() 100 component, bounds, component, bounds); in emitCode() 140 float bounds[2] = {0}; in onSetData() local 141 bounds[0] = conv.bounds()[0]; in onSetData() 142 bounds[1] = conv.bounds()[1]; in onSetData() 144 bounds[0] += SK_ScalarHalf; in onSetData() 145 bounds[1] -= SK_ScalarHalf; in onSetData() 149 bounds[0] *= inv; in onSetData() [all …]
|
/external/skqp/src/gpu/effects/ |
D | GrGaussianConvolutionFragmentProcessor.cpp | 83 const char* bounds = uniformHandler->getUniformCStr(fBoundsUni); in emitCode() local 89 component, component, bounds, bounds); in emitCode() 95 component, component, bounds, bounds, bounds, bounds); in emitCode() 100 component, bounds, component, bounds); in emitCode() 140 float bounds[2] = {0}; in onSetData() local 141 bounds[0] = conv.bounds()[0]; in onSetData() 142 bounds[1] = conv.bounds()[1]; in onSetData() 144 bounds[0] += SK_ScalarHalf; in onSetData() 145 bounds[1] -= SK_ScalarHalf; in onSetData() 149 bounds[0] *= inv; in onSetData() [all …]
|
/external/skia/gm/ |
D | mixedtextblobs.cpp | 55 SkRect bounds; in onOnceBeforeDraw() local 56 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 58 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() 60 SkScalar corruptedAx = bounds.width(); in onOnceBeforeDraw() 63 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf; in onOnceBeforeDraw() 64 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf; in onOnceBeforeDraw() 74 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 75 sk_tool_utils::add_to_text_blob(&builder, text, font, xOffset - bounds.width() * 0.25f, in onOnceBeforeDraw() 76 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw() 77 yOffset += bounds.height(); in onOnceBeforeDraw() [all …]
|
D | textblobmixedsizes.cpp | 43 SkRect bounds; in onOnceBeforeDraw() local 44 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 45 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() 51 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 52 yOffset += bounds.height(); in onOnceBeforeDraw() 58 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 59 yOffset += bounds.height(); in onOnceBeforeDraw() 65 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 66 yOffset += bounds.height(); in onOnceBeforeDraw() 72 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() [all …]
|
/external/skqp/gm/ |
D | mixedtextblobs.cpp | 55 SkRect bounds; in onOnceBeforeDraw() local 56 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 58 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() 60 SkScalar corruptedAx = bounds.width(); in onOnceBeforeDraw() 63 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf; in onOnceBeforeDraw() 64 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf; in onOnceBeforeDraw() 74 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 75 sk_tool_utils::add_to_text_blob(&builder, text, font, xOffset - bounds.width() * 0.25f, in onOnceBeforeDraw() 76 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw() 77 yOffset += bounds.height(); in onOnceBeforeDraw() [all …]
|
D | textblobmixedsizes.cpp | 43 SkRect bounds; in onOnceBeforeDraw() local 44 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 45 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() 51 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 52 yOffset += bounds.height(); in onOnceBeforeDraw() 58 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 59 yOffset += bounds.height(); in onOnceBeforeDraw() 65 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 66 yOffset += bounds.height(); in onOnceBeforeDraw() 72 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() [all …]
|
/external/skqp/src/core/ |
D | SkRecordDraw.cpp | 80 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds, 168 FillBounds(const SkRect& cullRect, const SkRecord& record, SkRect bounds[]) in FillBounds() argument 171 , fBounds(bounds) { in FillBounds() 237 Bounds bounds; // Bounds of everything in the block. member 267 fBounds[fCurrentOp] = this->bounds(op); in trackBounds() 277 sb.bounds = in pushSaveBlock() 325 this->popControl(sb.bounds); in popSaveBlock() 329 this->updateSaveBounds(sb.bounds); in popSaveBlock() 332 return sb.bounds; in popSaveBlock() 342 void popControl(const Bounds& bounds) { in popControl() argument [all …]
|
/external/llvm/test/Transforms/IRCE/ |
D | with-parent-loops.ll | 8 …ner_loop: constrained Loop at depth 1 containing: %loop<header><exiting>,%in.bounds<latch><exiting> 15 loop: ; preds = %in.bounds, %entry 16 %idx = phi i32 [ 0, %entry ], [ %idx.next, %in.bounds ] 19 br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1 21 in.bounds: ; preds = %loop 27 out.of.bounds: ; preds = %loop 30 exit: ; preds = %in.bounds, %entry 36 …rent: constrained Loop at depth 2 containing: %loop.i<header><exiting>,%in.bounds.i<latch><exiting> 49 loop.i: ; preds = %in.bounds.i, %loop 50 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %in.bounds.i ] [all …]
|
/external/skia/tests/ |
D | PathOpsBoundsTest.cpp | 49 SkPathOpsBounds bounds; in DEF_TEST() local 50 bounds.setEmpty(); in DEF_TEST() 51 bounds.add(1, 2, 3, 4); in DEF_TEST() 54 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST() 55 bounds.setEmpty(); in DEF_TEST() 58 bounds.add(ordinal); in DEF_TEST() 59 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST() 60 bounds.setEmpty(); in DEF_TEST() 62 bounds.add(botRight); in DEF_TEST() 63 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | PathOpsBoundsTest.cpp | 49 SkPathOpsBounds bounds; in DEF_TEST() local 50 bounds.setEmpty(); in DEF_TEST() 51 bounds.add(1, 2, 3, 4); in DEF_TEST() 54 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST() 55 bounds.setEmpty(); in DEF_TEST() 58 bounds.add(ordinal); in DEF_TEST() 59 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST() 60 bounds.setEmpty(); in DEF_TEST() 62 bounds.add(botRight); in DEF_TEST() 63 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST() [all …]
|
/external/skia/src/core/ |
D | SkRecordDraw.cpp | 80 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds, 172 FillBounds(const SkRect& cullRect, const SkRecord& record, SkRect bounds[]) in FillBounds() argument 175 , fBounds(bounds) { in FillBounds() 241 Bounds bounds; // Bounds of everything in the block. member 271 fBounds[fCurrentOp] = this->bounds(op); in trackBounds() 281 sb.bounds = in pushSaveBlock() 329 this->popControl(sb.bounds); in popSaveBlock() 333 this->updateSaveBounds(sb.bounds); in popSaveBlock() 336 return sb.bounds; in popSaveBlock() 346 void popControl(const Bounds& bounds) { in popControl() argument [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ot-cff1-table.cc | 215 bounds.init (); in init() 223 Bounds bounds; member 241 param.bounds.update (env.get_pt ()); in line() 244 param.bounds.update (env.get_pt ()); in line() 252 param.bounds.update (env.get_pt ()); in curve() 255 param.bounds.update (pt1); in curve() 256 param.bounds.update (pt2); in curve() 258 param.bounds.update (env.get_pt ()); in curve() 262 static bool _get_bounds (const OT::cff1::accelerator_t *cff, hb_codepoint_t glyph, Bounds &bounds, … 280 param.bounds.merge (base_bounds); in process_seac() [all …]
|
/external/python/cpython2/Mac/Demo/quicktime/ |
D | VerySimplePlayer.py | 32 bounds = (175, 75, 175+160, 75+120) 33 theWindow = Win.NewCWindow(bounds, fss.as_tuple()[2], 0, 0, -1, 1, 0) 41 bounds = theMovie.GetMovieBox() 42 bounds = 0, 0, bounds[2]-bounds[0], bounds[3]-bounds[1] 43 theMovie.SetMovieBox(bounds) 46 theController = theMovie.NewMovieController(bounds, QuickTime.mcTopLeftMovie) 49 rv, bounds = theController.MCGetControllerBoundsRect() 50 theWindow.SizeWindow(bounds[2], bounds[3], 0) # XXXX or [3] [2]?
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 81 SkIRect bounds = this->getBounds(); in writeOutSkp() local 83 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(bounds.width()), in writeOutSkp() 84 SkIntToScalar(bounds.height())); in writeOutSkp() 102 SkIRect bounds; in getBounds() local 104 bounds = fPicture->cullRect().roundOut(); in getBounds() 107 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), maxRTSize), in getBounds() 108 SkTMin(bounds.height(), maxRTSize)); in getBounds() 111 bounds = SkIRect::MakeWH(kDefaultWidth, kDefaultHeight); in getBounds() 116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds() 117 SkTMin(bounds.height(), kMaxHeight)); in getBounds() [all …]
|
/external/skqp/tools/skiaserve/ |
D | Request.cpp | 81 SkIRect bounds = this->getBounds(); in writeOutSkp() local 83 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(bounds.width()), in writeOutSkp() 84 SkIntToScalar(bounds.height())); in writeOutSkp() 102 SkIRect bounds; in getBounds() local 104 bounds = fPicture->cullRect().roundOut(); in getBounds() 107 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), maxRTSize), in getBounds() 108 SkTMin(bounds.height(), maxRTSize)); in getBounds() 111 bounds = SkIRect::MakeWH(kDefaultWidth, kDefaultHeight); in getBounds() 116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds() 117 SkTMin(bounds.height(), kMaxHeight)); in getBounds() [all …]
|