Lines Matching defs:error
30 #define CHECK_SIGNATURE_OR_FAIL(req, error, label, exp) do { \
34 error = sbus_error_new(req, DBUS_ERROR_INVALID_ARGS, \
149 DBusError *error;
161 CHECK_SIGNATURE_OR_FAIL(sbus_req, error, fail, "ss");
176 error = sbus_error_new(sbus_req, DBUS_ERROR_UNKNOWN_INTERFACE,
184 error = sbus_error_new(sbus_req, DBUS_ERROR_UNKNOWN_PROPERTY,
190 error = sbus_error_new(sbus_req, DBUS_ERROR_ACCESS_DENIED,
197 error = sbus_error_new(sbus_req, DBUS_ERROR_NOT_SUPPORTED,
204 error = NULL;
213 return sbus_request_fail_and_finish(sbus_req, error);
222 DBusError *error;
236 CHECK_SIGNATURE_OR_FAIL(sbus_req, error, fail, "ssv");
249 error = sbus_error_new(sbus_req, DBUS_ERROR_UNKNOWN_INTERFACE,
257 error = sbus_error_new(sbus_req, DBUS_ERROR_UNKNOWN_PROPERTY,
263 error = sbus_error_new(sbus_req, DBUS_ERROR_ACCESS_DENIED,
270 error = sbus_error_new(sbus_req, DBUS_ERROR_NOT_SUPPORTED,
279 error = sbus_error_new(sbus_req, DBUS_ERROR_INVALID_ARGS,
286 error = NULL;
296 return sbus_request_fail_and_finish(sbus_req, error);
301 DBusError *error;
310 CHECK_SIGNATURE_OR_FAIL(sbus_req, error, fail, "s");
324 error = sbus_error_new(sbus_req, DBUS_ERROR_UNKNOWN_INTERFACE,
331 error = NULL;
347 return sbus_request_fail_and_finish(sbus_req, error);