/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | mod.rs | 137 let ref mut apis = Vec::new(); 154 apis.extend(syntax::parse_items( 163 cfg::strip(errors, cfg_errors, opt.cfg_evaluator.as_ref(), apis); 166 let ref types = Types::collect(errors, apis); 167 check::precheck(errors, apis, opt); 171 check::typecheck(errors, apis, types, generator); 179 header = write::gen(apis, types, opt, true); 182 implementation = write::gen(apis, types, opt, false);
|
H A D | nested.rs | 11 pub fn new(apis: Vec<&'a Api>) -> Self { in new() 12 sort_by_inner_namespace(apis, 0) in new() 24 fn sort_by_inner_namespace(apis: Vec<&Api>, depth: usize) -> NamespaceEntries { in sort_by_inner_namespace() 29 for api in &apis { in sort_by_inner_namespace() 45 .map(|(k, apis)| (k, sort_by_inner_namespace(apis, depth + 1))) in sort_by_inner_namespace() 65 let apis = &[ in test_ns_entries_sort() 78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
|
H A D | check.rs | 9 pub(super) fn precheck(cx: &mut Errors, apis: &[Api], opt: &Opt) { 11 check_dot_includes(cx, apis); 15 fn check_dot_includes(cx: &mut Errors, apis: &[Api]) { in check_dot_includes() 16 for api in apis { in check_dot_includes()
|
H A D | write.rs | 17 pub(super) fn gen(apis: &[Api], types: &Types, opt: &Opt, header: bool) -> Vec<u8> { 21 pick_includes_and_builtins(out, apis); 24 write_forward_declarations(out, apis); 25 write_data_structures(out, apis); 26 write_functions(out, apis); 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() 50 for api in apis { in write_forward_declarations() 69 fn write_data_structures<'a>(out: &mut OutFile<'a>, apis [all...] |
H A D | cfg.rs | 24 apis: &mut Vec<Api>, 26 apis.retain(|api| eval(cx, cfg_errors, cfg_evaluator, api.cfg())); 27 for api in apis {
|
/third_party/rust/crates/cxx/gen/src/ |
H A D | mod.rs | 137 let ref mut apis = Vec::new(); 154 apis.extend(syntax::parse_items( 163 cfg::strip(errors, cfg_errors, opt.cfg_evaluator.as_ref(), apis); 166 let ref types = Types::collect(errors, apis); 167 check::precheck(errors, apis, opt); 171 check::typecheck(errors, apis, types, generator); 179 header = write::gen(apis, types, opt, true); 182 implementation = write::gen(apis, types, opt, false);
|
H A D | nested.rs | 11 pub fn new(apis: Vec<&'a Api>) -> Self { in new() 12 sort_by_inner_namespace(apis, 0) in new() 24 fn sort_by_inner_namespace(apis: Vec<&Api>, depth: usize) -> NamespaceEntries { in sort_by_inner_namespace() 29 for api in &apis { in sort_by_inner_namespace() 45 .map(|(k, apis)| (k, sort_by_inner_namespace(apis, depth + 1))) in sort_by_inner_namespace() 65 let apis = &[ in test_ns_entries_sort() 78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
|
H A D | check.rs | 9 pub(super) fn precheck(cx: &mut Errors, apis: &[Api], opt: &Opt) { 11 check_dot_includes(cx, apis); 15 fn check_dot_includes(cx: &mut Errors, apis: &[Api]) { in check_dot_includes() 16 for api in apis { in check_dot_includes()
|
H A D | write.rs | 17 pub(super) fn gen(apis: &[Api], types: &Types, opt: &Opt, header: bool) -> Vec<u8> { 21 pick_includes_and_builtins(out, apis); 24 write_forward_declarations(out, apis); 25 write_data_structures(out, apis); 26 write_functions(out, apis); 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() 50 for api in apis { in write_forward_declarations() 69 fn write_data_structures<'a>(out: &mut OutFile<'a>, apis [all...] |
H A D | cfg.rs | 24 apis: &mut Vec<Api>, 26 apis.retain(|api| eval(cx, cfg_errors, cfg_evaluator, api.cfg())); 27 for api in apis {
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | mod.rs | 137 let ref mut apis = Vec::new(); 154 apis.extend(syntax::parse_items( 163 cfg::strip(errors, cfg_errors, opt.cfg_evaluator.as_ref(), apis); 166 let ref types = Types::collect(errors, apis); 167 check::precheck(errors, apis, opt); 171 check::typecheck(errors, apis, types, generator); 179 header = write::gen(apis, types, opt, true); 182 implementation = write::gen(apis, types, opt, false);
|
H A D | nested.rs | 11 pub fn new(apis: Vec<&'a Api>) -> Self { in new() 12 sort_by_inner_namespace(apis, 0) in new() 24 fn sort_by_inner_namespace(apis: Vec<&Api>, depth: usize) -> NamespaceEntries { in sort_by_inner_namespace() 29 for api in &apis { in sort_by_inner_namespace() 45 .map(|(k, apis)| (k, sort_by_inner_namespace(apis, depth + 1))) in sort_by_inner_namespace() 65 let apis = &[ in test_ns_entries_sort() 78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
|
H A D | check.rs | 9 pub(super) fn precheck(cx: &mut Errors, apis: &[Api], opt: &Opt) { 11 check_dot_includes(cx, apis); 15 fn check_dot_includes(cx: &mut Errors, apis: &[Api]) { in check_dot_includes() 16 for api in apis { in check_dot_includes()
|
H A D | write.rs | 17 pub(super) fn gen(apis: &[Api], types: &Types, opt: &Opt, header: bool) -> Vec<u8> { 21 pick_includes_and_builtins(out, apis); 24 write_forward_declarations(out, apis); 25 write_data_structures(out, apis); 26 write_functions(out, apis); 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() 50 for api in apis { in write_forward_declarations() 69 fn write_data_structures<'a>(out: &mut OutFile<'a>, apis [all...] |
H A D | cfg.rs | 24 apis: &mut Vec<Api>, 26 apis.retain(|api| eval(cx, cfg_errors, cfg_evaluator, api.cfg())); 27 for api in apis {
|
/third_party/rust/crates/cxx/gen/build/src/gen/ |
H A D | mod.rs | 137 let ref mut apis = Vec::new(); 154 apis.extend(syntax::parse_items( 163 cfg::strip(errors, cfg_errors, opt.cfg_evaluator.as_ref(), apis); 166 let ref types = Types::collect(errors, apis); 167 check::precheck(errors, apis, opt); 171 check::typecheck(errors, apis, types, generator); 179 header = write::gen(apis, types, opt, true); 182 implementation = write::gen(apis, types, opt, false);
|
H A D | nested.rs | 11 pub fn new(apis: Vec<&'a Api>) -> Self { in new() 12 sort_by_inner_namespace(apis, 0) in new() 24 fn sort_by_inner_namespace(apis: Vec<&Api>, depth: usize) -> NamespaceEntries { in sort_by_inner_namespace() 29 for api in &apis { in sort_by_inner_namespace() 45 .map(|(k, apis)| (k, sort_by_inner_namespace(apis, depth + 1))) in sort_by_inner_namespace() 65 let apis = &[ in test_ns_entries_sort() 78 let root = NamespaceEntries::new(Vec::from_iter(apis)); in test_ns_entries_sort()
|
H A D | check.rs | 9 pub(super) fn precheck(cx: &mut Errors, apis: &[Api], opt: &Opt) { 11 check_dot_includes(cx, apis); 15 fn check_dot_includes(cx: &mut Errors, apis: &[Api]) { in check_dot_includes() 16 for api in apis { in check_dot_includes()
|
H A D | write.rs | 17 pub(super) fn gen(apis: &[Api], types: &Types, opt: &Opt, header: bool) -> Vec<u8> { 21 pick_includes_and_builtins(out, apis); 24 write_forward_declarations(out, apis); 25 write_data_structures(out, apis); 26 write_functions(out, apis); 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() 50 for api in apis { in write_forward_declarations() 69 fn write_data_structures<'a>(out: &mut OutFile<'a>, apis [all...] |
H A D | cfg.rs | 24 apis: &mut Vec<Api>, 26 apis.retain(|api| eval(cx, cfg_errors, cfg_evaluator, api.cfg())); 27 for api in apis {
|
/third_party/mesa3d/bin/ |
H A D | khronos-update.py | 201 parser.add_argument('apis', nargs='*', 211 if args.apis and 'khr' not in args.apis and depend_on_khr.intersection(set(args.apis)): 212 args.apis = ['khr'] + args.apis 215 if args.apis and group['api'] not in args.apis:
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglSurfacelessContextTests.cpp | 90 } apis[] = in executeForConfig() local 102 for (int apiNdx = 0; apiNdx < (int)DE_LENGTH_OF_ARRAY(apis); apiNdx++) in executeForConfig() 104 if ((apiBits & apis[apiNdx].apiBit) == 0) in executeForConfig() 107 log << TestLog::Message << "Creating " << apis[apiNdx].name << " context with config ID " << id << TestLog::EndMessage; in executeForConfig() 109 EGLU_CHECK_CALL(egl, bindAPI(apis[apiNdx].api)); in executeForConfig() 111 eglu::UniqueContext context(egl, display, egl.createContext(display, config, EGL_NO_CONTEXT, apis[apiNdx].ctxAttrs)); in executeForConfig()
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
H A D | DeprecatedAPIChecker.java | 275 private static APIInfo findClassInfo(Set<APIInfo> apis, String cls) { in findClassInfo() argument 276 for (APIInfo api : apis) { in findClassInfo() 285 private static APIInfo findFieldInfo(Set<APIInfo> apis, String cls, String field) { in findFieldInfo() argument 286 for (APIInfo api : apis) { in findFieldInfo() 295 private static APIInfo findConstructorInfo(Set<APIInfo> apis, String cls, List<String> params) { in findConstructorInfo() argument 296 for (APIInfo api : apis) { in findConstructorInfo() 318 private static APIInfo findMethodInfo(Set<APIInfo> apis, String cls, String method, List<String> params) { in findMethodInfo() argument 319 for (APIInfo api : apis) { in findMethodInfo() 341 private static APIInfo findEnumInfo(Set<APIInfo> apis, String ecls) { in findEnumInfo() argument 342 for (APIInfo api : apis) { in findEnumInfo() 351 findEnumConstantInfo(Set<APIInfo> apis, String ecls, String econst) findEnumConstantInfo() argument [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_entry_points.py | 13 from registry_xml import apis, script_relative, strip_api_prefix namespace 1254 return api == apis.GLES and cmd_name in ALIASING_EXCEPTIONS 1258 if api == apis.CL: 1264 if api == apis.CL: 1266 if api == apis.GLES: 1272 if api == apis.EGL: 1274 elif api == apis.CL: 1281 if api == apis.CL: 1283 elif api == apis.EGL: 1488 if api == apis [all...] |
H A D | registry_xml.py | 392 class apis: class 497 def AddExtensionCommands(self, supported_extensions, apis): 518 if 'api' in require.attrib and require.attrib['api'] not in apis: 556 if api == apis.WGL:
|