Home
last modified time | relevance | path

Searched refs:Cap (Results 1 – 25 of 191) sorted by relevance

12345678

/external/llvm/unittests/Support/
DArrayRecyclerTest.cpp27 ARO::Capacity Cap = ARO::Capacity::get(0); in TEST() local
28 EXPECT_LT(0u, Cap.getSize()); in TEST()
30 size_t PrevSize = Cap.getSize(); in TEST()
32 Cap = ARO::Capacity::get(N); in TEST()
33 EXPECT_LE(N, Cap.getSize()); in TEST()
35 EXPECT_EQ(PrevSize, Cap.getSize()); in TEST()
37 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
38 PrevSize = Cap.getSize(); in TEST()
42 Cap = ARO::Capacity::get(0); in TEST()
43 PrevSize = Cap.getSize(); in TEST()
[all …]
/external/llvm-project/llvm/unittests/Support/
DArrayRecyclerTest.cpp26 ARO::Capacity Cap = ARO::Capacity::get(0); in TEST() local
27 EXPECT_LT(0u, Cap.getSize()); in TEST()
29 size_t PrevSize = Cap.getSize(); in TEST()
31 Cap = ARO::Capacity::get(N); in TEST()
32 EXPECT_LE(N, Cap.getSize()); in TEST()
34 EXPECT_EQ(PrevSize, Cap.getSize()); in TEST()
36 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
37 PrevSize = Cap.getSize(); in TEST()
41 Cap = ARO::Capacity::get(0); in TEST()
42 PrevSize = Cap.getSize(); in TEST()
[all …]
/external/llvm/include/llvm/Support/
DArrayRecycler.h124 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate() argument
126 if (T *Ptr = pop(Cap.getBucket())) in allocate()
129 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
136 void deallocate(Capacity Cap, T *Ptr) { in deallocate() argument
137 push(Cap.getBucket(), Ptr); in deallocate()
/external/llvm-project/llvm/include/llvm/Support/
DArrayRecycler.h125 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate() argument
127 if (T *Ptr = pop(Cap.getBucket())) in allocate()
130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
137 void deallocate(Capacity Cap, T *Ptr) { in deallocate() argument
138 push(Cap.getBucket(), Ptr); in deallocate()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DArrayRecycler.h125 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate() argument
127 if (T *Ptr = pop(Cap.getBucket())) in allocate()
130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
137 void deallocate(Capacity Cap, T *Ptr) { in deallocate() argument
138 push(Cap.getBucket(), Ptr); in deallocate()
/external/skia/include/core/
DSkStrokeRec.h39 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap()
60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { in setStrokeParams()
117 static SkScalar GetInflationRadius(SkPaint::Join, SkScalar miterLimit, SkPaint::Cap,
DSkPaint.h354 enum Cap { enum
393 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } in getStrokeCap()
400 void setStrokeCap(Cap cap);
/external/skqp/include/core/
DSkStrokeRec.h39 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap()
60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { in setStrokeParams()
117 static SkScalar GetInflationRadius(SkPaint::Join, SkScalar miterLimit, SkPaint::Cap,
DSkPaint.h322 enum Cap { enum
363 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } in getStrokeCap()
370 void setStrokeCap(Cap cap);
/external/llvm-project/llvm/include/llvm/TableGen/
DDirectiveEmitter.h154 bool Cap = true; in getFormattedParserClassName() local
155 std::transform(N.begin(), N.end(), N.begin(), [&Cap](unsigned char C) { in getFormattedParserClassName()
156 if (Cap == true) { in getFormattedParserClassName()
158 Cap = false; in getFormattedParserClassName()
160 Cap = true; in getFormattedParserClassName()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/
DShapeStroke.java22 public Paint.Cap toPaintCap() { in toPaintCap()
25 return Paint.Cap.BUTT; in toPaintCap()
27 return Paint.Cap.ROUND; in toPaintCap()
30 return Paint.Cap.SQUARE; in toPaintCap()
/external/skqp/src/core/
DSkStroke.h35 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap()
36 void setCap(SkPaint::Cap);
DSkStrokeRec.cpp111 stroker.setCap((SkPaint::Cap)fCap); in applyToPath()
134 paint->setStrokeCap((SkPaint::Cap)fCap); in applyToPaint()
139 return GetInflationRadius((SkPaint::Join)fJoin, fMiterLimit, (SkPaint::Cap)fCap, fWidth); in getInflationRadius()
149 SkScalar SkStrokeRec::GetInflationRadius(SkPaint::Join join, SkScalar miterLimit, SkPaint::Cap cap, in GetInflationRadius()
/external/skia/src/core/
DSkStroke.h35 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap()
36 void setCap(SkPaint::Cap);
DSkStrokeRec.cpp111 stroker.setCap((SkPaint::Cap)fCap); in applyToPath()
134 paint->setStrokeCap((SkPaint::Cap)fCap); in applyToPaint()
139 return GetInflationRadius((SkPaint::Join)fJoin, fMiterLimit, (SkPaint::Cap)fCap, fWidth); in getInflationRadius()
149 SkScalar SkStrokeRec::GetInflationRadius(SkPaint::Join join, SkScalar miterLimit, SkPaint::Cap cap, in GetInflationRadius()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPaint.java22 private Paint.Cap cap;
122 protected void setStrokeCap(Paint.Cap cap) { in setStrokeCap()
127 protected Paint.Cap getStrokeCap() { in getStrokeCap()
218 public Paint.Cap getCap() { in getCap()
/external/skqp/modules/sksg/include/
DSkSGPaintNode.h34 SG_ATTRIBUTE(StrokeCap , SkPaint::Cap , fStrokeCap )
51 SkPaint::Cap fStrokeCap = SkPaint::kButt_Cap;
/external/llvm-project/llvm/unittests/DebugInfo/PDB/
DHashTableTest.cpp143 uint32_t Cap = Table.capacity(); in TEST() local
144 for (uint32_t I = 0; I < Cap; ++I) { in TEST()
145 Table.set_as(Cap + I * 2 + 1, I * 2 + 3, Traits); in TEST()
244 uint32_t Cap = Table.capacity(); in TEST() local
245 for (uint32_t I = 0; I < Cap; ++I) { in TEST()
/external/skqp/src/effects/
DSkOpPE.h50 SkStrokePE(SkScalar width, SkPaint::Join, SkPaint::Cap, SkScalar miter);
63 SkPaint::Cap fCap;
DSkOpPathEffect.cpp91 sk_sp<SkPathEffect> SkStrokePathEffect::Make(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, in Make()
99 SkStrokePE::SkStrokePE(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) in SkStrokePE()
120 SkPaint::Cap cap = buffer.read32LE(SkPaint::kLast_Cap); in CreateProc()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/
DCircleView.java5 import android.graphics.Paint.Cap;
47 paint.setStrokeCap(Cap.ROUND); in onDraw()
/external/skia/modules/sksg/include/
DSkSGPaint.h37 SG_ATTRIBUTE(StrokeCap , SkPaint::Cap , fStrokeCap )
52 SkPaint::Cap fStrokeCap = SkPaint::kButt_Cap;
/external/skia/src/effects/
DSkOpPE.h59 SkStrokePE(SkScalar width, SkPaint::Join, SkPaint::Cap, SkScalar miter);
73 SkPaint::Cap fCap;
/external/skqp/src/c/
Dsk_paint.cpp20 SkPaint::Cap fSK;
37 #define SKType SkPaint::Cap
109 SkPaint::Cap skcap; in sk_paint_set_stroke_cap()
/external/skia/src/c/
Dsk_paint.cpp20 SkPaint::Cap fSK;
37 #define SKType SkPaint::Cap
109 SkPaint::Cap skcap; in sk_paint_set_stroke_cap()

12345678