Searched defs:check (Results 1 - 25 of 42) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
H A Dsyntax.py14 def check(tree, multi=None): function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
H A Dtest_indent.py45 def check(indent, expected): function in function:TestIndent.test_indent0
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/
H A Dtest_indent.py45 def check(indent, expected): function in function:TestIndent.test_indent0
54 check(0, '{\n"3": 1\n}')
56 check(None, '{"3": 1}')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest___future__.py35 def check(t, name): function in function:FutureTest.test_attributes
48 check(optional, "optional")
50 check(mandatory, "mandatory")
H A Dtest_complex_args.py8 def check(self, func, expected, *args): member in class:ComplexArgsTestCase
20 self.check(f, 1, 1)
23 self.check(f, 2, 2)
29 self.check(f, 3, (3,))
31 self.check(f, 4, (4,))
33 self.check(f, 5, (5,))
35 self.check(f, 6, (6,))
41 self.check(f, 2, ((2,),))
47 self.check(f, 3, (((3,),),))
53 self.check(
[all...]
H A Dtest_sha.py17 def check(self, data, digest): member in class:SHATestCase
36 self.check("abc",
40 self.check("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
44 self.check("a" * 1000000,
48 self.check(chr(0xAA) * 80,
H A Dtest_print.py47 def check(self, expected, args, member in class:TestPrint
69 self.check(expected, args, sep=sep, end=end)
73 self.check('', args, sep=sep, end=end, file=o)
H A Dtest_imageop.py47 def check(self, name, *extra): member in class: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("rgb82rg
[all...]
H A Dtest_rfc822.py37 def check(self, msg, results): member in class: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...]
H A Dtest_decorators.py31 def check(*args, **kwds): function in function:dbcheck.decorate
35 return check
158 # Sanity check: is expr is a valid expression by itself?
H A Dtest_hashlib.py160 def check(self, name, data, digest): member in class: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('sha
[all...]
H A 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)
H A Dtest_textwrap.py31 def check(self, result, expect): member in class: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(wrappe
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
H A Dtest_check.py1 """Tests for distutils.command.check."""
5 from distutils.command.check import check, HAS_DOCUTILS namespace
17 cmd = check(dist)
27 # by default, check is checking the metadata
53 cmd = check(dist)
71 cmd = check(dist)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Dcheckappend.py63 check(arg)
65 def check(file): function
75 check(fullname)
H A Dcleanfuture.py76 check(arg)
78 def check(file): function
88 check(fullname)
H A Dreindent.py92 check(arg)
94 def check(file): function
105 check(fullname)
/device/google/marlin/dataservices/datatop/src/
H A Ddatatop_value_only_poll.c64 FILE *check = fopen(dpg->file, "r"); local
65 if (check) {
66 fclose(check);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
H A Dcheck.py1 """distutils.command.check
3 Implements the Distutils 'check' command.
34 class check(Command): class in inherits:Command
43 'Will exit with an error if a check fails')]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dtabnanny.py9 check() described below.
30 __all__ = ["check", "NannyNag", "process_tokens"]
58 check(arg)
63 Captured and handled in check().
74 def check(file): function
75 """check(file_or_dir)
93 check(fullname)
300 # there's nothing we need to check here! what's important is
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/
H A Dplat_io_storage.c139 int (*check)(const uintptr_t spec); member in struct:plat_io_policy
298 result = policy->check(policy->image_spec);
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/
H A Dfvp_io_storage.c139 int (*check)(const uintptr_t spec); member in struct:plat_io_policy
317 result = policy->check(policy->image_spec);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dpystate.c276 /* Sanity check. These states should never happen but if
278 * in a tight loop with the lock held. A similar check is done
352 PyThreadState *check = PyGILState_GetThisThreadState(); local
353 if (check && check->interp == newts->interp && check != newts)
630 /* XXX - remove the check - the assert should be fine,
631 but while this is very new (April 2003), the extra check
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
H A DFSProxy.py79 def check(self, name): member in class:FSProxyLocal
84 self.check(name)
92 self.check(name)
239 self.check(name)
259 self.check(name)
263 self.check(name)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
H A Dtest_refactor.py203 def check(structure, expected): function in function:TestRefactoringTool.test_refactor_dir
221 check([], [])
229 check(tree, expected)
232 check(tree, tree)

Completed in 347 milliseconds

12