Lines Matching defs:message
184 return SD_BUS_ERROR_MAKE_CONST(SD_BUS_ERROR_INCONSISTENT_MESSAGE, "Inconsistent message");
213 return e->name || e->message || e->_need_free != 0;
222 free((void*) e->message);
225 e->name = e->message = NULL;
229 _public_ int sd_bus_error_set(sd_bus_error *e, const char *name, const char *message) {
244 if (message)
245 e->message = strdup(message);
267 /* If we hit OOM on formatting the pretty message, we ignore
270 (void) vasprintf((char**) &e->message, format, ap);
318 if (e->message)
319 dest->message = strdup(e->message);
328 _public_ int sd_bus_error_set_const(sd_bus_error *e, const char *name, const char *message) {
336 *e = SD_BUS_ERROR_MAKE_CONST(name, message);
394 /* Error is already dynamic, let's just update the message */
395 free((char*) e->message);
396 e->message = x;
410 e->message = x;
418 /* Error is dynamic, let's hence make the message also dynamic */
423 free((char*) e->message);
424 e->message = t;
427 e->message = x;
465 /* Now, fill in the message from strerror() if we can */
505 /* Then, let's try to fill in the supplied message */
518 e->message = m;
524 free((char*) e->message);
525 e->message = m;
531 /* If that didn't work, use strerror() for the message */
570 if (e->message)
571 return e->message;