Home
last modified time | relevance | path

Searched refs:gerr (Results 1 – 10 of 10) sorted by relevance

/external/bluetooth/glib/tests/
Diochannel-test.c58 GError *gerr = NULL; in main() local
75 gio_r = g_io_channel_new_file (filename, "r", &gerr); in main()
76 if (gerr) in main()
78 g_warning ("Unable to open file %s: %s", filename, gerr->message); in main()
79 g_error_free (gerr); in main()
82 gio_w = g_io_channel_new_file ("iochannel-test-outfile", "w", &gerr); in main()
83 if (gerr) in main()
85 g_warning ("Unable to open file %s: %s", "iochannel-test-outfile", gerr->message); in main()
86 g_error_free (gerr); in main()
90 g_io_channel_set_encoding (gio_r, encoding, &gerr); in main()
[all …]
/external/bluetooth/bluez/input/
Dserver.c65 GError *gerr = NULL; in connect_event_cb() local
73 bt_io_get(chan, BT_IO_L2CAP, &gerr, in connect_event_cb()
78 if (gerr) { in connect_event_cb()
79 error("%s", gerr->message); in connect_event_cb()
80 g_error_free(gerr); in connect_event_cb()
/external/bluetooth/bluez/serial/
Dproxy.c513 GError *gerr = NULL; in enable_proxy() local
521 NULL, &gerr, in enable_proxy()
527 bt_io_get(prx->io, BT_IO_RFCOMM, &gerr, in enable_proxy()
530 if (gerr) { in enable_proxy()
558 error("%s", gerr->message); in enable_proxy()
559 g_error_free(gerr); in enable_proxy()
1194 GError *gerr = NULL; in serial_proxy_init() local
1201 if (!g_key_file_load_from_file(config, file, 0, &gerr)) { in serial_proxy_init()
1202 error("Parsing %s failed: %s", file, gerr->message); in serial_proxy_init()
1203 g_error_free(gerr); in serial_proxy_init()
[all …]
Dport.c387 GError *gerr = NULL; in get_record_cb() local
421 NULL, &gerr, in get_record_cb()
427 error("%s", gerr->message); in get_record_cb()
428 reply = failed(port->msg, gerr->message); in get_record_cb()
429 g_error_free(gerr); in get_record_cb()
/external/bluetooth/bluez/src/
Dbtio.c43 #define ERROR_FAILED(gerr, str, err) \ argument
44 g_set_error(gerr, BT_IO_ERROR, BT_IO_ERROR_FAILED, \
142 GError *gerr = NULL; in connect_cb() local
156 g_set_error(&gerr, BT_IO_ERROR, in connect_cb()
160 g_set_error(&gerr, BT_IO_ERROR, BT_IO_ERROR_CONNECT_FAILED, in connect_cb()
163 conn->connect(io, gerr, conn->user_data); in connect_cb()
165 if (gerr) in connect_cb()
166 g_error_free(gerr); in connect_cb()
1199 GError **gerr, BtIOOption opt1, ...) in bt_io_connect() argument
1208 ret = parse_set_opts(&opts, gerr, opt1, args); in bt_io_connect()
[all …]
/external/bluetooth/bluez/audio/
Dgateway.c277 GError *gerr = NULL; in get_record_cb() local
323 io = bt_io_connect(BT_IO_RFCOMM, rfcomm_connect_cb, dev, NULL, &gerr, in get_record_cb()
329 error("Unable to connect: %s", gerr->message); in get_record_cb()
347 if (!gerr) in get_record_cb()
348 g_set_error(&gerr, BT_IO_ERROR, BT_IO_ERROR_FAILED, in get_record_cb()
352 gw->sco_start_cb(dev, gerr, gw->sco_start_cb_data); in get_record_cb()
354 g_error_free(gerr); in get_record_cb()
Dgstavdtpsink.c368 GError *gerr = NULL; in gst_avdtp_sink_conf_recv_stream_fd() local
387 status = g_io_channel_set_flags(self->stream, flags, &gerr); in gst_avdtp_sink_conf_recv_stream_fd()
389 if (gerr) in gst_avdtp_sink_conf_recv_stream_fd()
392 "%s", gerr->message); in gst_avdtp_sink_conf_recv_stream_fd()
414 status = g_io_channel_set_flags(self->stream, flags, &gerr); in gst_avdtp_sink_conf_recv_stream_fd()
416 if (gerr) in gst_avdtp_sink_conf_recv_stream_fd()
419 "%s", gerr->message); in gst_avdtp_sink_conf_recv_stream_fd()
Dcontrol.c703 GError *gerr = NULL; in avctp_connect_cb() local
711 bt_io_get(chan, BT_IO_L2CAP, &gerr, in avctp_connect_cb()
715 if (gerr) { in avctp_connect_cb()
717 error("%s", gerr->message); in avctp_connect_cb()
718 g_error_free(gerr); in avctp_connect_cb()
Davdtp.c2196 GError *gerr = NULL; in avdtp_connect_cb() local
2206 bt_io_get(chan, BT_IO_L2CAP, &gerr, in avdtp_connect_cb()
2210 if (gerr) { in avdtp_connect_cb()
2211 error("%s", gerr->message); in avdtp_connect_cb()
2212 g_error_free(gerr); in avdtp_connect_cb()
/external/openssl/ssl/
Ds3_srvr.c2615 goto gerr; in ssl3_get_client_key_exchange()
2630 goto gerr; in ssl3_get_client_key_exchange()
2636 goto gerr; in ssl3_get_client_key_exchange()
2647 gerr: in ssl3_get_client_key_exchange()