Lines Matching refs:error

91 	DBusError error;  in print_props()  local
96 dbus_error_init (&error); in print_props()
98 props = libhal_device_get_all_properties (hal_ctx, udi, &error); in print_props()
107 LIBHAL_FREE_DBUS_ERROR (&error); in print_props()
181 DBusError error; in dump_device() local
183 dbus_error_init (&error); in dump_device()
185 if (!libhal_device_exists (hal_ctx, udi, &error)) { in dump_device()
186 LIBHAL_FREE_DBUS_ERROR (&error); in dump_device()
255 DBusError error; in dump_devices() local
257 dbus_error_init (&error); in dump_devices()
259 device_names = libhal_get_all_devices (hal_ctx, &num_devices, &error); in dump_devices()
261 LIBHAL_FREE_DBUS_ERROR (&error); in dump_devices()
274 device_names[i], "info.parent", &error); in dump_devices()
276 if (dbus_error_is_set (&error)) { in dump_devices()
279 dbus_error_free (&error); in dump_devices()
401 DBusError error; in print_property() local
403 dbus_error_init (&error); in print_property()
405 type = libhal_device_get_property_type (hal_ctx, udi, key, &error); in print_property()
409 str = libhal_device_get_property_string (hal_ctx, udi, key, &error); in print_property()
415 dbus_int32_t value = libhal_device_get_property_int (hal_ctx, udi, key, &error); in print_property()
422 dbus_uint64_t value = libhal_device_get_property_uint64 (hal_ctx, udi, key, &error); in print_property()
429 libhal_device_get_property_double (hal_ctx, udi, key, &error)); in print_property()
433 libhal_device_get_property_bool (hal_ctx, udi, key, &error) ? "true" : "false"); in print_property()
445 strlist = libhal_device_get_property_strlist (hal_ctx, udi, key, &error); in print_property()
464 if (dbus_error_is_set (&error)) in print_property()
465 dbus_error_free (&error); in print_property()
576 DBusError error; in main() local
663 dbus_error_init (&error); in main()
664 conn = dbus_bus_get (DBUS_BUS_SYSTEM, &error); in main()
667 error.name, error.message); in main()
668 LIBHAL_FREE_DBUS_ERROR (&error); in main()
681 error.name, error.message); in main()
684 if (!libhal_ctx_init (hal_ctx, &error)) { in main()
685 if (dbus_error_is_set(&error)) { in main()
686 fprintf (stderr, "error: libhal_ctx_init: %s: %s\n", error.name, error.message); in main()
687 LIBHAL_FREE_DBUS_ERROR (&error); in main()
711 if ( libhal_device_property_watch_all (hal_ctx, &error) == FALSE) { in main()
713 error.name, error.message); in main()
714 LIBHAL_FREE_DBUS_ERROR (&error); in main()
722 if ( libhal_ctx_shutdown (hal_ctx, &error) == FALSE) in main()
723 LIBHAL_FREE_DBUS_ERROR (&error); in main()