/system/tools/hidl/ |
D | Interface.h | 32 struct Method; 47 void addUserDefinedMethod(Method* method); 48 bool addAllReservedMethods(const std::map<std::string, Method*>& allReservedMethods); 67 const std::vector<Method *> &userDefinedMethods() const; 69 const std::vector<Method *> &hidlReservedMethods() const; 71 std::vector<Method *> methods() const; 144 std::vector<Method*> mUserMethods; 145 std::vector<Method*> mReservedMethods; 149 bool fillPingMethod(Method* method) const; 150 bool fillDescriptorChainMethod(Method* method) const; [all …]
|
D | Method.cpp | 35 Method::Method(const std::string& name, std::vector<NamedReference<Type>*>* args, in Method() function in android::Method 45 void Method::fillImplementation( in fillImplementation() 61 std::string Method::name() const { in name() 65 const std::vector<NamedReference<Type>*>& Method::args() const { in args() 69 const std::vector<NamedReference<Type>*>& Method::results() const { in results() 73 const std::vector<Annotation *> &Method::annotations() const { in annotations() 77 std::vector<Reference<Type>*> Method::getReferences() { in getReferences() 78 const auto& constRet = static_cast<const Method*>(this)->getReferences(); in getReferences() 85 std::vector<const Reference<Type>*> Method::getReferences() const { in getReferences() 92 std::vector<Reference<Type>*> Method::getStrongReferences() { in getStrongReferences() [all …]
|
D | AST.h | 42 struct Method; 219 bool addMethod(Method* method, Interface* iface); 275 std::map<std::string, Method*> mAllReservedMethods; 304 using MethodGenerator = std::function<void(const Method*, const Interface*)>; 312 const Method* method) const; 313 …void generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInterfa… 315 … const Method* method, const Interface* superInterface) const; 317 const Method* method, const Interface* superInterface) const; 318 void generateAdapterMethod(Formatter& out, const Method* method) const; 326 void generateStubSourceForMethod(Formatter& out, const Method* method, [all …]
|
D | Interface.cpp | 62 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod() 93 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod() 137 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod() 185 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod() 203 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod() 236 bool Interface::fillDescriptorChainMethod(Method *method) const { in fillDescriptorChainMethod() 289 bool Interface::fillHashChainMethod(Method *method) const { in fillHashChainMethod() 324 bool Interface::fillGetDescriptorMethod(Method *method) const { in fillGetDescriptorMethod() 346 bool Interface::fillGetDebugInfoMethod(Method *method) const { in fillGetDebugInfoMethod() 398 bool Interface::fillDebugMethod(Method *method) const { in fillDebugMethod() [all …]
|
D | Method.h | 54 struct Method : DocCommentable { struct 55 Method(const std::string& name, std::vector<NamedReference<Type>*>* args, 78 Method *copySignature() const; argument 127 DISALLOW_COPY_AND_ASSIGN(Method); argument
|
D | generateCppImpl.cpp | 42 const Method* method) const { in generateStubImplMethod() 113 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplHeader() 150 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplSource()
|
D | generateCpp.cpp | 301 const Method* method = tuple.method(); in generateInterfaceHeader() 458 void AST::generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInt… in generatePassthroughMethod() 604 const Method *method = tuple.method(); in generateMethods() 703 [&](const Method* method, const Interface*) { in generateStubHeader() 726 generateMethods(out, [&](const Method* method, const Interface* iface) { in generateStubHeader() 794 [&](const Method* method, const Interface*) { in generateProxyHeader() 813 generateMethods(out, [&](const Method* method, const Interface*) { in generateProxyHeader() 976 const Method* method, const Interface* superInterface) const { in generateProxyMethodSource() 1024 … const Method* method, const Interface* superInterface) const { in generateStaticProxyMethodSource() 1245 [&](const Method* method, const Interface* superInterface) { in generateProxySource() [all …]
|
D | generateCppAdapter.cpp | 59 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterHeader() 109 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterSource() 120 void AST::generateAdapterMethod(Formatter& out, const Method* method) const { in generateAdapterMethod()
|
D | generateJavaImpl.cpp | 42 const Method* method = tuple.method(); in generateJavaImpl()
|
D | generateJava.cpp | 316 const Method *method = tuple.method(); in generateJava() 440 for (Method *method : iface->hidlReservedMethods()) { in generateJava() 501 const Method *method = tuple.method(); in generateJava()
|
/system/extras/perf2cfg/doc/ |
D | FSM.dot | 14 "Start" -> "Parse Method Name" [ label = "'begin_compilation'" ]; 17 "Parse Method Name" -> "Skip to CFG" 19 "Parse Method Name" -> "Skip Method" 21 "Parse Method Name" -> "Error" [ label = "EOF OR NOT('name')" ]; 23 "Skip Method" -> "End" [ label = "EOF" ]; 24 "Skip Method" -> "Parse Method Name" [ label = "'begin_compilation'" ]; 25 "Skip Method" -> "Skip Method"; 69 "End CFG" -> "Parse Method Name" [ label = "'begin_compilation'" ];
|
/system/tools/hidl/lint/lints/ |
D | methodVersions.cpp | 35 static std::string getSanitizedMethodName(const Method& method) { in getSanitizedMethodName() 40 static bool checkMethodVersion(const Method& method, const FQName& fqName, std::string* error) { in checkMethodVersion() 96 for (Method* method : iface->userDefinedMethods()) { in methodVersions() 116 const std::vector<Method*>& superMethods = superType->userDefinedMethods(); in methodVersions() 118 [&](Method* superMethod) -> bool { in methodVersions()
|
D | oneway.cpp | 43 const std::vector<Method*>& methods = iface.userDefinedMethods(); in getInterfaceOnewayType()
|
D | methodDocComment.cpp | 86 for (const Method* method : iface->isIBase() ? iface->methods() : iface->userDefinedMethods()) { in methodDocComments()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlInterface.cpp | 64 std::vector<const Method*> AidlHelper::getUserDefinedMethods(Formatter& out, in getUserDefinedMethods() 66 std::vector<const Method*> methods; in getUserDefinedMethods() 76 const std::vector<Method*> userDefined = iface->userDefinedMethods(); in getUserDefinedMethods() 189 std::map<std::string, NodeWithVersion<Method>> latestMethodForBaseName; in emitAidl() 190 std::vector<const NodeWithVersion<Method>> supersededMethods; in emitAidl() 196 for (const Method* method : iface->userDefinedMethods()) { in emitAidl() 231 [&](const NodeWithVersion<Method>& versionedMethod) { in emitAidl() 241 [&](const std::pair<std::string, NodeWithVersion<Method>>& methodPair) { in emitAidl() 242 const Method* method = methodPair.second.node; in emitAidl()
|
D | AidlHelper.h | 32 struct Method; 103 static std::vector<const Method*> getUserDefinedMethods(Formatter& out,
|
D | AidlHelper.cpp | 126 const std::vector<const Method*>& methods = in emitFileHeader() 128 for (const Method* method : methods) { in emitFileHeader()
|
/system/extras/perf2cfg/perf2cfg/ |
D | analyze.py | 67 class Method: class 142 self.methods: Dict[str, Method] = {} 207 self.methods[method_name] = Method(method_name)
|
/system/chre/host/msm/daemon/generated/ |
D | chre_slpi_skel.c | 393 typedef struct Method Method; typedef 394 struct Method { struct 409 const Method * const *methodArray; argument 437 static const Method methods[3] = {{REMOTE_SCALARS_MAKEX(0,0,0x0,0x0,0x0,0x0),0x0,0x0,0,0,0,0x0,0x0}… 438 static const Method* const methodArrays[6] = {&(methods[0]),&(methods[0]),&(methods[0]),&(methods[0…
|
D | chre_slpi_stub.c | 393 typedef struct Method Method; typedef 394 struct Method { struct 409 const Method * const *methodArray; argument 437 static const Method methods[3] = {{REMOTE_SCALARS_MAKEX(0,0,0x0,0x0,0x0,0x0),0x0,0x0,0,0,0,0x0,0x0}… 438 static const Method* const methodArrays[6] = {&(methods[0]),&(methods[0]),&(methods[0]),&(methods[0…
|
/system/tools/aidl/ |
D | generate_java_binder.cpp | 122 auto ctor = std::make_shared<Method>(); in StubClass() 144 auto asBinder = std::make_shared<Method>(); in StubClass() 154 auto getDefaultTransactionName = std::make_shared<Method>(); in StubClass() 167 auto getTransactionName = std::make_shared<Method>(); in StubClass() 186 auto onTransact = std::make_shared<Method>(); in StubClass() 259 auto m = std::make_shared<Method>(); in make_as_interface() 327 auto ctor = std::make_shared<Method>(); in ProxyClass() 346 auto asBinder = std::make_shared<Method>(); in ProxyClass() 403 static std::shared_ptr<Method> generate_interface_method(const AidlMethod& method, in generate_interface_method() 405 auto decl = std::make_shared<Method>(); in generate_interface_method() [all …]
|
D | ast_java.h | 292 struct Method : public ClassElement { struct 302 Method() = default; argument 303 virtual ~Method() = default;
|
D | generate_java.cpp | 480 auto write_method = std::make_shared<Method>(); in generate_parcel_class() 520 auto constructor = std::make_shared<Method>(); in generate_parcel_class() 546 auto read_or_create_method = std::make_shared<Method>(); in generate_parcel_class() 548 auto constructor = std::make_shared<Method>(); in generate_parcel_class()
|
/system/extras/simpleperf/ |
D | read_dex_file.cpp | 46 auto callback = [&](const art_api::dex::DexFile::Method& method) { in ReadSymbols()
|
/system/bt/gd/rust/linux/stack/btif_macros/src/ |
D | lib.rs | 57 if let TraitItem::Method(m) = attr { in btif_callbacks_generator()
|