Home
last modified time | relevance | path

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

12345678910>>...45

/external/python/cpython3/Lib/lib2to3/tests/
Dtest_parser.py119 def validate(self, code): member in GrammarTest
124 self.validate(code)
133 self.validate("a @ b")
134 self.validate("a @= b")
139 self.validate("yield from x")
140 self.validate("(yield from x) + y")
146 self.validate("""async def foo():
150 self.validate("""async def foo():
154 self.validate("""async def foo():
160 self.validate("""async def foo():
[all …]
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_parser.py118 def validate(self, code): member in GrammarTest
123 self.validate(code)
132 self.validate("a @ b")
133 self.validate("a @= b")
138 self.validate("yield from x")
139 self.validate("(yield from x) + y")
145 self.validate("raise")
148 self.validate("raise E, V")
151 self.validate("raise E, V, T")
157 self.validate("raise E1 from E2")
[all …]
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py313 def readGlyph(self, glyphName, glyphObject=None, pointPen=None, validate=None): argument
347 if validate is None:
348 validate = self._validateRead
355 _readGlyphFromTree(tree, glyphObject, pointPen, formatVersions=formatVersions, validate=validate)
357 …teGlyph(self, glyphName, glyphObject=None, drawPointsFunc=None, formatVersion=None, validate=None): argument
400 if validate is None:
401 validate = self._validateWrite
418 validate=validate,
538 def readGlyphFromString(aString, glyphObject=None, pointPen=None, formatVersions=(1, 2), validate=T… argument
573 _readGlyphFromTree(tree, glyphObject, pointPen, formatVersions=formatVersions, validate=validate)
[all …]
D__init__.py204 def __init__(self, path, validate=True): argument
267 self._validate = validate
268 self.readMetaInfo(validate=validate)
303 def _upConvertKerning(self, validate): argument
322 if validate:
383 def readMetaInfo(self, validate=None): argument
390 if validate is None:
391 validate = self._validate
393 if validate and not isinstance(data, dict):
396 if validate:
[all …]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVValue.h62 validate(); in SPIRVValue()
69 validate(); in SPIRVValue()
76 validate(); in SPIRVValue()
83 validate(); in SPIRVValue()
99 void validate()const { in validate() function
100 SPIRVEntry::validate(); in validate()
135 validate(); in SPIRVConstant()
142 validate(); in SPIRVConstant()
149 validate(); in SPIRVConstant()
163 void validate() const { in validate() function
[all …]
DSPIRVType.h136 validate(); in SPIRVTypeInt()
154 void validate()const { in _SPIRV_DEF_ENCDEC3()
155 SPIRVEntry::validate(); in _SPIRV_DEF_ENCDEC3()
186 void validate()const { in _SPIRV_DEF_ENCDEC2()
187 SPIRVEntry::validate(); in _SPIRV_DEF_ENCDEC2()
202 validate(); in SPIRVTypePointer()
227 void validate()const { in _SPIRV_DEF_ENCDEC3()
228 SPIRVEntry::validate(); in _SPIRV_DEF_ENCDEC3()
259 validate(); in SPIRVTypeVector()
281 void validate()const { in _SPIRV_DEF_ENCDEC3()
[all …]
DSPIRVInstruction.h171 void validate()const { in validate() function
172 SPIRVValue::validate(); in validate()
203 Inst->validate(); in create()
260 validate(); in setOpWordsAndValidate()
453 validate(); in SPIRVVariable()
494 void validate() const { in validate() function
495 SPIRVValue::validate(); in validate()
522 validate();
552 void validate()const {
553 SPIRVInstruction::validate();
[all …]
/external/ImageMagick/tests/
DMakefile.am19 tests/validate \
23 tests_validate_SOURCES = tests/validate.c tests/validate.h
43 tests/validate-colorspace.tap \
44 tests/validate-compare.tap \
45 tests/validate-composite.tap \
46 tests/validate-convert.tap \
47 tests/validate-formats-disk.tap \
48 tests/validate-formats-map.tap \
49 tests/validate-formats-memory.tap \
50 tests/validate-identify.tap \
[all …]
/external/fonttools/Tests/ufoLib/
DUFO2_test.py41 reader = UFOReader(self.dstDir, validate=True)
53 reader = UFOReader(self.dstDir, validate=True)
59 reader = UFOReader(self.dstDir, validate=True)
65 reader = UFOReader(self.dstDir, validate=True)
72 reader = UFOReader(self.dstDir, validate=True)
78 reader = UFOReader(self.dstDir, validate=True)
84 reader = UFOReader(self.dstDir, validate=True)
90 reader = UFOReader(self.dstDir, validate=True)
96 reader = UFOReader(self.dstDir, validate=True)
102 reader = UFOReader(self.dstDir, validate=True)
[all …]
DUFO3_test.py47 reader = UFOReader(self.dstDir, validate=True)
59 reader = UFOReader(self.dstDir, validate=True)
65 reader = UFOReader(self.dstDir, validate=True)
71 reader = UFOReader(self.dstDir, validate=True)
78 reader = UFOReader(self.dstDir, validate=True)
84 reader = UFOReader(self.dstDir, validate=True)
90 reader = UFOReader(self.dstDir, validate=True)
96 reader = UFOReader(self.dstDir, validate=True)
101 reader = UFOReader(self.dstDir, validate=True)
107 reader = UFOReader(self.dstDir, validate=True)
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dvalidation_macros.tmpl8 // validate {{name}}
12 // validate {{name}}
16 // validate {{name}}
20 // validate {{name}}
24 // validate {{name}}
28 // validate {{name}}
32 // validate {{name}}
36 // validate {{name}}
40 // validate {{name}}
44 // validate {{name}}
[all …]
/external/skia/src/core/
DSkReadBuffer.cpp64 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory()
79 this->validate(inc >= size); in skip()
81 this->validate(IsPtrAlign4(addr) && fReader.isAvailable(inc)); in skip()
101 this->validate(!(value & ~1)); in readBool()
111 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readInt()
117 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readScalar()
149 if (this->validate(src[len] == 0)) { in readString()
176 (void)this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix()
197 if (!this->validate(fReader.readRRect(rrect))) { in readRRect()
206 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRegion()
[all …]
DSkTLList.h50 this->validate(); in ~SkTLList()
70 this->validate(); in addToHead()
73 this->validate(); in addToHead()
79 this->validate(); in addToTail()
82 this->validate(); in addToTail()
89 this->validate(); in addBefore()
92 this->validate(); in addBefore()
99 this->validate(); in addAfter()
102 this->validate(); in addAfter()
116 this->validate(); in popHead()
[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.cpp43 this->validate(initialOffset, size); in onFlush()
60 this->validate(initialOffset, size); in recordSave()
94 this->validate(initialOffset, size); in onDoSaveBehind()
151 this->validate(initialOffset, size); in recordSaveLayer()
194 this->validate(initialOffset, size); in recordRestore()
205 this->validate(initialOffset, size); in recordTranslate()
216 this->validate(initialOffset, size); in recordScale()
235 this->validate(fWriter.bytesWritten(), 0); in recordConcat()
240 this->validate(initialOffset, size); in recordConcat()
244 this->validate(fWriter.bytesWritten(), 0); in didSetMatrix()
[all …]
DSkRWBuffer.cpp43 this->validate(); in append()
47 this->validate(); in append()
53 void validate() const { in validate() function
105 void validate(size_t minUsed, const SkBufferBlock* tail = nullptr) const { in validate() function
112 block->validate(); in validate()
135 head->validate(available, tail); in SkROBuffer()
202 this->validate(); in ~SkRWBuffer()
213 this->validate(); in append()
237 this->validate(); in append()
241 void SkRWBuffer::validate() const { in validate() function in SkRWBuffer
[all …]
/external/skqp/src/core/
DSkReadBuffer.cpp64 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory()
79 this->validate(inc >= size); in skip()
81 this->validate(IsPtrAlign4(addr) && fReader.isAvailable(inc)); in skip()
101 this->validate(!(value & ~1)); in readBool()
111 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readInt()
117 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readScalar()
149 if (this->validate(src[len] == 0)) { in readString()
176 (void)this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix()
197 if (!this->validate(fReader.readRRect(rrect))) { in readRRect()
206 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRegion()
[all …]
DSkTLList.h50 this->validate(); in ~SkTLList()
70 this->validate(); in addToHead()
73 this->validate(); in addToHead()
79 this->validate(); in addToTail()
82 this->validate(); in addToTail()
89 this->validate(); in addBefore()
92 this->validate(); in addBefore()
99 this->validate(); in addAfter()
102 this->validate(); in addAfter()
116 this->validate(); in popHead()
[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.cpp43 this->validate(initialOffset, size); in onFlush()
60 this->validate(initialOffset, size); in recordSave()
94 this->validate(initialOffset, size); in onDoSaveBehind()
151 this->validate(initialOffset, size); in recordSaveLayer()
194 this->validate(initialOffset, size); in recordRestore()
205 this->validate(initialOffset, size); in recordTranslate()
216 this->validate(initialOffset, size); in recordScale()
235 this->validate(fWriter.bytesWritten(), 0); in recordConcat()
240 this->validate(initialOffset, size); in recordConcat()
244 this->validate(fWriter.bytesWritten(), 0); in didSetMatrix()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_capi.cpp27 UNumberFormatterData* UNumberFormatterData::validate(UNumberFormatter* input, UErrorCode& status) { in validate() function in UNumberFormatterData
29 auto* validated = validate(constInput, status); in validate()
34 UNumberFormatterData::validate(const UNumberFormatter* input, UErrorCode& status) { in validate() function in UNumberFormatterData
54 UFormattedNumberData* UFormattedNumberData::validate(UFormattedNumber* input, UErrorCode& status) { in validate() function in UFormattedNumberData
56 auto* validated = validate(constInput, status); in validate()
61 UFormattedNumberData::validate(const UFormattedNumber* input, UErrorCode& status) { in validate() function in UFormattedNumberData
113 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
114 UFormattedNumberData* result = UFormattedNumberData::validate(uresult, *ec); in unumf_formatInt()
125 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
126 UFormattedNumberData* result = UFormattedNumberData::validate(uresult, *ec); in unumf_formatDouble()
[all …]
/external/v8/src/wasm/
Ddecoder.h72 template <ValidateFlag validate>
74 return read_little_endian<uint8_t, validate>(pc, msg);
78 template <ValidateFlag validate>
81 return read_little_endian<uint16_t, validate>(pc, msg);
85 template <ValidateFlag validate>
88 return read_little_endian<uint32_t, validate>(pc, msg);
92 template <ValidateFlag validate>
95 return read_little_endian<uint64_t, validate>(pc, msg);
99 template <ValidateFlag validate>
102 return read_leb<uint32_t, validate, kNoAdvancePc, kNoTrace>(pc, length,
[all …]
Dfunction-body-decoder-impl.h37 (validate ? (condition) : [&] { \
136 template <Decoder::ValidateFlag validate>
143 index = decoder->read_u32v<validate>(pc + 1, &length, "local index"); in LocalIndexImmediate()
147 template <Decoder::ValidateFlag validate>
154 index = decoder->read_u32v<validate>(pc + 1, &length, "exception index"); in ExceptionIndexImmediate()
158 template <Decoder::ValidateFlag validate>
163 value = decoder->read_i32v<validate>(pc + 1, &length, "immi32"); in ImmI32Immediate()
167 template <Decoder::ValidateFlag validate>
172 value = decoder->read_i64v<validate>(pc + 1, &length, "immi64"); in ImmI64Immediate()
176 template <Decoder::ValidateFlag validate>
[all …]
/external/mesa3d/src/intel/compiler/
Dtest_eu_validate.cpp113 validate(struct brw_codegen *p) in validate() function
151 EXPECT_TRUE(validate(p)); in TEST_P()
158 EXPECT_FALSE(validate(p)); in TEST_P()
165 EXPECT_FALSE(validate(p)); in TEST_P()
176 EXPECT_FALSE(validate(p)); in TEST_P()
183 EXPECT_FALSE(validate(p)); in TEST_P()
201 EXPECT_FALSE(validate(p)); in TEST_P()
203 EXPECT_TRUE(validate(p)); in TEST_P()
218 EXPECT_FALSE(validate(p)); in TEST_P()
228 EXPECT_TRUE(validate(p)); in TEST_P()
[all …]
/external/skqp/samplecode/
DSamplePathFuzz.cpp379 validate(path); in makePath()
386 validate(path); in makePath()
394 validate(path); in makePath()
400 validate(path); in makePath()
407 validate(path); in makePath()
413 validate(src); in makePath()
419 validate(path); in makePath()
426 validate(src); in makePath()
430 validate(path); in makePath()
437 validate(src); in makePath()
[all …]

12345678910>>...45