/third_party/typescript/tests/baselines/reference/ |
H A D | mappedTypes2.js | 63 function f1(shape: Shape) { 66 var frozen = freeze(shape); 69 function f2(shape: Shape) { 75 function f3(shape: Shape) { 76 const x = pick(shape, "name", "location"); // { name: string, location: Point } 84 function f5(shape: Shape) { 85 const p = proxify(shape); 90 function f6(shape: DeepReadonly<Shape>) { 91 let name = shape.name; // string 92 let location = shape [all...] |
H A D | propTypeValidatorInference.js | 33 export function shape<P extends ValidationMap<any>>(type: P): Requireable<InferProps<P>>; 43 shape: { 62 const arrayOfTypes = [PropTypes.string, PropTypes.bool, PropTypes.shape({ 72 shape: PropTypes.shape(innerProps).isRequired, 81 shape: PropTypes.shape(innerProps).isRequired, 101 var arrayOfTypes = [PropTypes.string, PropTypes.bool, PropTypes.shape({
110 shape: PropTypes.shape(innerProp [all...] |
H A D | keyofAndIndexedAccessErrors.js | 62 function f10(shape: Shape) { 63 let x1 = getProperty(shape, "name"); 64 let x2 = getProperty(shape, "size"); // Error 65 let x3 = getProperty(shape, cond ? "name" : "size"); // Error 66 setProperty(shape, "name", "rectangle"); 67 setProperty(shape, "size", 10); // Error 68 setProperty(shape, cond ? "name" : "size", 10); // Error 169 function f10(shape) {
170 var x1 = getProperty(shape, "name");
171 var x2 = getProperty(shape, "siz [all...] |
H A D | typeGuardNarrowsIndexedAccessOfKnownProperty1.js | 20 shape: Shape; 33 switch(s[0]["sub"].under["shape"]["dash-ok"]) { 34 case "square": return s[0].sub.under.shape["square-size"] * s[0].sub.under.shape["square-size"]; 35 case "rectangle": return s[0]["sub"]["under"]["shape"]["width"] * s[0]["sub"]["under"]["shape"].height; 36 case "circle": return Math.PI * s[0].sub.under["shape"].radius * s[0]["sub"].under.shape["radius"]; 95 switch (s[0]["sub"].under["shape"]["dash-ok"]) {
96 case "square": return s[0].sub.under.shape["squar [all...] |
/third_party/python/Lib/test/ |
H A D | test_buffer.py | 264 def strides_from_shape(ndim, shape, itemsize, layout): 270 strides = list(shape[1:]) + [itemsize] 274 strides = [itemsize] + list(shape[:-1]) 281 multidimensional C array with shape 's'.""" 295 multidimensional Fortran array with shape 's'.""" 306 def carray(items, shape): 307 if listp(items) and not 0 in shape and prod(shape) != len(items): 308 raise ValueError("prod(shape) != len(items)") 309 return _ca(items, shape) [all...] |
H A D | test_picklebuffer.py | 26 self.assertEqual(m.shape, expected.shape) 79 arr = ndarray(list(range(12)), shape=(4, 3), format='<i') 91 arr = ndarray(list(range(12)), shape=(3, 4), strides=(4, 12), format='<i') 113 arr = ndarray(list(range(3)), shape=(3,), format='<h') 117 arr = ndarray(list(range(6)), shape=(2, 3), format='<h') 121 arr = ndarray(list(range(6)), shape=(2, 3), strides=(2, 4), 127 arr = ndarray(456, shape=(), format='<i') 139 arr = ndarray(list(range(6)), shape=(6,), format='<i')[::2] 142 arr = ndarray(list(range(12)), shape [all...] |
/third_party/skia/experimental/sorttoy/ |
H A D | sorttoy.cpp | 243 Shape shape, 280 Shape shape, in test1() 290 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test1() 291 test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test1() 299 Shape shape, in test2() 310 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test2() 311 test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test2() 312 test->push_back(sk_make_sp<DrawCmd>(ID(2), shape, r.makeOffset(98, 98), FakePaint(SK_ColorBLUE))); in test2() 320 Shape shape, in test3() 331 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, in test3() 279 test1(std::vector<sk_sp<Cmd>>* test, Shape shape, std::vector<ID>* expectedOrder) test1() argument 298 test2(std::vector<sk_sp<Cmd>>* test, Shape shape, std::vector<ID>* expectedOrder) test2() argument 319 test3(std::vector<sk_sp<Cmd>>* test, Shape shape, std::vector<ID>* expectedOrder) test3() argument 341 test4(std::vector<sk_sp<Cmd>>* test, Shape shape, std::vector<ID>* expectedOrder) test4() argument 367 test5(std::vector<sk_sp<Cmd>>* test, Shape shape, std::vector<ID>* expectedOrder) test5() argument 401 test6(std::vector<sk_sp<Cmd>>* test, Shape shape, std::vector<ID>* expectedOrder) test6() argument 423 test7(std::vector<sk_sp<Cmd>>* test, Shape shape, std::vector<ID>* expectedOrder) test7() argument [all...] |
/third_party/skia/src/gpu/ |
H A D | GrBlurUtils.cpp | 73 // This stores the mapping from an unclipped, integerized, device-space, shape bounds to 100 const GrStyledShape& shape, in sw_create_filtered_mask() 107 SkASSERT(!shape.style().applies()); in sw_create_filtered_mask() 124 SkStrokeRec::InitStyle fillOrHairline = shape.style().isSimpleHairline() in sw_create_filtered_mask() 132 shape.asPath(&devPath); in sw_create_filtered_mask() 188 // Create a mask of 'shape' and return the resulting surfaceDrawContext 193 const GrStyledShape& shape, in create_mask_GPU() 240 sdc->drawShape(&clip, std::move(maskPaint), GrAA::kYes, viewMatrix, GrStyledShape(shape)); in create_mask_GPU() 244 static bool get_unclipped_shape_dev_bounds(const GrStyledShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds() argument 246 SkRect shapeBounds = shape in get_unclipped_shape_dev_bounds() 98 sw_create_filtered_mask(GrRecordingContext* rContext, const SkMatrix& viewMatrix, const GrStyledShape& shape, const SkMaskFilter* filter, const SkIRect& unclippedDevShapeBounds, const SkIRect& clipBounds, SkIRect* drawRect, GrUniqueKey* key) sw_create_filtered_mask() argument 189 create_mask_GPU( GrRecordingContext* rContext, const SkIRect& maskRect, const SkMatrix& origViewMatrix, const GrStyledShape& shape, int sampleCnt, const bool canUseSDFBlur = false) create_mask_GPU() argument 271 get_shape_and_clip_bounds(skgpu::v1::SurfaceDrawContext* sdc, const GrClip* clip, const GrStyledShape& shape, const SkMatrix& matrix, SkIRect* unclippedDevShapeBounds, SkIRect* devClipBounds) get_shape_and_clip_bounds() argument 292 compute_key_and_clip_bounds(GrUniqueKey* maskKey, SkIRect* boundsForClip, const GrCaps* caps, const SkMatrix& viewMatrix, bool inverseFilled, const SkMaskFilterBase* maskFilter, const GrStyledShape& shape, const SkIRect& unclippedDevShapeBounds, const SkIRect& devClipBounds, const bool canUseSDFBlur = false) compute_key_and_clip_bounds() argument 377 hw_create_filtered_mask(GrDirectContext* dContext, skgpu::v1::SurfaceDrawContext* sdc, const SkMatrix& viewMatrix, const GrStyledShape& shape, const SkMaskFilterBase* filter, const SkIRect& unclippedDevShapeBounds, const SkIRect& clipBounds, SkIRect* maskRect, GrUniqueKey* key, const bool canUseSDFBlur = false) hw_create_filtered_mask() argument 502 const GrStyledShape* shape = &origShape; draw_shape_with_mask_filter() local 606 drawShapeWithMaskFilter(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, const GrClip* clip, const GrStyledShape& shape, GrPaint&& paint, const SkMatrix& viewMatrix, const SkMaskFilter* mf) drawShapeWithMaskFilter() argument 617 drawShapeWithMaskFilter(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, const GrClip* clip, const SkPaint& paint, const SkMatrixProvider& matrixProvider, const GrStyledShape& shape) drawShapeWithMaskFilter() argument [all...] |
H A D | GrSWMaskHelper.cpp | 72 void GrSWMaskHelper::drawShape(const GrStyledShape& shape, const SkMatrix& matrix, SkRegion::Op op, in drawShape() argument 75 paint.setPathEffect(shape.style().refPathEffect()); in drawShape() 76 shape.style().strokeRec().applyToPaint(&paint); in drawShape() 84 shape.asPath(&path); in drawShape() 93 void GrSWMaskHelper::drawShape(const GrShape& shape, const SkMatrix& matrix, SkRegion::Op op, in drawShape() argument 102 if (shape.inverted()) { in drawShape() 103 if (shape.isEmpty() || shape.isLine() || shape.isPoint()) { in drawShape() 109 } else if (shape in drawShape() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/shaping/ |
H A D | ArabicShapingRegTest.java | 77 * public int shape(char[] source, int sourceStart, int sourceLength, 94 as.shape(source, negNum[i], 0, dest, 0, 0); in TestShape() 95 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 101 as.shape(source, 0, negNum[i], dest, 0, 0); in TestShape() 102 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 109 as.shape(source, 3, 3, dest, 0, 0); in TestShape() 110 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 114 as.shape(source, 2, 4, dest, 0, 0); in TestShape() 115 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 119 as.shape(sourc in TestShape() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/ |
H A D | ArabicShapingRegTest.java | 74 * public int shape(char[] source, int sourceStart, int sourceLength, 91 as.shape(source, negNum[i], 0, dest, 0, 0); in TestShape() 92 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 98 as.shape(source, 0, negNum[i], dest, 0, 0); in TestShape() 99 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 106 as.shape(source, 3, 3, dest, 0, 0); in TestShape() 107 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 111 as.shape(source, 2, 4, dest, 0, 0); in TestShape() 112 errln("ArabicShaping.shape(char[],int,int,char[],int,int) was " + in TestShape() 116 as.shape(sourc in TestShape() [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | SmallPathShapeData.cpp | 14 SmallPathShapeDataKey::SmallPathShapeDataKey(const GrStyledShape& shape, uint32_t dim) { in SmallPathShapeDataKey() argument 17 SkASSERT(shape.style().isSimpleFill()); in SmallPathShapeDataKey() 18 SkASSERT(shape.hasUnstyledKey()); in SmallPathShapeDataKey() 19 int shapeKeySize = shape.unstyledKeySize(); in SmallPathShapeDataKey() 22 shape.writeUnstyledKey(&fKey[1]); in SmallPathShapeDataKey() 25 SmallPathShapeDataKey::SmallPathShapeDataKey(const GrStyledShape& shape, const SkMatrix& ctm) { in SmallPathShapeDataKey() argument 28 SkASSERT(shape.style().isSimpleFill()); in SmallPathShapeDataKey() 29 SkASSERT(shape.hasUnstyledKey()); in SmallPathShapeDataKey() 42 int shapeKeySize = shape.unstyledKeySize(); in SmallPathShapeDataKey() 49 shape in SmallPathShapeDataKey() [all...] |
H A D | TessellationPathRenderer.cpp | 78 const GrStyledShape& shape) const { in onGetStencilSupport() 79 if (!shape.style().isSimpleFill() || shape.inverseFilled()) { in onGetStencilSupport() 84 return shape.knownToBeConvex() ? kNoRestriction_StencilSupport : kStencilOnly_StencilSupport; in onGetStencilSupport() 89 const GrStyledShape& shape = *args.fShape; in onCanDrawPath() local 91 shape.style().hasPathEffect() || in onCanDrawPath() 93 shape.style().strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style || in onCanDrawPath() 97 if (!shape.style().isSimpleFill()) { in onCanDrawPath() 98 if (shape.inverseFilled()) { in onCanDrawPath() 105 if (!shape in onCanDrawPath() [all...] |
/third_party/python/Lib/ctypes/test/ |
H A D | test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 42 if v.shape: 44 for dim in v.shape: 53 for tp, fmt, shape, itemtp in endian_types: 58 if shape: 59 self.assertEqual(len(v), shape[ [all...] |
/third_party/python/Modules/ |
H A D | _testbuffer.c | 155 base->shape = NULL; in ndbuf_new() 170 PyMem_XFree(base->shape); in ndbuf_free() 228 PyMem_XFree(base->shape); in ndarray_dealloc() 473 copy_rec(const Py_ssize_t *shape, Py_ssize_t ndim, Py_ssize_t itemsize, in copy_rec() argument 485 memmove(dptr, sptr, shape[0] * itemsize); in copy_rec() 490 for (i=0, p=mem; i<shape[0]; p+=itemsize, sptr+=sstrides[0], i++) { in copy_rec() 494 for (i=0, p=mem; i<shape[0]; p+=itemsize, dptr+=dstrides[0], i++) { in copy_rec() 502 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 506 copy_rec(shape+1, ndim-1, itemsize, in copy_rec() 524 if (dest->shape[ in cmp_structure() 610 unpack_rec(PyObject *unpack_from, char *ptr, PyObject *mview, char *item, const Py_ssize_t *shape, const Py_ssize_t *strides, const Py_ssize_t *suboffsets, Py_ssize_t ndim, Py_ssize_t itemsize) unpack_rec() argument 663 Py_ssize_t *shape = base->shape; ndarray_as_list() local 929 verify_structure(Py_ssize_t len, Py_ssize_t itemsize, Py_ssize_t offset, const Py_ssize_t *shape, const Py_ssize_t *strides, Py_ssize_t ndim) verify_structure() argument 1120 init_structure(ndbuf_t *ndbuf, PyObject *shape, PyObject *strides, Py_ssize_t ndim) init_structure() argument 1177 init_ndbuf(PyObject *items, PyObject *shape, PyObject *strides, Py_ssize_t offset, PyObject *format, int flags) init_ndbuf() argument 1264 ndarray_push_base(NDArrayObject *nd, PyObject *items, PyObject *shape, PyObject *strides, Py_ssize_t offset, PyObject *format, int flags) ndarray_push_base() argument 1287 PyObject *shape = NULL; /* size of each dimension */ ndarray_init() local 1353 PyObject *shape = NULL; /* size of each dimension */ ndarray_push() local 1743 Py_ssize_t *shape = NULL, *strides = NULL, *suboffsets = NULL; copy_structure() local 2238 static Py_ssize_t shape[ND_MAX_NDIM]; ndarray_memoryview_from_buffer() local 2482 arraycmp(const Py_ssize_t *a1, const Py_ssize_t *a2, const Py_ssize_t *shape, Py_ssize_t ndim) arraycmp() argument [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-arabic-table.py | 168 shape, items = items[0][1:-1], tuple (int (x, 16) for x in items[1:]) 170 if not shape in ['initial', 'medial', 'isolated', 'final']: 183 ligatures[items][shape] = c 185 # Save shape 192 shapes[items[0]][shape] = c 201 s = [shapes[u][shape] if u in shapes and shape in shapes[u] else 0 202 for shape in ['initial', 'medial', 'final', 'isolated']] 214 for shape in ligatures[pair]: 215 c = ligatures[pair][shape] [all...] |
/third_party/skia/third_party/externals/harfbuzz/perf/ |
H A D | perf-shaping.hh | 5 static void shape (benchmark::State &state, const char *text_path, in shape() function 39 BENCHMARK_CAPTURE (shape, fa-thelittleprince.txt - Amiri, 43 BENCHMARK_CAPTURE (shape, fa-thelittleprince.txt - NotoNastaliqUrdu, 48 BENCHMARK_CAPTURE (shape, fa-monologue.txt - Amiri, 52 BENCHMARK_CAPTURE (shape, fa-monologue.txt - NotoNastaliqUrdu, 57 BENCHMARK_CAPTURE (shape, en-thelittleprince.txt - Roboto, 62 BENCHMARK_CAPTURE (shape, en-words.txt - Roboto,
|
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
H A D | ExecutorTest.cpp | 99 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 127 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 155 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 184 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantParam, in HWTEST_F() 212 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F() 240 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape in HWTEST_F() 299 int32_t shape[4] = {1, 100, 100, 11}; HWTEST_F() local 334 int32_t shape[4] = {1, 1, 1, 1}; //minInputDims HWTEST_F() local 369 int32_t shape[4] = {1, 100, 100, 10}; //maxInputDims HWTEST_F() local [all...] |
/third_party/skia/experimental/graphite/src/geom/ |
H A D | Shape.cpp | 16 Shape& Shape::operator=(const Shape& shape) { in operator =() argument 17 switch (shape.type()) { in operator =() 19 case Type::kLine: this->setLine(shape.p0(), shape.p1()); break; in operator =() 20 case Type::kRect: this->setRect(shape.rect()); break; in operator =() 21 case Type::kRRect: this->setRRect(shape.rrect()); break; in operator =() 22 case Type::kPath: this->setPath(shape.path()); break; in operator =() 25 fInverted = shape.fInverted; in operator =() 67 // Every other shape type is convex by construction. in convex()
|
/third_party/python/Objects/ |
H A D | memoryobject.c | 48 base object. shape, strides, suboffsets and format are read-only for 51 A memoryview's buffer is a private copy of the exporter's buffer. shape, 55 buffer copies share shape, strides and suboffsets. In this case, the 225 ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize) 243 with the same logical structure: format, itemsize, ndim and shape 300 if (dest->shape[i] != src->shape[i]) in equiv_shape() 302 if (dest->shape[i] == 0) in equiv_shape() 327 sizeof(mem) == shape[0] * itemsize. */ 329 copy_base(const Py_ssize_t *shape, Py_ssize_ argument 359 copy_rec(const Py_ssize_t *shape, Py_ssize_t ndim, Py_ssize_t itemsize, char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, char *sptr, const Py_ssize_t *sstrides, const Py_ssize_t *ssuboffsets, char *mem) copy_rec() argument 1257 copy_shape(Py_ssize_t *shape, const PyObject *seq, Py_ssize_t ndim, Py_ssize_t itemsize) copy_shape() argument 1296 cast_to_ND(PyMemoryViewObject *mv, const PyObject *shape, int ndim) cast_to_ND() argument 1366 memoryview_cast_impl(PyMemoryViewObject *self, PyObject *format, PyObject *shape) memoryview_cast_impl() argument 2068 tolist_base(PyMemoryViewObject *self, const char *ptr, const Py_ssize_t *shape, const Py_ssize_t *strides, const Py_ssize_t *suboffsets, const char *fmt) tolist_base() argument 2095 tolist_rec(PyMemoryViewObject *self, const char *ptr, Py_ssize_t ndim, const Py_ssize_t *shape, const Py_ssize_t *strides, const Py_ssize_t *suboffsets, const char *fmt) tolist_rec() argument 2779 cmp_base(const char *p, const char *q, const Py_ssize_t *shape, const Py_ssize_t *pstrides, const Py_ssize_t *psuboffsets, const Py_ssize_t *qstrides, const Py_ssize_t *qsuboffsets, char fmt, struct unpacker *unpack_p, struct unpacker *unpack_q) cmp_base() argument 2801 cmp_rec(const char *p, const char *q, Py_ssize_t ndim, const Py_ssize_t *shape, const Py_ssize_t *pstrides, const Py_ssize_t *psuboffsets, const Py_ssize_t *qstrides, const Py_ssize_t *qsuboffsets, char fmt, struct unpacker *unpack_p, struct unpacker *unpack_q) cmp_rec() argument [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/checkbox/ |
H A D | checkbox_shape_test.cpp | 22 int32_t shape = ArkUI_CHECKBOX_SHAPE_ROUNDED_SQUARE; in TestCheckboxShape001() local 23 ArkUI_NumberValue shape_value[] = {{.i32 = shape}}; in TestCheckboxShape001() 27 ASSERT_EQ(nodeAPI->getAttribute(checkbox, NODE_CHECKBOX_SHAPE)->value[PARAM_0].i32, shape); in TestCheckboxShape001() 34 int32_t shape = ArkUI_CHECKBOX_SHAPE_CIRCLE; in TestCheckboxShape002() local 35 ArkUI_NumberValue shape_value[] = {{.i32 = shape}}; in TestCheckboxShape002() 39 ASSERT_EQ(nodeAPI->getAttribute(checkbox, NODE_CHECKBOX_SHAPE)->value[PARAM_0].i32, shape); in TestCheckboxShape002()
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
H A D | ftsdf.c | 57 * (1) We have a set of contours that make the outline of a shape/glyph. 95 * the shortest distance from each point to the outline of the shape. 342 * complete shape or @FT_Outline. 361 * Represent a complete shape, which is the decomposition of 369 * Linked list of all the contours that make the shape. 579 /* the `shape` pointer to the newly allocated memory. */ 582 SDF_Shape** shape ) in sdf_shape_new() 588 if ( !memory || !shape ) in sdf_shape_new() 598 *shape = ptr; in sdf_shape_new() 606 /* Free the allocated `shape` variabl 651 SDF_Shape* shape = ( SDF_Shape* )user; sdf_move_to() local 682 SDF_Shape* shape = ( SDF_Shape* )user; sdf_line_to() local 725 SDF_Shape* shape = ( SDF_Shape* )user; sdf_conic_to() local 767 SDF_Shape* shape = ( SDF_Shape* )user; sdf_cubic_to() local 3020 sdf_generate( const SDF_Params internal_params, const SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate() argument 3190 sdf_generate_bounding_box( const SDF_Params internal_params, const SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate_bounding_box() argument 3414 sdf_generate_subdivision( const SDF_Params internal_params, SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate_subdivision() argument 3492 sdf_generate_with_overlaps( SDF_Params internal_params, SDF_Shape* shape, FT_UInt spread, const FT_Bitmap* bitmap ) sdf_generate_with_overlaps() argument 3759 SDF_Shape* shape = NULL; sdf_raster_render() local [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | object-prototype-proto.js | 35 var shape = {}; 38 shape.__proto__ = circle; 40 assert(Object.getPrototypeOf(shape) === circle); 41 assert(shape.__proto__ === circle); 51 shape.__proto__ = shape;
|
/third_party/skia/experimental/graphite/src/ |
H A D | DrawList.cpp | 49 const Shape& shape, in stencilAndFillPath() 54 SkASSERT(!shape.isEmpty() && !clip.drawBounds().isEmptyNegativeOrNaN()); in stencilAndFillPath() 57 shape, clip, ordering, paint, nullptr}); in stencilAndFillPath() 62 const Shape& shape, in fillConvexPath() 67 SkASSERT(!shape.isEmpty() && !clip.drawBounds().isEmptyNegativeOrNaN()); in fillConvexPath() 72 // shape, clip, ordering, paint, nullptr}); in fillConvexPath() 77 const Shape& shape, in strokePath() 83 SkASSERT(!shape.isEmpty() && !clip.drawBounds().isEmptyNegativeOrNaN()); in strokePath() 88 // shape, clip, ordering, paint, stroke}); in strokePath() 48 stencilAndFillPath(const Transform& localToDevice, const Shape& shape, const Clip& clip, DrawOrder ordering, const PaintParams* paint) stencilAndFillPath() argument 61 fillConvexPath(const Transform& localToDevice, const Shape& shape, const Clip& clip, DrawOrder ordering, const PaintParams* paint) fillConvexPath() argument 76 strokePath(const Transform& localToDevice, const Shape& shape, const StrokeParams& stroke, const Clip& clip, DrawOrder ordering, const PaintParams* paint) strokePath() argument
|
/third_party/skia/src/gpu/v1/ |
H A D | StencilMaskHelper.cpp | 296 const GrStyledShape& shape, in draw_path() 311 &shape, in draw_path() local 322 const GrStyledShape& shape, in stencil_path() 330 args.fShape = &shape; in stencil_path() 413 // This will be used to determine whether the clip shape can be rendered into the in drawPath() 424 GrStyledShape shape(*clipPath, GrStyle::SimpleFill()); in drawPath() 425 SkASSERT(!shape.inverseFilled()); in drawPath() 432 canDrawArgs.fShape = &shape; in drawPath() 451 &gDrawToStencil, matrix, shape, aa); in drawPath() 453 stencil_path(fContext, fSDC, pr, fClip.fixedClip(), matrix, shape, a in drawPath() 289 draw_path(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, skgpu::v1::PathRenderer* pr, const GrHardClip& clip, const SkIRect& bounds, const GrUserStencilSettings* ss, const SkMatrix& matrix, const GrStyledShape& shape, GrAA aa) draw_path() argument 317 stencil_path(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, skgpu::v1::PathRenderer* pr, const GrFixedClip& clip, const SkMatrix& matrix, const GrStyledShape& shape, GrAA aa) stencil_path() argument 472 drawShape(const GrShape& shape, const SkMatrix& matrix, SkRegion::Op op, GrAA aa) drawShape() argument [all...] |