Home
last modified time | relevance | path

Searched refs:strip_prefix (Results 1 - 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/
H A Dbloat.py207 def treeify_syms(symbols, strip_prefix=None, cppfilt=None):
212 if strip_prefix and path.startswith(strip_prefix):
213 path = path[len(strip_prefix):]
304 def dump_nm(nmfile, strip_prefix, cppfilt):
305 dirs = treeify_syms(parse_nm(nmfile), strip_prefix, cppfilt)
410 dump_nm(nmfile, strip_prefix=opts.strip_prefix, cppfilt=opts.cppfilt)
/third_party/mesa3d/src/gallium/drivers/r600/
H A Degd_tables.py131 self.name = strip_prefix(s_name)
138 self.name = strip_prefix(r_name)
143 def strip_prefix(s): function
267 values_offsets[value[1]] = strings.add(strip_prefix(value[0]))
/third_party/rust/crates/rust-openssl/openssl-sys/build/
H A Dmain.rs203 if let Some(version) = line.strip_prefix(openssl_prefix) { in validate_headers()
205 } else if let Some(version) = line.strip_prefix(new_openssl_prefix) { in validate_headers()
207 } else if let Some(version) = line.strip_prefix(libressl_prefix) { in validate_headers()
209 } else if let Some(conf) = line.strip_prefix(conf_prefix) { in validate_headers()
/third_party/rust/crates/clang-sys/build/
H A Dstatic.rs36 if let Some(name) = string.strip_prefix("lib") { in get_library_name()
53 if let Some(path) = p.strip_prefix("-l") { in get_llvm_libraries()
H A Ddynamic.rs88 let version = if let Some(version) = filename.strip_prefix("libclang.so.") { in parse_version()
/third_party/rust/crates/cxx/gen/build/src/
H A Dcargo.rs62 if let Some(feature_name) = k.strip_prefix(CARGO_FEATURE_PREFIX) { in load()
65 } else if let Some(cfg_name) = k.strip_prefix(CARGO_CFG_PREFIX) { in load()
/third_party/rust/crates/clap/clap_lex/src/
H A Dlib.rs314 let remainder = raw.strip_prefix("--")?; in to_long()
330 let remainder = raw.strip_prefix("--")?; in to_long()
353 if let Some(remainder_os) = self.inner.as_ref().strip_prefix('-') { in to_short()
/third_party/rust/crates/syn/src/
H A Dext.rs95 if let Some(string) = string.strip_prefix("r#") { in unraw()
/third_party/rust/crates/quote/src/
H A Dident_fragment.rs52 if let Some(id) = id.strip_prefix("r#") { in fmt()
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-helpers-number.c778 bool strip_prefix = true; in ecma_number_parse_int() local
791 strip_prefix = false; in ecma_number_parse_int()
801 if (strip_prefix in ecma_number_parse_int()
/third_party/rust/crates/bindgen/bindgen-tests/tests/parse_callbacks/
H A Dmod.rs24 if let Some(name) = item_info.name.strip_prefix(prefix) { in generated_name_override()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dqualified.rs43 if let Some(unraw) = ident.to_string().strip_prefix("r#") { in parse_unquoted()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dqualified.rs43 if let Some(unraw) = ident.to_string().strip_prefix("r#") { in parse_unquoted()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dqualified.rs43 if let Some(unraw) = ident.to_string().strip_prefix("r#") { in parse_unquoted()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dqualified.rs43 if let Some(unraw) = ident.to_string().strip_prefix("r#") { in parse_unquoted()
/third_party/rust/crates/cxx/syntax/
H A Dqualified.rs43 if let Some(unraw) = ident.to_string().strip_prefix("r#") { in parse_unquoted()
/third_party/rust/crates/syn/tests/repo/
H A Dmod.rs275 } else if let Some(path) = path_string.strip_prefix("tests/rust/") { in base_dir_filter()
368 let relative = path.strip_prefix(&prefix)?; in download_and_unpack()
/third_party/rust/crates/os_str_bytes/src/
H A Draw_str.rs647 /// Equivalent to [`str::strip_prefix`].
657 /// raw.strip_prefix("1"),
659 /// assert_eq!(None, raw.strip_prefix("o"));
663 pub fn strip_prefix<P>(&self, pat: P) -> Option<&Self> in strip_prefix() functions
670 self.0.strip_prefix(pat).map(Self::from_inner) in strip_prefix()
839 self.trim_matches_raw_with(pat, <[_]>::strip_prefix) in trim_start_matches_raw()
/third_party/rust/crates/clap/clap_derive/src/utils/
H A Ddoc_comments.rs37 let s = s.strip_prefix(' ').unwrap_or(s); in extract_doc_comment()
/third_party/rust/crates/clap/src/parser/
H A Dparser.rs953 let (val, has_eq) = if let Some(val) = val.and_then(|v| v.strip_prefix('=')) { in parse_short_arg()

Completed in 10 milliseconds