Searched refs:strip_suffix (Results 1 - 2 of 2) sorted by relevance
/third_party/rust/crates/os_str_bytes/src/ |
H A D | raw_str.rs | 673 /// Equivalent to [`str::strip_suffix`]. 683 /// raw.strip_suffix("1"), 685 /// assert_eq!(None, raw.strip_suffix("o")); 689 pub fn strip_suffix<P>(&self, pat: P) -> Option<&Self> in strip_suffix() functions 696 self.0.strip_suffix(pat).map(Self::from_inner) in strip_suffix() 791 self.trim_matches_raw_with(pat, <[_]>::strip_suffix) in trim_end_matches_raw()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_entry_points.py | 1452 def strip_suffix(api, name): 1478 result = cmd_packed_gl_enums.get(strip_suffix(api, cmd_name), {}) 1533 name_lower_no_suffix = strip_suffix(api, cmd_name[2:3].lower() + cmd_name[3:]) 1711 name_lower_no_suffix = strip_suffix(api, name_lower_no_suffix) 1907 name_no_suffix = strip_suffix(api, cmd_name) 2768 all_commands_no_suffix.append(strip_suffix(apis.GLES, name))
|
Completed in 4 milliseconds