Home
last modified time | relevance | path

Searched refs:path_to_string (Results 1 – 16 of 16) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/darling_core/src/util/
Dpath_to_string.rs13 pub fn path_to_string(path: &syn::Path) -> String { in path_to_string() function
25 use super::path_to_string;
29 assert_eq!(path_to_string(&parse_quote!(a)), "a"); in simple_ident()
34 assert_eq!(path_to_string(&parse_quote!(a::b)), "a::b"); in simple_path()
Dmod.rs10 mod path_to_string; module
21 pub use self::path_to_string::path_to_string;
Dpath_list.rs8 use super::path_to_string;
32 self.0.iter().map(path_to_string).collect() in to_strings()
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/saving/
H A Dsave.py24 from tensorflow.python.keras.utils.io_utils import path_to_string
126 filepath = path_to_string(filepath)
204 filepath = path_to_string(filepath)
/aosp_15_r20/external/rust/android-crates-io/crates/darling_core/src/error/
Dmod.rs22 use crate::util::path_to_string;
97 Error::duplicate_field(&path_to_string(path)) in duplicate_field_path()
114 Error::unknown_field(&path_to_string(path)) in unknown_field_path()
136 Error::new(ErrorUnknownField::with_alts(&path_to_string(field), alternates).into()) in unknown_field_path_with_alts()
392 self.at(path_to_string(path)) in at_path()
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/utils/
H A Ddata_utils.py43 from tensorflow.python.keras.utils.io_utils import path_to_string
122 file_path = path_to_string(file_path)
123 path = path_to_string(path)
218 fname = path_to_string(fname)
H A Dvis_utils.py21 from tensorflow.python.keras.utils.io_utils import path_to_string
330 to_file = path_to_string(to_file)
H A Dio_utils.py21 def path_to_string(path): function
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-attributes/src/
Dexpand.rs598 if !path_to_string(path).ends_with("Box::pin") { in from_fn()
631 Expr::Path(ref func_path) => path_to_string(&func_path.path), in from_fn()
746 fn path_to_string(path: &Path) -> String { in path_to_string() function
784 if path_to_string(path) == *type_name { in visit_type_mut()
/aosp_15_r20/external/rust/android-crates-io/crates/zip/src/
Dwrite.rs489 self.start_file(path_to_string(path), options) in start_file_from_path()
776 self.add_directory(path_to_string(path), options) in add_directory_from_path()
1331 fn path_to_string(path: &std::path::Path) -> String { in path_to_string() function
1484 fn path_to_string() { in path_to_string() function
1494 let path_str = super::path_to_string(&path); in path_to_string()
/aosp_15_r20/external/rust/android-crates-io/crates/darling/tests/
Dattrs_with.rs16 Error::custom(format!("`{}` is not an ident", util::path_to_string(path))) in unique_idents()
/aosp_15_r20/external/rust/android-crates-io/crates/darling_core/src/codegen/
Dvariant_data.rs70 let __name = ::darling::util::path_to_string(__inner.path()); in core_loop()
Dfrom_meta_impl.rs117 … match ::darling::util::path_to_string(__nested.path()).as_ref() { in to_tokens()
/aosp_15_r20/external/rust/android-crates-io/crates/darling_core/src/
Dfrom_meta.rs14 use crate::util::path_to_string;
674 Ok(path_to_string(path)) in from_path()
688 Cow::Owned(path_to_string(self)) in to_display()
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/
H A Dcallbacks.py53 from tensorflow.python.keras.utils.io_utils import path_to_string
1294 self.filepath = path_to_string(filepath)
2174 self.log_dir = path_to_string(log_dir)
2745 self.filename = path_to_string(filename)
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/engine/
H A Dtraining.py64 from tensorflow.python.keras.utils.io_utils import path_to_string
2201 filepath = path_to_string(filepath)
2946 filepath = path_to_string(filepath)