/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/rust/stracciatella/src/ |
H A D | unicode.rs | 72 pub struct Nfc { struct 76 impl Nfc { impl 107 impl AsRef<[u8]> for Nfc { implementation 113 impl AsRef<str> for Nfc { implementation 119 impl From<&str> for Nfc { implementation 127 impl From<String> for Nfc { implementation 141 impl Into<String> for Nfc { implementation 148 impl ops::Deref for Nfc { implementation 157 impl ops::Add<&str> for Nfc { implementation 167 impl fmt::Display for Nfc { implementation [all …]
|
H A D | guess.rs | 23 use crate::unicode::Nfc; 38 OnlyExistsInDataDir(Option<Nfc>, Nfc), 39 OnlyExistsInPack(Option<Nfc>, Nfc), 40 FileSizeMismatch(Nfc, Option<i64>, Option<i64>), 41 HashMismatch(Nfc, String, Option<String>, Option<String>), 153 let p = Nfc::caseless(&resource.path); in guess_by_language_specific_resources() 336 resource.get_str("archive_path").map(Nfc::caseless), in match_resources() 337 Nfc::caseless(&resource.path), in match_resources() 367 .find(|r| Nfc::caseless(&r.path) == Nfc::caseless(&resource.path)) in match_resources() 374 Nfc::caseless(&resource.path), in match_resources() [all …]
|
H A D | fs.rs | 13 use crate::unicode::Nfc; 110 let found = os_str.to_str().map(Nfc::caseless).and_then(|want| { in resolve_existing_components() 115 .find(|f| f.to_str().map(|x| Nfc::caseless(x) == want) == Some(true)) in resolve_existing_components()
|
H A D | res.rs | 70 use crate::unicode::Nfc; 100 with_archives: Vec<Nfc>, 106 with_hashes: Vec<Nfc>, 452 fn lowercase_extension(path: &Path) -> Nfc { 461 fn resource_path(base: &Path, path: &Path) -> Result<Nfc, ResourceError> { 464 Some(utf8) => Ok(Nfc::path(utf8)),
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/rust/stracciatella/tests/ |
H A D | test_unicode.rs | 10 use stracciatella::unicode::Nfc; 14 assert_eq!(Nfc::from($left), Nfc::from($right)); 20 assert_eq!(Nfc::from($input).as_str(), $expected); 26 assert_eq!((Nfc::from($left) + $right).as_str(), $expected); 32 assert_eq!(Nfc::caseless("Test Case").as_str(), "test case"); in caseless_test_strs() 33 assert_eq!(Nfc::caseless("Teſt Caſe").as_str(), "test case"); in caseless_test_strs() 34 assert_eq!(Nfc::caseless("spiffiest").as_str(), "spiffiest"); in caseless_test_strs() 35 assert_eq!(Nfc::caseless("straße").as_str(), "strasse"); in caseless_test_strs()
|
H A D | test_vfs.rs | 25 let mut file = vfs.open(&Nfc::caseless_path("foo.txt")).unwrap(); in seek() 165 use stracciatella::unicode::Nfc; 170 let mut file = vfs.open(&Nfc::caseless_path(path)).expect("open"); 177 let result = vfs.read_dir(&Nfc::caseless_path(path)).expect("read_dir"); 178 let expected = HashSet::from_iter(expected.iter().map(|s| Nfc::caseless_path(s)));
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/rust/stracciatella/src/vfs/ |
H A D | slf.rs | 15 use crate::unicode::Nfc; 26 pub prefix: Nfc, 28 pub entries: HashMap<Nfc, SlfFsEntry>, 35 pub path: Nfc, 46 pub file_path: Nfc, 63 let prefix = Nfc::caseless_path(&header.library_path.trim_end_matches('/')); in new() 90 fn open(&self, file_path: &Nfc) -> io::Result<Box<dyn VfsFile>> { in open() 104 fn read_dir(&self, path: &Nfc) -> io::Result<HashSet<Nfc>> { in read_dir() argument 107 let entries: HashSet<Nfc> = self in read_dir() 113 x.split('/').nth(0).map(Nfc::from) in read_dir() [all …]
|
H A D | dir.rs | 11 use crate::unicode::Nfc; 27 pub file_path: Nfc, 70 .map(|x| want == Nfc::caseless(x).as_str()) in canonicalize() 89 fn open(&self, file_path: &Nfc) -> io::Result<Box<dyn VfsFile>> { in open() 102 fn read_dir(&self, file_path: &Nfc) -> io::Result<HashSet<Nfc>> { in read_dir() argument 112 let file_name_nfc = Nfc::caseless_path( in read_dir()
|
H A D | mod.rs | 22 use crate::unicode::Nfc; 39 fn open(&self, file_path: &Nfc) -> io::Result<Box<dyn VfsFile>>; in open() 41 fn read_dir(&self, file_path: &Nfc) -> io::Result<HashSet<Nfc>>; in read_dir() argument 106 .read_dir(&Nfc::caseless_path("/")) in add_slf_files_from() 136 map_not_found_to_option(externalized_layer.open(&Nfc::caseless_path(EDITOR_SLF_NAME))) in add_editor_slf_layer() 264 fn open(&self, file_path: &Nfc) -> io::Result<Box<dyn VfsFile>> { in open() 277 fn read_dir(&self, file_path: &Nfc) -> io::Result<HashSet<Nfc>> { in read_dir() argument
|
H A D | android.rs | 15 use crate::unicode::Nfc; 31 pub file_path: Nfc, 94 .map(|x| want == Nfc::caseless(x).as_str()) in canonicalize() 140 fn open(&self, file_path: &Nfc) -> io::Result<Box<dyn VfsFile>> { in open() 163 fn read_dir(&self, file_path: &Nfc) -> io::Result<HashSet<Nfc>> { in read_dir() argument 177 let file_name_nfc = Nfc::caseless_path( in read_dir()
|
/dports/security/vaultwarden/vaultwarden-1.23.1/src/api/core/two_factor/ |
H A D | yubikey.rs | 30 Nfc: bool, field 37 pub Nfc: bool, field 103 result["Nfc"] = Value::Bool(yubikey_metadata.Nfc); in generate_yubikey() 153 Nfc: data.Nfc, in activate_yubikey() 164 result["Nfc"] = Value::Bool(yubikey_metadata.Nfc); in activate_yubikey()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/device/nfc/android/java/src/org/chromium/device/nfc/ |
H A D | NfcProviderImpl.java | 7 import org.chromium.device.mojom.Nfc; 44 public void getNfcForHost(int hostId, InterfaceRequest<Nfc> request) { in getNfcForHost()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/device/nfc/android/java/src/org/chromium/device/nfc/ |
H A D | NfcProviderImpl.java | 7 import org.chromium.device.mojom.Nfc; 44 public void getNfcForHost(int hostId, InterfaceRequest<Nfc> request) { in getNfcForHost()
|
H A D | NfcImpl.java | 28 import org.chromium.device.mojom.Nfc; 42 public class NfcImpl implements Nfc { 103 public NfcImpl(int hostId, NfcDelegate delegate, InterfaceRequest<Nfc> request) { in NfcImpl() 109 mRouter = Nfc.MANAGER.bind(this, request); in NfcImpl()
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/rust/stracciatella_bin/src/ |
H A D | resource_pack.rs | 24 use stracciatella::unicode::Nfc; 150 let json: Nfc = graceful_unwrap( in subcommand_create()
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/web-sys-0.3.55/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/web-sys-0.3.55/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/web-sys-0.3.55/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/web-sys-0.3.55/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/web-sys-0.3.46/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/net/routinator/routinator-0.10.2/cargo-crates/web-sys-0.3.51/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/games/genact/genact-0.10.0/cargo-crates/web-sys-0.3.44/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/web-sys-0.3.55/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/web-sys-0.3.55/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/web-sys-0.3.53/src/features/ |
H A D | gen_AuthenticatorTransport.rs | 10 Nfc = "nfc", enumerator
|