Home
last modified time | relevance | path

Searched refs:imp (Results 1 - 25 of 95) sorted by relevance

1234

/third_party/python/Lib/test/
H A Dtest_imp.py15 imp = warnings_helper.import_deprecated('imp') variable
24 imp.load_dynamic()."""
26 return unittest.skipIf(getattr(imp, 'load_dynamic', None) is None,
27 'imp.load_dynamic() required')(meth)
35 self.assertEqual(imp.lock_held(), expected,
36 "expected imp.lock_held() to be %r" % expected)
42 lock_held_at_start = imp.lock_held()
46 imp.acquire_lock()
50 imp
[all...]
H A Dtest_fork1.py4 import _imp as imp namespace
29 imp.acquire_lock()
34 imp.release_lock()
75 imp.acquire_lock()
81 imp.release_lock()
/third_party/rust/crates/memchr/src/memchr/
H A Dmod.rs90 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter() functions
96 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter() functions
106 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter() functions
116 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr_iter() functions
123 imp(needle, haystack) in memchr_iter()
154 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() functions
160 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() functions
169 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() functions
176 imp(needle1, needle2, haystack) in memchr2()
212 fn imp(n in memchr3() functions
218 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { memchr3() functions
227 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { memchr3() functions
263 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { memrchr() functions
269 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { memrchr() functions
280 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { memrchr() functions
290 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { memrchr() functions
328 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { memrchr2() functions
334 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { memrchr2() functions
343 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { memrchr2() functions
386 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { memrchr3() functions
392 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { memrchr3() functions
401 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { memrchr3() functions
[all...]
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_import.py42 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 = "." + imp
[all...]
/third_party/rust/crates/memchr/bench/src/memmem/
H A Dmod.rs99 mod imp; modules
115 let available = imp::$impl::available($q.needle); in oneshot()
126 "{dir}/{imp}/{config}/{inp}/{freq}-{q}", in oneshot()
128 imp = stringify!($impl), in oneshot()
149 define!("memmem", imp::$impl::fwd::oneshot); in oneshot()
151 define!("memrmem", imp::$impl::rev::oneshot); in oneshot()
185 let available = imp::$impl::available($q.needle); in prebuilt()
196 "{dir}/{imp}/{config}/{inp}/{freq}-{q}", in prebuilt()
198 imp = stringify!($impl), in prebuilt()
217 define!("memmem", imp in prebuilt()
[all...]
/third_party/rust/crates/proc-macro2/src/
H A Dlib.rs154 use crate::fallback as imp;
157 mod imp; modules
186 inner: imp::TokenStream,
192 inner: imp::LexError,
197 fn _new(inner: imp::TokenStream) -> Self { in _new()
213 TokenStream::_new(imp::TokenStream::new()) in new()
268 TokenStream::_new(imp::TokenStream::from(token)) in from()
341 inner: imp::SourceFile,
347 fn _new(inner: imp::SourceFile) -> Self { in _new()
388 inner: imp
[all...]
H A Dextra.rs5 use crate::imp;
32 pub(crate) fn new(group: &imp::Group) -> Self {
35 imp::Group::Compiler(group) => DelimSpanEnum::Compiler {
40 imp::Group::Fallback(group) => DelimSpanEnum::Fallback(group.span()),
56 DelimSpanEnum::Compiler { join, .. } => Span::_new(imp::Span::Compiler(*join)), in join()
65 DelimSpanEnum::Compiler { open, .. } => Span::_new(imp::Span::Compiler(*open)), in open()
74 DelimSpanEnum::Compiler { close, .. } => Span::_new(imp::Span::Compiler(*close)), in close()
/third_party/rust/crates/regex/regex-syntax/src/
H A Dunicode.rs85 fn imp( in fmt() functions
94 fn imp( in fmt() functions
112 imp(c) in fmt()
127 fn imp(_: char, _: char) -> FoldResult<bool> { in contains_simple_case_mapping() functions
132 fn imp(start: char, end: char) -> FoldResult<bool> { in contains_simple_case_mapping() functions
150 imp(start, end) in contains_simple_case_mapping()
327 fn imp() -> Result<hir::ClassUnicode> { in perl_word() functions
332 fn imp() -> Result<hir::ClassUnicode> { in perl_word() functions
337 imp() in perl_word()
345 fn imp() in perl_space() functions
350 fn imp() -> Result<hir::ClassUnicode> { perl_space() functions
356 fn imp() -> Result<hir::ClassUnicode> { perl_space() functions
369 fn imp() -> Result<hir::ClassUnicode> { perl_digit() functions
374 fn imp() -> Result<hir::ClassUnicode> { perl_digit() functions
380 fn imp() -> Result<hir::ClassUnicode> { perl_digit() functions
402 fn imp(_: char) -> result::Result<bool, UnicodeWordError> { is_word_character() functions
407 fn imp(c: char) -> result::Result<bool, UnicodeWordError> { is_word_character() functions
472 fn imp(_: &str) -> Result<Option<&'static str>> { canonical_prop() functions
484 fn imp(name: &str) -> Result<Option<&'static str>> { canonical_prop() functions
529 fn imp(_: &'static str) -> Result<Option<PropertyValues>> { canonical_value() functions
541 fn imp(name: &'static str) -> Result<Option<PropertyValues>> { imp() functions
574 fn imp(_: &str) -> Result<impl Iterator<Item = Range>> { ages() functions
580 fn imp(canonical_age: &str) -> Result<impl Iterator<Item = Range>> { ages() functions
630 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { gencat() functions
635 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { gencat() functions
665 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { script() functions
670 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { script() functions
690 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { script_extension() functions
695 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { imp() functions
714 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { bool_property() functions
719 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { bool_property() functions
742 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { gcb() functions
747 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { gcb() functions
766 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { wb() functions
771 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { wb() functions
790 fn imp(_: &'static str) -> Result<hir::ClassUnicode> { sb() functions
795 fn imp(name: &'static str) -> Result<hir::ClassUnicode> { sb() functions
[all...]
/third_party/rust/crates/libloading/src/
H A Dsafe.rs3 use super::os::unix as imp; // the implementation used here doesn't matter particularly much...
5 use super::os::unix as imp;
7 use super::os::windows as imp;
15 pub struct Library(imp::Library);
84 imp::Library::new(filename).map(From::from) in new()
172 impl From<imp::Library> for Library {
173 fn from(lib: imp::Library) -> Library { in from()
178 impl From<Library> for imp::Library {
179 fn from(lib: Library) -> imp::Library { in from()
198 inner: imp
[all...]
/third_party/python/Lib/
H A Dpkgutil.py189 global imp
192 imp = importlib.import_module('imp')
206 global imp
223 file, filename, etc = imp.find_module(subname, path)
287 mod = imp.load_module(fullname, self.file, self.filename, self.etc)
302 if mod_type==imp.PY_SOURCE:
304 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
317 return self.etc[2]==imp
[all...]
/third_party/rust/crates/env_logger/src/fmt/writer/
H A Datty.rs11 mod imp { modules
22 mod imp { modules
32 pub(in crate::fmt) use self::imp::*;
/third_party/rust/crates/regex/src/
H A Dfind_byte.rs7 fn imp(needle: u8, haystack: &[u8]) -> Option<usize> { in find_byte() functions
12 fn imp(needle: u8, haystack: &[u8]) -> Option<usize> { in find_byte() functions
17 imp(needle, haystack) in find_byte()
/third_party/node/deps/openssl/openssl/crypto/
H A Darm_arch.h117 # define MIDR_CPU_MODEL(imp, partnum) \
118 (((imp) << MIDR_IMPLEMENTER_SHIFT) | \
122 # define MIDR_IS_CPU_MODEL(midr, imp, partnum) \
123 (((midr) & MIDR_CPU_MODEL_MASK) == MIDR_CPU_MODEL(imp, partnum))
/third_party/openssl/crypto/
H A Darm_arch.h122 # define MIDR_CPU_MODEL(imp, partnum) \
123 (((imp) << MIDR_IMPLEMENTER_SHIFT) | \
127 # define MIDR_IS_CPU_MODEL(midr, imp, partnum) \
128 (((midr) & MIDR_CPU_MODEL_MASK) == MIDR_CPU_MODEL(imp, partnum))
/third_party/python/Tools/importbench/
H A Dimportbench.py9 import imp namespace
43 module = imp.new_module(name)
68 assert not os.path.exists(imp.cache_from_source(mapping[name]))
83 bytecode_path = imp.cache_from_source(module.__file__)
111 os.unlink(imp.cache_from_source(mapping[name]))
113 assert not os.path.exists(imp.cache_from_source(mapping[name]))
124 os.unlink(imp.cache_from_source(module.__file__))
144 assert os.path.exists(imp.cache_from_source(mapping[name]))
/third_party/rust/crates/regex/src/literal/
H A Dmod.rs1 pub use self::imp::*;
4 mod imp; modules
8 mod imp { modules
/third_party/rust/crates/aho-corasick/src/
H A Dahocorasick.rs87 imp: Imp<S>,
213 let mut start = self.imp.start_state(); in earliest_find()
214 self.imp.earliest_find_at( in earliest_find()
285 self.imp.find_at_no_state(&mut prestate, haystack.as_ref(), 0) in find()
876 self.imp.match_kind() in match_kind()
894 self.imp.max_pattern_len() in max_pattern_len()
919 self.imp.pattern_count() in pattern_count()
1013 match self.imp { in heap_bytes()
1170 FindIter { fsm: &ac.imp, prestate, haystack, pos: 0 } in new()
1237 fsm: &ac.imp, in new()
[all...]
/third_party/rust/crates/os_str_bytes/src/
H A Dlib.rs247 mod imp; modules
297 pub struct EncodingError(imp::EncodingError);
313 ) -> result::Result<Cow<'a, OsStr>, imp::EncodingError> in from_raw_bytes()
318 Cow::Borrowed(string) => imp::os_str_from_bytes(string), in from_raw_bytes()
319 Cow::Owned(string) => imp::os_string_from_vec(string).map(Cow::Owned), in from_raw_bytes()
445 imp::os_str_to_bytes(self) in to_raw_bytes()
567 expect_encoded!(imp::os_string_from_vec(string)) in assert_from_raw_vec()
572 imp::os_string_from_vec(string).map_err(EncodingError) in from_raw_vec()
577 imp::os_string_into_vec(self) in into_raw_vec()
/third_party/node/test/fixtures/wpt/wasm/jsapi/
H A Dwasm-module-builder.js916 for (let imp of wasm.imports) {
917 section.emit_string(imp.module);
918 section.emit_string(imp.name || '');
919 section.emit_u8(imp.kind);
920 if (imp.kind == kExternalFunction) {
921 section.emit_u32v(imp.type);
922 } else if (imp.kind == kExternalGlobal) {
923 section.emit_u32v(imp.type);
924 section.emit_u8(imp.mutable);
925 } else if (imp
[all...]
/third_party/python/Python/
H A Dmakeopcodetargets.py13 import imp namespace
20 return imp.load_module(modname, *imp.find_module(modname, [modpath]))
/third_party/python/Lib/lib2to3/
H A Dfixer_util.py127 imp = Node(syms.import_from, children)
128 return imp
420 imp = node.children[1]
421 if imp.type == syms.dotted_as_names:
422 for child in imp.children:
428 elif imp.type == syms.dotted_as_name:
429 last = imp.children[-1]
432 elif imp.type == token.NAME and imp.value == name:
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/
H A Dmod.rs10 mod imp; modules
12 pub(in crate::fmt) use self::imp::*;
/third_party/rust/crates/env_logger/src/fmt/humantime/
H A Dmod.rs9 mod imp; modules
11 pub(in crate::fmt) use self::imp::*;
/third_party/node/src/
H A Dnode_options-inl.h390 for (auto imp = implications.first; imp != implications.second; ++imp) { in Parse()
391 if (imp->second.type == kV8Option) { in Parse()
392 v8_args->push_back(imp->second.name); in Parse()
394 *imp->second.target_field->template Lookup<bool>(options) = in Parse()
395 imp->second.target_value; in Parse()
/third_party/rust/crates/proc-macro-error/src/
H A Dlib.rs299 #[path = "imp/fallback.rs"]
300 mod imp; modules
303 #[path = "imp/delegate.rs"]
304 mod imp; modules
387 imp::abort_if_dirty(); in abort_if_dirty()
434 let err_storage = imp::cleanup(); in entry_point()

Completed in 14 milliseconds

1234