Home
last modified time | relevance | path

Searched refs:get_suffix (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/syn/tests/
Dtest_lit.rs227 fn get_suffix(token: &str) -> String { in suffix() function
240 assert_eq!(get_suffix("\"\"s"), "s"); in suffix()
241 assert_eq!(get_suffix("r\"\"r"), "r"); in suffix()
242 assert_eq!(get_suffix("b\"\"b"), "b"); in suffix()
243 assert_eq!(get_suffix("br\"\"br"), "br"); in suffix()
244 assert_eq!(get_suffix("r#\"\"#r"), "r"); in suffix()
245 assert_eq!(get_suffix("'c'c"), "c"); in suffix()
246 assert_eq!(get_suffix("b'b'b"), "b"); in suffix()
247 assert_eq!(get_suffix("1i32"), "i32"); in suffix()
248 assert_eq!(get_suffix("1_i32"), "i32"); in suffix()
[all …]
/third_party/python/Lib/lib2to3/tests/
Dtest_pytree.py107 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(), "")
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dgen_builtin_symbols.py1436 def get_suffix(props): function
1628 'name_with_suffix': function_name + get_suffix(function_props),
1872 variable_name + get_suffix(props),
/third_party/python/Lib/lib2to3/
Dpytree.py193 def get_suffix(self): member in Base