Home
last modified time | relevance | path

Searched refs:getShape (Results 1 – 25 of 1781) sorted by relevance

12345678910>>...72

/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/unittests/Interfaces/
H A DInferTypeOpInterfaceTest.cpp61 EXPECT_EQ(range.getShape(1).getRank(), 1); in TEST_F()
62 EXPECT_EQ(range.getShape(1).getDimSize(0), 1); in TEST_F()
95 ASSERT_TRUE(range.getShape(0)); in TEST_F()
96 EXPECT_EQ(range.getShape(0).getRank(), 2); in TEST_F()
97 EXPECT_EQ(range.getShape(0).getDimSize(0), 10); in TEST_F()
98 EXPECT_EQ(range.getShape(0).getDimSize(1), 20); in TEST_F()
99 ASSERT_TRUE(range.getShape(1)); in TEST_F()
100 EXPECT_EQ(range.getShape(1).getRank(), 1); in TEST_F()
101 EXPECT_EQ(range.getShape(1).getDimSize(0), 1); in TEST_F()
102 EXPECT_FALSE(range.getShape(2)); in TEST_F()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests.views.properties.tabbed/src/org/eclipse/ui/tests/views/properties/tabbed/dynamic/model/
H A DDynamicTestsShape.java38 public static DynamicTestsShape getShape(String value) { in getShape() method in DynamicTestsShape
39 if (SQUARE.getShape().equals(value)) { in getShape()
41 } else if (CIRCLE.getShape().equals(value)) { in getShape()
43 } else if (TRIANGLE.getShape().equals(value)) { in getShape()
45 } else if (STAR.getShape().equals(value)) { in getShape()
60 public String getShape() { in getShape() method in DynamicTestsShape
74 return getShape(); in toString()
/dports/games/scourge/scourge/src/
H A Dastar.cpp68 searcher->getShape()->getWidth(),searcher->getShape()->getDepth(), in fulfilledBy()
70 … target->getShape()->getWidth(),target->getShape()->getDepth()) < distance; in fulfilledBy()
103 int w = toint(searcher->getShape()->getWidth()); in fulfilledBy()
104 int d = toint(searcher->getShape()->getDepth()); in fulfilledBy()
133 node->x < cx + target->getShape()->getWidth() && in fulfilledBy()
134 node->y > cy - target->getShape()->getDepth(); in fulfilledBy()
421 if ( !creature->getShape()->isInside( sx, sy ) ) continue; in isBlocked()
462 a->getShape()->getWidth(), in isOutOfTheWay()
463 a->getShape()->getDepth(), in isOutOfTheWay()
466 b->getShape()->getWidth(), in isOutOfTheWay()
[all …]
H A Dpathmanager.cpp271 for ( int k = 0; k < owner->getShape()->getWidth(); k++ ) in calculateAllPathLocations()
272 for ( int m = 0; m < owner->getShape()->getDepth(); m++ ) { in calculateAllPathLocations()
273 if ( !owner->getShape()->isInside( k, m ) ) continue; in calculateAllPathLocations()
325 for ( int i = 0; i < blocker->getShape()->getWidth(); i++ ) in isBlockingPath()
327 if ( !blocker->getShape()->isInside( i, j ) ) continue; in isBlockingPath()
358 …return Constants::distance( pos.x, pos.y, owner->getShape()->getWidth(), owner->getShape()->getDep… in isPathTowardTargetCreature()
360 …owner->getTargetCreature()->getShape()->getWidth(), owner->getTargetCreature()->getShape()->getDep… in isPathTowardTargetCreature()
404 int w = owner->getShape()->getWidth(); in getEstimatedTimeAt()
405 int d = owner->getShape()->getHeight(); in getEstimatedTimeAt()
470 *px = ( *( px ) * owner->getShape()->getWidth() ) + x; in getFormationPosition()
[all …]
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/code-generation/generator/src/main/java/com/amazonaws/util/awsclientgenerator/domainmodels/codegeneration/cpp/
H A DCppViewHelper.java171 String type = computeCppType(shape.getListMember().getShape()); in computeCppType()
176 String key = computeCppType(shape.getMapKey().getShape()); in computeCppType()
177 String value = computeCppType(shape.getMapValue().getShape()); in computeCppType()
250 if(!visited.contains(next.getMapKey().getShape().getName())) { in computeHeaderIncludes()
251 toVisit.add(next.getMapKey().getShape()); in computeHeaderIncludes()
254 toVisit.add(next.getMapValue().getShape()); in computeHeaderIncludes()
261 toVisit.add(next.getListMember().getShape()); in computeHeaderIncludes()
324 toVisit.add(next.getMapKey().getShape()); in computeSourceIncludes()
327 toVisit.add(next.getMapValue().getShape()); in computeSourceIncludes()
334 toVisit.add(next.getListMember().getShape()); in computeSourceIncludes()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/extras/ooxmlexport/
H A Dooxmlexport6.cxx144 xShape.set(getShape(2), uno::UNO_QUERY);
238 CPPUNIT_ASSERT(getShape(2)->getSize().Height > 300);
290 aHatch = getProperty<drawing::Hatch>(getShape(2), "FillHatch");
296 aHatch = getProperty<drawing::Hatch>(getShape(3), "FillHatch");
652 aPos[0] = getShape(1)->getPosition();
653 aPos[1] = getShape(2)->getPosition();
654 aPos[2] = getShape(3)->getPosition();
655 aPos[3] = getShape(4)->getPosition();
830 uno::Reference<drawing::XShape> xShape1 = getShape(1);
831 uno::Reference<drawing::XShape> xShape2 = getShape(2);
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/extras/ooxmlexport/
H A Dooxmlexport6.cxx141 xShape.set(getShape(2), uno::UNO_QUERY);
214 CPPUNIT_ASSERT(getShape(2)->getSize().Height > 300);
266 aHatch = getProperty<drawing::Hatch>(getShape(2), "FillHatch");
272 aHatch = getProperty<drawing::Hatch>(getShape(3), "FillHatch");
638 aPos[0] = getShape(1)->getPosition();
639 aPos[1] = getShape(2)->getPosition();
640 aPos[2] = getShape(3)->getPosition();
641 aPos[3] = getShape(4)->getPosition();
831 uno::Reference<drawing::XShape> xShape1 = getShape(1);
832 uno::Reference<drawing::XShape> xShape2 = getShape(2);
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Dialect/
H A DTraits.cpp73 static ArrayRef<int64_t> getShape(Type type) { in getShape() function
75 return sType.getShape(); in getShape()
130 if (!getBroadcastedShape(getShape(type1), getShape(type2), resultShape)) in getBroadcastedType()
190 ArrayRef<int64_t> shape = getShape(!isUnranked1 ? type1 : type2); in verifyCompatibleOperandBroadcast()
191 ArrayRef<int64_t> actualSuffix = getShape(retType).take_back(shape.size()); in verifyCompatibleOperandBroadcast()
202 if (!util::getBroadcastedShape(getShape(type1), getShape(type2), resultShape)) in verifyCompatibleOperandBroadcast()
205 if (!areCompatibleShapes(resultShape, getShape(retType))) in verifyCompatibleOperandBroadcast()
/dports/cad/sumo/sumo-1.2.0/src/netedit/netelements/
H A DGNELane.cpp222 const Position& f = getShape()[-2]; in drawArrows()
545 glTranslated(getShape()[i].x(), getShape()[i].y(), 2.1); in drawMarkings()
562 getShape(), in drawMarkings()
756 GNELane::getShape() const { in getShape() function in GNELane
814 return getShape().length(); in getLaneShapeLength()
1083 … for (PositionVector::const_iterator ii = getShape().begin(); ii != getShape().end() - 1; ++ii) { in setMultiColor()
1090 …const double inc = (getShape()[ii].z() - getShape()[ii - 1].z()) / MAX2(POSITION_EPS, getShape()[i… in setMultiColor()
1145 return getShape()[0].z(); in getColorValue()
1150 … return (getShape()[-1].z() - getShape()[0].z()) / myParentEdge.getNBEdge()->getLength(); in getColorValue()
1196 int e = (int) getShape().size() - 1; in drawDirectionIndicators()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/qa/unit/
H A Dcustomshapes.cxx186 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
247 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
267 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
299 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
387 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
410 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
430 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
450 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
473 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
493 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/qa/unit/
H A Dcustomshapes.cxx94 uno::Reference<drawing::XShape> xShapeLR(getShape(0)); in CPPUNIT_TEST_FIXTURE()
106 uno::Reference<drawing::XShape> xShapeTB(getShape(1)); in CPPUNIT_TEST_FIXTURE()
129 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
152 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
172 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
192 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
215 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
235 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
254 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
276 uno::Reference<drawing::XShape> xShape(getShape(0)); in CPPUNIT_TEST_FIXTURE()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/IR/
H A DStandardTypes.cpp129 auto shape = getShape(); in getNumElements()
142 return getShape()[i]; in getDimSize()
170 ArrayRef<int64_t> ShapedType::getShape() const { in getShape() function in ShapedType
173 return cast<VectorType>().getShape(); in getShape()
175 return cast<RankedTensorType>().getShape(); in getShape()
177 return cast<MemRefType>().getShape(); in getShape()
184 return llvm::count_if(getShape(), isDynamic); in getNumDynamicDims()
192 return hasStaticShape() && getShape() == shape; in hasStaticShape()
228 ArrayRef<int64_t> VectorType::getShape() const { return getImpl()->getShape(); } in getShape() function in VectorType
272 return getImpl()->getShape(); in getShape()
[all …]
/dports/cad/sumo/sumo-1.2.0/src/netedit/
H A DGNEHierarchicalElementChilds.cpp466 if (j->getShape().length() - 6 > 0) { in update()
467 posRot.first = j->getShape().positionAtOffset(j->getShape().length() - 6); in update()
468 posRot.second = j->getShape().rotationDegreeAtOffset(j->getShape().length() - 6); in update()
470 posRot.first = j->getShape().positionAtOffset(j->getShape().length()); in update()
471 posRot.second = j->getShape().rotationDegreeAtOffset(j->getShape().length()); in update()
481 if (i->getShape().length() - 6 > 0) { in update()
482 posRot.first = i->getShape().positionAtOffset(i->getShape().length() - 6); in update()
483 posRot.second = i->getShape().rotationDegreeAtOffset(i->getShape().length() - 6); in update()
485 posRot.first = i->getShape().positionAtOffset(i->getShape().length()); in update()
486 posRot.second = i->getShape().rotationDegreeAtOffset(i->getShape().length()); in update()
H A DGNEHierarchicalElementParents.cpp255 if (j->getShape().length() - 6 > 0) { in update()
256 posRot.first = j->getShape().positionAtOffset(j->getShape().length() - 6); in update()
257 posRot.second = j->getShape().rotationDegreeAtOffset(j->getShape().length() - 6); in update()
259 posRot.first = j->getShape().positionAtOffset(j->getShape().length()); in update()
260 posRot.second = j->getShape().rotationDegreeAtOffset(j->getShape().length()); in update()
270 if (i->getShape().length() - 6 > 0) { in update()
271 posRot.first = i->getShape().positionAtOffset(i->getShape().length() - 6); in update()
272 posRot.second = i->getShape().rotationDegreeAtOffset(i->getShape().length() - 6); in update()
274 posRot.first = i->getShape().positionAtOffset(i->getShape().length()); in update()
275 posRot.second = i->getShape().rotationDegreeAtOffset(i->getShape().length()); in update()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/IR/
H A DBuiltinTypes.cpp210 auto shape = getShape(); in getNumElements()
219 return getShape().size(); in getRank()
228 return getShape()[idx]; in getDimSize()
233 return isDynamic(getShape()[idx]); in isDynamicDim()
268 return vectorType.getShape(); in getShape()
270 return tensorType.getShape(); in getShape()
271 return cast<MemRefType>().getShape(); in getShape()
275 return llvm::count_if(getShape(), isDynamic); in getNumDynamicDims()
314 ArrayRef<int64_t> VectorType::getShape() const { return getImpl()->getShape(); } in getShape() function in VectorType
376 return getImpl()->getShape(); in getShape()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/IR/
H A DBuiltinTypes.cpp210 auto shape = getShape(); in getNumElements()
219 return getShape().size(); in getRank()
228 return getShape()[idx]; in getDimSize()
233 return isDynamic(getShape()[idx]); in isDynamicDim()
268 return vectorType.getShape(); in getShape()
270 return tensorType.getShape(); in getShape()
271 return cast<MemRefType>().getShape(); in getShape()
275 return llvm::count_if(getShape(), isDynamic); in getNumDynamicDims()
314 ArrayRef<int64_t> VectorType::getShape() const { return getImpl()->getShape(); } in getShape() function in VectorType
376 return getImpl()->getShape(); in getShape()
[all …]
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/code-generation/generator/src/main/java/com/amazonaws/util/awsclientgenerator/domainmodels/codegeneration/
H A DShape.java122 ….get(payload) != null && !members.get(payload).getShape().isStructure() && !members.get(payload).g… in hasStreamMembers()
138 return members.values().parallelStream().anyMatch(member -> member.getShape().isBlob()); in hasBlobMembers()
143 … return members.values().parallelStream().anyMatch(member -> member.getShape().isEventStream()); in hasEventStreamMembers()
206 …return members.values().parallelStream().anyMatch(member -> member.getShape().getName().equals(sha… in isMutuallyReferencedWith()
207 …&& shape.getMembers().values().parallelStream().anyMatch(member -> member.getShape().getName().equ… in isMutuallyReferencedWith()
214 …return members.values().parallelStream().anyMatch(member -> member.getShape().getName().equals(sha… in isListMemberAndMutuallyReferencedWith()
215 ….parallelStream().anyMatch(member -> member.getShape().isList() && member.getShape().getListMember… in isListMemberAndMutuallyReferencedWith()
/dports/cad/sumo/sumo-1.2.0/src/netedit/demandelements/
H A DGNERoute.cpp127 myGeometry.shape = getEdgeParents().back()->getLanes().front()->getShape(); in updateGeometry()
137 multiShape.push_back(getEdgeParents().front()->getLanes().front()->getShape()); in updateGeometry()
140 …EdgeParents().at(0)->getLanes().front()->getShape().back(), getEdgeParents().at(1)->getLanes().fro… in updateGeometry()
143 multiShape.back() = j->getShape(); in updateGeometry()
150 multiShape.push_back(getEdgeParents().at(i)->getLanes().front()->getShape()); in updateGeometry()
152 …geParents().at(i)->getLanes().front()->getShape().back(), getEdgeParents().at(i + 1)->getLanes().f… in updateGeometry()
156 multiShape.back() = j->getShape(); in updateGeometry()
162 multiShape.push_back(getEdgeParents().back()->getLanes().front()->getShape()); in updateGeometry()
/dports/games/burrtools/burrtools-0.6.3/src/gui/
H A Dgrideditor_2.cpp36 int cx = puzzle->getShape(piecenumber)->getX(); in calcParameters()
37 int cy = puzzle->getShape(piecenumber)->getY(); in calcParameters()
56 bt_assert(puzzle->getShape(piecenumber)->validCoordinate(x, y, z)); in drawNormalTile()
69 bt_assert(puzzle->getShape(piecenumber)->validCoordinate(x, y, z)); in drawVariableTile()
82 bt_assert(puzzle->getShape(piecenumber)->validCoordinate(x, y, z)); in drawTileFrame()
95 bt_assert(puzzle->getShape(piecenumber)->validCoordinate(x, y, z)); in drawTileColor()
127 voxel_c * space = puzzle->getShape(piecenumber); in calcGridPosition()
/dports/cad/sumo/sumo-1.2.0/src/netedit/additionals/
H A DGNEAccess.cpp59 …myPositionOverLane = toString(getLaneParents().front()->getShape().nearest_offset_to_point2D(newPo… in moveGeometry()
87 myGeometry.shape = getLaneParents().front()->getShape(); in updateGeometry()
101 …myGeometry.shape[0] = getLaneParents().front()->getShape().positionAtOffset(fixedPositionOverLane … in updateGeometry()
104 …myGeometry.shapeRotations.push_back(getLaneParents().front()->getShape().rotationDegreeAtOffset(fi… in updateGeometry()
125 return getLaneParents().front()->getShape().front(); in getPositionInView()
129 return getLaneParents().front()->getShape().front(); in getPositionInView()
130 } else if (posOverLane > getLaneParents().front()->getShape().length()) { in getPositionInView()
131 return getLaneParents().front()->getShape().back(); in getPositionInView()
133 return getLaneParents().front()->getShape().positionAtOffset(posOverLane); in getPositionInView()
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/code-generation/generator/src/test/java/com/amazonaws/util/awsclientgenerator/transform/
H A DC2jModelToGeneratorModelTransformerTest.java146 …uals("StringShape", shapes.get("InputShape").getMembers().get("StringShape").getShape().getName()); in testStructureShapeConversion()
147 …TimestampShape", shapes.get("InputShape").getMembers().get("TimestampShape").getShape().getName()); in testStructureShapeConversion()
149 …als("NumberShape", shapes.get("OutputShape").getMembers().get("NumberShape").getShape().getName()); in testStructureShapeConversion()
204 assertEquals("StringShape", shapes.get("MapShape").getMapKey().getShape().getName()); in testMapShapeConversion()
205 assertEquals("ValueShape", shapes.get("MapShape").getMapValue().getShape().getName()); in testMapShapeConversion()
206 assertEquals(1, shapes.get("MapShape").getMapValue().getShape().getMembers().size()); in testMapShapeConversion()
207 …NumberShape", shapes.get("MapShape").getMapValue().getShape().getMembers().get("NumberShape").getS… in testMapShapeConversion()
250 assertEquals("ValueShape", shapes.get("ListShape").getListMember().getShape().getName()); in testListShapeConversion()
251 assertEquals(1, shapes.get("ListShape").getListMember().getShape().getMembers().size()); in testListShapeConversion()
252 …berShape", shapes.get("ListShape").getListMember().getShape().getMembers().get("NumberShape").getS… in testListShapeConversion()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/IR/
H A DStandardTypes.cpp193 auto shape = getShape(); in getNumElements()
208 return getShape()[idx]; in getDimSize()
213 return isDynamic(getShape()[idx]); in isDynamicDim()
241 ArrayRef<int64_t> ShapedType::getShape() const { in getShape() function in ShapedType
244 return cast<VectorType>().getShape(); in getShape()
246 return cast<RankedTensorType>().getShape(); in getShape()
248 return cast<MemRefType>().getShape(); in getShape()
255 return llvm::count_if(getShape(), isDynamic); in getNumDynamicDims()
295 ArrayRef<int64_t> VectorType::getShape() const { return getImpl()->getShape(); } in getShape() function in VectorType
337 return getImpl()->getShape(); in getShape()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/IR/
H A DStandardTypes.cpp189 auto shape = getShape(); in getNumElements()
204 return getShape()[idx]; in getDimSize()
209 return isDynamic(getShape()[idx]); in isDynamicDim()
242 ArrayRef<int64_t> ShapedType::getShape() const { in getShape() function in ShapedType
244 return vectorType.getShape(); in getShape()
246 return tensorType.getShape(); in getShape()
247 return cast<MemRefType>().getShape(); in getShape()
251 return llvm::count_if(getShape(), isDynamic); in getNumDynamicDims()
290 ArrayRef<int64_t> VectorType::getShape() const { return getImpl()->getShape(); } in getShape() function in VectorType
340 return getImpl()->getShape(); in getShape()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Dialect/
H A DTraits.cpp91 static ArrayRef<int64_t> getShape(Type type) { in getShape() function
93 return sType.getShape(); in getShape()
150 if (!getBroadcastedShape(getShape(type1), getShape(type2), resultShape)) in getBroadcastedType()
211 (void)util::getBroadcastedShape(getShape(*rankedOperands.begin()), {}, in verifyCompatibleOperandBroadcast()
215 if (!util::getBroadcastedShape(temp, getShape(other), resultShape)) in verifyCompatibleOperandBroadcast()
228 getShape(type).take_back(resultShape.size()); in verifyCompatibleOperandBroadcast()
231 << "result type " << getShapeString(getShape(type)) in verifyCompatibleOperandBroadcast()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Dialect/
H A DTraits.cpp91 static ArrayRef<int64_t> getShape(Type type) { in getShape() function
93 return sType.getShape(); in getShape()
150 if (!getBroadcastedShape(getShape(type1), getShape(type2), resultShape)) in getBroadcastedType()
211 (void)util::getBroadcastedShape(getShape(*rankedOperands.begin()), {}, in verifyCompatibleOperandBroadcast()
215 if (!util::getBroadcastedShape(temp, getShape(other), resultShape)) in verifyCompatibleOperandBroadcast()
228 getShape(type).take_back(resultShape.size()); in verifyCompatibleOperandBroadcast()
231 << "result type " << getShapeString(getShape(type)) in verifyCompatibleOperandBroadcast()

12345678910>>...72