/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ |
H A D | syntax.py | 14 def check(tree, multi=None):
function
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
H A D | test_indent.py | 45 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 D | test_indent.py | 45 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 D | test___future__.py | 35 def check(t, name):
function in function:FutureTest.test_attributes 48 check(optional, "optional")
50 check(mandatory, "mandatory")
|
H A D | test_complex_args.py | 8 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 D | test_sha.py | 17 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 D | test_print.py | 47 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 D | test_imageop.py | 47 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 D | test_rfc822.py | 37 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 D | test_decorators.py | 31 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 D | test_hashlib.py | 160 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 D | test_sort.py | 9 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 D | test_textwrap.py | 31 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 D | test_check.py | 1 """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 D | checkappend.py | 63 check(arg)
65 def check(file):
function 75 check(fullname)
|
H A D | cleanfuture.py | 76 check(arg)
78 def check(file):
function 88 check(fullname)
|
H A D | reindent.py | 92 check(arg)
94 def check(file):
function 105 check(fullname)
|
/device/google/marlin/dataservices/datatop/src/ |
H A D | datatop_value_only_poll.c | 64 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 D | check.py | 1 """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 D | tabnanny.py | 9 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 D | plat_io_storage.c | 139 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 D | fvp_io_storage.c | 139 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 D | pystate.c | 276 /* 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 D | FSProxy.py | 79 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 D | test_refactor.py | 203 def check(structure, expected):
function in function:TestRefactoringTool.test_refactor_dir 221 check([], [])
229 check(tree, expected)
232 check(tree, tree)
|