Home
last modified time | relevance | path

Searched refs:crate_path (Results 1 – 7 of 7) sorted by relevance

/external/rust/android-crates-io/crates/async-stream-impl/src/
Dlib.rs14 crate_path: &'a TokenStream2, field
19 let crate_path = match input.next().unwrap() { in parse_input() localVariable
24 Ok((crate_path, stmts)) in parse_input()
28 fn new(is_try: bool, crate_path: &'a TokenStream2) -> Self { in new()
33 crate_path, in new()
174 let crate_path = self.crate_path; in visit_expr_mut() localVariable
182 let #pat = match #crate_path::__private::next(&mut __pinned).await { in visit_expr_mut()
216 let (crate_path, mut stmts) = match parse_input(input) { in stream_inner()
221 let mut scrub = Scrub::new(false, &crate_path); in stream_inner()
236 let (mut __yield_tx, __yield_rx) = unsafe { #crate_path::__private::yielder::pair() }; in stream_inner()
[all …]
/external/rust/crabbyavif/
Dbuild.rs33 let crate_path = env!("CARGO_MANIFEST_DIR"); in main() localVariable
34 let config = cbindgen::Config::from_root_or_default(crate_path); in main()
35 let header_file = PathBuf::from(crate_path).join("include/avif/avif.h"); in main()
37 .with_crate(crate_path) in main()
/external/cronet/tot/components/cronet/license/tests/
Dlicense_converter_test.py170 crate_path = Path(
172 crate_path.mkdir(parents=True)
173 self._write_empty_file(os.path.join(crate_path, "COPYING"))
185 self.assertTrue(os.path.exists(os.path.join(crate_path, "METADATA")))
186 self.assertTrue(os.path.islink(os.path.join(crate_path, "LICENSE")))
188 os.path.join(crate_path, "MODULE_LICENSE_APACHE_2_0")))
190 os.path.join(crate_path, "METADATA")).read_text()
198 self.assertRegex(os.readlink(os.path.join(crate_path, "LICENSE")),
/external/cronet/stable/components/cronet/license/tests/
Dlicense_converter_test.py170 crate_path = Path(
172 crate_path.mkdir(parents=True)
173 self._write_empty_file(os.path.join(crate_path, "COPYING"))
185 self.assertTrue(os.path.exists(os.path.join(crate_path, "METADATA")))
186 self.assertTrue(os.path.islink(os.path.join(crate_path, "LICENSE")))
188 os.path.join(crate_path, "MODULE_LICENSE_APACHE_2_0")))
190 os.path.join(crate_path, "METADATA")).read_text()
198 self.assertRegex(os.readlink(os.path.join(crate_path, "LICENSE")),
/external/rust/android-crates-io/crates/tokio-macros/src/
Dentry.rs43 fn into_tokens(self, crate_path: &TokenStream) -> TokenStream { in into_tokens()
45 UnhandledPanic::Ignore => quote! { #crate_path::runtime::UnhandledPanic::Ignore }, in into_tokens()
47 quote! { #crate_path::runtime::UnhandledPanic::ShutdownRuntime } in into_tokens()
405 let crate_path = config in parse_knobs() localVariable
412 #crate_path::runtime::Builder::new_current_thread() in parse_knobs()
415 #crate_path::runtime::Builder::new_multi_thread() in parse_knobs()
425 let unhandled_panic = v.into_tokens(&crate_path); in parse_knobs()
471 #crate_path::pin!(body); in parse_knobs()
/external/rust/android-crates-io/crates/zerocopy-derive/src/
Denum.rs216 let trait_path = Trait::TryFromBytes.crate_path(); in derive_is_bit_valid()
Dlib.rs1444 fn crate_path(&self) -> Path { in crate_path() method
1561 let trait_path = trt.crate_path(); in impl_block()
1567 let traits = traits.map(|t| t.crate_path()); in impl_block()