/third_party/glib/gobject/ |
D | gclosure.c | 100 GClosure closure; member 112 _SET_OLD tmp.closure._field; \ 113 tmp.closure._field _OP _value; \ 114 _SET_NEW tmp.closure._field; \ 195 GClosure *closure; in g_closure_new_simple() local 220 closure = (GClosure *) (allocated + private_size); in g_closure_new_simple() 222 SET (closure, ref_count, 1); in g_closure_new_simple() 223 SET (closure, floating, TRUE); in g_closure_new_simple() 224 closure->data = data; in g_closure_new_simple() 226 return closure; in g_closure_new_simple() [all …]
|
D | gmarshal.c | 90 g_cclosure_marshal_VOID__VOID (GClosure *closure, in g_cclosure_marshal_VOID__VOID() argument 100 GCClosure *cc = (GCClosure*) closure; in g_cclosure_marshal_VOID__VOID() 105 if (G_CCLOSURE_SWAP_DATA (closure)) in g_cclosure_marshal_VOID__VOID() 107 data1 = closure->data; in g_cclosure_marshal_VOID__VOID() 113 data2 = closure->data; in g_cclosure_marshal_VOID__VOID() 139 g_cclosure_marshal_VOID__VOIDv (GClosure *closure, in g_cclosure_marshal_VOID__VOIDv() argument 149 GCClosure *cc = (GCClosure*) closure; in g_cclosure_marshal_VOID__VOIDv() 153 if (G_CCLOSURE_SWAP_DATA (closure)) in g_cclosure_marshal_VOID__VOIDv() 155 data1 = closure->data; in g_cclosure_marshal_VOID__VOIDv() 161 data2 = closure->data; in g_cclosure_marshal_VOID__VOIDv() [all …]
|
D | gmarshal.h | 24 void g_cclosure_marshal_VOID__VOID (GClosure *closure, 31 void g_cclosure_marshal_VOID__VOIDv (GClosure *closure, 41 void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure, 48 void g_cclosure_marshal_VOID__BOOLEANv (GClosure *closure, 58 void g_cclosure_marshal_VOID__CHAR (GClosure *closure, 65 void g_cclosure_marshal_VOID__CHARv (GClosure *closure, 75 void g_cclosure_marshal_VOID__UCHAR (GClosure *closure, 82 void g_cclosure_marshal_VOID__UCHARv (GClosure *closure, 92 void g_cclosure_marshal_VOID__INT (GClosure *closure, 99 void g_cclosure_marshal_VOID__INTv (GClosure *closure, [all …]
|
D | gsourceclosure.c | 58 source_closure_marshal_BOOLEAN__VOID (GClosure *closure, in source_closure_marshal_BOOLEAN__VOID() argument 66 GCClosure *cc = (GCClosure*) closure; in source_closure_marshal_BOOLEAN__VOID() 74 v_return = callback (closure->data); in source_closure_marshal_BOOLEAN__VOID() 84 GClosure *closure = data; in io_watch_closure_callback() local 97 g_closure_invoke (closure, &result_value, 2, params, NULL); in io_watch_closure_callback() 112 GClosure *closure = data; in g_child_watch_closure_callback() local 132 g_closure_invoke (closure, &result_value, 2, params, NULL); in g_child_watch_closure_callback() 148 GClosure *closure = data; in g_unix_fd_source_closure_callback() local 162 g_closure_invoke (closure, &result_value, 2, params, NULL); in g_unix_fd_source_closure_callback() 176 GClosure *closure = data; in source_closure_callback() local [all …]
|
D | gclosure.h | 39 #define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL) argument 96 GClosure *closure); 115 typedef void (*GClosureMarshal) (GClosure *closure, 142 typedef void (* GVaClosureMarshal) (GClosure *closure, 193 /*< private >*/ void (*marshal) (GClosure *closure, 218 GClosure closure; member 239 GClosure* g_closure_ref (GClosure *closure); 241 void g_closure_sink (GClosure *closure); 243 void g_closure_unref (GClosure *closure); 249 void g_closure_add_finalize_notifier (GClosure *closure, [all …]
|
/third_party/glib/gio/ |
D | gtlsinteraction.c | 139 InvokeClosure *closure = data; in invoke_closure_free() local 140 g_assert (closure); in invoke_closure_free() 141 g_object_unref (closure->interaction); in invoke_closure_free() 142 g_clear_object (&closure->argument); in invoke_closure_free() 143 g_clear_object (&closure->cancellable); in invoke_closure_free() 144 g_cond_clear (&closure->cond); in invoke_closure_free() 145 g_mutex_clear (&closure->mutex); in invoke_closure_free() 146 g_clear_error (&closure->error); in invoke_closure_free() 149 g_assert (closure->callback == NULL); in invoke_closure_free() 150 g_assert (closure->user_data == NULL); in invoke_closure_free() [all …]
|
D | gmarshal-internal.c | 70 _g_cclosure_marshal_BOOLEAN__OBJECT (GClosure *closure, in _g_cclosure_marshal_BOOLEAN__OBJECT() argument 80 GCClosure *cc = (GCClosure *) closure; in _g_cclosure_marshal_BOOLEAN__OBJECT() 88 if (G_CCLOSURE_SWAP_DATA (closure)) in _g_cclosure_marshal_BOOLEAN__OBJECT() 90 data1 = closure->data; in _g_cclosure_marshal_BOOLEAN__OBJECT() 96 data2 = closure->data; in _g_cclosure_marshal_BOOLEAN__OBJECT() 108 _g_cclosure_marshal_BOOLEAN__OBJECTv (GClosure *closure, in _g_cclosure_marshal_BOOLEAN__OBJECTv() argument 119 GCClosure *cc = (GCClosure *) closure; in _g_cclosure_marshal_BOOLEAN__OBJECTv() 134 if (G_CCLOSURE_SWAP_DATA (closure)) in _g_cclosure_marshal_BOOLEAN__OBJECTv() 136 data1 = closure->data; in _g_cclosure_marshal_BOOLEAN__OBJECTv() 142 data2 = closure->data; in _g_cclosure_marshal_BOOLEAN__OBJECTv() [all …]
|
D | gmarshal-internal.h | 26 void _g_cclosure_marshal_BOOLEAN__OBJECT (GClosure *closure, 33 void _g_cclosure_marshal_BOOLEAN__OBJECTv (GClosure *closure, 43 void _g_cclosure_marshal_BOOLEAN__OBJECT_FLAGS (GClosure *closure, 50 void _g_cclosure_marshal_BOOLEAN__OBJECT_FLAGSv (GClosure *closure, 60 void _g_cclosure_marshal_BOOLEAN__OBJECT_OBJECT (GClosure *closure, 67 void _g_cclosure_marshal_BOOLEAN__OBJECT_OBJECTv (GClosure *closure, 77 void _g_cclosure_marshal_BOOLEAN__POINTER_INT (GClosure *closure, 84 void _g_cclosure_marshal_BOOLEAN__POINTER_INTv (GClosure *closure, 94 void _g_cclosure_marshal_BOOLEAN__STRING (GClosure *closure, 101 void _g_cclosure_marshal_BOOLEAN__STRINGv (GClosure *closure, [all …]
|
D | gvfs.c | 100 GVfsURISchemeData *closure = data; in g_vfs_uri_lookup_func_closure_free() local 102 if (closure->uri_destroy) in g_vfs_uri_lookup_func_closure_free() 103 closure->uri_destroy (closure->uri_data); in g_vfs_uri_lookup_func_closure_free() 104 if (closure->parse_name_destroy) in g_vfs_uri_lookup_func_closure_free() 105 closure->parse_name_destroy (closure->parse_name_data); in g_vfs_uri_lookup_func_closure_free() 107 g_free (closure); in g_vfs_uri_lookup_func_closure_free() 175 GVfsURISchemeData *closure; in parse_name_internal() local 181 while (g_hash_table_iter_next (&iter, NULL, (gpointer *) &closure)) in parse_name_internal() 183 ret = closure->parse_name_func (vfs, parse_name, in parse_name_internal() 184 closure->parse_name_data); in parse_name_internal() [all …]
|
/third_party/boost/boost/geometry/core/ |
D | closure.hpp | 75 struct closure struct 85 namespace core_detail { namespace closure namespace 116 struct closure struct 126 struct closure<point_tag, Box> : public core_detail::closure::closed {}; struct 129 struct closure<box_tag, Box> : public core_detail::closure::closed {}; struct 132 struct closure<segment_tag, Box> : public core_detail::closure::closed {}; struct 135 struct closure<linestring_tag, LineString> struct 136 : public core_detail::closure::closed {}; 140 struct closure<ring_tag, Ring> struct 143 = geometry::traits::closure<Ring>::value; [all …]
|
/third_party/grpc/third_party/upb/upb/json/ |
D | printer.c | 236 static bool putkey(void *closure, const void *handler_data) { in putkey() argument 237 upb_json_printer *p = closure; in putkey() 250 static bool put##type(void *closure, const void *handler_data, type val) { \ 251 upb_json_printer *p = closure; \ 259 static bool scalar_##type(void *closure, const void *handler_data, \ 261 CHK(putkey(closure, handler_data)); \ 262 CHK(put##type(closure, handler_data, val)); \ 265 static bool repeated_##type(void *closure, const void *handler_data, \ 267 upb_json_printer *p = closure; \ 269 CHK(put##type(closure, handler_data, val)); \ [all …]
|
/third_party/grpc/src/core/lib/iomgr/ |
D | call_combiner.h | 56 #define GRPC_CALL_COMBINER_START(call_combiner, closure, error, reason) \ argument 57 (call_combiner)->Start((closure), (error), __FILE__, __LINE__, (reason)) 61 void Start(grpc_closure* closure, grpc_error* error, const char* file, 66 #define GRPC_CALL_COMBINER_START(call_combiner, closure, error, reason) \ argument 67 (call_combiner)->Start((closure), (error), (reason)) 71 void Start(grpc_closure* closure, grpc_error* error, const char* reason); 101 void SetNotifyOnCancel(grpc_closure* closure); 107 void ScheduleClosure(grpc_closure* closure, grpc_error* error); 153 void Add(grpc_closure* closure, grpc_error* error, const char* reason) { in Add() argument 154 closures_.emplace_back(closure, error, reason); in Add() [all …]
|
D | closure.h | 93 grpc_closure* closure, argument 96 inline grpc_closure* grpc_closure_init(grpc_closure* closure, 99 closure->cb = cb; 100 closure->cb_arg = cb_arg; 101 closure->error_data.error = GRPC_ERROR_NONE; 103 closure->scheduled = false; 104 closure->file_initiated = nullptr; 105 closure->line_initiated = 0; 106 closure->run = false; 107 closure->file_created = file; [all …]
|
D | exec_ctx.cc | 30 static void exec_ctx_run(grpc_closure* closure, grpc_error* error) { in exec_ctx_run() argument 32 closure->scheduled = false; in exec_ctx_run() 35 closure, closure->file_created, closure->line_created, in exec_ctx_run() 36 closure->run ? "run" : "scheduled", closure->file_initiated, in exec_ctx_run() 37 closure->line_initiated); in exec_ctx_run() 40 closure->cb(closure->cb_arg, error); in exec_ctx_run() 43 gpr_log(GPR_DEBUG, "closure %p finished", closure); in exec_ctx_run() 49 static void exec_ctx_sched(grpc_closure* closure, grpc_error* error) { in exec_ctx_sched() argument 50 grpc_closure_list_append(grpc_core::ExecCtx::Get()->closure_list(), closure, in exec_ctx_sched() 172 void ExecCtx::Run(const DebugLocation& location, grpc_closure* closure, in Run() argument [all …]
|
D | call_combiner.cc | 94 void CallCombiner::ScheduleClosure(grpc_closure* closure, grpc_error* error) { in ScheduleClosure() argument 96 original_closure_ = closure; in ScheduleClosure() 99 ExecCtx::Run(DEBUG_LOCATION, closure, error); in ScheduleClosure() 113 void CallCombiner::Start(grpc_closure* closure, grpc_error* error, in Start() argument 120 this, closure DEBUG_FMT_ARGS, reason, grpc_error_string(error)); in Start() 136 ScheduleClosure(closure, error); in Start() 142 closure->error_data.error = error; in Start() 144 reinterpret_cast<MultiProducerSingleConsumerQueue::Node*>(closure)); in Start() 167 grpc_closure* closure = in Stop() local 169 if (closure == nullptr) { in Stop() [all …]
|
/third_party/wayland_standard/src/ |
D | connection.c | 542 wl_closure_clear_fds(struct wl_closure *closure) in wl_closure_clear_fds() argument 544 const char *signature = closure->message->signature; in wl_closure_clear_fds() 548 for (i = 0; i < closure->count; i++) { in wl_closure_clear_fds() 551 closure->args[i].h = -1; in wl_closure_clear_fds() 559 struct wl_closure *closure; in wl_closure_init() local 571 closure = malloc(sizeof *closure + size + in wl_closure_init() 574 closure = malloc(sizeof *closure); in wl_closure_init() 577 if (!closure) { in wl_closure_init() 583 memcpy(closure->args, args, count * sizeof *args); in wl_closure_init() 585 closure->message = message; in wl_closure_init() [all …]
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | common_unittest.cc | 204 Closure* closure = NewCallback(&SetA123Function); in TEST_F() local 206 closure->Run(); in TEST_F() 211 Closure* closure = NewCallback(current_instance_, in TEST_F() local 214 closure->Run(); in TEST_F() 219 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F() local 221 closure->Run(); in TEST_F() 226 Closure* closure = NewCallback(current_instance_, in TEST_F() local 229 closure->Run(); in TEST_F() 234 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F() local 236 closure->Run(); in TEST_F() [all …]
|
/third_party/cef/libcef_dll/wrapper/ |
D | cef_closure_task.cc | 15 explicit CefOnceClosureTask(base::OnceClosure closure) in CefOnceClosureTask() argument 16 : closure_(std::move(closure)) {} in CefOnceClosureTask() 32 explicit CefRepeatingClosureTask(const base::RepeatingClosure& closure) in CefRepeatingClosureTask() argument 33 : closure_(closure) {} in CefRepeatingClosureTask() 52 CefRefPtr<CefTask> CefCreateClosureTask(base::OnceClosure closure) { in CefCreateClosureTask() argument 53 return new CefOnceClosureTask(std::move(closure)); in CefCreateClosureTask() 56 CefRefPtr<CefTask> CefCreateClosureTask(const base::RepeatingClosure& closure) { in CefCreateClosureTask() argument 57 return new CefRepeatingClosureTask(closure); in CefCreateClosureTask() 60 bool CefPostTask(CefThreadId threadId, base::OnceClosure closure) { in CefPostTask() argument 61 return CefPostTask(threadId, new CefOnceClosureTask(std::move(closure))); in CefPostTask() [all …]
|
/third_party/alsa-utils/axfer/ |
D | xfer-libasound-irq-rw.c | 61 struct rw_closure *closure = state->private_data; in read_frames() local 71 if (avail_count > frame_cache_get_count(&closure->cache)) { in read_frames() 72 avail_count -= frame_cache_get_count(&closure->cache); in read_frames() 76 if (closure->access == SND_PCM_ACCESS_RW_INTERLEAVED) { in read_frames() 78 closure->cache.buf_ptr, in read_frames() 82 closure->cache.buf_ptr, in read_frames() 89 frame_cache_increase_count(&closure->cache, handled_frame_count); in read_frames() 90 avail_count = frame_cache_get_count(&closure->cache); in read_frames() 95 err = mapper_context_process_frames(mapper, closure->cache.buf, in read_frames() 100 frame_cache_reduce(&closure->cache, consumed_count); in read_frames() [all …]
|
/third_party/grpc/third_party/upb/upb/ |
D | sink.h | 40 void *closure; member 52 return func(s.closure, hd, val); \ 66 s->closure = c; in PUTVAL() 79 return handler(s.closure, hd, buf, n, handle); in upb_sink_putstring() 91 return handler(s.closure, hd, buf, n); in upb_sink_putunknown() 103 return startmsg(s.closure, hd); in upb_sink_startmsg() 115 return endmsg(s.closure, hd, status); in upb_sink_endmsg() 123 sub->closure = s.closure; in upb_sink_startseq() 129 sub->closure = startseq(s.closure, hd); in upb_sink_startseq() 130 return sub->closure ? true : false; in upb_sink_startseq() [all …]
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 471 static PyObject* GetName(PyBaseDescriptor* self, void *closure) { in GetName() argument 475 static PyObject* GetFullName(PyBaseDescriptor* self, void *closure) { in GetFullName() argument 479 static PyObject* GetFile(PyBaseDescriptor *self, void *closure) { in GetFile() argument 483 static PyObject* GetConcreteClass(PyBaseDescriptor* self, void *closure) { in GetConcreteClass() argument 497 static PyObject* GetFieldsByName(PyBaseDescriptor* self, void *closure) { in GetFieldsByName() argument 502 void *closure) { in GetFieldsByCamelcaseName() argument 506 static PyObject* GetFieldsByNumber(PyBaseDescriptor* self, void *closure) { in GetFieldsByNumber() argument 510 static PyObject* GetFieldsSeq(PyBaseDescriptor* self, void *closure) { in GetFieldsSeq() argument 514 static PyObject* GetNestedTypesByName(PyBaseDescriptor* self, void *closure) { in GetNestedTypesByName() argument 518 static PyObject* GetNestedTypesSeq(PyBaseDescriptor* self, void *closure) { in GetNestedTypesSeq() argument [all …]
|
/third_party/flutter/engine/flutter/fml/ |
D | closure.h | 14 using closure = std::function<void()>; variable 34 ScopedCleanupClosure(fml::closure closure) : closure_(closure) {} in ScopedCleanupClosure() argument 42 fml::closure Release() { in Release() 43 fml::closure closure = closure_; in Release() local 45 return closure; in Release() 49 fml::closure closure_;
|
/third_party/libffi/src/powerpc/ |
D | ffi.c | 78 void *closure) in ffi_call_int() argument 105 ffi_call_LINUX64 (&ecif, fn, ecif.rvalue, cif->flags, closure, in ffi_call_int() 108 ffi_call_SYSV (&ecif, fn, ecif.rvalue, cif->flags, closure, -cif->bytes); in ffi_call_int() 143 void *closure) in ffi_call_go() argument 145 ffi_call_int (cif, fn, rvalue, avalue, closure); in ffi_call_go() 149 ffi_prep_closure_loc (ffi_closure *closure, in ffi_prep_closure_loc() argument 156 return ffi_prep_closure_loc_linux64 (closure, cif, fun, user_data, codeloc); in ffi_prep_closure_loc() 158 return ffi_prep_closure_loc_sysv (closure, cif, fun, user_data, codeloc); in ffi_prep_closure_loc() 163 ffi_prep_go_closure (ffi_go_closure *closure, in ffi_prep_go_closure() argument 168 closure->tramp = ffi_go_closure_linux64; in ffi_prep_go_closure() [all …]
|
/third_party/harfbuzz/util/ |
D | helper-cairo.cc | 47 void *closure, in _cairo_eps_surface_create_for_stream() argument 53 surface = cairo_ps_surface_create_for_stream (write_func, closure, width, height); in _cairo_eps_surface_create_for_stream() 188 void *closure; member 195 finalize_ansi (finalize_closure_t *closure) in finalize_ansi() argument 198 status = helper_cairo_surface_write_to_ansi_stream (closure->surface, in finalize_ansi() 199 closure->write_func, in finalize_ansi() 200 closure->closure); in finalize_ansi() 208 void *closure, in _cairo_ansi_surface_create_for_stream() argument 239 ansi_closure->closure = closure; in _cairo_ansi_surface_create_for_stream() 245 g_free ((void *) closure); in _cairo_ansi_surface_create_for_stream() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
D | helper-cairo.hh | 51 void *closure, in _cairo_eps_surface_create_for_stream() argument 57 surface = cairo_ps_surface_create_for_stream (write_func, closure, width, height); in _cairo_eps_surface_create_for_stream() 192 void *closure; member 199 finalize_ansi (finalize_closure_t *closure) in finalize_ansi() argument 202 status = helper_cairo_surface_write_to_ansi_stream (closure->surface, in finalize_ansi() 203 closure->write_func, in finalize_ansi() 204 closure->closure); in finalize_ansi() 212 void *closure, in _cairo_ansi_surface_create_for_stream() argument 243 ansi_closure->closure = closure; in _cairo_ansi_surface_create_for_stream() 249 g_free ((void *) closure); in _cairo_ansi_surface_create_for_stream() [all …]
|