Home
last modified time | relevance | path

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

1234

/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/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/skia/src/core/
DSkStroke.h34 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap()
35 void setCap(SkPaint::Cap);
DSkStrokeRec.cpp111 stroker.setCap((SkPaint::Cap)fCap); in applyToPath()
134 paint->setStrokeCap((SkPaint::Cap)fCap); in applyToPaint()
DSkStrokerPriv.h36 static CapProc CapFactory(SkPaint::Cap);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPaint.java20 private Paint.Cap cap;
89 public void setStrokeCap(Paint.Cap cap) { in setStrokeCap()
94 public Paint.Cap getStrokeCap() { in getStrokeCap()
167 public Paint.Cap getCap() { in getCap()
/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()
DSkPaint.h407 enum Cap { enum
435 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } in getStrokeCap()
441 void setStrokeCap(Cap 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()
/external/skia/bench/
DBezierBench.cpp49 SkPaint::Cap fCap;
55 BezierBench(SkPaint::Cap c, SkPaint::Join j, SkScalar w, DrawProc proc) { in BezierBench()
/external/skia/gm/
Dquadpaths.cpp30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath()
67 SkPaint::Cap fCap; in onDraw()
173 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath()
210 SkPaint::Cap fCap; in onDraw()
Dlinepaths.cpp16 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath()
53 SkPaint::Cap fCap; in draw()
Dcubicpaths.cpp141 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath()
178 SkPaint::Cap fCap; in onDraw()
285 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath()
322 SkPaint::Cap fCap; in onDraw()
Dhairlines.cpp221 static void draw_squarehair_tests(SkCanvas* canvas, SkScalar width, SkPaint::Cap cap, bool aa) { in draw_squarehair_tests()
246 const SkPaint::Cap caps[] = { SkPaint::kButt_Cap, SkPaint::kSquare_Cap, SkPaint::kRound_Cap };
Dnonclosedpaths.cpp81 constexpr SkPaint::Cap kCap[] = { in onDraw()
/external/llvm/include/llvm/CodeGen/
DMachineFunction.h549 MachineOperand *allocateOperandArray(OperandCapacity Cap) {
550 return OperandRecycler.allocate(Cap, Allocator);
556 void deallocateOperandArray(OperandCapacity Cap, MachineOperand *Array) {
557 OperandRecycler.deallocate(Cap, Array);
/external/skia/src/pdf/
DSkPDFGraphicState.cpp183 SkPaint::Cap strokeCap = (SkPaint::Cap)fStrokeCap; in emitObject()
/external/skia/src/gpu/ops/
DGrDashOp.cpp55 SkPaint::Cap cap = style.strokeRec().getCap(); in CanDrawDashLine()
255 SkPaint::Cap cap, AAMode aaMode, bool fullDash) { in Make()
279 DashOp(const LineData& geometry, GrColor color, SkPaint::Cap cap, AAMode aaMode, bool fullDash) in DashOp()
333 SkPaint::Cap cap = this->cap(); in onPrepareDraws()
670 SkPaint::Cap cap() const { return fCap; } in cap()
677 SkPaint::Cap fCap;
694 SkPaint::Cap cap = style.strokeRec().getCap(); in MakeDashLineOp()
1218 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount)); in DRAW_OP_TEST_DEFINE()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVModule.cpp92 bool hasCapability(SPIRVCapabilityKind Cap) const { in hasCapability()
93 return CapMap.find(Cap) != CapMap.end(); in hasCapability()
451 SPIRVModuleImpl::addCapability(SPIRVCapabilityKind Cap) { in addCapability() argument
452 addCapabilities(SPIRV::getCapability(Cap)); in addCapability()
453 SPIRVDBG(spvdbgs() << "addCapability: " << Cap << '\n'); in addCapability()
454 if (hasCapability(Cap)) in addCapability()
457 CapMap.insert(std::make_pair(Cap, new SPIRVCapability(this, Cap))); in addCapability()
461 SPIRVModuleImpl::addCapabilityInternal(SPIRVCapabilityKind Cap) { in addCapabilityInternal() argument
463 if (hasCapability(Cap)) in addCapabilityInternal()
466 CapMap.insert(std::make_pair(Cap, new SPIRVCapability(this, Cap))); in addCapabilityInternal()
DSPIRVType.h214 auto Cap = getVec(CapabilityAddresses); in getRequiredCapability() local
216 Cap.push_back(CapabilityFloat16Buffer); in getRequiredCapability()
218 Cap.insert(Cap.end(), C.begin(), C.end()); in getRequiredCapability()
219 return Cap; in getRequiredCapability()
DSPIRVEnum.h131 #define ADD_VEC_INIT(Cap, ...) \ argument
135 add(Cap, V); \
/external/skia/src/gpu/
DGrTestUtils.cpp234 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount)); in randomize_stroke_rec()
/external/icu/icu4c/source/data/brkitr/
Den.txt76 "Cap.",
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DLineAndPointFormatter.java115 vertexPaint.setStrokeCap(Paint.Cap.ROUND); in initVertexPaint()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp1012 Cap = Lambda->capture_init_begin(), in canThrow() local
1014 Cap != CapEnd; ++Cap) in canThrow()
1015 CT = mergeCanThrow(CT, canThrow(*Cap)); in canThrow()

1234