Home
last modified time | relevance | path

Searched refs:type_token (Results 1 – 12 of 12) sorted by relevance

/external/libpng/contrib/pngminus/
Dpnm2png.c173 char type_token[16]; in pnm2png() local
198 get_token (pnm_file, type_token, sizeof (type_token)); in pnm2png()
199 if (type_token[0] != 'P') in pnm2png()
203 else if ((type_token[1] == '1') || (type_token[1] == '4')) in pnm2png()
206 raw = (type_token[1] == '4'); in pnm2png()
222 else if ((type_token[1] == '2') || (type_token[1] == '5')) in pnm2png()
224 raw = (type_token[1] == '5'); in pnm2png()
249 else if ((type_token[1] == '3') || (type_token[1] == '6')) in pnm2png()
251 raw = (type_token[1] == '6'); in pnm2png()
289 get_token (alpha_file, type_token, sizeof (type_token)); in pnm2png()
[all …]
/external/rust/cxx/syntax/
Dparse.rs455 let type_token = foreign_type.type_token; in parse_extern_type() localVariable
456 let visibility = visibility_pub(&foreign_type.vis, type_token.span); in parse_extern_type()
476 type_token, in parse_extern_type()
690 let type_token: Token![type] = input.parse()?; in parse_extern_verbatim_type() localVariable
734 cx, attrs, visibility, type_token, ident, lifetimes, input, lang, namespace, in parse_extern_verbatim_type()
739 cx, attrs, visibility, type_token, ident, lifetimes, input, lang, trusted, namespace, in parse_extern_verbatim_type()
756 type_token: Token![type], in parse_type_alias()
786 let span = quote!(#type_token #semi_token); in parse_type_alias()
791 let visibility = visibility_pub(&visibility, type_token.span); in parse_type_alias()
799 type_token, in parse_type_alias()
[all …]
Dmod.rs83 pub type_token: Token![type], field
135 pub type_token: Token![type], field
Dtokens.rs171 self.type_token.to_tokens(tokens); in to_tokens()
180 self.type_token.to_tokens(tokens); in to_tokens()
/external/rust/crates/syn/src/
Ditem.rs323 pub type_token: Token![type],
649 pub type_token: Token![type],
758 pub type_token: Token![type],
877 pub type_token: Token![type],
1174 type_token: Token![type], field
1187 let type_token: Token![type] = input.parse()?; in parse() localVariable
1215 type_token, in parse()
1856 type_token: input.parse()?, in parse()
1867 type_token, in parse_foreign_item_type()
1887 type_token, in parse_foreign_item_type()
[all …]
/external/rust/cxx/gen/src/
Dnested.rs136 type_token: Token![type](Span::call_site()), in make_api()
/external/rust/cxx/macro/src/
Dexpand.rs361 let struct_token = Token![struct](ety.type_token.span); in expand_cxx_type()
759 let unsafe_impl = quote_spanned!(ety.type_token.span=> unsafe impl); in expand_rust_type_impl()
793 let begin_span = Token![::](ety.type_token.span); in expand_rust_type_assert_sized()
807 let begin_span = Token![::](ety.type_token.span); in expand_rust_type_layout()
1088 let type_token = alias.type_token; in expand_type_alias() localVariable
1098 #visibility #type_token #ident #generics #eq_token #ty #semi_token in expand_type_alias()
1105 let begin_span = alias.type_token.span; in expand_type_alias_verify()
/external/rust/crates/syn/src/gen/
Dclone.rs898 type_token: self.type_token.clone(), in clone()
1014 type_token: self.type_token.clone(), in clone()
1261 type_token: self.type_token.clone(), in clone()
1870 type_token: self.type_token.clone(), in clone()
Dfold.rs1703 type_token: Token![type](tokens_helper(f, &node.type_token.span)), in fold_foreign_item_type()
1843 type_token: Token![type](tokens_helper(f, &node.type_token.span)), in fold_impl_item_type()
2106 type_token: Token![type](tokens_helper(f, &node.type_token.span)), in fold_item_type()
2829 type_token: Token![type](tokens_helper(f, &node.type_token.span)), in fold_trait_item_type()
Ddebug.rs1248 formatter.field("type_token", &self.type_token); in fmt()
1424 formatter.field("type_token", &self.type_token); in fmt()
1739 formatter.field("type_token", &self.type_token); in fmt()
2546 formatter.field("type_token", &self.type_token); in fmt()
Dvisit_mut.rs1956 tokens_helper(v, &mut node.type_token.span); in visit_foreign_item_type_mut()
2128 tokens_helper(v, &mut node.type_token.span); in visit_impl_item_type_mut()
2465 tokens_helper(v, &mut node.type_token.span); in visit_item_type_mut()
3318 tokens_helper(v, &mut node.type_token.span); in visit_trait_item_type_mut()
Dvisit.rs1952 tokens_helper(v, &node.type_token.span); in visit_foreign_item_type()
2122 tokens_helper(v, &node.type_token.span); in visit_impl_item_type()
2459 tokens_helper(v, &node.type_token.span); in visit_item_type()
3312 tokens_helper(v, &node.type_token.span); in visit_trait_item_type()