Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 25 of 275) sorted by relevance

1234567891011

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
DSliderJoint.java83 return ((SliderConstraint) constraint).getLowerLinLimit(); in getLowerLinLimit()
87 ((SliderConstraint) constraint).setLowerLinLimit(lowerLinLimit); in setLowerLinLimit()
91 return ((SliderConstraint) constraint).getUpperLinLimit(); in getUpperLinLimit()
95 ((SliderConstraint) constraint).setUpperLinLimit(upperLinLimit); in setUpperLinLimit()
99 return ((SliderConstraint) constraint).getLowerAngLimit(); in getLowerAngLimit()
103 ((SliderConstraint) constraint).setLowerAngLimit(lowerAngLimit); in setLowerAngLimit()
107 return ((SliderConstraint) constraint).getUpperAngLimit(); in getUpperAngLimit()
111 ((SliderConstraint) constraint).setUpperAngLimit(upperAngLimit); in setUpperAngLimit()
115 return ((SliderConstraint) constraint).getSoftnessDirLin(); in getSoftnessDirLin()
119 ((SliderConstraint) constraint).setSoftnessDirLin(softnessDirLin); in setSoftnessDirLin()
[all …]
DHingeJoint.java77 ((HingeConstraint) constraint).enableAngularMotor(enable, targetVelocity, maxMotorImpulse); in enableMotor()
81 ((HingeConstraint) constraint).setLimit(low, high); in setLimit()
88 … ((HingeConstraint) constraint).setLimit(low, high, _softness, _biasFactor, _relaxationFactor); in setLimit()
92 return ((HingeConstraint) constraint).getUpperLimit(); in getUpperLimit()
96 return ((HingeConstraint) constraint).getLowerLimit(); in getLowerLimit()
101 ((HingeConstraint) constraint).setAngularOnly(angularOnly); in setAngularOnly()
105 return ((HingeConstraint) constraint).getHingeAngle(); in getHingeAngle()
116 capsule.write(((HingeConstraint) constraint).getLowerLimit(), "lowerLimit", 1e30f); in write()
117 capsule.write(((HingeConstraint) constraint).getUpperLimit(), "upperLimit", -1e30f); in write()
123 …capsule.write(((HingeConstraint) constraint).getEnableAngularMotor(), "enableAngularMotor", false); in write()
[all …]
DPoint2PointJoint.java66 ((Point2PointConstraint) constraint).setting.damping = value; in setDamping()
70 ((Point2PointConstraint) constraint).setting.impulseClamp = value; in setImpulseClamp()
74 ((Point2PointConstraint) constraint).setting.tau = value; in setTau()
78 return ((Point2PointConstraint) constraint).setting.damping; in getDamping()
82 return ((Point2PointConstraint) constraint).setting.impulseClamp; in getImpulseClamp()
86 return ((Point2PointConstraint) constraint).setting.tau; in getTau()
109constraint = new Point2PointConstraint(nodeA.getObjectId(), nodeB.getObjectId(), Converter.convert… in createJoint()
DSixDofJoint.java90constraint = new Generic6DofConstraint(nodeA.getObjectId(), nodeB.getObjectId(), transA, transB, u… in SixDofJoint()
108constraint = new Generic6DofConstraint(nodeA.getObjectId(), nodeB.getObjectId(), transA, transB, u… in SixDofJoint()
114 …nalLimitMotor rmot = new RotationalLimitMotor(((Generic6DofConstraint) constraint).getRotationalLi… in gatherMotors()
117 …translationalMotor = new TranslationalLimitMotor(((Generic6DofConstraint) constraint).getTranslati… in gatherMotors()
141 ((Generic6DofConstraint) constraint).setLinearUpperLimit(Converter.convert(vector)); in setLinearUpperLimit()
146 ((Generic6DofConstraint) constraint).setLinearLowerLimit(Converter.convert(vector)); in setLinearLowerLimit()
151 ((Generic6DofConstraint) constraint).setAngularUpperLimit(Converter.convert(vector)); in setAngularUpperLimit()
156 ((Generic6DofConstraint) constraint).setAngularLowerLimit(Converter.convert(vector)); in setAngularLowerLimit()
169constraint = new Generic6DofConstraint(nodeA.getObjectId(), nodeB.getObjectId(), transA, transB, u… in read()
/external/guava/guava/src/com/google/common/collect/
DConstraints.java53 Collection<E> collection, Constraint<? super E> constraint) { in constrainedCollection() argument
54 return new ConstrainedCollection<E>(collection, constraint); in constrainedCollection()
60 private final Constraint<? super E> constraint; field in Constraints.ConstrainedCollection
63 Collection<E> delegate, Constraint<? super E> constraint) { in ConstrainedCollection() argument
65 this.constraint = checkNotNull(constraint); in ConstrainedCollection()
71 constraint.checkElement(element); in add()
75 return delegate.addAll(checkElements(elements, constraint)); in addAll()
92 Set<E> set, Constraint<? super E> constraint) { in constrainedSet() argument
93 return new ConstrainedSet<E>(set, constraint); in constrainedSet()
99 private final Constraint<? super E> constraint; field in Constraints.ConstrainedSet
[all …]
DMapConstraints.java85 Map<K, V> map, MapConstraint<? super K, ? super V> constraint) { in constrainedMap() argument
86 return new ConstrainedMap<K, V>(map, constraint); in constrainedMap()
106 Multimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) { in constrainedMultimap() argument
107 return new ConstrainedMultimap<K, V>(multimap, constraint); in constrainedMultimap()
128 MapConstraint<? super K, ? super V> constraint) { in constrainedListMultimap() argument
129 return new ConstrainedListMultimap<K, V>(multimap, constraint); in constrainedListMultimap()
149 MapConstraint<? super K, ? super V> constraint) { in constrainedSetMultimap() argument
150 return new ConstrainedSetMultimap<K, V>(multimap, constraint); in constrainedSetMultimap()
170 MapConstraint<? super K, ? super V> constraint) { in constrainedSortedSetMultimap() argument
171 return new ConstrainedSortedSetMultimap<K, V>(multimap, constraint); in constrainedSortedSetMultimap()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/type/
Dtest_constraint.py1 from pyasn1.type import constraint, error
15 self.c1 = constraint.SingleValueConstraint(1,2)
16 self.c2 = constraint.SingleValueConstraint(3,4)
35 self.c1 = constraint.ContainedSubtypeConstraint(
36 constraint.SingleValueConstraint(12)
54 self.c1 = constraint.ValueRangeConstraint(1,4)
71 self.c1 = constraint.ValueSizeConstraint(1,2)
88 self.c1 = constraint.PermittedAlphabetConstraint('A', 'B', 'C')
89 self.c2 = constraint.PermittedAlphabetConstraint('DEF')
106 self.c1 = constraint.ConstraintsIntersection(
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
Drfc2459.py11 from pyasn1.type import tag,namedtype,namedval,univ,constraint,char,useful
97 …namedtype.NamedType('teletexString', char.TeletexString().subtype(subtypeSpec=constraint.ValueSize…
98 …amedType('printableString', char.PrintableString().subtype(subtypeSpec=constraint.ValueSizeConstra…
99 …amedType('universalString', char.UniversalString().subtype(subtypeSpec=constraint.ValueSizeConstra…
100 …namedtype.NamedType('utf8String', char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstr…
101 …namedtype.NamedType('bmpString', char.BMPString().subtype(subtypeSpec=constraint.ValueSizeConstrai…
108 …namedtype.NamedType('teletexString', char.TeletexString().subtype(subtypeSpec=constraint.ValueSize…
109 …amedType('printableString', char.PrintableString().subtype(subtypeSpec=constraint.ValueSizeConstra…
110 …amedType('universalString', char.UniversalString().subtype(subtypeSpec=constraint.ValueSizeConstra…
111 …namedtype.NamedType('utf8String', char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstr…
[all …]
Drfc1902.py7 from pyasn1.type import univ, namedtype, namedval, tag, constraint
10 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueRangeConstraint(
15 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueRangeConstraint(
20 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueSizeConstraint(
28 subtypeSpec = univ.OctetString.subtypeSpec+constraint.ValueSizeConstraint(
36 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueRangeConstraint(
44 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueRangeConstraint(
52 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueRangeConstraint(
60 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueRangeConstraint(
73 subtypeSpec = univ.Integer.subtypeSpec+constraint.ValueRangeConstraint(
Drfc3412.py7 from pyasn1.type import univ, namedtype, namedval, tag, constraint
25 …namedtype.NamedType('msgID', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0,…
26 …namedtype.NamedType('msgMaxSize', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstrai…
27 …namedtype.NamedType('msgFlags', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeConstra…
28 …namedtype.NamedType('msgSecurityModel', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeCo…
33 …namedtype.NamedType('msgVersion', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstrai…
Drfc3414.py7 from pyasn1.type import univ, namedtype, namedval, tag, constraint
12 …Type('msgAuthoritativeEngineBoots', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstr…
13 …dType('msgAuthoritativeEngineTime', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstr…
14 …namedtype.NamedType('msgUserName', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeCons…
Drfc1155.py10 from pyasn1.type import univ, namedtype, namedval, tag, constraint
26 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueSizeConstraint(
38 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
45 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
52 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtNNCGConstraintSolver.cpp86 …btSolverConstraint& constraint = m_tmpSolverNonContactConstraintPool[m_orderNonContactConstraintPo… in solveSingleIteration() local
87 if (iteration < constraint.m_overrideNumSolverIterations) in solveSingleIteration()
89 …wGenericSIMD(m_tmpSolverBodyPool[constraint.m_solverBodyIdA],m_tmpSolverBodyPool[constraint.m_solv… in solveSingleIteration()
98 …btSolverConstraint& constraint = m_tmpSolverNonContactConstraintPool[m_orderNonContactConstraintPo… in solveSingleIteration() local
99 if (iteration < constraint.m_overrideNumSolverIterations) in solveSingleIteration()
101 …ntRowGeneric(m_tmpSolverBodyPool[constraint.m_solverBodyIdA],m_tmpSolverBodyPool[constraint.m_solv… in solveSingleIteration()
124 …btSolverConstraint& constraint = m_tmpSolverNonContactConstraintPool[m_orderNonContactConstraintPo… in solveSingleIteration() local
125 if (iteration < constraint.m_overrideNumSolverIterations) in solveSingleIteration()
128 constraint.m_appliedImpulse = btScalar(constraint.m_appliedImpulse) + additionaldeltaimpulse; in solveSingleIteration()
130 btSolverBody& body1 = m_tmpSolverBodyPool[constraint.m_solverBodyIdA]; in solveSingleIteration()
[all …]
/external/v8/src/compiler/
Dregister-allocator-verifier.cc91 const OperandConstraint& constraint) { in VerifyInput() argument
92 CHECK_NE(kSameAsFirst, constraint.type_); in VerifyInput()
93 if (constraint.type_ != kImmediate && constraint.type_ != kExplicit) { in VerifyInput()
95 constraint.virtual_register_); in VerifyInput()
100 const OperandConstraint& constraint) { in VerifyTemp() argument
101 CHECK_NE(kSameAsFirst, constraint.type_); in VerifyTemp()
102 CHECK_NE(kImmediate, constraint.type_); in VerifyTemp()
103 CHECK_NE(kExplicit, constraint.type_); in VerifyTemp()
104 CHECK_NE(kConstant, constraint.type_); in VerifyTemp()
108 const OperandConstraint& constraint) { in VerifyOutput() argument
[all …]
/external/webrtc/talk/app/webrtc/
Dvideosource.cc95 const MediaConstraintsInterface::Constraint& constraint, in SetUpperLimitFromConstraint() argument
97 if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in SetUpperLimitFromConstraint()
98 int value = rtc::FromString<int>(constraint.value); in SetUpperLimitFromConstraint()
100 } else if (constraint.key == MediaConstraintsInterface::kMaxHeight) { in SetUpperLimitFromConstraint()
101 int value = rtc::FromString<int>(constraint.value); in SetUpperLimitFromConstraint()
128 const MediaConstraintsInterface::Constraint& constraint, in NewFormatWithConstraints() argument
135 if (constraint.key == MediaConstraintsInterface::kMinWidth) { in NewFormatWithConstraints()
136 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
138 } else if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in NewFormatWithConstraints()
139 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
DSimplexTableau.java182 LinearConstraint constraint = constraints.get(i); in createTableau() local
186 copyArray(constraint.getCoefficients().getData(), matrix.getDataRef()[row]); in createTableau()
191 getInvertedCoeffiecientSum(constraint.getCoefficients())); in createTableau()
195 matrix.setEntry(row, width - 1, constraint.getValue()); in createTableau()
198 if (constraint.getRelationship() == Relationship.LEQ) { in createTableau()
200 } else if (constraint.getRelationship() == Relationship.GEQ) { in createTableau()
205 if ((constraint.getRelationship() == Relationship.EQ) || in createTableau()
206 (constraint.getRelationship() == Relationship.GEQ)) { in createTableau()
223 for (LinearConstraint constraint : originalConstraints) { in normalizeConstraints()
224 normalized.add(normalize(constraint)); in normalizeConstraints()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DConstraintsTest.java56 …btPoint2PointConstraint constraint = new btPoint2PointConstraint((btRigidBody)bar.body, (btRigidBo… in create() local
58 ((btDynamicsWorld)world.collisionWorld).addConstraint(constraint, false); in create()
59 constraints.add(constraint); in create()
66constraint = new btPoint2PointConstraint((btRigidBody)box1.body, (btRigidBody)box2.body, tmpV1.set… in create()
72constraint = new btPoint2PointConstraint((btRigidBody)box2.body, (btRigidBody)box1.body, tmpV1.set… in create()
75 ((btDynamicsWorld)world.collisionWorld).addConstraint(constraint, false); in create()
76 constraints.add(constraint); in create()
78constraint = new btPoint2PointConstraint((btRigidBody)bar.body, (btRigidBody)box1.body, tmpV1.set(… in create()
80 ((btDynamicsWorld)world.collisionWorld).addConstraint(constraint, false); in create()
81 constraints.add(constraint); in create()
/external/jetty/src/java/org/eclipse/jetty/security/
DConstraintSecurityHandler.java82 public static Constraint createConstraint(Constraint constraint) in createConstraint() argument
86 return (Constraint)constraint.clone(); in createConstraint()
106 Constraint constraint = createConstraint(); in createConstraint() local
108 constraint.setName(name); in createConstraint()
109 constraint.setAuthenticate(authenticate); in createConstraint()
110 constraint.setRoles(roles); in createConstraint()
111 constraint.setDataConstraint(dataConstraint); in createConstraint()
112 return constraint; in createConstraint()
138 Constraint constraint = createConstraint(); in createConstraint() local
145 constraint.setName(name+"-Deny"); in createConstraint()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
DbtDiscreteDynamicsWorld.java82 …public void addConstraint(btTypedConstraint constraint, boolean disableCollisionsBetweenLinkedBodi… in addConstraint() argument
83 …_addConstraint__SWIG_0(swigCPtr, this, btTypedConstraint.getCPtr(constraint), constraint, disableC… in addConstraint()
86 public void addConstraint(btTypedConstraint constraint) { in addConstraint() argument
87 …micsWorld_addConstraint__SWIG_1(swigCPtr, this, btTypedConstraint.getCPtr(constraint), constraint); in addConstraint()
120 public void debugDrawConstraint(btTypedConstraint constraint) { in debugDrawConstraint() argument
121 …namicsWorld_debugDrawConstraint(swigCPtr, this, btTypedConstraint.getCPtr(constraint), constraint); in debugDrawConstraint()
DbtDynamicsWorld.java74 …public void addConstraint(btTypedConstraint constraint, boolean disableCollisionsBetweenLinkedBodi… in addConstraint() argument
75 …_addConstraint__SWIG_0(swigCPtr, this, btTypedConstraint.getCPtr(constraint), constraint, disableC… in addConstraint()
78 public void addConstraint(btTypedConstraint constraint) { in addConstraint() argument
79 …micsWorld_addConstraint__SWIG_1(swigCPtr, this, btTypedConstraint.getCPtr(constraint), constraint); in addConstraint()
82 public void removeConstraint(btTypedConstraint constraint) { in removeConstraint() argument
83 …tDynamicsWorld_removeConstraint(swigCPtr, this, btTypedConstraint.getCPtr(constraint), constraint); in removeConstraint()
/external/llvm/test/CodeGen/Thumb/
Dinlineasm-imm-thumb.ll3 ; Test Thumb-mode "I" constraint, for ADD immediate.
9 ; Test Thumb-mode "J" constraint, for negated ADD immediates.
15 ; Test Thumb-mode "K" constraint, for compatibility with GCC's internal use.
21 ; Test Thumb-mode "L" constraint, for 3-operand ADD immediates.
27 ; Test Thumb-mode "M" constraint, for "ADD r = sp + imm".
33 ; Test Thumb-mode "N" constraint, for values between 0 and 31.
39 ; Test Thumb-mode "O" constraint, for "ADD sp = sp + imm".
/external/llvm/test/CodeGen/ARM/
Dinlineasm-imm-arm.ll3 ; Test ARM-mode "I" constraint, for any Data Processing immediate.
9 ; Test ARM-mode "J" constraint, for compatibility with unknown use in GCC.
15 ; Test ARM-mode "K" constraint, for bitwise inverted Data Processing immediates.
21 ; Test ARM-mode "L" constraint, for negated Data Processing immediates.
27 ; Test ARM-mode "M" constraint, for value between 0 and 32.
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtWorldImporter.cpp534 btTypedConstraint* constraint = 0; in convertConstraintBackwardsCompatible281() local
546 constraint = createPoint2PointConstraint(*rbA,*rbB,pivotInA,pivotInB); in convertConstraintBackwardsCompatible281()
551 constraint = createPoint2PointConstraint(*rbA,pivotInA); in convertConstraintBackwardsCompatible281()
579 constraint = hinge; in convertConstraintBackwardsCompatible281()
604 constraint = coneTwist; in convertConstraintBackwardsCompatible281()
653 constraint = dof; in convertConstraintBackwardsCompatible281()
695 constraint = dof; in convertConstraintBackwardsCompatible281()
719 constraint = slider; in convertConstraintBackwardsCompatible281()
729 if (constraint) in convertConstraintBackwardsCompatible281()
731 constraint->setDbgDrawSize((btScalar)constraintData->m_dbgDrawSize); in convertConstraintBackwardsCompatible281()
[all …]
/external/selinux/policycoreutils/mcstrans/src/
Dmcstrans.c464 sens_constraint_t *constraint = calloc(1, sizeof(sens_constraint_t)); in add_constraint() local
465 if (!constraint) { in add_constraint()
469 if (sscanf(raw,"s%u", &constraint->sens) != 1) { in add_constraint()
471 free(constraint); in add_constraint()
474 if (parse_ebitmap(&constraint->cat, &empty, tok) < 0) { in add_constraint()
476 free(constraint); in add_constraint()
479 if (asprintf(&constraint->text, "%s%c%s", raw, op, tok) < 0) { in add_constraint()
483 constraint->op = op; in add_constraint()
487 *p = constraint; in add_constraint()
490 cat_constraint_t *constraint = calloc(1, sizeof(cat_constraint_t)); in add_constraint() local
[all …]
/external/llvm/test/CodeGen/X86/
Dx86-inline-asm-validation.ll9 ; CHECK-NOT: error: invalid operand for inline asm constraint 'L'
17 ; CHECK-NOT: error: invalid operand for inline asm constraint 'L'
25 ; CHECK-NOT: error: invalid operand for inline asm constraint 'M'
33 ; CHECK-NOT: error: invalid operand for inline asm constraint 'O'

1234567891011