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

12

/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/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/arm-trusted-firmware/plat/hikey/
H A Dplat_io_storage.c135 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/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/edk2/AppPkg/Applications/Lua/src/
H A Dlparser.c110 static void check (LexState *ls, int c) { function
117 check(ls, c);
141 check(ls, TK_NAME);
369 /* check labels in current block for a match */
399 ** check whether new label 'lb' matches any pending gotos in current
415 ** "export" pending gotos to outer level, to check them against
589 ** check whether current token is in the follow set of a block.
1103 ** check whether, in an assignment to an upvalue/local variable, the
1112 for (; lh; lh = lh->prev) { /* check all previous assignments */
1194 /* check fo
[all...]
/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.10/Modules/zlib/
H A Dinflate.h30 DICTID, /* i: waiting for dictionary check value */
33 TYPEDO, /* i: same, but skip check to exit inflate on new block */
47 CHECK, /* i: waiting for 32-bit check value */
49 DONE, /* finished check, done -- remain here until reset */
88 unsigned long check; /* protected copy of check value */ member in struct:inflate_state
/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/compiler/
H A Dsyntax.py14 def check(tree, multi=None): function
/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/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/Lib/
H A Dimaplib.py365 def check(self): member in class:IMAP4
368 (typ, [data]) = <instance>.check()
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/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/lib2to3/tests/
H A Dtest_fixers.py36 def check(self, before, after, ignore_warnings=False): member in class: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(
3005 def check(self, b, a): member in class:Test_map
3113 def check(self, b, a): member in class:Test_zip
[all...]
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)
/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.py37 # check that relative difference < eps
56 # both zero; check that signs match
69 """Compute complex z=x*y, and check that z/x==y and z/y==x."""
144 def check(n, deltas, is_equal, imag = 0.0): function in function:ComplexTest.test_richcompare_boundaries
156 check(2 ** pow, range(1, 101), lambda delta: delta % mult == 0)
157 check(2 ** pow, range(1, 101), lambda delta: False, float(i))
158 check(2 ** 53, range(-100, 0), lambda delta: True)
285 # check that the sign of a zero in the real or imaginary part
340 # check that complex accepts long unicode strings
442 x /= 3.0 # now check agains
[all...]
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_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_descr.py1200 # Issue2115: slot descriptors did not correctly check
2530 # Because octlong overrides __add__, we can't check the absence of +0
3001 def check(descr, what): function in function:.test_descrdoc
3003 check(file.closed, "True if the file is closed") # getset descriptor
3004 check(file.name, "file name") # member descriptor
4071 # check here that E's gets restored.
4191 # Now check various error cases
4415 def check(expr, x, y): function in function:.test_not_implemented
4452 check(expr, a, a)
4453 check(exp
[all...]
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_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_operator.py194 def check(self, o, v): function in function:OperatorTestCase.test_isCallable
198 check(self, 4, 0)
199 check(self, operator.isCallable, 1)
200 check(self, C, 1)
201 check(self, C(), 0)

Completed in 451 milliseconds

12