Searched refs:token_count (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/proc-macro2/tests/ |
D | test.rs | 121 fn token_count(p: &str) -> usize { in literal_suffix() function 125 assert_eq!(token_count("999u256"), 1); in literal_suffix() 126 assert_eq!(token_count("999r#u256"), 3); in literal_suffix() 127 assert_eq!(token_count("1."), 1); in literal_suffix() 128 assert_eq!(token_count("1.f32"), 3); in literal_suffix() 129 assert_eq!(token_count("1.0_0"), 1); in literal_suffix() 130 assert_eq!(token_count("1._0"), 3); in literal_suffix() 131 assert_eq!(token_count("1._m"), 3); in literal_suffix() 132 assert_eq!(token_count("\"\"s"), 1); in literal_suffix() 133 assert_eq!(token_count("r\"\"r"), 1); in literal_suffix() [all …]
|
/external/cpuinfo/src/x86/ |
D | name.c | 626 uint32_t token_count = 1; in cpuinfo_x86_normalize_brand_string() local 633 token_count += 1; in cpuinfo_x86_normalize_brand_string() 650 token_count += 1; in cpuinfo_x86_normalize_brand_string() 655 if (parser_state.frequency_token && token_count <= 1) { in cpuinfo_x86_normalize_brand_string()
|
/external/toybox/toys/pending/ |
D | init.c | 125 int i, fd, line_number = 0, token_count = 0; in inittab_parsing() local 142 token_count = 0; in inittab_parsing() 147 token_count++; in inittab_parsing() 148 switch (token_count) { in inittab_parsing() 177 if (token_count != 4) { in inittab_parsing()
|
/external/rust/crates/bindgen/src/ |
D | clang.rs | 736 token_count: c_uint, field 742 let mut token_count = 0; in new() localVariable 745 unsafe { clang_tokenize(tu, range, &mut tokens, &mut token_count) }; in new() 750 token_count, in new() 758 unsafe { slice::from_raw_parts(self.tokens, self.token_count as usize) } in as_slice() 777 self.token_count as c_uint, in drop()
|