/external/llvm/unittests/Support/ |
ArrayRecyclerTest.cpp | 27 ARO::Capacity Cap = ARO::Capacity::get(0); 28 EXPECT_LT(0u, Cap.getSize()); 30 size_t PrevSize = Cap.getSize(); 32 Cap = ARO::Capacity::get(N); 33 EXPECT_LE(N, Cap.getSize()); 35 EXPECT_EQ(PrevSize, Cap.getSize()); 37 EXPECT_LT(PrevSize, Cap.getSize()); 38 PrevSize = Cap.getSize(); 42 Cap = ARO::Capacity::get(0); 43 PrevSize = Cap.getSize() [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Paint_CapTest.java | 22 import android.graphics.Paint.Cap; 34 assertEquals(Cap.BUTT, Cap.valueOf("BUTT")); 35 assertEquals(Cap.ROUND, Cap.valueOf("ROUND")); 36 assertEquals(Cap.SQUARE, Cap.valueOf("SQUARE")); 42 Cap[] actual = Cap.values(); 45 assertEquals(Cap.BUTT, actual[0]) [all...] |
/external/skia/src/core/ |
SkStroke.h | 34 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } 35 void setCap(SkPaint::Cap);
|
SkStrokerPriv.h | 36 static CapProc CapFactory(SkPaint::Cap);
|
SkStrokeRec.cpp | 111 stroker.setCap((SkPaint::Cap)fCap); 134 paint->setStrokeCap((SkPaint::Cap)fCap);
|
/external/llvm/include/llvm/Support/ |
ArrayRecycler.h | 124 T *allocate(Capacity Cap, AllocatorType &Allocator) { 126 if (T *Ptr = pop(Cap.getBucket())) 129 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); 134 /// Cap must be the same capacity that was given to allocate(). 136 void deallocate(Capacity Cap, T *Ptr) { 137 push(Cap.getBucket(), Ptr);
|
/external/skia/include/core/ |
SkStrokeRec.h | 39 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } 60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { 61 fCap = cap; 145 uint32_t fCap : 16; // SkPaint::Cap
|
SkPaint.h | 394 /** Cap enum specifies the settings for the paint's strokecap. This is the 398 If the cap is round or square, the caps are drawn when the contour has 404 The zero length contour draws the square cap without rotation, since 407 enum Cap { 430 /** Return the paint's stroke cap type, controlling how the start and end 432 @return the line cap style for the paint, used whenever the paint's 435 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } 437 /** Set the paint's stroke cap type. 438 @param cap set the paint's line cap style, used whenever the paint' [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPaint.java | 20 private Paint.Cap cap; field in class:ShadowPaint 89 public void setStrokeCap(Paint.Cap cap) { 90 this.cap = cap; 94 public Paint.Cap getStrokeCap() { 95 return cap; 165 * @return cap 167 public Paint.Cap getCap() [all...] |
/prebuilts/go/darwin-x86/test/ |
slice3.go | 55 const Cap = 10 // cap of slice, array 70 iconst && base == "array" && iv > Cap, 71 jconst && base == "array" && jv > Cap, 72 kconst && base == "array" && kv > Cap: 78 if iv > jv || jv > kv || kv > Cap || iv < 0 || jv < 0 || kv < 0 { 144 base, len, cap := raw[0] - arrayBase, raw[1], raw[2] 147 println(desc, "=", base, len, cap, "want panic") 150 if cap != 0 && base != uintptr(xbase) || base >= 10 || len != uintptr(xlen) || cap != uintptr(xcap) [all...] |
/prebuilts/go/linux-x86/test/ |
slice3.go | 55 const Cap = 10 // cap of slice, array 70 iconst && base == "array" && iv > Cap, 71 jconst && base == "array" && jv > Cap, 72 kconst && base == "array" && kv > Cap: 78 if iv > jv || jv > kv || kv > Cap || iv < 0 || jv < 0 || kv < 0 { 144 base, len, cap := raw[0] - arrayBase, raw[1], raw[2] 147 println(desc, "=", base, len, cap, "want panic") 150 if cap != 0 && base != uintptr(xbase) || base >= 10 || len != uintptr(xlen) || cap != uintptr(xcap) [all...] |
/external/skia/bench/ |
BezierBench.cpp | 49 SkPaint::Cap fCap; 55 BezierBench(SkPaint::Cap c, SkPaint::Join j, SkScalar w, DrawProc proc) {
|
/frameworks/base/core/java/android/view/ |
RoundScrollbarRenderer.java | 46 mThumbPaint.setStrokeCap(Paint.Cap.ROUND); 51 mTrackPaint.setStrokeCap(Paint.Cap.ROUND);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ |
NvmExpressHci.c | 22 @param Cap The buffer used to store capability register content.
31 IN NVME_CAP *Cap
52 WriteUnaligned64 ((UINT64*)Cap, Data);
456 // Cap.To specifies max delay time in 500ms increments for Csts.Rdy to transition from 1 to 0 after
457 // Cc.Enable transition from 1 to 0. Loop produces a 1 millisecond delay per itteration, up to 500 * Cap.To.
459 if (Private->Cap.To == 0) {
462 Timeout = Private->Cap.To;
526 // Cap.To specifies max delay time in 500ms increments for Csts.Rdy to set after
527 // Cc.Enable. Loop produces a 1 millisecond delay per itteration, up to 500 * Cap.To.
529 if (Private->Cap.To == 0) { [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PointsActivity.java | 107 p.setStrokeCap(Paint.Cap.SQUARE); 119 p.setStrokeCap(Paint.Cap.ROUND);
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
CaretDrawable.java | 53 mCaretPaint.setStrokeCap(Paint.Cap.SQUARE); 61 mShadowPaint.setStrokeCap(Paint.Cap.ROUND);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
DonutView.java | 65 mBackgroundCircle.setStrokeCap(Paint.Cap.BUTT); 73 mFilledArc.setStrokeCap(Paint.Cap.BUTT); 156 // Technically, this should be the cap height, but I can live with the descent - ascent.
|
/external/skia/gm/ |
quadpaths.cpp | 30 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 35 paint.setStrokeCap(cap); 67 SkPaint::Cap fCap; 103 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { 104 if (0 < cap) { 120 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle [all...] |
nonclosedpaths.cpp | 26 // The path looks closed, but final rendering has 2 ends with cap. 81 constexpr SkPaint::Cap kCap[] = { 100 for (size_t cap = 0; cap < SK_ARRAY_COUNT(kCap); ++cap) { 110 paint.setStrokeCap(kCap[cap]);
|
linepaths.cpp | 16 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 21 paint.setStrokeCap(cap); 53 SkPaint::Cap fCap; 96 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { 97 if (0 < cap) { 113 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle [all...] |
/external/skia/src/c/ |
sk_paint.cpp | 20 SkPaint::Cap fSK; 37 #define SKType SkPaint::Cap 109 SkPaint::Cap skcap;
|
/prebuilts/go/darwin-x86/src/regexp/syntax/ |
regexp.go | 26 Cap int // capturing index, for OpCapture 50 OpCapture // capturing subexpression with index Cap, optional name Name 107 if x.Cap != y.Cap || x.Name != y.Name || !x.Sub[0].Equal(y.Sub[0]) { 295 m = re.Cap 314 names[re.Cap] = re.Name
|
/prebuilts/go/linux-x86/src/regexp/syntax/ |
regexp.go | 26 Cap int // capturing index, for OpCapture 50 OpCapture // capturing subexpression with index Cap, optional name Name 107 if x.Cap != y.Cap || x.Name != y.Name || !x.Sub[0].Equal(y.Sub[0]) { 295 m = re.Cap 314 names[re.Cap] = re.Name
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MeasureText.java | 62 mPaint.setStrokeCap(Paint.Cap.ROUND);
|
/external/llvm/include/llvm/CodeGen/ |
MachineFunction.h | 549 MachineOperand *allocateOperandArray(OperandCapacity Cap) { 550 return OperandRecycler.allocate(Cap, Allocator); 555 /// Cap must be the same capacity that was used to allocate the array. 556 void deallocateOperandArray(OperandCapacity Cap, MachineOperand *Array) { 557 OperandRecycler.deallocate(Cap, Array);
|