Home
last modified time | relevance | path

Searched refs:validate (Results 1 – 25 of 950) sorted by relevance

12345678910>>...38

/third_party/python/Lib/lib2to3/tests/
Dtest_parser.py123 def validate(self, code): member in GrammarTest
128 self.validate(code)
137 self.validate("a @ b")
138 self.validate("a @= b")
143 self.validate("yield from x")
144 self.validate("(yield from x) + y")
150 self.validate("""async def foo():
154 self.validate("""async def foo():
158 self.validate("""async def foo():
164 self.validate("""async def foo():
[all …]
/third_party/node/deps/v8/src/wasm/
Dfunction-body-decoder-impl.h48 (validate ? V8_LIKELY(condition) : [&] { \
134 template <Decoder::ValidateFlag validate, typename... Args>
137 CHECK(validate == Decoder::kFullValidation || in DecodeError()
138 validate == Decoder::kBooleanValidation); in DecodeError()
140 if (validate == Decoder::kBooleanValidation) { in DecodeError()
148 template <Decoder::ValidateFlag validate>
150 CHECK(validate == Decoder::kFullValidation || in DecodeError()
151 validate == Decoder::kBooleanValidation); in DecodeError()
152 if (validate == Decoder::kBooleanValidation) { in DecodeError()
160 template <Decoder::ValidateFlag validate, typename... Args>
[all …]
Ddecoder.h81 template <ValidateFlag validate>
83 return read_little_endian<uint8_t, validate>(pc, msg);
87 template <ValidateFlag validate>
89 return read_little_endian<uint16_t, validate>(pc, msg);
93 template <ValidateFlag validate>
95 return read_little_endian<uint32_t, validate>(pc, msg);
99 template <ValidateFlag validate>
101 return read_little_endian<uint64_t, validate>(pc, msg);
105 template <ValidateFlag validate>
108 return read_leb<uint32_t, validate, kNoTrace>(pc, length, name);
[all …]
/third_party/typescript/tests/baselines/reference/
DcomplicatedIndexesOfIntersectionsAreInferencable.types6 validate?: (props: Values) => void;
7 >validate : ((props: Values) => void) | undefined
15validate" | "initialValues" | keyof ExtraProps ? Readonly<FormikConfig<Values> & ExtraProps> : Pic…
17 x: (string extends "validate" | "initialValues" | keyof ExtraProps
18validate" | "initialValues" | keyof ExtraProps ? Readonly<FormikConfig<Values> & ExtraProps> : Pic…
21 …: Pick<Readonly<FormikConfig<Values> & ExtraProps>, "validate" | "initialValues" | Exclude<keyof E…
26 >Func({ initialValues: { foo: "" }, validate: props => { props.foo; }}) :…
27validate" | "initialValues" | keyof ExtraProps ? Readonly<FormikConfig<Values> & ExtraProps> : Pic…
28 …ues: { foo: "" }, validate: props => { props.foo; }} : { initialValues: { f…
39 validate: props => {
[all …]
DcontextualOverloadListFromUnionWithPrimitiveNoImplicitAny.types10 validate: string | RegExp | Validate;
11 >validate : string | RegExp | Validate
25 >{ field: { validate: (_t, _p, _s) => false, normalize: match => match.x, }} : …
28 >field : { validate: (_t: string, _p: number, _s: Rule) => false; normalize: (match: any) => any; }
29 >{ validate: (_t, _p, _s) => false, normalize: match => match.x, } : { validate: (…
31 validate: (_t, _p, _s) => false,
32 >validate : (_t: string, _p: number, _s: Rule) => false
DjsDeclarationsCrossfileMerge.types27 function validate() {}
28 >validate : typeof validate
30 export default validate;
31 >validate : typeof validate
/third_party/node/deps/icu-small/source/i18n/
Dnumber_capi.cpp101 auto* result = UFormattedNumberApiHelper::validate(uresult, status); in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL()
142 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
143 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatInt()
155 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
156 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatDouble()
168 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
169 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatDecimal()
182 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultToString()
195 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultNextFieldPosition()
217 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultGetAllFieldPositions()
[all …]
Dformattedvalue.cpp93 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_reset()
102 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_constrainCategory()
111 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_constrainField()
120 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getCategory()
129 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getField()
138 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getIndexes()
148 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getInt64IterationContext()
157 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_setInt64IterationContext()
166 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_matchesField()
181 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_setState()
[all …]
Dnumrange_capi.cpp76 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, status); in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL()
115 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDoubleRange()
116 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_formatDoubleRange()
134 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDecimalRange()
135 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_formatDecimalRange()
150 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetIdentityResult()
163 const auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetFirstDecimalNumber()
179 const auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetSecondDecimalNumber()
193 const UNumberRangeFormatterData* impl = UNumberRangeFormatterData::validate(f, localStatus); in unumrf_close()
/third_party/skia/src/core/
DSkReadBuffer.cpp40 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory()
57 this->validate(inc >= size); in skip()
59 this->validate(IsPtrAlign4(addr) && this->isAvailable(inc)); in skip()
79 this->validate(!(value & ~1)); in readBool()
89 if (!this->validate(IsPtrAlign4(fCurr) && this->isAvailable(inc))) { in readInt()
99 if (!this->validate(IsPtrAlign4(fCurr) && this->isAvailable(inc))) { in readScalar()
139 if (this->validate(c_str && c_str[*len] == '\0')) { in readString()
184 (void)this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix()
228 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRRect()
239 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRegion()
[all …]
DSkTDPQueue.h50 this->validate(); in pop()
62 this->validate(); in pop()
67 this->validate(); in insert()
72 this->validate(); in insert()
80 this->validate(); in remove()
90 this->validate(); in remove()
100 this->validate(index); in priorityDidChange()
102 this->validate(); in priorityDidChange()
118 this->validate(); in sort()
129 this->validate(index); in percolateUpOrDown()
[all …]
DSkPictureRecord.cpp46 this->validate(initialOffset, size); in onFlush()
63 this->validate(initialOffset, size); in recordSave()
71 this->validate(initialOffset, size); in onMarkCTM()
107 this->validate(initialOffset, size); in onDoSaveBehind()
157 this->validate(initialOffset, size); in recordSaveLayer()
200 this->validate(initialOffset, size); in recordRestore()
211 this->validate(initialOffset, size); in recordTranslate()
222 this->validate(initialOffset, size); in recordScale()
226 this->validate(fWriter.bytesWritten(), 0); in didConcat44()
231 this->validate(initialOffset, size); in didConcat44()
[all …]
/third_party/icu/icu4c/source/i18n/
Dformattedvalue.cpp93 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_reset()
102 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_constrainCategory()
111 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_constrainField()
120 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getCategory()
129 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getField()
138 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getIndexes()
148 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getInt64IterationContext()
157 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_setInt64IterationContext()
166 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_matchesField()
181 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_setState()
[all …]
Dnumber_capi.cpp75 auto* result = UFormattedNumberApiHelper::validate(uresult, status); in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL()
115 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
116 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatInt()
128 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
129 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatDouble()
141 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
142 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatDecimal()
155 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultToString()
168 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultNextFieldPosition()
190 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultGetAllFieldPositions()
[all …]
Dnumrange_capi.cpp76 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, status); in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL()
114 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDoubleRange()
115 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_formatDoubleRange()
133 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDecimalRange()
134 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_formatDecimalRange()
149 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetIdentityResult()
162 const auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetFirstDecimalNumber()
178 const auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetSecondDecimalNumber()
192 const UNumberRangeFormatterData* impl = UNumberRangeFormatterData::validate(f, localStatus); in unumrf_close()
/third_party/skia/third_party/externals/icu/source/i18n/
Dformattedvalue.cpp93 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_reset()
102 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_constrainCategory()
111 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_constrainField()
120 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getCategory()
129 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getField()
138 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getIndexes()
148 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_getInt64IterationContext()
157 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_setInt64IterationContext()
166 const auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_matchesField()
181 auto* impl = UConstrainedFieldPositionImpl::validate(ptr, *ec); in ucfpos_setState()
[all …]
Dnumber_capi.cpp75 auto* result = UFormattedNumberApiHelper::validate(uresult, status); in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL()
115 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
116 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatInt()
127 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
128 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatDouble()
139 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
140 auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_formatDecimal()
152 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultToString()
165 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultNextFieldPosition()
187 const auto* result = UFormattedNumberApiHelper::validate(uresult, *ec); in unumf_resultGetAllFieldPositions()
[all …]
Dnumrange_capi.cpp76 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, status); in UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL()
114 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDoubleRange()
115 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_formatDoubleRange()
131 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDecimalRange()
132 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_formatDecimalRange()
145 auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetIdentityResult()
158 const auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetFirstDecimalNumber()
174 const auto* result = UFormattedNumberRangeApiHelper::validate(uresult, *ec); in unumrf_resultGetSecondDecimalNumber()
188 const UNumberRangeFormatterData* impl = UNumberRangeFormatterData::validate(f, localStatus); in unumrf_close()
/third_party/node/deps/npm/node_modules/libnpmhook/lib/
Dindex.js4 const validate = require('aproba') constant
9 validate('SSSO', [name, endpoint, secret, opts])
26 validate('SO', [id, opts])
40 validate('SSSO', [id, endpoint, secret, opts])
49 validate('SO', [id, opts])
59 validate('S|Z', [pkg])
60 validate('N|Z', [limit])
61 validate('N|Z', [offset])
/third_party/mesa3d/src/intel/compiler/
Dtest_eu_validate.cpp101 validate(struct brw_codegen *p) in validate() function
139 EXPECT_TRUE(validate(p)); in TEST_P()
146 EXPECT_FALSE(validate(p)); in TEST_P()
153 EXPECT_FALSE(validate(p)); in TEST_P()
164 EXPECT_FALSE(validate(p)); in TEST_P()
171 EXPECT_FALSE(validate(p)); in TEST_P()
189 EXPECT_FALSE(validate(p)); in TEST_P()
191 EXPECT_TRUE(validate(p)); in TEST_P()
229 EXPECT_EQ(test_case[i].expected_result, validate(p)); in TEST_P()
245 EXPECT_FALSE(validate(p)); in TEST_P()
[all …]
/third_party/node/deps/npm/node_modules/jackspeak/dist/esm/
Dindex.js80 undefOrType(o.validate, 'function') &&
84 const { default: def, validate: val, ...rest } = o;
88 const validate = val
94 validate,
100 const { default: def, validate: val, ...rest } = o;
104 const validate = val
110 validate,
116 const { default: def, validate: val, ...rest } = o;
120 const validate = val
126 validate,
[all …]
/third_party/node/deps/npm/node_modules/jackspeak/dist/commonjs/
Dindex.js87 undefOrType(o.validate, 'function') &&
92 const { default: def, validate: val, ...rest } = o;
96 const validate = val
102 validate,
108 const { default: def, validate: val, ...rest } = o;
112 const validate = val
118 validate,
124 const { default: def, validate: val, ...rest } = o;
128 const validate = val
134 validate,
[all …]
/third_party/node/deps/npm/node_modules/nopt/lib/
Dtype-defs.js83 String: { type: String, validate: validateString }, property
84 Boolean: { type: Boolean, validate: validateBoolean }, property
85 url: { type: url, validate: validateUrl }, property
86 Number: { type: Number, validate: validateNumber }, property
87 path: { type: path, validate: validatePath }, property
88 Stream: { type: Stream, validate: validateStream }, property
89 Date: { type: Date, validate: validateDate }, property
/third_party/node/test/report/
Dtest-report-writereport.js15 function validate() { function
18 helper.validate(reports[0], arguments[0]);
26 validate();
32 validate();
40 validate();
47 validate([['javascriptStack.errorProperties.foo', 'goo']]);
56 helper.validate(absolutePath);
67 helper.validate(absolutePath);
78 helper.validate(filename);
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
Du64-pow2.rs13 use self::_common::validate;
19 validate(&power.to_string()); in main()
21 validate(&(power + offset).to_string()); in main()
22 validate(&(power - offset).to_string()); in main()
26 validate(&(u64::MAX - offset).to_string()); in main()

12345678910>>...38