Home
last modified time | relevance | path

Searched refs:imp (Results 1 – 25 of 376) sorted by relevance

12345678910>>...16

/external/python/cpython3/Lib/test/
Dtest_imp.py13 import imp
21 return unittest.skipIf(not hasattr(imp, 'load_dynamic'),
30 self.assertEqual(imp.lock_held(), expected,
37 lock_held_at_start = imp.lock_held()
41 imp.acquire_lock()
45 imp.release_lock()
52 imp.release_lock()
73 with imp.find_module('module_' + mod, self.test_path)[0] as fd:
78 imp.find_module('badsyntax_pep3120', path)
82 fp, filename, info = imp.find_module('module_' + mod,
[all …]
Dtest_fork1.py4 import _imp as imp namespace
27 imp.acquire_lock()
32 imp.release_lock()
73 imp.acquire_lock()
79 imp.release_lock()
/external/rust/crates/getrandom/src/
Dlib.rs172 #[path = "use_file.rs"] mod imp;
176 #[path = "linux_android.rs"] mod imp;
180 #[path = "solaris_illumos.rs"] mod imp;
183 #[path = "bsd_arandom.rs"] mod imp;
185 #[path = "fuchsia.rs"] mod imp;
187 #[path = "ios.rs"] mod imp;
191 #[path = "macos.rs"] mod imp;
194 #[path = "openbsd.rs"] mod imp;
196 #[path = "wasi.rs"] mod imp;
199 #[path = "vxworks.rs"] mod imp;
[all …]
/external/rust/crates/parking_lot_core/src/thread_parker/
Dmod.rs56 mod imp;
59 mod imp;
62 mod imp;
65 mod imp;
68 mod imp;
75 mod imp;
78 mod imp;
81 mod imp;
85 pub use self::imp::{thread_yield, ThreadParker, UnparkHandle};
/external/rust/crates/regex-syntax/src/
Dunicode.rs85 fn imp( in simple_fold() function
94 fn imp( in simple_fold() function
112 imp(c) in simple_fold()
127 fn imp(_: char, _: char) -> FoldResult<bool> { in contains_simple_case_mapping() function
132 fn imp(start: char, end: char) -> FoldResult<bool> { in contains_simple_case_mapping() function
150 imp(start, end) in contains_simple_case_mapping()
327 fn imp() -> Result<hir::ClassUnicode> { in perl_word() function
332 fn imp() -> Result<hir::ClassUnicode> { in perl_word() function
337 imp() in perl_word()
345 fn imp() -> Result<hir::ClassUnicode> { in perl_space() function
[all …]
/external/rust/crates/memchr/src/
Dlib.rs136 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
142 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
152 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
162 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
169 imp(needle, haystack) in memchr()
199 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() function
205 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() function
214 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() function
221 imp(needle1, needle2, haystack) in memchr2()
256 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memchr3() function
[all …]
/external/python/cpython2/Lib/test/
Dtest_imp.py1 import imp
16 self.assertEqual(imp.lock_held(), expected,
23 lock_held_at_start = imp.lock_held()
27 imp.acquire_lock()
31 imp.release_lock()
38 imp.release_lock()
60 imp.reload(os)
65 imp.reload(time)
70 imp.reload(marshal)
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_import.py54 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
65 imp.changed()
69 for mod_name in traverse_imports(imp):
81 new = FromImport(u".", [imp])
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_import.py54 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 = "." + imp.value
65 imp.changed()
69 for mod_name in traverse_imports(imp):
81 new = FromImport(".", [imp])
/external/llvm/test/CodeGen/X86/
D2010-05-12-FastAllocKills.ll11 ; FP_REG_KILL %FP0<imp-def>, %FP1<imp-def>, %FP2<imp-def>, %FP3<imp-def>, %FP4<imp-def>, %FP5<imp-d…
25 ; FP_REG_KILL %FP0<imp-def>, %FP1<imp-def>, %FP2<imp-def>, %FP3<imp-def>, %FP4<imp-def>, %FP5<imp-d…
D2010-04-08-CoalescerBug.ll5 ; %RDI<def,dead> = MOV64rr %RAX<kill>, %EDI<imp-def>
6 ; REP_MOVSD %ECX<imp-def,dead>, %EDI<imp-def,dead>, %ESI<imp-def,dead>, %ECX<imp-use,kill>, %EDI<im…
Dhandle-move.ll11 ; 144B -> 180B: DIV32r %vreg4, %EAX<imp-def>, %EDX<imp-def,dead>, %EFLAGS<imp-def,dead>, %EAX<imp-u…
28 ; 144B -> 180B: DIV32r %vreg4, %EAX<imp-def,dead>, %EDX<imp-def>, %EFLAGS<imp-def,dead>, %EAX<imp-u…
62 ; handleMove 208B -> 36B: %EDX<def> = MOV32r0 %EFLAGS<imp-def,dead>
/external/rust/crates/proc-macro2/src/
Dlib.rs102 use crate::fallback as imp;
105 mod imp; module
127 inner: imp::TokenStream,
133 inner: imp::LexError,
138 fn _new(inner: imp::TokenStream) -> TokenStream { in _new()
154 TokenStream::_new(imp::TokenStream::new()) in new()
207 TokenStream::_new(imp::TokenStream::from(token)) in from()
280 inner: imp::SourceFile,
286 fn _new(inner: imp::SourceFile) -> Self { in _new()
358 inner: imp::Span,
[all …]
/external/libcxx/test/std/strings/basic.string/string.cons/
Dcopy_alloc.pass.cpp46 alloc_imp<T> *imp; member
48 poca_alloc(alloc_imp<T> *imp_) : imp (imp_) {} in poca_alloc()
51 poca_alloc(const poca_alloc<U>& other) : imp(other.imp) {} in poca_alloc()
53 T* allocate (std::size_t n) { return imp->allocate(n);} in allocate()
54 void deallocate(T* p, std::size_t n) { imp->deallocate(p, n); } in deallocate()
60 return lhs.imp == rhs.imp; in operator ==()
66 return lhs.imp != rhs.imp; in operator !=()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.cons/
Dcopy_alloc.pass.cpp46 alloc_imp *imp; member
48 poca_alloc(alloc_imp *imp_) : imp (imp_) {} in poca_alloc()
51 poca_alloc(const poca_alloc<U>& other) : imp(other.imp) {} in poca_alloc()
53 T* allocate (std::size_t n) { return imp->allocate<T>(n);} in allocate()
54 void deallocate(T* p, std::size_t n) { imp->deallocate(p, n); } in deallocate()
60 return lhs.imp == rhs.imp; in operator ==()
66 return lhs.imp != rhs.imp; in operator !=()
/external/llvm-project/libcxxabi/src/
Dcxa_guard.cpp38 SelectedImplementation imp(raw_guard_object); in __cxa_guard_acquire() local
39 return static_cast<int>(imp.cxa_guard_acquire()); in __cxa_guard_acquire()
43 SelectedImplementation imp(raw_guard_object); in __cxa_guard_release() local
44 imp.cxa_guard_release(); in __cxa_guard_release()
48 SelectedImplementation imp(raw_guard_object); in __cxa_guard_abort() local
49 imp.cxa_guard_abort(); in __cxa_guard_abort()
/external/rust/crates/libloading/src/
Dlib.rs52 use self::os::unix as imp;
54 use self::os::windows as imp;
63 pub struct Library(imp::Library);
129 imp::Library::new(filename).map(From::from) in new()
216 impl From<imp::Library> for Library {
217 fn from(lib: imp::Library) -> Library { in from()
222 impl From<Library> for imp::Library {
223 fn from(lib: Library) -> imp::Library { in from()
241 inner: imp::Symbol<T>,
264 pub unsafe fn into_raw(self) -> imp::Symbol<T> { in into_raw()
[all …]
/external/rust/crates/regex-automata/src/
Dtransducer.rs5 macro_rules! imp { macro
33 imp!(crate::dense::DenseDFA<T, S>, S);
34 imp!(crate::dense::Standard<T, S>, S);
35 imp!(crate::dense::ByteClass<T, S>, S);
36 imp!(crate::dense::Premultiplied<T, S>, S);
37 imp!(crate::dense::PremultipliedByteClass<T, S>, S);
38 imp!(crate::sparse::SparseDFA<T, S>, u8);
39 imp!(crate::sparse::Standard<T, S>, u8);
40 imp!(crate::sparse::ByteClass<T, S>, u8);
/external/autotest/client/cros/
Dfactory_setup_modules.py9 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/python/cpython2/Lib/
Dpkgutil.py5 import imp
21 if magic != imp.get_magic():
183 file, filename, etc = imp.find_module(subname, path)
243 mod = imp.load_module(fullname, self.file, self.filename, self.etc)
258 if mod_type==imp.PY_SOURCE:
260 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
273 return self.etc[2]==imp.PKG_DIRECTORY
279 if mod_type==imp.PY_SOURCE:
282 elif mod_type==imp.PY_COMPILED:
288 elif mod_type==imp.PKG_DIRECTORY:
[all …]
Dihooks.py57 import imp
67 from imp import C_EXTENSION, PY_SOURCE, PY_COMPILED
68 from imp import C_BUILTIN, PY_FROZEN, PKG_DIRECTORY
130 return imp.find_module(name, [dir])
136 if imp.is_builtin(name):
138 if imp.is_frozen(name):
145 return imp.load_module(name, file, filename, info)
162 def get_suffixes(self): return imp.get_suffixes()
163 def new_module(self, name): return imp.new_module(name)
164 def is_builtin(self, name): return imp.is_builtin(name)
[all …]
/external/llvm/test/CodeGen/ARM/
Dvldm-liveness.ll4 ; s1 = VLDRS [r0, 1], Q0<imp-def>
5 ; s3 = VLDRS [r0, 2], Q0<imp-use,kill>, Q0<imp-def>
6 ; s0 = VLDRS [r0, 0], Q0<imp-use,kill>, Q0<imp-def>
7 ; s2 = VLDRS [r0, 4], Q0<imp-use,kill>, Q0<imp-def>
11 ; imp-use of Q0, which is undefined.
/external/python/cpython3/Lib/
Dpkgutil.py190 global imp
193 imp = importlib.import_module('imp')
207 global imp
223 file, filename, etc = imp.find_module(subname, path)
286 mod = imp.load_module(fullname, self.file, self.filename, self.etc)
301 if mod_type==imp.PY_SOURCE:
303 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
316 return self.etc[2]==imp.PKG_DIRECTORY
322 if mod_type==imp.PY_SOURCE:
325 elif mod_type==imp.PY_COMPILED:
[all …]
/external/llvm-project/polly/lib/External/isl/
Dpy-compile119 import sys, os, py_compile, imp
132 if hasattr(imp, 'get_tag'):
133 py_compile.compile(filepath, imp.cache_from_source(filepath), path)
140 import sys, os, py_compile, imp
156 if hasattr(imp, 'get_tag'):
157 py_compile.compile(filepath, imp.cache_from_source(filepath, False), path)
/external/llvm-project/debuginfo-tests/dexter/dex/tools/help/
DTool.py9 import imp
44 module_info = imp.find_module(internal_name, [tools_directory])
45 tool_doc = imp.load_module(internal_name,
59 module_info = imp.find_module(tool_name, [tools_directory])
60 module = imp.load_module(tool_name, *module_info)

12345678910>>...16