Searched refs:WARN_UNUSED_RESULT (Results 1 – 12 of 12) sorted by relevance
/system/netd/server/ |
D | RouteController.h | 39 static int Init(unsigned localNetId) WARN_UNUSED_RESULT; 41 static int addInterfaceToLocalNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; 43 const char* interface) WARN_UNUSED_RESULT; 46 Permission permission) WARN_UNUSED_RESULT; 48 Permission permission) WARN_UNUSED_RESULT; 51 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 53 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 57 Permission newPermission) WARN_UNUSED_RESULT; 60 const UidRanges& uidRanges) WARN_UNUSED_RESULT; 62 const UidRanges& uidRanges) WARN_UNUSED_RESULT; [all …]
|
D | NetworkController.h | 51 int setDefaultNetwork(unsigned netId) WARN_UNUSED_RESULT; 63 int createPhysicalNetwork(unsigned netId, Permission permission) WARN_UNUSED_RESULT; 64 int createVirtualNetwork(unsigned netId, bool hasDns, bool secure) WARN_UNUSED_RESULT; 65 int destroyNetwork(unsigned netId) WARN_UNUSED_RESULT; 67 int addInterfaceToNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; 68 int removeInterfaceFromNetwork(unsigned netId, const char* interface) WARN_UNUSED_RESULT; 74 const std::vector<unsigned>& netIds) WARN_UNUSED_RESULT; 76 int addUsersToNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT; 77 int removeUsersFromNetwork(unsigned netId, const UidRanges& uidRanges) WARN_UNUSED_RESULT; 85 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT; [all …]
|
D | PhysicalNetwork.h | 30 Permission permission) WARN_UNUSED_RESULT = 0; 32 Permission permission) WARN_UNUSED_RESULT = 0; 40 int setPermission(Permission permission) WARN_UNUSED_RESULT; 42 int addAsDefault() WARN_UNUSED_RESULT; 43 int removeAsDefault() WARN_UNUSED_RESULT; 47 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; 48 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
|
D | VirtualNetwork.h | 39 int addUsers(const UidRanges& uidRanges) WARN_UNUSED_RESULT; 40 int removeUsers(const UidRanges& uidRanges) WARN_UNUSED_RESULT; 44 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; 45 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
|
D | Network.h | 47 virtual int addInterface(const std::string& interface) WARN_UNUSED_RESULT = 0; 48 virtual int removeInterface(const std::string& interface) WARN_UNUSED_RESULT = 0; 49 int clearInterfaces() WARN_UNUSED_RESULT;
|
D | RouteController.cpp | 183 WARN_UNUSED_RESULT int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen) { in sendNetlinkRequest() 257 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() 338 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, in modifyIpRule() 346 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, in modifyIpRoute() 439 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark() 464 WARN_UNUSED_RESULT int modifyVpnOutputToLocalRule(const char* vpnInterface, bool add) { in modifyVpnOutputToLocalRule() 475 WARN_UNUSED_RESULT int modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, in modifyVpnUidRangeRule() 503 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule() 527 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule() 550 WARN_UNUSED_RESULT int modifyOutputInterfaceRules(const char* interface, uint32_t table, in modifyOutputInterfaceRules() [all …]
|
D | LocalNetwork.h | 29 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; 30 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
|
D | DummyNetwork.h | 30 int addInterface(const std::string& interface) override WARN_UNUSED_RESULT; 31 int removeInterface(const std::string& interface) override WARN_UNUSED_RESULT;
|
D | PhysicalNetwork.cpp | 26 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface, in addToDefault() 38 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface, in removeFromDefault()
|
D | NetdConstants.h | 48 #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) macro
|
D | NetworkController.cpp | 68 Permission permission, bool add) WARN_UNUSED_RESULT; 72 Permission permission) override WARN_UNUSED_RESULT; 74 Permission permission) override WARN_UNUSED_RESULT; 77 bool add) WARN_UNUSED_RESULT;
|
/system/extras/perfprofd/quipper/base/ |
D | compiler_specific.h | 154 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro 156 #define WARN_UNUSED_RESULT macro
|