Searched refs:kMaxDim (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/ |
D | slice.cc | 49 const int kMaxDim = 5; variable 135 TF_LITE_ENSURE_MSG(context, NumDimensions(input) <= kMaxDim, in Prepare() 166 begins.reserve(kMaxDim); in Eval() 168 sizes.reserve(kMaxDim); in Eval() 170 for (int i = NumDimensions(input); i < kMaxDim; ++i) { in Eval() 195 TF_LITE_ENSURE_EQ(context, begins.size(), kMaxDim); \ in Eval() 196 TF_LITE_ENSURE_EQ(context, sizes.size(), kMaxDim); \ in Eval() 198 op_params.begin_count = kMaxDim; \ in Eval() 199 op_params.size_count = kMaxDim; \ in Eval() 200 for (int i = 0; i < kMaxDim; ++i) { \ in Eval()
|
/external/skia/src/core/ |
D | SkBitmapDevice.cpp | 46 kMaxDim = 8192 - 1 enumerator 65 return dev->width() > kMaxDim || dev->height() > kMaxDim; in NeedsTiling() 79 fNeedsTiling = clipR.right() > kMaxDim || clipR.bottom() > kMaxDim; in SkDrawTiler() 97 fNeedsTiling = fSrcBounds.right() > kMaxDim || fSrcBounds.bottom() > kMaxDim; in SkDrawTiler() 111 fOrigin.set(fSrcBounds.fLeft - kMaxDim, fSrcBounds.fTop); in SkDrawTiler() 151 if (fOrigin.fX >= fSrcBounds.fRight - kMaxDim) { // too far in stepAndSetupTileDraw() 153 fOrigin.fY += kMaxDim; in stepAndSetupTileDraw() 155 fOrigin.fX += kMaxDim; in stepAndSetupTileDraw() 158 fDone = fOrigin.fX >= fSrcBounds.fRight - kMaxDim && in stepAndSetupTileDraw() 159 fOrigin.fY >= fSrcBounds.fBottom - kMaxDim; in stepAndSetupTileDraw() [all …]
|
/external/skqp/src/core/ |
D | SkBitmapDevice.cpp | 44 kMaxDim = 8192 - 1 enumerator 63 return dev->width() > kMaxDim || dev->height() > kMaxDim; in NeedsTiling() 77 fNeedsTiling = clipR.right() > kMaxDim || clipR.bottom() > kMaxDim; in SkDrawTiler() 95 fNeedsTiling = fSrcBounds.right() > kMaxDim || fSrcBounds.bottom() > kMaxDim; in SkDrawTiler() 110 fOrigin.set(fSrcBounds.fLeft - kMaxDim, fSrcBounds.fTop); in SkDrawTiler() 150 if (fOrigin.fX >= fSrcBounds.fRight - kMaxDim) { // too far in stepAndSetupTileDraw() 152 fOrigin.fY += kMaxDim; in stepAndSetupTileDraw() 154 fOrigin.fX += kMaxDim; in stepAndSetupTileDraw() 157 fDone = fOrigin.fX >= fSrcBounds.fRight - kMaxDim && in stepAndSetupTileDraw() 158 fOrigin.fY >= fSrcBounds.fBottom - kMaxDim; in stepAndSetupTileDraw() [all …]
|
/external/tensorflow/tensorflow/core/kernels/fuzzing/ |
D | scatter_nd_fuzz.cc | 68 flat_shape(i) = data[data_ix++] % kMaxDim; in FuzzImpl() 86 int64 dim = data[data_ix++] % kMaxDim; in FuzzImpl() 130 const size_t kMaxDim = 10; member in tensorflow::fuzzing::FuzzScatterNd
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | strided_slice.cc | 59 const int kMaxDim = 4; variable 132 TF_LITE_ENSURE_MSG(context, op_context.dims <= kMaxDim, in Prepare()
|
/external/skqp/src/codec/ |
D | SkBmpCodec.cpp | 286 constexpr int kMaxDim = 1 << 16; in ReadHeader() local 287 if (width <= 0 || height <= 0 || width >= kMaxDim || height >= kMaxDim) { in ReadHeader()
|
/external/skia/src/codec/ |
D | SkBmpCodec.cpp | 289 constexpr int kMaxDim = 1 << 16; in ReadHeader() local 290 if (width <= 0 || height <= 0 || width >= kMaxDim || height >= kMaxDim) { in ReadHeader()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 39 static constexpr SkScalar kMaxDim = 73; variable 86 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 47 static const SkScalar kMaxDim = 73; variable 210 if (maxDim > kMaxDim || kMinSize > minSize || maxSize > kMaxSize) { in onCanDrawPath()
|