Home
last modified time | relevance | path

Searched refs:token_count (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/proc-macro2/tests/
Dtest.rs201 fn token_count(p: &str) -> usize { in literal_suffix() function
205 assert_eq!(token_count("999u256"), 1); in literal_suffix()
206 assert_eq!(token_count("999r#u256"), 3); in literal_suffix()
207 assert_eq!(token_count("1."), 1); in literal_suffix()
208 assert_eq!(token_count("1.f32"), 3); in literal_suffix()
209 assert_eq!(token_count("1.0_0"), 1); in literal_suffix()
210 assert_eq!(token_count("1._0"), 3); in literal_suffix()
211 assert_eq!(token_count("1._m"), 3); in literal_suffix()
212 assert_eq!(token_count("\"\"s"), 1); in literal_suffix()
213 assert_eq!(token_count("r\"\"r"), 1); in literal_suffix()
[all …]
/third_party/toybox/toys/pending/
Dinit.c141 int action = 0, token_count = 0, i; in parse_inittab() local
148 token_count++; in parse_inittab()
149 switch (token_count) { in parse_inittab()
177 if (token_count == 4 && action) add_new_action(action, command, tty_name); in parse_inittab()
/third_party/rust/crates/bindgen/bindgen/
Dclang.rs885 token_count: c_uint, field
891 let mut token_count = 0; in new() localVariable
894 unsafe { clang_tokenize(tu, range, &mut tokens, &mut token_count) }; in new()
899 token_count, in new()
907 unsafe { slice::from_raw_parts(self.tokens, self.token_count as usize) } in as_slice()
926 self.token_count as c_uint, in drop()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device_generated_commands.c1023 layout->token_count = pCreateInfo->tokenCount; in radv_CreateIndirectCommandsLayoutNV()
Dradv_private.h3035 uint32_t token_count; member