Searched refs:get_suffix (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/syn/tests/ |
D | test_lit.rs | 225 fn get_suffix(token: &str) -> String { in suffix() function 238 assert_eq!(get_suffix("\"\"s"), "s"); in suffix() 239 assert_eq!(get_suffix("r\"\"r"), "r"); in suffix() 240 assert_eq!(get_suffix("b\"\"b"), "b"); in suffix() 241 assert_eq!(get_suffix("br\"\"br"), "br"); in suffix() 242 assert_eq!(get_suffix("r#\"\"#r"), "r"); in suffix() 243 assert_eq!(get_suffix("'c'c"), "c"); in suffix() 244 assert_eq!(get_suffix("b'b'b"), "b"); in suffix() 245 assert_eq!(get_suffix("1i32"), "i32"); in suffix() 246 assert_eq!(get_suffix("1_i32"), "i32"); in suffix() [all …]
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_pytree.py | 107 self.assertEqual(l1.get_suffix(), l2.prefix) 108 self.assertEqual(l2.get_suffix(), "") 109 self.assertEqual(n1.get_suffix(), "") 114 self.assertEqual(n1.get_suffix(), l3.prefix) 115 self.assertEqual(l3.get_suffix(), "") 116 self.assertEqual(n2.get_suffix(), "")
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_pytree.py | 129 self.assertEqual(l1.get_suffix(), l2.prefix) 130 self.assertEqual(l2.get_suffix(), "") 131 self.assertEqual(n1.get_suffix(), "") 136 self.assertEqual(n1.get_suffix(), l3.prefix) 137 self.assertEqual(l3.get_suffix(), "") 138 self.assertEqual(n2.get_suffix(), "")
|
/external/angle/src/compiler/translator/ |
D | gen_builtin_symbols.py | 1431 def get_suffix(props): function 1623 'name_with_suffix': function_name + get_suffix(function_props), 1867 variable_name + get_suffix(props),
|
/external/python/cpython3/Lib/lib2to3/ |
D | pytree.py | 193 def get_suffix(self): member in Base
|
/external/python/cpython2/Lib/lib2to3/ |
D | pytree.py | 225 def get_suffix(self): member in Base
|
/external/rust/crates/protobuf/src/ |
D | plugin.rs | 108 pub fn get_suffix(&self) -> &str { in get_suffix() method
|