Lines Matching refs:apis
17 pub(super) fn gen(apis: &[Api], types: &Types, opt: &Opt, header: bool) -> Vec<u8> { in gen()
21 pick_includes_and_builtins(out, apis); in gen()
24 write_forward_declarations(out, apis); in gen()
25 write_data_structures(out, apis); in gen()
26 write_functions(out, apis); in gen()
35 fn write_forward_declarations(out: &mut OutFile, apis: &[Api]) { in write_forward_declarations()
43 NamespaceEntries::new(apis.iter().filter(needs_forward_declaration).collect()); in write_forward_declarations()
48 let apis = ns_entries.direct_content(); in write_forward_declarations() localVariable
50 for api in apis { in write_forward_declarations()
69 fn write_data_structures<'a>(out: &mut OutFile<'a>, apis: &'a [Api]) { in write_data_structures()
71 for api in apis { in write_data_structures()
84 for api in apis { in write_data_structures()
129 for api in apis { in write_data_structures()
138 fn write_functions<'a>(out: &mut OutFile<'a>, apis: &'a [Api]) { in write_functions()
140 for api in apis { in write_functions()
150 write_std_specializations(out, apis); in write_functions()
153 for api in apis { in write_functions()
166 fn write_std_specializations(out: &mut OutFile, apis: &[Api]) { in write_std_specializations()
170 for api in apis { in write_std_specializations()
198 fn pick_includes_and_builtins(out: &mut OutFile, apis: &[Api]) { in pick_includes_and_builtins()
199 for api in apis { in pick_includes_and_builtins()