Home
last modified time | relevance | path

Searched refs:cancellable (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/third_party/glib/gio/
Dgcancellable.c67 GCancellable *cancellable = G_CANCELLABLE (object); local
69 if (cancellable->priv->wakeup)
70 GLIB_PRIVATE_CALL (g_wakeup_free) (cancellable->priv->wakeup);
150 g_cancellable_init (GCancellable *cancellable) in g_cancellable_init() argument
152 cancellable->priv = g_cancellable_get_instance_private (cancellable); in g_cancellable_init()
189 g_cancellable_push_current (GCancellable *cancellable) in g_cancellable_push_current() argument
193 g_return_if_fail (cancellable != NULL); in g_cancellable_push_current()
196 l = g_slist_prepend (l, cancellable); in g_cancellable_push_current()
208 g_cancellable_pop_current (GCancellable *cancellable) in g_cancellable_pop_current() argument
215 g_return_if_fail (l->data == cancellable); in g_cancellable_pop_current()
[all …]
Dgfile.h194 GCancellable *cancellable,
200 GCancellable *cancellable,
210 GCancellable *cancellable,
216 GCancellable *cancellable,
225 GCancellable *cancellable,
230 GCancellable *cancellable,
238 GCancellable *cancellable,
242 GCancellable *cancellable,
251 GCancellable *cancellable,
256 GCancellable *cancellable,
[all …]
Dgfile.c172 … GCancellable *cancellable,
181 … GCancellable *cancellable,
191 … GCancellable *cancellable,
199 … GCancellable *cancellable,
208 … GCancellable *cancellable,
217 … GCancellable *cancellable,
228 … GCancellable *cancellable,
236 … GCancellable *cancellable,
244 … GCancellable *cancellable,
252 … GCancellable *cancellable,
[all …]
Dgcancellable.h59 void (* cancelled) (GCancellable *cancellable);
78 gboolean g_cancellable_is_cancelled (GCancellable *cancellable);
80 gboolean g_cancellable_set_error_if_cancelled (GCancellable *cancellable,
84 int g_cancellable_get_fd (GCancellable *cancellable);
86 gboolean g_cancellable_make_pollfd (GCancellable *cancellable,
89 void g_cancellable_release_fd (GCancellable *cancellable);
92 GSource * g_cancellable_source_new (GCancellable *cancellable);
97 void g_cancellable_push_current (GCancellable *cancellable);
99 void g_cancellable_pop_current (GCancellable *cancellable);
101 void g_cancellable_reset (GCancellable *cancellable);
[all …]
Dgfileoutputstream.c61 GCancellable *cancellable,
66 GCancellable *cancellable,
71 GCancellable *cancellable,
140 GCancellable *cancellable, in g_file_output_stream_query_info() argument
156 if (cancellable) in g_file_output_stream_query_info()
157 g_cancellable_push_current (cancellable); in g_file_output_stream_query_info()
161 info = class->query_info (stream, attributes, cancellable, error); in g_file_output_stream_query_info()
166 if (cancellable) in g_file_output_stream_query_info()
167 g_cancellable_pop_current (cancellable); in g_file_output_stream_query_info()
208 GCancellable *cancellable, in g_file_output_stream_query_info_async() argument
[all …]
Dgoutputstream.h69 GCancellable *cancellable,
74 GCancellable *cancellable,
77 GCancellable *cancellable,
80 GCancellable *cancellable,
89 GCancellable *cancellable,
99 GCancellable *cancellable,
107 GCancellable *cancellable,
115 GCancellable *cancellable,
126 GCancellable *cancellable,
133 GCancellable *cancellable,
[all …]
Dgtlsinteraction.c123 GCancellable *cancellable; member
143 g_clear_object (&closure->cancellable); in invoke_closure_free()
158 GCancellable *cancellable) in invoke_closure_new() argument
163 closure->cancellable = cancellable ? g_object_ref (cancellable) : NULL; in invoke_closure_new()
281 closure->cancellable, in on_invoke_ask_password_sync()
326 closure->cancellable, in on_invoke_ask_password_async_as_sync()
373 GCancellable *cancellable, in g_tls_interaction_invoke_ask_password() argument
382 …g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), G_TLS_INTERACTION_UNH… in g_tls_interaction_invoke_ask_password()
388 closure = invoke_closure_new (interaction, G_OBJECT (password), cancellable); in g_tls_interaction_invoke_ask_password()
397 closure = invoke_closure_new (interaction, G_OBJECT (password), cancellable); in g_tls_interaction_invoke_ask_password()
[all …]
Dgfileiostream.c69 GCancellable *cancellable,
74 GCancellable *cancellable,
79 GCancellable *cancellable,
143 GCancellable *cancellable, in g_file_io_stream_query_info() argument
159 if (cancellable) in g_file_io_stream_query_info()
160 g_cancellable_push_current (cancellable); in g_file_io_stream_query_info()
164 info = class->query_info (stream, attributes, cancellable, error); in g_file_io_stream_query_info()
169 if (cancellable) in g_file_io_stream_query_info()
170 g_cancellable_pop_current (cancellable); in g_file_io_stream_query_info()
212 GCancellable *cancellable, in g_file_io_stream_query_info_async() argument
[all …]
Dgfileinputstream.c56 GCancellable *cancellable,
61 GCancellable *cancellable,
66 GCancellable *cancellable,
125 GCancellable *cancellable, in g_file_input_stream_query_info() argument
141 if (cancellable) in g_file_input_stream_query_info()
142 g_cancellable_push_current (cancellable); in g_file_input_stream_query_info()
146 info = class->query_info (stream, attributes, cancellable, error); in g_file_input_stream_query_info()
151 if (cancellable) in g_file_input_stream_query_info()
152 g_cancellable_pop_current (cancellable); in g_file_input_stream_query_info()
198 GCancellable *cancellable, in g_file_input_stream_query_info_async() argument
[all …]
Dgtlsdatabase.c146 GCancellable *cancellable) in async_verify_chain_thread() argument
158 cancellable, in async_verify_chain_thread()
173 GCancellable *cancellable, in g_tls_database_real_verify_chain_async() argument
187 task = g_task_new (self, cancellable, callback, user_data); in g_tls_database_real_verify_chain_async()
231 GCancellable *cancellable) in async_lookup_certificate_for_handle_thread() argument
241 cancellable, in async_lookup_certificate_for_handle_thread()
254 GCancellable *cancellable, in g_tls_database_real_lookup_certificate_for_handle_async() argument
265 task = g_task_new (self, cancellable, callback, user_data); in g_tls_database_real_lookup_certificate_for_handle_async()
305 GCancellable *cancellable) in async_lookup_certificate_issuer_thread() argument
315 cancellable, in async_lookup_certificate_issuer_thread()
[all …]
Dgresolver.h72 GCancellable *cancellable,
76 GCancellable *cancellable,
85 GCancellable *cancellable,
89 GCancellable *cancellable,
98 GCancellable *cancellable,
102 GCancellable *cancellable,
112 GCancellable *cancellable,
118 GCancellable *cancellable,
144 GCancellable *cancellable,
179 GCancellable *cancellable,
[all …]
Dgdbus-daemon-generated.h242 GCancellable *cancellable,
255 GCancellable *cancellable,
262 GCancellable *cancellable,
277 GCancellable *cancellable,
283 GCancellable *cancellable,
297 GCancellable *cancellable,
304 GCancellable *cancellable,
319 GCancellable *cancellable,
325 GCancellable *cancellable,
339 GCancellable *cancellable,
[all …]
Dgoutputstream.c63 GCancellable *cancellable,
69 GCancellable *cancellable,
79 GCancellable *cancellable,
85 GCancellable *cancellable,
96 GCancellable *cancellable,
104 GCancellable *cancellable,
112 GCancellable *cancellable,
119 GCancellable *cancellable,
123 GCancellable *cancellable,
208 GCancellable *cancellable, in g_output_stream_write() argument
[all …]
Dginputstream.h64 GCancellable *cancellable,
68 GCancellable *cancellable,
71 GCancellable *cancellable,
79 GCancellable *cancellable,
88 GCancellable *cancellable,
96 GCancellable *cancellable,
119 GCancellable *cancellable,
126 GCancellable *cancellable,
131 GCancellable *cancellable,
136 GCancellable *cancellable,
[all …]
Dgdatagrambased.c173 GCancellable *cancellable, in g_datagram_based_receive_messages() argument
182 g_return_val_if_fail (cancellable == NULL || in g_datagram_based_receive_messages()
183 G_IS_CANCELLABLE (cancellable), -1); in g_datagram_based_receive_messages()
190 flags, timeout, cancellable, &child_error); in g_datagram_based_receive_messages()
274 GCancellable *cancellable, in g_datagram_based_send_messages() argument
283 g_return_val_if_fail (cancellable == NULL || in g_datagram_based_send_messages()
284 G_IS_CANCELLABLE (cancellable), -1); in g_datagram_based_send_messages()
291 timeout, cancellable, &child_error); in g_datagram_based_send_messages()
338 GCancellable *cancellable) in g_datagram_based_create_source() argument
343 g_return_val_if_fail (cancellable == NULL || in g_datagram_based_create_source()
[all …]
Dgpollableoutputstream.c141 GCancellable *cancellable) in g_pollable_output_stream_create_source() argument
146 create_source (stream, cancellable); in g_pollable_output_stream_create_source()
260 GCancellable *cancellable, in g_pollable_output_stream_write_nonblocking() argument
268 if (g_cancellable_set_error_if_cancelled (cancellable, error)) in g_pollable_output_stream_write_nonblocking()
281 if (cancellable) in g_pollable_output_stream_write_nonblocking()
282 g_cancellable_push_current (cancellable); in g_pollable_output_stream_write_nonblocking()
287 if (cancellable) in g_pollable_output_stream_write_nonblocking()
288 g_cancellable_pop_current (cancellable); in g_pollable_output_stream_write_nonblocking()
334 GCancellable *cancellable, in g_pollable_output_stream_writev_nonblocking() argument
346 …g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), G_POLLABLE_RETURN_FAI… in g_pollable_output_stream_writev_nonblocking()
[all …]
Dgiostream.c102 GCancellable *cancellable,
106 GCancellable *cancellable,
336 GCancellable *cancellable, in g_io_stream_real_close() argument
342 cancellable, error); in g_io_stream_real_close()
350 cancellable, error); in g_io_stream_real_close()
401 GCancellable *cancellable, in g_io_stream_close() argument
417 if (cancellable) in g_io_stream_close()
418 g_cancellable_push_current (cancellable); in g_io_stream_close()
422 res = class->close_fn (stream, cancellable, error); in g_io_stream_close()
424 if (cancellable) in g_io_stream_close()
[all …]
Dgdatainputstream.h86 … GCancellable *cancellable,
90 … GCancellable *cancellable,
94 … GCancellable *cancellable,
98 … GCancellable *cancellable,
102 … GCancellable *cancellable,
106 … GCancellable *cancellable,
110 … GCancellable *cancellable,
115 … GCancellable *cancellable,
120 GCancellable *cancellable,
125 … GCancellable *cancellable,
[all …]
Dginputstream.c61 GCancellable *cancellable,
67 GCancellable *cancellable,
76 GCancellable *cancellable,
84 GCancellable *cancellable,
164 GCancellable *cancellable, in g_input_stream_read() argument
195 if (cancellable) in g_input_stream_read()
196 g_cancellable_push_current (cancellable); in g_input_stream_read()
198 res = class->read_fn (stream, buffer, count, cancellable, error); in g_input_stream_read()
200 if (cancellable) in g_input_stream_read()
201 g_cancellable_pop_current (cancellable); in g_input_stream_read()
[all …]
Dgresolver.c108 GCancellable *cancellable, in g_resolver_real_lookup_service() argument
116 cancellable, in g_resolver_real_lookup_service()
125 GCancellable *cancellable, in g_resolver_real_lookup_service_async() argument
132 cancellable, in g_resolver_real_lookup_service_async()
422 GCancellable *cancellable, in lookup_by_name_real() argument
430 g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), NULL); in lookup_by_name_real()
460 lookup_by_name_with_flags (resolver, hostname, flags, cancellable, error); in lookup_by_name_real()
464 lookup_by_name (resolver, hostname, cancellable, error); in lookup_by_name_real()
513 GCancellable *cancellable, in g_resolver_lookup_by_name() argument
519 cancellable, in g_resolver_lookup_by_name()
[all …]
Dgbufferedoutputstream.c82 GCancellable *cancellable,
85 GCancellable *cancellable,
88 GCancellable *cancellable,
93 GCancellable *cancellable,
101 GCancellable *cancellable,
114 GCancellable *cancellable,
119 GCancellable *cancellable,
407 GCancellable *cancellable, in flush_buffer() argument
426 cancellable, in flush_buffer()
443 GCancellable *cancellable, in g_buffered_output_stream_write() argument
[all …]
Dgtlsdatabase.h64 … GCancellable *cancellable,
73 … GCancellable *cancellable,
88 … GCancellable *cancellable,
95 … GCancellable *cancellable,
107 … GCancellable *cancellable,
114 … GCancellable *cancellable,
126 … GCancellable *cancellable,
133 … GCancellable *cancellable,
156 … GCancellable *cancellable,
166 … GCancellable *cancellable,
[all …]
Dgioscheduler.c47 GCancellable *cancellable; member
65 if (job->cancellable) in g_io_job_free()
66 g_object_unref (job->cancellable); in g_io_job_free()
75 GCancellable *cancellable) in io_job_thread() argument
80 if (job->cancellable) in io_job_thread()
81 g_cancellable_push_current (job->cancellable); in io_job_thread()
85 result = job->job_func (job, job->cancellable, job->data); in io_job_thread()
89 if (job->cancellable) in io_job_thread()
90 g_cancellable_pop_current (job->cancellable); in io_job_thread()
118 GCancellable *cancellable) in g_io_scheduler_push_job() argument
[all …]
Dgdataoutputstream.c67 GCancellable *cancellable,
72 GCancellable *cancellable,
245 GCancellable *cancellable, in g_data_output_stream_put_byte() argument
255 cancellable, error); in g_data_output_stream_put_byte()
272 GCancellable *cancellable, in g_data_output_stream_put_int16() argument
295 cancellable, error); in g_data_output_stream_put_int16()
312 GCancellable *cancellable, in g_data_output_stream_put_uint16() argument
335 cancellable, error); in g_data_output_stream_put_uint16()
352 GCancellable *cancellable, in g_data_output_stream_put_int32() argument
375 cancellable, error); in g_data_output_stream_put_int32()
[all …]
Dgasyncinitable.c138 GCancellable *cancellable,
207 GCancellable *cancellable, in g_async_initable_init_async() argument
217 (* iface->init_async) (initable, io_priority, cancellable, callback, user_data); in g_async_initable_init_async()
257 GCancellable *cancellable) in async_init_thread() argument
261 if (g_initable_init (G_INITABLE (source_object), cancellable, &error)) in async_init_thread()
270 GCancellable *cancellable, in g_async_initable_real_init_async() argument
278 task = g_task_new (initable, cancellable, callback, user_data); in g_async_initable_real_init_async()
335 GCancellable *cancellable, in g_async_initable_new_async() argument
346 io_priority, cancellable, in g_async_initable_new_async()
379 GCancellable *cancellable, in g_async_initable_newv_async() argument
[all …]

12345678910>>...13