Home
last modified time | relevance | path

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

123456789

/third_party/python/Lib/test/
Dtest_imp.py15 import imp
23 return unittest.skipIf(not hasattr(imp, 'load_dynamic'),
32 self.assertEqual(imp.lock_held(), expected,
39 lock_held_at_start = imp.lock_held()
43 imp.acquire_lock()
47 imp.release_lock()
54 imp.release_lock()
75 with imp.find_module('module_' + mod, self.test_path)[0] as fd:
80 imp.find_module('badsyntax_pep3120', path)
84 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()
/third_party/rust/crates/regex/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 …]
/third_party/rust/crates/memchr/src/memchr/
Dmod.rs90 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
96 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
106 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
116 fn imp(n1: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
123 imp(needle, haystack) in memchr()
154 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() function
160 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() function
169 fn imp(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memchr2() function
176 imp(needle1, needle2, haystack) in memchr2()
212 fn imp(n1: u8, n2: u8, n3: u8, haystack: &[u8]) -> Option<usize> { in memchr3() function
[all …]
/third_party/python/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])
/third_party/rust/crates/proc-macro2/src/
Dlib.rs154 use crate::fallback as imp;
157 mod imp; module
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::Span,
[all …]
Dextra.rs5 use crate::imp;
32 pub(crate) fn new(group: &imp::Group) -> Self { in new()
35 imp::Group::Compiler(group) => DelimSpanEnum::Compiler { in new()
40 imp::Group::Fallback(group) => DelimSpanEnum::Fallback(group.span()), in new()
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/libloading/src/
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::Symbol<T>,
[all …]
/third_party/rust/crates/memchr/bench/src/memmem/
Dmod.rs99 mod imp; module
115 let available = imp::$impl::available($q.needle); 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()
198 imp = stringify!($impl), in prebuilt()
217 define!("memmem", imp::$impl::fwd::prebuilt); in prebuilt()
219 define!("memrmem", imp::$impl::rev::prebuilt); in prebuilt()
253 let available = imp::$impl::available($q.needle); in oneshot_iter()
[all …]
/third_party/python/Lib/
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.PKG_DIRECTORY
323 if mod_type==imp.PY_SOURCE:
326 elif mod_type==imp.PY_COMPILED:
[all …]
/third_party/skia/third_party/externals/icu/source/data/unit/
Den_CA.txt55 dnam{"imp. fluid ounces"}
56 one{"{0} imp. fluid ounce"}
57 other{"{0} imp. fluid ounces"}
66 dnam{"imp. quart"}
67 one{"{0} imp. quart"}
68 other{"{0} imp. quarts"}
523 dnam{"imp. dssp"}
524 one{"{0} imp. dssp"}
525 other{"{0} imp. dssp"}
541 dnam{"imp. fl. oz."}
[all …]
/third_party/rust/crates/os_str_bytes/src/
Dlib.rs247 mod imp; module
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/icu/icu4c/source/data/unit/
Dfr_CA.txt88 dnam{"milles au gallon impérial"}
89 one{"{0} mille au gallon impérial"}
90 other{"{0} milles au gallon impérial"}
488 dnam{"gallon impérial"}
522 dnam{"pinte impériale"}
524 one{"{0} pinte impériale"}
525 other{"{0} pintes impériales"}
719 dnam{"c. à. d. imp."}
720 one{"{0}c. à. d. imp."}
721 other{"{0} c. à. d. imp."}
[all …]
Dpt_PT.txt306 dnam{"mpg imp."}
475 dnam{"csb imp."}
476 one{"{0} csb imp."}
477 other{"{0} csb imp."}
601 dnam{"milhas/gal imp."}
1022 dnam{"csb imp."}
1023 one{"{0} csb imp."}
1024 other{"{0} csb imp."}
1032 dnam{"onças fluidas imp."}
1033 one{"{0} onça fluida imp."}
[all …]
Dfr.txt263 dnam{"miles par gallon impérial"}
265 one{"{0} mile par gallon impérial"}
266 other{"{0} miles par gallon impérial"}
1104 dnam{"cuillères à dessert impériales"}
1106 one{"{0} cuillère à dessert impériale"}
1107 other{"{0} cuillères à dessert impériales"}
1128 dnam{"onces liquides impériales"}
1130 one{"{0} once liquide impériale"}
1131 other{"{0} onces liquides impériales"}
1141 dnam{"gallons impériaux"}
[all …]
/third_party/rust/crates/aho-corasick/src/
Dahocorasick.rs87 imp: Imp<S>, field
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/python/Tools/importbench/
Dimportbench.py9 import imp
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/node/test/fixtures/wpt/wasm/jsapi/
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.kind == kExternalMemory) {
[all …]
/third_party/node/deps/openssl/openssl/crypto/
Darm_arch.h117 # define MIDR_CPU_MODEL(imp, partnum) \ argument
118 (((imp) << MIDR_IMPLEMENTER_SHIFT) | \
122 # define MIDR_IS_CPU_MODEL(midr, imp, partnum) \ argument
123 (((midr) & MIDR_CPU_MODEL_MASK) == MIDR_CPU_MODEL(imp, partnum))
/third_party/openssl/crypto/
Darm_arch.h122 # define MIDR_CPU_MODEL(imp, partnum) \ argument
123 (((imp) << MIDR_IMPLEMENTER_SHIFT) | \
127 # define MIDR_IS_CPU_MODEL(midr, imp, partnum) \ argument
128 (((midr) & MIDR_CPU_MODEL_MASK) == MIDR_CPU_MODEL(imp, partnum))
/third_party/rust/crates/env_logger/src/fmt/writer/
Datty.rs11 mod imp { module
22 mod imp { module
32 pub(in crate::fmt) use self::imp::*;
/third_party/rust/crates/regex/src/
Dfind_byte.rs7 fn imp(needle: u8, haystack: &[u8]) -> Option<usize> { in find_byte() function
12 fn imp(needle: u8, haystack: &[u8]) -> Option<usize> { in find_byte() function
17 imp(needle, haystack) in find_byte()
/third_party/rust/crates/cxx/macro/src/
Dgenerics.rs38 if let Some(imp) = self.explicit_impl { in to_tokens()
39 imp.impl_generics.to_tokens(tokens); in to_tokens()
48 if let Some(imp) = self.explicit_impl { in to_tokens()
49 imp.ty_generics.to_tokens(tokens); in to_tokens()
/third_party/rust/crates/regex/src/literal/
Dmod.rs1 pub use self::imp::*;
4 mod imp; module
8 mod imp { module
/third_party/python/Lib/lib2to3/
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:

123456789