Home
last modified time | relevance | path

Searched refs:validity (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/external/v8/src/base/
Dsafe_math.h57 : state_(rhs.ValueUnsafe(), rhs.validity()) {} in CheckedNumeric()
60 CheckedNumeric(Src value, RangeConstraint validity) in CheckedNumeric() argument
61 : state_(value, validity) {} in CheckedNumeric()
73 bool IsValid() const { return validity() == RANGE_VALID; } in IsValid()
105 RangeConstraint validity() const { return state_.validity(); } in validity() function
124 RangeConstraint validity; variable
125 T value = CheckedNeg(state_.value(), &validity);
130 validity = GetRangeConstraint(state_.validity() | validity);
131 return CheckedNumeric<T>(value, validity);
135 RangeConstraint validity; in Abs() local
[all …]
Dsafe_math_impl.h145 CheckedAdd(T x, T y, RangeConstraint* validity) {
156 *validity = RANGE_VALID;
158 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
161 *validity = BinaryComplement(x) >= y ? RANGE_VALID : RANGE_OVERFLOW;
168 CheckedSub(T x, T y, RangeConstraint* validity) {
179 *validity = RANGE_VALID;
181 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
184 *validity = x >= y ? RANGE_VALID : RANGE_UNDERFLOW;
197 CheckedMul(T x, T y, RangeConstraint* validity) {
201 *validity = DstRangeRelationToSrcRange<T>(tmp);
[all …]
/external/pdfium/third_party/base/numerics/
Dsafe_math.h54 : state_(rhs.ValueUnsafe(), rhs.validity()) {} in CheckedNumeric()
57 CheckedNumeric(Src value, RangeConstraint validity) in CheckedNumeric() argument
58 : state_(value, validity) {} in CheckedNumeric()
70 bool IsValid() const { return validity() == RANGE_VALID; } in IsValid()
101 RangeConstraint validity() const { return state_.validity(); } in validity() function
120 RangeConstraint validity; variable
121 T value = CheckedNeg(state_.value(), &validity);
126 validity = GetRangeConstraint(state_.validity() | validity);
127 return CheckedNumeric<T>(value, validity);
131 RangeConstraint validity; in Abs() local
[all …]
Dsafe_math_impl.h117 CheckedAdd(T x, T y, RangeConstraint* validity) {
128 *validity = RANGE_VALID;
130 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
133 *validity = BinaryComplement(x) >= y ? RANGE_VALID : RANGE_OVERFLOW;
140 CheckedSub(T x, T y, RangeConstraint* validity) {
151 *validity = RANGE_VALID;
153 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
156 *validity = x >= y ? RANGE_VALID : RANGE_UNDERFLOW;
169 CheckedMul(T x, T y, RangeConstraint* validity) {
173 *validity = DstRangeRelationToSrcRange<T>(tmp);
[all …]
/external/libweave/third_party/chromium/base/numerics/
Dsafe_math.h55 : state_(rhs.ValueUnsafe(), rhs.validity()) {} in CheckedNumeric()
58 CheckedNumeric(Src value, RangeConstraint validity) in CheckedNumeric() argument
59 : state_(value, validity) {} in CheckedNumeric()
78 bool IsValid() const { return validity() == RANGE_VALID; } in IsValid()
109 RangeConstraint validity() const { return state_.validity(); } in validity() function
128 RangeConstraint validity; variable
129 T value = CheckedNeg(state_.value(), &validity);
134 validity = GetRangeConstraint(state_.validity() | validity);
135 return CheckedNumeric<T>(value, validity);
139 RangeConstraint validity; in Abs() local
[all …]
Dsafe_math_impl.h135 CheckedAdd(T x, T y, RangeConstraint* validity) {
146 *validity = RANGE_VALID;
148 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
151 *validity = BinaryComplement(x) >= y ? RANGE_VALID : RANGE_OVERFLOW;
158 CheckedSub(T x, T y, RangeConstraint* validity) {
169 *validity = RANGE_VALID;
171 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
174 *validity = x >= y ? RANGE_VALID : RANGE_UNDERFLOW;
187 CheckedMul(T x, T y, RangeConstraint* validity) {
191 *validity = DstRangeRelationToSrcRange<T>(tmp);
[all …]
/external/libchrome/base/numerics/
Dsafe_math.h55 : state_(rhs.ValueUnsafe(), rhs.validity()) {} in CheckedNumeric()
58 CheckedNumeric(Src value, RangeConstraint validity) in CheckedNumeric() argument
59 : state_(value, validity) {} in CheckedNumeric()
78 bool IsValid() const { return validity() == RANGE_VALID; } in IsValid()
109 RangeConstraint validity() const { return state_.validity(); } in validity() function
128 RangeConstraint validity; variable
129 T value = CheckedNeg(state_.value(), &validity);
134 validity = GetRangeConstraint(state_.validity() | validity);
135 return CheckedNumeric<T>(value, validity);
139 RangeConstraint validity; in Abs() local
[all …]
Dsafe_math_impl.h136 CheckedAdd(T x, T y, RangeConstraint* validity) {
147 *validity = RANGE_VALID;
149 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
152 *validity = BinaryComplement(x) >= y ? RANGE_VALID : RANGE_OVERFLOW;
159 CheckedSub(T x, T y, RangeConstraint* validity) {
170 *validity = RANGE_VALID;
172 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
175 *validity = x >= y ? RANGE_VALID : RANGE_UNDERFLOW;
188 CheckedMul(T x, T y, RangeConstraint* validity) {
192 *validity = DstRangeRelationToSrcRange<T>(tmp);
[all …]
/external/libxml2/result/schemas/
Dhexbinary_0_1.err1 ./test/schemas/hexbinary_1.xml:6: element hex: Schemas validity error : Element 'hex': '0' is not a…
2 ./test/schemas/hexbinary_1.xml:7: element hex: Schemas validity error : Element 'hex': '0123456789A…
3 ./test/schemas/hexbinary_1.xml:8: element hex: Schemas validity error : Element 'hex': '+abcdef0123…
4 ./test/schemas/hexbinary_1.xml:9: element hex: Schemas validity error : Element 'hex': '-0123456789…
5 ./test/schemas/hexbinary_1.xml:11: element hex2: Schemas validity error : Element 'hex2': [facet 'm…
6 ./test/schemas/hexbinary_1.xml:11: element hex2: Schemas validity error : Element 'hex2': '11223344…
7 ./test/schemas/hexbinary_1.xml:13: element hex3: Schemas validity error : Element 'hex3': [facet 'l…
8 ./test/schemas/hexbinary_1.xml:13: element hex3: Schemas validity error : Element 'hex3': 'ab' is n…
9 ./test/schemas/hexbinary_1.xml:14: element hex3: Schemas validity error : Element 'hex3': [facet 'l…
10 ./test/schemas/hexbinary_1.xml:14: element hex3: Schemas validity error : Element 'hex3': '00fedc' …
Ddecimal-3_1_0.err1 ./test/schemas/decimal-3_0.xml:12: element val: Schemas validity error : Element 'val': [facet 'tot…
2 ./test/schemas/decimal-3_0.xml:12: element val: Schemas validity error : Element 'val': '0.123' is …
3 ./test/schemas/decimal-3_0.xml:13: element val: Schemas validity error : Element 'val': [facet 'tot…
4 ./test/schemas/decimal-3_0.xml:13: element val: Schemas validity error : Element 'val': '0.023' is …
5 ./test/schemas/decimal-3_0.xml:14: element val: Schemas validity error : Element 'val': [facet 'tot…
6 ./test/schemas/decimal-3_0.xml:14: element val: Schemas validity error : Element 'val': '123' is no…
7 ./test/schemas/decimal-3_0.xml:15: element val: Schemas validity error : Element 'val': [facet 'tot…
8 ./test/schemas/decimal-3_0.xml:15: element val: Schemas validity error : Element 'val': '12.3' is n…
Ddecimal-1_1_0.err1 ./test/schemas/decimal-1_0.xml:16: element val: Schemas validity error : Element 'val': '.' is not …
2 ./test/schemas/decimal-1_0.xml:17: element val: Schemas validity error : Element 'val': '-' is not …
3 ./test/schemas/decimal-1_0.xml:18: element val: Schemas validity error : Element 'val': '+' is not …
4 ./test/schemas/decimal-1_0.xml:19: element val: Schemas validity error : Element 'val': '*' is not …
5 ./test/schemas/decimal-1_0.xml:20: element val: Schemas validity error : Element 'val': '- 1' is no…
6 ./test/schemas/decimal-1_0.xml:21: element val: Schemas validity error : Element 'val': '+ 1' is no…
7 ./test/schemas/decimal-1_0.xml:22: element val: Schemas validity error : Element 'val': '+ 0' is no…
8 ./test/schemas/decimal-1_0.xml:23: element val: Schemas validity error : Element 'val': '- 0' is no…
Ddecimal-2_1_0.err1 ./test/schemas/decimal-2_0.xml:12: element val: Schemas validity error : Element 'val': [facet 'min…
2 ./test/schemas/decimal-2_0.xml:12: element val: Schemas validity error : Element 'val': '-0.1' is n…
3 ./test/schemas/decimal-2_0.xml:13: element val: Schemas validity error : Element 'val': [facet 'min…
4 ./test/schemas/decimal-2_0.xml:13: element val: Schemas validity error : Element 'val': '-1' is not…
/external/boringssl/src/crypto/x509/
Dx509_set.c115 if ((x == NULL) || (x->cert_info->validity == NULL)) return(0); in X509_set_notBefore()
116 in=x->cert_info->validity->notBefore; in X509_set_notBefore()
122 M_ASN1_TIME_free(x->cert_info->validity->notBefore); in X509_set_notBefore()
123 x->cert_info->validity->notBefore=in; in X509_set_notBefore()
133 if ((x == NULL) || (x->cert_info->validity == NULL)) return(0); in X509_set_notAfter()
134 in=x->cert_info->validity->notAfter; in X509_set_notAfter()
140 M_ASN1_TIME_free(x->cert_info->validity->notAfter); in X509_set_notAfter()
141 x->cert_info->validity->notAfter=in; in X509_set_notAfter()
/external/dbus/bus/
Dconfig-parser-trivial.c421 Validity validity, in do_load() argument
441 else if (validity == VALID) in do_load()
461 if (validity == INVALID) in do_load()
474 Validity validity; member
482 return do_load (d->full_path, d->validity, TRUE); in check_loader_oom_func()
488 Validity validity) in process_test_valid_subdir() argument
526 if (validity == VALID) in process_test_valid_subdir()
528 else if (validity == INVALID) in process_test_valid_subdir()
559 validity == VALID ? "valid" : in process_test_valid_subdir()
560 (validity == INVALID ? "invalid" : in process_test_valid_subdir()
[all …]
/external/dbus/dbus/
Ddbus-marshal-validate.c443 DBusValidity validity; in validate_body_helper() local
494 validity = validate_body_helper (&sub, byte_order, FALSE, in validate_body_helper()
497 if (validity != DBUS_VALID) in validate_body_helper()
498 return validity; in validate_body_helper()
523 DBusValidity validity; in validate_body_helper() local
533 validity = in validate_body_helper()
537 if (validity != DBUS_VALID) in validate_body_helper()
538 return validity; in validate_body_helper()
564 DBusValidity validity; in validate_body_helper() local
613 validity = validate_body_helper (&sub, byte_order, FALSE, in validate_body_helper()
[all …]
Ddbus-marshal-validate-util.c534 DBusValidity validity; in _dbus_marshal_validate_test() local
536 validity = _dbus_validate_body_with_reason (&signature, 0, in _dbus_marshal_validate_test()
540 if (validity != DBUS_VALID) in _dbus_marshal_validate_test()
543 validity, sequence); in _dbus_marshal_validate_test()
559 DBusValidity validity; in _dbus_marshal_validate_test() local
561 validity = _dbus_validate_body_with_reason (&signature, 0, in _dbus_marshal_validate_test()
565 if (validity != DBUS_VALID) in _dbus_marshal_validate_test()
568 validity, sequence); in _dbus_marshal_validate_test()
Ddbus-marshal-header.c672 DBusValidity *validity, in _dbus_header_have_message_untrusted() argument
696 *validity = DBUS_INVALID_BAD_BYTE_ORDER; in _dbus_header_have_message_untrusted()
706 *validity = DBUS_INVALID_INSANE_FIELDS_ARRAY_LENGTH; in _dbus_header_have_message_untrusted()
716 *validity = DBUS_INVALID_INSANE_BODY_LENGTH; in _dbus_header_have_message_untrusted()
729 *validity = DBUS_INVALID_MESSAGE_TOO_LONG; in _dbus_header_have_message_untrusted()
741 *validity = DBUS_VALID; in _dbus_header_have_message_untrusted()
970 DBusValidity *validity, in _dbus_header_load() argument
997 *validity = DBUS_VALIDITY_UNKNOWN_OOM_ERROR; in _dbus_header_load()
1014 *validity = v; in _dbus_header_load()
1030 *validity = DBUS_INVALID_ALIGNMENT_PADDING_NOT_NUL; in _dbus_header_load()
[all …]
/external/libxml2/result/VC/
DAttributeDefaultLegal.rdr1 ./test/VC/AttributeDefaultLegal:4: validity error : Attribute doc of At: invalid default value
4 ./test/VC/AttributeDefaultLegal:6: validity error : Attribute doc of bad: invalid default value
7 ./test/VC/AttributeDefaultLegal:8: validity error : Attribute doc of bad2: invalid default value
10 ./test/VC/AttributeDefaultLegal:11: element doc: validity error : No declaration for attribute val …
DAttributeDefaultLegal1 ./test/VC/AttributeDefaultLegal:4: validity error : Attribute doc of At: invalid default value
4 ./test/VC/AttributeDefaultLegal:6: validity error : Attribute doc of bad: invalid default value
7 ./test/VC/AttributeDefaultLegal:8: validity error : Attribute doc of bad2: invalid default value
10 ./test/VC/AttributeDefaultLegal:11: element doc: validity error : No declaration for attribute val …
/external/libxml2/result/relaxng/
Dtutor7_3_4.err1 ./test/relaxng/tutor7_3_4.xml:1: element path: Relax-NG validity error : Extra data in list: 5.6
2 ./test/relaxng/tutor7_3_4.xml:1: element path: Relax-NG validity error : Error validating list
3 ./test/relaxng/tutor7_3_4.xml:1: element path: Relax-NG validity error : Element path failed to val…
Dtutor7_1_3.err1 ./test/relaxng/tutor7_1_3.xml:1: element vector: Relax-NG validity error : Extra data in list: 5.6
2 ./test/relaxng/tutor7_1_3.xml:1: element vector: Relax-NG validity error : Error validating list
3 ./test/relaxng/tutor7_1_3.xml:1: element vector: Relax-NG validity error : Element vector failed to…
Dtutor7_3_5.err1 ./test/relaxng/tutor7_3_5.xml:1: element path: Relax-NG validity error : failed to validate type do…
2 ./test/relaxng/tutor7_3_5.xml:1: element path: Relax-NG validity error : Error validating list
3 ./test/relaxng/tutor7_3_5.xml:1: element path: Relax-NG validity error : Element path failed to val…
Dtutor7_1_2.err1 ./test/relaxng/tutor7_1_2.xml:1: element vector: Relax-NG validity error : failed to validate type …
2 ./test/relaxng/tutor7_1_2.xml:1: element vector: Relax-NG validity error : Error validating list
3 ./test/relaxng/tutor7_1_2.xml:1: element vector: Relax-NG validity error : Element vector failed to…
Dtutor7_2_4.err1 ./test/relaxng/tutor7_2_4.xml:1: element vector: Relax-NG validity error : failed to validate type …
2 ./test/relaxng/tutor7_2_4.xml:1: element vector: Relax-NG validity error : Error validating list
3 ./test/relaxng/tutor7_2_4.xml:1: element vector: Relax-NG validity error : Element vector failed to…
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DV1TBSCertificateGenerator.java131 ASN1EncodableVector validity = new ASN1EncodableVector(); in generateTBSCertificate() local
133 validity.add(startDate); in generateTBSCertificate()
134 validity.add(endDate); in generateTBSCertificate()
136 seq.add(new DERSequence(validity)); in generateTBSCertificate()

12345678910>>...17