/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
infinite_reload.py | 6 import imp
8 imp.reload(infinite_reload)
|
test_imp.py | 1 import imp
11 self.assertEqual(imp.lock_held(), expected,
12 "expected imp.lock_held() to be %r" % expected)
18 lock_held_at_start = imp.lock_held()
22 imp.acquire_lock()
26 imp.release_lock()
33 imp.release_lock()
42 """Very basic tests to make sure that imp.reload() operates just like
55 imp.reload(os)
60 imp.reload(time) [all...] |
test_pdb.py | 4 import imp
184 mod = imp.new_module('module_to_skip')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
infinite_reload.py | 6 import imp 8 imp.reload(infinite_reload)
|
test_imp.py | 1 import imp 11 self.assertEqual(imp.lock_held(), expected, 12 "expected imp.lock_held() to be %r" % expected) 18 lock_held_at_start = imp.lock_held() 22 imp.acquire_lock() 26 imp.release_lock() 33 imp.release_lock() 42 """Very basic tests to make sure that imp.reload() operates just like 55 imp.reload(os) 60 imp.reload(time [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
infinite_reload.py | 6 import imp 8 imp.reload(infinite_reload)
|
test_imp.py | 1 import imp 11 self.assertEqual(imp.lock_held(), expected, 12 "expected imp.lock_held() to be %r" % expected) 18 lock_held_at_start = imp.lock_held() 22 imp.acquire_lock() 26 imp.release_lock() 33 imp.release_lock() 42 """Very basic tests to make sure that imp.reload() operates just like 55 imp.reload(os) 60 imp.reload(time [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
infinite_reload.py | 6 import imp 8 imp.reload(infinite_reload)
|
test_imp.py | 1 import imp 11 self.assertEqual(imp.lock_held(), expected, 12 "expected imp.lock_held() to be %r" % expected) 18 lock_held_at_start = imp.lock_held() 22 imp.acquire_lock() 26 imp.release_lock() 33 imp.release_lock() 42 """Very basic tests to make sure that imp.reload() operates just like 55 imp.reload(os) 60 imp.reload(time [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
infinite_reload.py | 6 import imp 8 imp.reload(infinite_reload)
|
test_imp.py | 1 import imp 11 self.assertEqual(imp.lock_held(), expected, 12 "expected imp.lock_held() to be %r" % expected) 18 lock_held_at_start = imp.lock_held() 22 imp.acquire_lock() 26 imp.release_lock() 33 imp.release_lock() 42 """Very basic tests to make sure that imp.reload() operates just like 55 imp.reload(os) 60 imp.reload(time [all...] |
/external/autotest/client/cros/ |
factory_setup_modules.py | 9 import imp, logging, os, sys 22 cros = imp.load_module('cros', None, '', ('', '', imp.PKG_DIRECTORY)) 25 cros.factory = imp.load_module( 27 *imp.find_module('cros/factory', sys.path + extra_path))
|
/external/autotest/site_utils/autoupdate/ |
import_common.py | 7 import imp 21 return imp.load_module(module_name, *imp.find_module(module_name)) 30 return imp.load_module(module_name, *imp.find_module(module_name))
|
/external/icu/icu4c/source/test/intltest/ |
simplethread.cpp | 145 Win32ThreadImplementation *imp = new Win32ThreadImplementation; local 146 imp->fHandle = 0; 147 fImplementation = imp; 155 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; local 156 if (imp != 0) { 157 if (imp->fHandle != 0) { 158 CloseHandle(imp->fHandle); 159 imp->fHandle = 0; 167 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; local 168 if(imp->fHandle != NULL) 196 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; local 230 PosixThreadImplementation *imp = new PosixThreadImplementation; local 236 PosixThreadImplementation *imp = (PosixThreadImplementation*)fImplementation; local 247 PosixThreadImplementation *imp = (PosixThreadImplementation*)fImplementation; local 276 PosixThreadImplementation *imp = (PosixThreadImplementation*)fImplementation; local [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
_qpol.py | 3 import sys, pkg_resources, imp 6 imp.load_dynamic(__name__,__file__)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_import.py | 42 import_from< 'from' imp=any 'import' ['('] any [')'] >
44 import_name< 'import' imp=any >
54 imp = results['imp']
61 while not hasattr(imp, 'value'):
62 imp = imp.children[0]
63 if self.probably_a_local_import(imp.value):
64 imp.value = u"." + imp.value [all...] |
/external/libcxx/test/std/strings/basic.string/string.cons/ |
copy_alloc.pass.cpp | 46 alloc_imp<T> *imp; member in struct:poca_alloc 48 poca_alloc(alloc_imp<T> *imp_) : imp (imp_) {} 51 poca_alloc(const poca_alloc<U>& other) : imp(other.imp) {} 53 T* allocate (std::size_t n) { return imp->allocate(n);} 54 void deallocate(T* p, std::size_t n) { imp->deallocate(p, n); } 60 return lhs.imp == rhs.imp; 66 return lhs.imp != rhs.imp; [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_import.py | 42 import_from< 'from' imp=any 'import' ['('] any [')'] > 44 import_name< 'import' imp=any > 54 imp = results['imp'] 61 while not hasattr(imp, 'value'): 62 imp = imp.children[0] 63 if self.probably_a_local_import(imp.value): 64 imp.value = u"." + imp.valu [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_import.py | 42 import_from< 'from' imp=any 'import' ['('] any [')'] > 44 import_name< 'import' imp=any > 54 imp = results['imp'] 61 while not hasattr(imp, 'value'): 62 imp = imp.children[0] 63 if self.probably_a_local_import(imp.value): 64 imp.value = u"." + imp.valu [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_import.py | 42 import_from< 'from' imp=any 'import' ['('] any [')'] > 44 import_name< 'import' imp=any > 54 imp = results['imp'] 61 while not hasattr(imp, 'value'): 62 imp = imp.children[0] 63 if self.probably_a_local_import(imp.value): 64 imp.value = u"." + imp.valu [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_import.py | 42 import_from< 'from' imp=any 'import' ['('] any [')'] > 44 import_name< 'import' imp=any > 54 imp = results['imp'] 61 while not hasattr(imp, 'value'): 62 imp = imp.children[0] 63 if self.probably_a_local_import(imp.value): 64 imp.value = u"." + imp.valu [all...] |
/external/autotest/client/cros/cellular/mbim_compliance/ |
mbim_test_runner.py | 11 import imp 43 test_module = imp.load_source(subtest_name, module_name)
|
/external/boringssl/src/util/bot/go/ |
env.py | 24 import imp 30 bootstrap = imp.load_source(
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/ |
util.py | 4 import imp 27 same as imp.find_module, but handles dotted names 34 result = imp.find_module(name, path) 57 return imp.find_module(name, [path_item]) 71 yield name, (None, None, ("", "", imp.C_BUILTIN)) 81 res = (fp, res.path, ('.py', 'rU', imp.PY_SOURCE)) 84 fp = BytesIO(imp.get_magic() + b'\0\0\0\0' + marshal.dumps(co)) 85 res = (fp, res.path, ('.pyc', 'rb', imp.PY_COMPILED)) 88 res = (None, loader.path, (os.path.splitext(loader.path)[-1], 'rb', imp.C_EXTENSION))
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/generate/ |
generator_unittest.py | 5 import imp 21 imp.find_module("mojom")
|