Lines Matching refs:ret

32     if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) {  in addToDefault()  local
34 return ret; in addToDefault()
36 if (int ret = delegate->addFallthrough(interface, permission)) { in addToDefault() local
37 return ret; in addToDefault()
44 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), in removeFromDefault() local
47 return ret; in removeFromDefault()
49 if (int ret = delegate->removeFallthrough(interface, permission)) { in removeFromDefault() local
50 return ret; in removeFromDefault()
77 if (int ret = sd.destroySocketsLackingPermission(mNetId, permission, in destroySocketsLackingPermission() local
80 mNetId, permission, strerror(-ret)); in destroySocketsLackingPermission()
81 return ret; in destroySocketsLackingPermission()
109 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission() local
113 return ret; in setPermission()
119 if (int ret = addToDefault(mNetId, interface, permission, mDelegate)) { in setPermission() local
120 return ret; in setPermission()
122 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in setPermission() local
123 return ret; in setPermission()
140 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addAsDefault() local
141 return ret; in addAsDefault()
153 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeAsDefault() local
154 return ret; in removeAsDefault()
169 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(), in addInterface() local
172 return ret; in addInterface()
175 if (int ret = addToDefault(mNetId, interface, mPermission, mDelegate)) { in addInterface() local
176 return ret; in addInterface()
188 if (int ret = removeFromDefault(mNetId, interface, mPermission, mDelegate)) { in removeInterface() local
189 return ret; in removeInterface()
196 if (int ret = RouteController::removeInterfaceFromPhysicalNetwork(mNetId, interface.c_str(), in removeInterface() local
199 return ret; in removeInterface()