Home
last modified time | relevance | path

Searched refs:orig_name (Results 1 – 25 of 1122) sorted by relevance

12345678910>>...45

/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/shared/
H A Darchdep_expand_path.c62 int archdep_expand_path(char **return_path, const char *orig_name) in archdep_expand_path() argument
65 if (*orig_name == '/') { in archdep_expand_path()
66 *return_path = lib_stralloc(orig_name); in archdep_expand_path()
67 } else if (*orig_name == '~' && *(orig_name +1) == '/') { in archdep_expand_path()
68 *return_path = util_concat(archdep_home_path(), orig_name + 1, NULL); in archdep_expand_path()
73 *return_path = util_concat(cwd, "/", orig_name, NULL); in archdep_expand_path()
79 *return_path = lib_stralloc(orig_name); in archdep_expand_path()
84 lock = Lock(orig_name, ACCESS_READ); in archdep_expand_path()
95 *return_path = lib_stralloc(orig_name); in archdep_expand_path()
98 *return_path = lib_stralloc(orig_name); in archdep_expand_path()
[all …]
/dports/emulators/vice/vice-3.5/src/arch/shared/
H A Darchdep_expand_path.c62 int archdep_expand_path(char **return_path, const char *orig_name) in archdep_expand_path() argument
65 if (*orig_name == '/') { in archdep_expand_path()
66 *return_path = lib_strdup(orig_name); in archdep_expand_path()
67 } else if (*orig_name == '~' && *(orig_name +1) == '/') { in archdep_expand_path()
68 *return_path = util_concat(archdep_home_path(), orig_name + 1, NULL); in archdep_expand_path()
73 *return_path = util_concat(cwd, "/", orig_name, NULL); in archdep_expand_path()
79 *return_path = lib_strdup(orig_name); in archdep_expand_path()
82 *return_path = lib_strdup(orig_name); in archdep_expand_path()
86 *return_path = lib_strdup(orig_name); in archdep_expand_path()
/dports/devel/pytype/pytype-2021.9.9/pytype/pyi/
H A Dmodules.py37 def _qualify_name_with_special_dir(self, orig_name): argument
39 if "__PACKAGE__." in orig_name:
41 prefix, _, name = orig_name.partition("__PACKAGE__.")
45 elif "__PARENT__." in orig_name:
47 prefix, _, name = orig_name.partition("__PARENT__.")
59 def qualify_name(self, orig_name): argument
62 orig_name = visitors.RenameBuiltinsPrefixInName(orig_name)
64 return orig_name
65 rel_name = self._qualify_name_with_special_dir(orig_name)
68 if orig_name.startswith("."):
[all …]
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/proc-macro-crate-0.1.5/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
94 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path).map(sanitize_crate_name) in crate_name()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/proc-macro-crate-0.1.4/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
113 fn create_not_found_err(orig_name: &str, path: &Display) -> Result<String, String> { in create_not_found_err()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/proc-macro-crate-0.1.5/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
94 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path).map(sanitize_crate_name) in crate_name()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/proc-macro-crate-0.1.5/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
94 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path).map(sanitize_crate_name) in crate_name()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/proc-macro-crate-0.1.4/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
113 fn create_not_found_err(orig_name: &str, path: &Display) -> Result<String, String> { in create_not_found_err()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/proc-macro-crate-0.1.5/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
94 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path).map(sanitize_crate_name) in crate_name()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/proc-macro-crate/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
94 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path).map(sanitize_crate_name) in crate_name()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/proc-macro-crate-0.1.5/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
94 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path).map(sanitize_crate_name) in crate_name()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/sysutils/tealdeer/tealdeer-1.4.1/cargo-crates/proc-macro-crate-0.1.5/src/
H A Dlib.rs82 pub fn crate_name(orig_name: &str) -> Result<String, String> { in crate_name()
94 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path).map(sanitize_crate_name) in crate_name()
116 orig_name, path in create_not_found_err()
126 orig_name: &str, in extract_crate_name()
132 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
145 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
151 create_not_found_err(orig_name, &cargo_toml_path.display()) in extract_crate_name()
159 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
166 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
172 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/proc-macro-crate-1.1.0/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
164 return Ok(FoundCrate::Name(sanitize_crate_name(orig_name))); in extract_crate_name()
172 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
185 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
192 crate_name: orig_name.into(), in extract_crate_name()
202 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
215 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/proc-macro-crate/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
164 return Ok(FoundCrate::Name(sanitize_crate_name(orig_name))); in extract_crate_name()
172 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
190 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
197 crate_name: orig_name.into(), in extract_crate_name()
207 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
220 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/proc-macro-crate-1.1.0/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
164 return Ok(FoundCrate::Name(sanitize_crate_name(orig_name))); in extract_crate_name()
172 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
185 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
192 crate_name: orig_name.into(), in extract_crate_name()
202 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
215 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/proc-macro-crate-1.1.0/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
164 return Ok(FoundCrate::Name(sanitize_crate_name(orig_name))); in extract_crate_name()
172 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
185 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
192 crate_name: orig_name.into(), in extract_crate_name()
202 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
215 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/x11/sirula/sirula-1.0.0/cargo-crates/proc-macro-crate-1.1.0/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
164 return Ok(FoundCrate::Name(sanitize_crate_name(orig_name))); in extract_crate_name()
172 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
185 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
192 crate_name: orig_name.into(), in extract_crate_name()
202 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
215 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/proc-macro-crate-1.1.0/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
164 return Ok(FoundCrate::Name(sanitize_crate_name(orig_name))); in extract_crate_name()
172 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
185 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
192 crate_name: orig_name.into(), in extract_crate_name()
202 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
215 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/emulators/yuzu/yuzu-0b47f7a46/externals/libzip/libzip/lib/
H A Dzip_unchange.c49 const char *orig_name, *changed_name; in _zip_unchange() local
58 if ((orig_name = _zip_get_name(za, idx, ZIP_FL_UNCHANGED, &za->error)) == NULL) { in _zip_unchange()
62 i = _zip_name_locate(za, orig_name, 0, NULL); in _zip_unchange()
69 orig_name = NULL; in _zip_unchange()
76 if (orig_name) { in _zip_unchange()
77 if (_zip_hash_add(za->names, (const zip_uint8_t *)orig_name, idx, 0, &za->error) == false) { in _zip_unchange()
82 _zip_hash_delete(za->names, (const zip_uint8_t *)orig_name, NULL); in _zip_unchange()
/dports/archivers/php73-zip/php-7.3.33/ext/zip/lib/
H A Dzip_unchange.c51 const char *orig_name, *changed_name; in _zip_unchange() local
60 if ((orig_name=_zip_get_name(za, idx, ZIP_FL_UNCHANGED, &za->error)) == NULL) { in _zip_unchange()
64 i = _zip_name_locate(za, orig_name, 0, NULL); in _zip_unchange()
71 orig_name = NULL; in _zip_unchange()
78 if (orig_name) { in _zip_unchange()
79 if (_zip_hash_add(za->names, (const zip_uint8_t *)orig_name, idx, 0, &za->error) == false) { in _zip_unchange()
84 _zip_hash_delete(za->names, (const zip_uint8_t *)orig_name, NULL); in _zip_unchange()
/dports/archivers/libzip/libzip-1.7.3/lib/
H A Dzip_unchange.c49 const char *orig_name, *changed_name; in _zip_unchange() local
58 if ((orig_name = _zip_get_name(za, idx, ZIP_FL_UNCHANGED, &za->error)) == NULL) { in _zip_unchange()
62 i = _zip_name_locate(za, orig_name, 0, NULL); in _zip_unchange()
69 orig_name = NULL; in _zip_unchange()
76 if (orig_name) { in _zip_unchange()
77 if (_zip_hash_add(za->names, (const zip_uint8_t *)orig_name, idx, 0, &za->error) == false) { in _zip_unchange()
82 _zip_hash_delete(za->names, (const zip_uint8_t *)orig_name, NULL); in _zip_unchange()
/dports/lang/php73/php-7.3.33/ext/zip/lib/
H A Dzip_unchange.c51 const char *orig_name, *changed_name; in _zip_unchange() local
60 if ((orig_name=_zip_get_name(za, idx, ZIP_FL_UNCHANGED, &za->error)) == NULL) { in _zip_unchange()
64 i = _zip_name_locate(za, orig_name, 0, NULL); in _zip_unchange()
71 orig_name = NULL; in _zip_unchange()
78 if (orig_name) { in _zip_unchange()
79 if (_zip_hash_add(za->names, (const zip_uint8_t *)orig_name, idx, 0, &za->error) == false) { in _zip_unchange()
84 _zip_hash_delete(za->names, (const zip_uint8_t *)orig_name, NULL); in _zip_unchange()
/dports/www/mod_php73/php-7.3.33/ext/zip/lib/
H A Dzip_unchange.c51 const char *orig_name, *changed_name; in _zip_unchange() local
60 if ((orig_name=_zip_get_name(za, idx, ZIP_FL_UNCHANGED, &za->error)) == NULL) { in _zip_unchange()
64 i = _zip_name_locate(za, orig_name, 0, NULL); in _zip_unchange()
71 orig_name = NULL; in _zip_unchange()
78 if (orig_name) { in _zip_unchange()
79 if (_zip_hash_add(za->names, (const zip_uint8_t *)orig_name, idx, 0, &za->error) == false) { in _zip_unchange()
84 _zip_hash_delete(za->names, (const zip_uint8_t *)orig_name, NULL); in _zip_unchange()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/proc-macro-crate-1.0.0/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
166 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
179 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
186 crate_name: orig_name.into(), in extract_crate_name()
196 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
203 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
209 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]
/dports/multimedia/neolink/neolink-cf54129/cargo-crates/proc-macro-crate-1.0.0/src/
H A Dlib.rs110 pub fn crate_name(orig_name: &str) -> Result<FoundCrate, Error> { in crate_name()
122 extract_crate_name(orig_name, cargo_toml, &cargo_toml_path) in crate_name()
152 orig_name: &str, in extract_crate_name()
158 if s == orig_name { in extract_crate_name()
166 .find_map(|k| search_crate_at_key(k, orig_name, &mut cargo_toml)) in extract_crate_name()
179 .find_map(|t| extract_crate_name_from_deps(orig_name, t.clone())) in extract_crate_name()
186 crate_name: orig_name.into(), in extract_crate_name()
196 .and_then(|t| extract_crate_name_from_deps(orig_name, t)) in search_crate_at_key()
203 fn extract_crate_name_from_deps(orig_name: &str, deps: Table) -> Option<String> { in extract_crate_name_from_deps()
209 .map(|t| t.as_str() == Some(orig_name)) in extract_crate_name_from_deps()
[all …]

12345678910>>...45