/external/python/pyasn1/tests/type/ |
D | test_constraint.py | 17 from pyasn1.type import constraint 24 self.c1 = constraint.SingleValueConstraint(1, 2) 25 self.c2 = constraint.SingleValueConstraint(3, 4) 52 self.c1 = constraint.ContainedSubtypeConstraint( 53 constraint.SingleValueConstraint(12) 74 self.c1 = constraint.ValueRangeConstraint(1, 4) 94 self.c1 = constraint.ValueSizeConstraint(1, 2) 113 self.c1 = constraint.PermittedAlphabetConstraint('A', 'B', 'C') 114 self.c2 = constraint.PermittedAlphabetConstraint('DEF') 134 c = constraint.WithComponentsConstraint( [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | kernel_def_util.cc | 39 for (const auto& constraint : kernel_def.constraint()) { in KernelAttrsMatch() local 42 if (constraint.allowed_values().list().type_size() > 0) { in KernelAttrsMatch() 46 if (constraint.allowed_values().list().s_size() > 0) { in KernelAttrsMatch() 50 if (constraint.allowed_values().list().i_size() > 0) { in KernelAttrsMatch() 54 if (constraint.allowed_values().list().b_size() > 0) { in KernelAttrsMatch() 62 " has constraint on attr '", constraint.name(), in KernelAttrsMatch() 64 SummarizeAttrValue(constraint.allowed_values())); in KernelAttrsMatch() 69 " has constraint on attr '", constraint.name(), in KernelAttrsMatch() 71 SummarizeAttrValue(constraint.allowed_values())); in KernelAttrsMatch() 74 const AttrValue* attr_value = attrs.Find(constraint.name()); in KernelAttrsMatch() [all …]
|
D | kernel_def_builder.cc | 39 auto* constraint = kernel_def_->add_constraint(); in AttrConstraint() local 40 constraint->set_name(attr_name); in AttrConstraint() 41 auto* allowed_values = constraint->mutable_allowed_values()->mutable_list(); in AttrConstraint() 60 auto* constraint = kernel_def_->add_constraint(); in AttrConstraint() local 61 constraint->set_name(attr_name); in AttrConstraint() 62 auto* allowed_values = constraint->mutable_allowed_values()->mutable_list(); in AttrConstraint() 80 auto* constraint = kernel_def_->add_constraint(); in AttrConstraint() local 81 constraint->set_name(attr_name); in AttrConstraint() 82 auto* allowed_values = constraint->mutable_allowed_values()->mutable_list(); in AttrConstraint() 100 auto* constraint = kernel_def_->add_constraint(); in AttrConstraint() local [all …]
|
/external/python/pyasn1-modules/pyasn1_modules/ |
D | rfc3280.py | 16 from pyasn1.type import constraint 48 OrganizationalUnitName.subtypeSpec = constraint.ValueSizeConstraint(1, ub_organizational_unit_name_… 56 OrganizationalUnitNames.sizeSpec = constraint.ValueSizeConstraint(1, ub_organizational_units) 76 subtypeSpec=constraint.ValueSizeConstraint(1, ub_pds_parameter_length))), 78 subtypeSpec=constraint.ValueSizeConstraint(1, ub_pds_parameter_length))) 99 subtypeSpec=constraint.ValueSizeConstraint(1, ub_domain_defined_attribute_type_length))), 101 subtypeSpec=constraint.ValueSizeConstraint(1, ub_domain_defined_attribute_value_length))) 155 Extensions.sizeSpec = constraint.ValueSizeConstraint(1, MAX) 222 RelativeDistinguishedName.sizeSpec = constraint.ValueSizeConstraint(1, MAX) 281 TeletexOrganizationName.subtypeSpec = constraint.ValueSizeConstraint(1, ub_organization_name_length) [all …]
|
D | rfc5280.py | 19 from pyasn1.type import constraint 78 Extensions.sizeSpec = constraint.ValueSizeConstraint(1, MAX) 95 subtypeSpec=constraint.ValueSizeConstraint(1, ub_pds_parameter_length)))), 97 subtypeSpec=constraint.ValueSizeConstraint(1, ub_unformatted_address_length))) 109 subtypeSpec=constraint.ValueSizeConstraint(1, ub_organization_name))), 111 subtypeSpec=constraint.ValueSizeConstraint(1, ub_organization_name))), 113 subtypeSpec=constraint.ValueSizeConstraint(1, ub_organization_name))), 115 … char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_organization_name))), 117 … char.BMPString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_organization_name))) 137 subtypeSpec=constraint.ValueSizeConstraint(1, ub_postal_code_length))), [all …]
|
D | rfc2459.py | 17 from pyasn1.type import constraint 108 … char.TeletexString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))), 110 … char.PrintableString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))), 112 … char.UniversalString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))), 114 … char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))), 116 … char.BMPString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))) 126 subtypeSpec=constraint.ValueSizeConstraint(1, ub_common_name))), 128 subtypeSpec=constraint.ValueSizeConstraint(1, ub_common_name))), 130 subtypeSpec=constraint.ValueSizeConstraint(1, ub_common_name))), 132 … char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_common_name))), [all …]
|
D | rfc1902.py | 12 from pyasn1.type import constraint 19 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint( 25 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint( 31 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueSizeConstraint( 40 subtypeSpec = univ.OctetString.subtypeSpec + constraint.ValueSizeConstraint( 49 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint( 58 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint( 67 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint( 76 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint( 91 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
|
D | rfc8226.py | 16 from pyasn1.type import constraint 44 JWTClaimNames.sizeSpec = constraint.ValueSizeConstraint(1, MAX) 54 sizeSpec=constraint.ValueSizeConstraint(1, MAX))) 62 JWTClaimPermittedValuesList.sizeSpec = constraint.ValueSizeConstraint(1, MAX) 78 JWTClaimConstraints.sizeSpec = univ.Sequence.sizeSpec + constraint.ValueSizeConstraint(1, 2) 91 TelephoneNumber.subtypeSpec = constraint.ConstraintsIntersection( 92 constraint.ValueSizeConstraint(1, 15), 93 constraint.PermittedAlphabetConstraint( 104 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(2, MAX))) 128 TNAuthorizationList.sizeSpec = constraint.ValueSizeConstraint(1, MAX)
|
D | rfc3412.py | 12 from pyasn1.type import constraint 37 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))), 39 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(484, 2147483647))), 40 …namedtype.NamedType('msgFlags', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeConstra… 42 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, 2147483647))) 49 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
|
D | rfc2634.py | 17 from pyasn1.type import constraint 104 sizeSpec=constraint.ValueSizeConstraint(1, MAX)).subtype( 108 sizeSpec=constraint.ValueSizeConstraint(1, MAX)).subtype( 126 MLExpansionHistory.sizeSpec = constraint.ValueSizeConstraint(1, ub_ml_expansion_history) 145 subtypeSpec=constraint.ValueSizeConstraint(1, ub_privacy_mark_length))), 147 subtypeSpec=constraint.ValueSizeConstraint(1, MAX))) 154 SecurityClassification.subtypeSpec=constraint.ValueRangeConstraint(0, ub_integer_options) 185 SecurityCategories.sizeSpec = constraint.ValueSizeConstraint(1, ub_security_categories) 247 …lNamedType('contentDescription', char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstra… 285 …ptsTo', univ.SequenceOf(componentType=GeneralNames()).subtype(sizeSpec=constraint.ValueSizeConstra…
|
/external/python/pyasn1/docs/source/pyasn1/type/constraint/ |
D | contents.rst | 2 .. _type.constraint: 30 /pyasn1/type/constraint/singlevalue 31 /pyasn1/type/constraint/containedsubtype 32 /pyasn1/type/constraint/valuerange 33 /pyasn1/type/constraint/valuesize 34 /pyasn1/type/constraint/permittedalphabet 35 /pyasn1/type/constraint/withcomponents 42 this situation, individual constraint objects can be glued together 46 as the constraint objects do with the only difference that logic operators 47 are instantiated on the constraint and logic operator objects, not on the [all …]
|
D | withcomponents.rst | 6 WITH COMPONENTS constraint 9 .. autoclass:: pyasn1.type.constraint.WithComponentsConstraint(*fields) 12 .. autoclass:: pyasn1.type.constraint.ComponentPresentConstraint() 15 .. autoclass:: pyasn1.type.constraint.ComponentAbsentConstraint()
|
/external/v8/src/compiler/backend/ |
D | register-allocator-verifier.cc | 95 const OperandConstraint& constraint) { in VerifyInput() argument 96 CHECK_NE(kSameAsFirst, constraint.type_); in VerifyInput() 97 if (constraint.type_ != kImmediate) { in VerifyInput() 99 constraint.virtual_register_); in VerifyInput() 104 const OperandConstraint& constraint) { in VerifyTemp() argument 105 CHECK_NE(kSameAsFirst, constraint.type_); in VerifyTemp() 106 CHECK_NE(kImmediate, constraint.type_); in VerifyTemp() 107 CHECK_NE(kConstant, constraint.type_); in VerifyTemp() 111 const OperandConstraint& constraint) { in VerifyOutput() argument 112 CHECK_NE(kImmediate, constraint.type_); in VerifyOutput() [all …]
|
/external/webrtc/talk/app/webrtc/ |
D | videosource.cc | 95 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/harfbuzz_ng/src/ |
D | gen-vowel-constraints.py | 61 def __init__ (self, constraint): argument 68 self._c = constraint 70 def add (self, constraint): argument 72 if not constraint: 74 first = constraint[0] 75 rest = constraint[1:] 77 if constraint == self._c[:len (constraint)]: 78 self._c = constraint 79 elif self._c != constraint[:len (self._c)]: 136 constraint = [int (cp, 16) for cp in line.split (';')[0].split ()] variable [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dynamic_dimension_inference.cc | 108 DimensionConstraint constraint)>; 132 DimensionConstraint constraint) { in DefaultAction() argument 145 DimensionConstraint constraint) { in HandleGetTupleElement() argument 150 constraint); in HandleGetTupleElement() 160 DimensionConstraint constraint) { in HandleTuple() argument 163 constraint); in HandleTuple() 172 DimensionConstraint constraint) { in HandleBroadcast() argument 175 constraint); in HandleBroadcast() 200 DimensionConstraint constraint) { in HandleCustomCall() argument 207 parent_->SetDynamicSize(hlo, {}, dimension, dynamic_size, constraint); in HandleCustomCall() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/ |
D | SimplexTableau.java | 182 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | inlineasm-illegal-type.ll | 5 ; GCN: error: couldn't allocate output register for constraint 's' 6 ; GCN: error: couldn't allocate input reg for constraint 's' 13 ; GCN: error: couldn't allocate output register for constraint 'v' 14 ; GCN: error: couldn't allocate input reg for constraint 'v' 21 ; GCN: error: couldn't allocate output register for constraint 's' 22 ; GCN: error: couldn't allocate input reg for constraint 's' 29 ; SICI: error: couldn't allocate output register for constraint 's' 30 ; SICI: error: couldn't allocate input reg for constraint 's' 38 ; SICI: error: couldn't allocate output register for constraint 'v' 39 ; SICI: error: couldn't allocate input reg for constraint 'v' [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | inlineasm.ll | 13 define float @t-constraint-int(i32 %i) { 14 ; CHECK-LABEL: t-constraint-int 20 define <2 x i32> @t-constraint-int-vector-64bit(<2 x float> %x) { 22 ; CHECK-LABEL: t-constraint-int-vector-64bit 28 define <4 x i32> @t-constraint-int-vector-128bit(<4 x float> %x) { 30 ; CHECK-LABEL: t-constraint-int-vector-128bit 36 define <2 x float> @t-constraint-float-vector-64bit(<2 x float> %a, <2 x float> %b) { 38 ; CHECK-LABEL: t-constraint-float-vector-64bit 44 define <4 x float> @t-constraint-float-vector-128bit(<4 x float> %a, <4 x float> %b) { 46 ; CHECK-LABEL: t-constraint-float-vector-128bit
|
/external/python/pyasn1/pyasn1/type/ |
D | constraint.py | 178 for constraint in self._values: 179 if isinstance(constraint, AbstractConstraint): 180 constraint(value, idx) 483 for field, constraint in self._values: 484 constraint(value.get(field)) 500 constraint, status = self.__multipleTypeConstraint[idx] 503 constraint(value) 596 for constraint in values: 597 if constraint: 598 self._valueMap.add(constraint) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | variable_scope.py | 301 constraint=None, argument 449 constraint=None, argument 474 constraint=constraint, 495 constraint=constraint, 518 constraint=constraint, 550 custom_getter_kwargs["constraint"] = constraint 566 constraint=constraint, 583 constraint=None, argument 776 constraint=constraint, 810 constraint=None, argument [all …]
|
/external/llvm/test/CodeGen/Thumb/ |
D | inlineasm-imm-thumb.ll | 3 ; 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb/ |
D | inlineasm-imm-thumb.ll | 3 ; 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/u-boot/cmd/ |
D | regulator.c | 111 static int constraint(const char *name, int val, const char *val_name) in constraint() function 164 constraint(" - min uV:", uc_pdata->min_uV, NULL); in do_info() 165 constraint(" - max uV:", uc_pdata->max_uV, NULL); in do_info() 166 constraint(" - min uA:", uc_pdata->min_uA, NULL); in do_info() 167 constraint(" - max uA:", uc_pdata->max_uA, NULL); in do_info() 168 constraint(" - always on:", uc_pdata->always_on, in do_info() 170 constraint(" - boot on:", uc_pdata->boot_on, in do_info() 174 constraint("* op modes:", mode_count, NULL); in do_info() 177 constraint(" - mode id:", modes->id, modes->name); in do_info() 192 constraint(" * enable:", enabled, enabled ? "true" : "false"); in do_status_detail() [all …]
|
/external/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 177 SkCanvas::SrcRectConstraint constraint, GrSurfaceProxyView view, in draw_texture() argument 198 if (constraint != SkCanvas::kStrict_SrcRectConstraint && !proxy->isFunctionallyExact()) { in draw_texture() 206 constraint = SkCanvas::kStrict_SrcRectConstraint; in draw_texture() 225 constraint == SkCanvas::kStrict_SrcRectConstraint ? &srcRect : nullptr, in draw_texture() 229 paint.getBlendMode(), color, srcRect, dstRect, aa, aaFlags, constraint, in draw_texture() 240 SkCanvas::SrcRectConstraint constraint, bool attemptDrawTexture) { in draw_texture_producer() argument 249 draw_texture(rtc, clip, ctm, paint, src, dst, dstClip, aa, aaFlags, constraint, in draw_texture_producer() 276 if (SkCanvas::kFast_SrcRectConstraint == constraint) { in draw_texture_producer() 362 SkCanvas::SrcRectConstraint constraint) { in drawImageQuad() argument 373 constraint = SkCanvas::kFast_SrcRectConstraint; in drawImageQuad() [all …]
|