Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_fnmatch.py26 check = self.check_match
27 check('abc', 'abc')
28 check('abc', '?*?')
29 check('abc', '???*')
30 check('abc', '*???')
31 check('abc', '???')
32 check('abc', '*')
33 check('abc', 'ab[cd]')
34 check('abc', 'ab[!de]')
35 check('abc', 'ab[de]', 0)
[all …]
Dtest_sys.py541 check = self.check_sizeof
543 check(True, size(h + 'l'))
546 check(buffer(''), size(h + '2P2Pil'))
548 check(len, size(h + '3P'))
553 check(x, size(vh + 'iPP') + x.__alloc__() * self.c)
555 check(iter(bytearray()), size(h + 'PP'))
562 check(get_cell().func_closure[0], size(h + 'P'))
567 check(class_oldstyle, size(h + '7P'))
569 check(class_oldstyle(), size(h + '3P'))
571 check(class_oldstyle().method, size(h + '4P'))
[all …]
Dtest_rfc822.py37 def check(self, msg, results): member in MessageTestCase
68 self.check(
78 self.check(
87 self.check(
98 self.check(
107 self.check(
124 self.check(
132 self.check(
138 self.check(
146 self.check(
[all …]
Dtest_hashlib.py160 def check(self, name, data, digest): member in HashLibTestCase
176 self.check(algorithm_name, u'spam', expected)
189 self.check('md5', '', 'd41d8cd98f00b204e9800998ecf8427e')
192 self.check('md5', 'abc', '900150983cd24fb0d6963f7d28e17f72')
195 self.check('md5', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789',
202 self.check('md5', 'A'*size, 'c9af2dff37468ce5dfee8f2cfc0a9c6d')
210 self.check('md5', 'A'*size, '28138d306ff1b8281f1a9067e1a1a2b3')
219 self.check('sha1', "",
223 self.check('sha1', "abc",
227 self.check('sha1', "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
[all …]
Dtest_imageop.py47 def check(self, name, *extra): member in InputValidationTests
55 self.check("grey2mono", 128)
56 self.check("grey2grey4")
57 self.check("grey2grey2")
58 self.check("dither2mono")
59 self.check("dither2grey2")
60 self.check("mono2grey", 0, 0)
61 self.check("grey22grey")
62 self.check("rgb2rgb8") # nlen*4 == len
63 self.check("rgb82rgb")
[all …]
Dtest_sha.py17 def check(self, data, digest): member in SHATestCase
36 self.check("abc",
40 self.check("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
44 self.check("a" * 1000000,
48 self.check(chr(0xAA) * 80,
Dtest_textwrap.py31 def check(self, result, expect): member in BaseTestCase
38 self.check(result, expect)
89 self.check(result, expect)
92 self.check(result, '\n'.join(expect))
102 self.check(wrapper.wrap(text), expect)
109 self.check(wrapper.wrap(text), expect)
112 self.check(wrapper.wrap(text), expect)
116 self.check(wrapper.wrap(text), expect)
120 self.check(wrapper.wrap(text), expect)
126 self.check(wrapper.wrap(text), expect)
[all …]
Dtest_tuple.py123 check = self._tracked if always_track else self._not_tracked
124 check(tp())
125 check(tp([]))
126 check(tp(set()))
127 check(tp([1, x, y]))
128 check(tp(obj for obj in [1, x, y]))
129 check(tp(set([1, x, y])))
130 check(tp(tuple([obj]) for obj in [1, x, y]))
131 check(tuple(tp([obj]) for obj in [1, x, y]))
Dtest_sort.py9 def check(tag, expected, raw, compare=None): function
84 check("identity", x, s)
88 check("reversed", x, s)
92 check("random permutation", x, s)
97 check("reversed via function", y, s, lambda a, b: cmp(b, a))
104 check("an insane function left some permutation", x, s)
117 check("exception during sort left some permutation", x, s)
123 check("stability", x, s)
Dtest___future__.py35 def check(t, name): function
48 check(optional, "optional")
50 check(mandatory, "mandatory")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
Dtest_fixers.py36 def check(self, before, after, ignore_warnings=False): member in FixerTestCase
80 self.check(b, a)
88 self.check(b, a)
96 self.check(b, a)
104 self.check(b, a)
109 self.check(b, a)
114 self.check(b, a)
119 self.check(b, a)
124 self.check(b, a)
129 self.check(b, a)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_check.py5 from distutils.command.check import check, HAS_DOCUTILS
17 cmd = check(dist)
53 cmd = check(dist)
71 cmd = check(dist)
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckLib/
DVarCheckLib.uni2 // Provides variable check services and database management.
4 // Provides variable check services and database management.
18 #string STR_MODULE_ABSTRACT #language en-US "Provides variable check services and datab…
20 #string STR_MODULE_DESCRIPTION #language en-US "Provides variable check services and datab…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dinflate.c377 # define UPDATE(check, buf, len) \ argument
378 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
380 # define UPDATE(check, buf, len) adler32(check, buf, len) argument
385 # define CRC2(check, word) \ argument
389 check = crc32(check, hbuf, 2); \
392 # define CRC4(check, word) \ argument
398 check = crc32(check, hbuf, 4); \
597 state->check = crc32(0L, Z_NULL, 0);
598 CRC2(state->check, hold);
629 strm->adler = state->check = adler32(0L, Z_NULL, 0);
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckPcdLib/
DVarCheckPcdLib.uni2 // NULL class library to register var check PCD handler.
4 // NULL class library to register var check PCD handler.
18 #string STR_MODULE_ABSTRACT #language en-US "NULL class library to register var check P…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL class library to register var check P…
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DVarCheckHiiLib.uni2 // NULL class library to register var check HII handler.
4 // NULL class library to register var check HII handler.
18 #string STR_MODULE_ABSTRACT #language en-US "NULL class library to register var check H…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL class library to register var check H…
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PlatformVarCleanupLib/
DPlatformVarCleanupLib.uni2 // NULL class library to register var check HII handler.
4 // NULL class library to register var check HII handler.
18 #string STR_MODULE_ABSTRACT #language en-US "NULL class library to register var check H…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL class library to register var check H…
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckUefiLib/
DVarCheckUefiLib.uni2 // NULL library class to register var check handler and variable property set for UEFI defined vari…
4 // NULL library class to register var check handler and variable property set for UEFI defined vari…
18 #string STR_MODULE_ABSTRACT #language en-US "NULL library class to register var check h…
20 #string STR_MODULE_DESCRIPTION #language en-US "NULL library class to register var check h…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dinflate.c433 # define UPDATE(check, buf, len) \ argument
434 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
436 # define UPDATE(check, buf, len) adler32(check, buf, len) argument
441 # define CRC2(check, word) \ argument
445 check = crc32(check, hbuf, 2); \
448 # define CRC4(check, word) \ argument
454 check = crc32(check, hbuf, 4); \
648 state->check = crc32(0L, Z_NULL, 0);
649 CRC2(state->check, hold);
682 strm->adler = state->check = adler32(0L, Z_NULL, 0);
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
Dtest_indent.py45 def check(indent, expected): function
54 check(0, '{\n"3": 1\n}')
56 check(None, '{"3": 1}')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
Dtest_indent.py45 def check(indent, expected): function
54 check(0, '{\n"3": 1\n}')
56 check(None, '{"3": 1}')
/device/linaro/bootloader/edk2/MdePkg/Library/SmmMemLib/
DSmmMemLib.uni2 // SMM memory check library.
4 // SMM memory check library library implementation. This library consumes SMM_ACCESS2_PROTOCOL
21 #string STR_MODULE_ABSTRACT #language en-US "SMM memory check library"
23 #string STR_MODULE_DESCRIPTION #language en-US "SMM memory check library library implement…
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWritePei/
DFaultTolerantWritePei.uni4 // This module installs gEdkiiFaultTolerantWriteGuid PPI to inform the check for FTW last write dat…
18 …n-US "This module installs gEdkiiFaultTolerantWriteGuid PPI to inform the check for FTW last write…
20 …n-US "This module installs gEdkiiFaultTolerantWriteGuid PPI to inform the check for FTW last write…
/device/google/marlin/
Dfstab.common3 # specify 'check', and must come before any filesystems that do specify 'check'
11 …rors=panic,noatime,nosuid,nodev,barrier=1,noauto_da_alloc latemount,wait,check,formattable,fileen…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dregister.py63 use the check command instead", PendingDeprecationWarning)
64 check = self.distribution.get_command_obj('check')
65 check.ensure_finalized()
66 check.strict = self.strict
67 check.restructuredtext = 1
68 check.run()

12345678910>>...13