/third_party/python/Modules/_ctypes/ |
H A D | callproc.c | 1979 PyObject *shape; in buffer_info() local 1989 shape = PyTuple_New(dict->ndim); in buffer_info() 1990 if (shape == NULL) in buffer_info() 1993 PyTuple_SET_ITEM(shape, i, PyLong_FromSsize_t(dict->shape[i])); in buffer_info() 1996 Py_DECREF(shape); in buffer_info() 1999 return Py_BuildValue("siN", dict->format, dict->ndim, shape); in buffer_info()
|
H A D | ctypes.h | 235 Py_ssize_t *shape; member 374 const Py_ssize_t *shape,
|
/third_party/ffmpeg/libavcodec/ |
H A D | mpeg4videodec.h | 37 int shape; member
|
/third_party/skia/src/core/ |
H A D | SkSDFFilter.h | 39 bool isSDFBlur(const GrStyledShape& shape);
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | shape-consumer.hh | 31 #include "shape-options.hh" 69 if (!shape (app.font, buffer, &error)) in consume_line()
|
/third_party/python/Lib/turtledemo/ |
H A D | two_canvases.py | 32 t.shape("turtle")
|
H A D | colormixer.py | 9 self.shape("turtle")
|
H A D | minimal_hanoi.py | 14 Discs are turtles with shape "square", but 24 Turtle.__init__(self, shape="square", visible=False)
|
/third_party/skia/src/gpu/v1/ |
H A D | ClipStack.cpp | 203 // - Represent the clip element as an analytic FP that tests sk_FragCoord vs. its device shape 214 // All analytic clip shape FPs need to be in device space in analytic_clip_fp() 274 // draw the inverse-filled shape with 0 coverage to erase everything outside the element in draw_to_sw_mask() 285 // For difference ops, can always just subtract the shape directly by drawing 0 coverage in draw_to_sw_mask() 291 // Draw the shape; based on how we've initialized the buffer and chosen alpha+invert, in draw_to_sw_mask() 438 ClipStack::RawElement::RawElement(const SkMatrix& localToDevice, const GrShape& shape, in RawElement() argument 440 : Element{shape, localToDevice, op, aa} in RawElement() 514 // Make sure the shape is not inverted. An inverted shape is equivalent to a non-inverted shape in simplify() [all...] |
H A D | ClipStack.h | 92 // Internally, a lot of clip reasoning is based on an op, outer bounds, and whether a shape 105 RawElement(const SkMatrix& localToDevice, const GrShape& shape, GrAA aa, SkClipOp op); 117 const GrShape& shape() const { return fShape; } in shape() function in skgpu::v1::final::RawElement 137 // element should be invalidated, and the combined shape stored in 'added').
|
/test/xts/acts/ai/nnrtndk/entry/src/main/cpp/ |
H A D | nnrtndk.cpp | 42 std::vector<int32_t> shape; member 130 operand.shape = {PARAM_1, PARAM_2, PARAM_2, PARAM_1}; in OHNNModelSetTensorDataOne() 133 OH_NN_Tensor operandSor{OH_NN_FLOAT32, PARAM_4, operand.shape.data(), nullptr, OH_NN_TENSOR}; in OHNNModelSetTensorDataOne() 168 operand.shape = {PARAM_1, PARAM_2, PARAM_2, PARAM_1}; in addTesorAndSetTensor() 175 operand2.shape = {PARAM_1, PARAM_2, PARAM_2, PARAM_1}; in addTesorAndSetTensor() 195 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in addTesorAndSetTensor() 1000 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in OHNNExecutorSetInputOne() 1066 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape in OHNNExecutorSetOutputOne() [all...] |
/third_party/skia/tests/ |
H A D | RecordOptsTest.cpp | 234 sk_sp<SkPicture> shape; in DEF_TEST() local 241 shape = picRecorder.finishRecordingAsPicture(); in DEF_TEST() 243 translucentFilterLayerPaint.setImageFilter(SkImageFilters::Picture(shape)); in DEF_TEST()
|
/test/xts/acts/ai/mindspore/mindsporectest/src/ |
H A D | ohos_c_api_test_mslite.cpp | 240 const int64_t *shape = OH_AI_TensorGetShape(tensor, &shape_num); in FillInputsData() local 242 PackNCHWToNHWCFp32(imageBuf, imageBuf_nhwc, shape[0], shape[1] * shape[2], shape[3]); in FillInputsData() 1993 // 正常场景:ModelResize,shape与之前一致 2005 // 正常场景:ModelResize,shape与之前不一致 2033 // 异常场景:ModelResize,shape为三维 2057 // 异常场景:ModelResize,shape值有负数 2204 const int64_t *shape in HWTEST() local 3290 int64_t shape[MAX_DIMS]; RunMSLiteModel() local 3378 int64_t shape[MAX_DIMS]; HWTEST() local 3454 int64_t shape[MAX_DIMS]; HWTEST() local [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
H A D | ArabicShaping.java | 26 static final int MASK_NOSHAPE = 8; // if this bit set, don't shape this char, i.e. tatweel 69 public static void shape(char[] chars, int leftType, int rightType, ClassTable isolClassTable) { in shape() method in ArabicShaping
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | sample.py | 50 hb.shape (font, buf, [])
|
/third_party/skia/bench/ |
H A D | ShaperBench.cpp | 33 fShaper->shape(text, len, font, true, FLT_MAX, &rh);
|
/test/xts/acts/ai/nncore/common/ |
H A D | nncore_utils.h | 34 std::vector<int32_t> shape; member 148 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format);
|
/third_party/skia/modules/skshaper/tests/ |
H A D | ShaperTest.cpp | 128 shaper->shape((const char*)data->data(), data->size(), font, true, kWidth, &rh); in shaper_test() 141 shaper->shape((const char*)data->data(), data->size(), in shaper_test()
|
/test/xts/acts/ai/nncore/opstest/src/ |
H A D | sparse_to_dense_test.cpp | 463 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 464 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 500 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 501 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 536 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 537 (uint32_t) operandTem.shape.size(),
in HWTEST_F()
|
H A D | reducesum_test.cpp | 416 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 417 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 452 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 453 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 487 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 488 (uint32_t) operandTem.shape.size(),
in HWTEST_F()
|
H A D | select_test.cpp | 394 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 395 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 430 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 431 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 465 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 466 (uint32_t) operandTem.shape.size(),
in HWTEST_F()
|
H A D | reducel2_test.cpp | 426 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 427 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 462 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 463 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 497 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 498 (uint32_t) operandTem.shape.size(),
in HWTEST_F()
|
H A D | range_test.cpp | 406 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 407 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 442 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 443 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 477 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 478 (uint32_t) operandTem.shape.size(),
in HWTEST_F()
|
H A D | reducemin_test.cpp | 406 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 407 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 442 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 443 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 477 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 478 (uint32_t) operandTem.shape.size(),
in HWTEST_F()
|
H A D | reducemax_test.cpp | 406 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 407 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 442 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 443 (uint32_t) operandTem.shape.size(),
in HWTEST_F() 477 tensorDesc = createTensorDesc(operandTem.shape.data(),
in HWTEST_F() 478 (uint32_t) operandTem.shape.size(),
in HWTEST_F()
|