/external/rust/cxx/gen/src/ |
D | namespace.rs | 2 use crate::syntax::Api; 4 impl Api { implementation 7 Api::CxxFunction(efn) | Api::RustFunction(efn) => &efn.name.namespace, in namespace() 8 Api::CxxType(ety) | Api::RustType(ety) => &ety.name.namespace, in namespace() 9 Api::Enum(enm) => &enm.name.namespace, in namespace() 10 Api::Struct(strct) => &strct.name.namespace, in namespace() 11 Api::Impl(_) | Api::Include(_) | Api::TypeAlias(_) => Default::default(), in namespace()
|
D | nested.rs | 2 use crate::syntax::Api; 6 direct: Vec<&'a Api>, 11 pub fn new(apis: Vec<&'a Api>) -> Self { in new() 15 pub fn direct_content(&self) -> &[&'a Api] { in direct_content() argument 24 fn sort_by_inner_namespace(apis: Vec<&Api>, depth: usize) -> NamespaceEntries { in sort_by_inner_namespace() argument 56 use crate::syntax::{Api, Doc, ExternType, ForeignName, Lang, Lifetimes, Pair}; 120 fn assert_ident(api: &Api, expected: &str) { in assert_ident() argument 121 if let Api::CxxType(cxx_type) = api { in assert_ident() 128 fn make_api(ns: Option<&str>, ident: &str) -> Api { in make_api() argument 130 Api::CxxType(ExternType { in make_api()
|
D | check.rs | 3 use crate::syntax::{error, Api}; 9 pub(super) fn precheck(cx: &mut Errors, apis: &[Api], opt: &Opt) { in precheck() argument 15 fn check_dot_includes(cx: &mut Errors, apis: &[Api]) { in check_dot_includes() argument 17 if let Api::Include(include) = api { in check_dot_includes()
|
D | write.rs | 12 derive, mangle, Api, Enum, ExternFn, ExternType, Pair, Signature, Struct, Trait, Type, 17 pub(super) fn gen(apis: &[Api], types: &Types, opt: &Opt, header: bool) -> Vec<u8> { in gen() argument 35 fn write_forward_declarations(out: &mut OutFile, apis: &[Api]) { in write_forward_declarations() argument 36 let needs_forward_declaration = |api: &&Api| match api { in write_forward_declarations() 37 Api::Struct(_) | Api::CxxType(_) | Api::RustType(_) => true, in write_forward_declarations() 38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations() 53 Api::Struct(strct) => write_struct_decl(out, &strct.name), in write_forward_declarations() 54 Api::Enum(enm) => write_enum_decl(out, enm), in write_forward_declarations() 55 Api::CxxType(ety) => write_struct_using(out, &ety.name), in write_forward_declarations() 56 Api::RustType(ety) => write_struct_decl(out, &ety.name), in write_forward_declarations() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | api.pb.h | 60 class Api; variable 71 …mplate<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Api* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_… 79 class PROTOBUF_EXPORT Api : 82 Api(); 83 virtual ~Api(); 85 Api(const Api& from); 86 Api(Api&& from) noexcept in Api() function 87 : Api() { in Api() 91 inline Api& operator=(const Api& from) { 95 inline Api& operator=(Api&& from) noexcept { [all …]
|
D | api.pb.cc | 25 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Api> _instance; 41 new (ptr) PROTOBUF_NAMESPACE_ID::Api(); in InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto() 44 PROTOBUF_NAMESPACE_ID::Api::InitAsDefaultInstance(); in InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto() 89 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, _internal_metadata_), 93 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, name_), 94 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, methods_), 95 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, options_), 96 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, version_), 97 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, source_context_), 98 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, mixins_), [all …]
|
D | unittest_well_known_types.proto | 25 google.protobuf.Api api_field = 2; 49 repeated google.protobuf.Api api_field = 2; 72 google.protobuf.Api api_field = 2; 97 map<int32,google.protobuf.Api> api_field = 2;
|
/external/rust/cxx/syntax/ |
D | ident.rs | 2 use crate::syntax::{error, Api, Pair}; 27 pub(crate) fn check_all(cx: &mut Check, apis: &[Api]) { in check_all() argument 30 Api::Include(_) | Api::Impl(_) => {} in check_all() 31 Api::Struct(strct) => { in check_all() 37 Api::Enum(enm) => { in check_all() 43 Api::CxxType(ety) | Api::RustType(ety) => { in check_all() 46 Api::CxxFunction(efn) | Api::RustFunction(efn) => { in check_all() 52 Api::TypeAlias(alias) => { in check_all()
|
D | types.rs | 10 toposort, Api, Atom, Enum, ExternType, Impl, Lifetimes, Pair, Struct, Type, TypeAlias, 31 pub fn collect(cx: &mut Errors, apis: &'a [Api]) -> Self { in collect() 71 Api::Include(_) => {} in collect() 72 Api::Struct(strct) => { in collect() 90 Api::Enum(enm) => { in collect() 106 Api::CxxType(ety) => { in collect() 123 Api::RustType(ety) => { in collect() 131 Api::CxxFunction(efn) | Api::RustFunction(efn) => { in collect() 144 Api::TypeAlias(alias) => { in collect() 153 Api::Impl(imp) => { in collect()
|
D | parse.rs | 7 attrs, error, Api, Array, Derive, Doc, Enum, ExternFn, ExternType, ForeignName, Impl, Include, 34 ) -> Vec<Api> { in parse_items() argument 57 fn parse_struct(cx: &mut Errors, mut item: ItemStruct, namespace: &Namespace) -> Result<Api> { in parse_struct() argument 168 Ok(Api::Struct(Struct { in parse_struct() 181 fn parse_enum(cx: &mut Errors, item: ItemEnum, namespace: &Namespace) -> Api { in parse_enum() argument 246 Api::Enum(Enum { in parse_enum() 314 out: &mut Vec<Api>, in parse_foreign_mod() argument 362 Ok(include) => items.push(Api::Include(include)), in parse_foreign_mod() 378 Api::CxxFunction(efn) => efn.unsafety.is_none(), in parse_foreign_mod() 389 Api::CxxType(ety) | Api::RustType(ety) => Some(&ety.name), in parse_foreign_mod() [all …]
|
D | toposort.rs | 3 use crate::syntax::{Api, Struct, Type, Types}; 10 pub fn sort<'a>(cx: &mut Errors, apis: &'a [Api], types: &Types<'a>) -> Vec<&'a Struct> { in sort() argument 14 if let Api::Struct(strct) = api { in sort()
|
D | trivial.rs | 3 use crate::syntax::{Api, Enum, ExternFn, NamedType, Pair, Struct, Type}; 18 apis: &'a [Api], in required_trivial_reasons() argument 40 Api::Struct(strct) => { in required_trivial_reasons() 48 Api::CxxFunction(efn) | Api::RustFunction(efn) => { in required_trivial_reasons()
|
D | check.rs | 5 error, ident, trivial, Api, Array, Enum, ExternFn, ExternType, Impl, Lang, NamedType, Ptr, 13 apis: &'a [Api], 18 pub(crate) fn typecheck(cx: &mut Errors, apis: &[Api], types: &Types) { in typecheck() argument 49 Api::Include(_) => {} in do_typecheck() 50 Api::Struct(strct) => check_api_struct(cx, strct), in do_typecheck() 51 Api::Enum(enm) => check_api_enum(cx, enm), in do_typecheck() 52 Api::CxxType(ety) | Api::RustType(ety) => check_api_type(cx, ety), in do_typecheck() 53 Api::CxxFunction(efn) | Api::RustFunction(efn) => check_api_fn(cx, efn), in do_typecheck() 54 Api::TypeAlias(alias) => check_api_type_alias(cx, alias), in do_typecheck() 55 Api::Impl(imp) => check_api_impl(cx, imp), in do_typecheck()
|
/external/rust/crates/protobuf/src/well_known_types/ |
D | api.rs | 24 pub struct Api { struct 40 impl<'a> ::std::default::Default for &'a Api { argument 41 fn default() -> &'a Api { in default() 42 <Api as crate::Message>::default_instance() in default() 46 impl Api { impl 47 pub fn new() -> Api { in new() 227 impl crate::Message for Api { implementation 379 fn new() -> Api { in new() 380 Api::new() in new() 389 |m: &Api| { &m.name }, in descriptor_static() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Api.cs | 47 …eInfo(typeof(global::Google.Protobuf.WellKnownTypes.Api), global::Google.Protobuf.WellKnownTypes.A… in ApiReflection() 67 public sealed partial class Api : pb::IMessage<Api> { class 68 …private static readonly pb::MessageParser<Api> _parser = new pb::MessageParser<Api>(() => new Api(… 71 public static pb::MessageParser<Api> Parser { get { return _parser; } } 84 public Api() { in Api() method in Google.Protobuf.WellKnownTypes.Api 91 public Api(Api other) : this() { in Api() method in Google.Protobuf.WellKnownTypes.Api 103 public Api Clone() { in Clone() 104 return new Api(this); in Clone() 224 return Equals(other as Api); in Equals() 228 public bool Equals(Api other) { in Equals() [all …]
|
/external/protobuf/php/ext/google/protobuf/ |
D | protobuf.h | 580 struct Api; 625 typedef struct Api Api; typedef 1239 PHP_METHOD(Api, __construct); 1240 PHP_METHOD(Api, getName); 1241 PHP_METHOD(Api, setName); 1242 PHP_METHOD(Api, getMethods); 1243 PHP_METHOD(Api, setMethods); 1244 PHP_METHOD(Api, getOptions); 1245 PHP_METHOD(Api, setOptions); 1246 PHP_METHOD(Api, getVersion); [all …]
|
D | message.c | 1748 PHP_ME(Api, __construct, NULL, ZEND_ACC_PUBLIC) 1749 PHP_ME(Api, getName, NULL, ZEND_ACC_PUBLIC) 1750 PHP_ME(Api, setName, NULL, ZEND_ACC_PUBLIC) 1751 PHP_ME(Api, getMethods, NULL, ZEND_ACC_PUBLIC) 1752 PHP_ME(Api, setMethods, NULL, ZEND_ACC_PUBLIC) 1753 PHP_ME(Api, getOptions, NULL, ZEND_ACC_PUBLIC) 1754 PHP_ME(Api, setOptions, NULL, ZEND_ACC_PUBLIC) 1755 PHP_ME(Api, getVersion, NULL, ZEND_ACC_PUBLIC) 1756 PHP_ME(Api, setVersion, NULL, ZEND_ACC_PUBLIC) 1757 PHP_ME(Api, getSourceContext, NULL, ZEND_ACC_PUBLIC) [all …]
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/ |
D | unittest_well_known_types.proto | 25 google.protobuf.Api api_field = 2; 49 repeated google.protobuf.Api api_field = 2; 72 google.protobuf.Api api_field = 2; 97 map<int32,google.protobuf.Api> api_field = 2;
|
/external/protobuf/php/src/Google/Protobuf/ |
D | Api.php | 23 class Api extends \Google\Protobuf\Internal\Message class 127 \GPBMetadata\Google\Protobuf\Api::initOnce();
|
D | Mixin.php | 107 \GPBMetadata\Google\Protobuf\Api::initOnce();
|
/external/protobuf/php/src/GPBMetadata/Google/Protobuf/ |
D | Api.php | 7 class Api class
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestWellKnownTypes.cs | 247 private global::Google.Protobuf.WellKnownTypes.Api apiField_; 249 public global::Google.Protobuf.WellKnownTypes.Api ApiField { 685 ApiField = new global::Google.Protobuf.WellKnownTypes.Api(); in MergeFrom() 802 ApiField = new global::Google.Protobuf.WellKnownTypes.Api(); in MergeFrom() 998 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Api> _repeated_apiFi… 999 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Api.Parser); 1000 …al::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pbc::RepeatedField<global::Google.Protobuf… 1002 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> ApiField { 1503 public global::Google.Protobuf.WellKnownTypes.Api ApiField { 1504 … == OneofFieldOneofCase.ApiField ? (global::Google.Protobuf.WellKnownTypes.Api) oneofField_ : null… [all …]
|
/external/protobuf/objectivec/ |
D | GPBProtocolBuffers.h | 56 #import <Protobuf/Api.pbobjc.h>
|
/external/rust/cxx/macro/src/ |
D | expand.rs | 9 self, check, mangle, Api, Doc, Enum, ExternFn, ExternType, Impl, Lifetimes, Pair, Signature, 44 fn expand(ffi: Module, doc: Doc, attrs: OtherAttrs, apis: &[Api], types: &Types) -> TokenStream { in expand() argument 50 if let Api::RustType(ety) = api { in expand() 58 Api::Include(_) | Api::Impl(_) => {} in expand() 59 Api::Struct(strct) => { in expand() 64 Api::Enum(enm) => expanded.extend(expand_enum(enm)), in expand() 65 Api::CxxType(ety) => { in expand() 72 Api::CxxFunction(efn) => { in expand() 75 Api::RustType(ety) => { in expand() 79 Api::RustFunction(efn) => hidden.extend(expand_rust_function_shim(efn, types)), in expand() [all …]
|
/external/perfetto/protos/perfetto/trace/gpu/ |
D | gpu_render_stage_event.proto | 126 enum Api { enum 132 optional Api api = 3;
|