HomeSort by relevance Sort by last modified time
    Searched refs:closure (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/bluetooth/glib/gobject/
gclosure.c 46 * In the case of C programs, a closure usually just holds a pointer
57 * marshaller for any closure which is connected to this
64 * GObject create a closure automatically by using one of the
78 * right; if a callback is removed while it is being invoked, the closure
101 GClosure closure; member in union:__anon2202
113 _SET_OLD tmp.closure._field; \
114 tmp.closure._field _OP _value; \
115 _SET_NEW tmp.closure._field; \
161 * GClosure closure;
167 * GClosure *closure)
196 GClosure *closure; local
821 GClosure *closure; local
849 GClosure *closure; local
924 GClosure *closure; local
    [all...]
gclosure.h 34 * @closure: a #GClosure
36 * Check if the closure still needs a marshaller. See g_closure_set_marshal().
39 * @closure.
41 #define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL)
46 * Get the total number of notifiers connected with the closure @cl.
92 * @closure: the #GClosure on which the notification is emitted
98 GClosure *closure);
101 * @closure: the #GClosure to which the marshaller belongs
103 * callback of @closure doesn't return a value
186 GClosure closure; member in struct:_GCClosure
    [all...]
gsourceclosure.c 68 source_closure_marshal_BOOLEAN__VOID (GClosure *closure,
76 GCClosure *cc = (GCClosure*) closure;
84 v_return = callback (closure->data);
94 GClosure *closure = data; local
107 g_closure_invoke (closure, &result_value, 2, params, NULL);
120 GClosure *closure = data; local
126 g_closure_invoke (closure, &result_value, 0, NULL, NULL);
164 * @closure: a #GClosure
174 GClosure *closure)
177 g_return_if_fail (closure != NULL)
    [all...]
gsourceclosure.h 31 GClosure *closure);
gsignal.c 155 GClosure *closure,
218 #define TEST_CLASS_MAGIC (1) /* indicates NULL class closure, candidate for NOP optimization */
254 GClosure *closure; member in struct:_Handler
265 GType instance_type; /* 0 for default closure */
266 GClosure *closure; member in struct:__anon2219
476 GClosure *closure,
500 ((mask & G_SIGNAL_MATCH_CLOSURE) || handler->closure == closure) &&
501 ((mask & G_SIGNAL_MATCH_DATA) || handler->closure->data == data) &&
503 ((mask & G_SIGNAL_MATCH_FUNC) || (handler->closure->marshal == node->c_marshaller &
1852 GClosure *closure = NULL; local
1926 GClosure *closure = NULL; local
    [all...]
  /external/bison/src/
closure.h 29 data so that closure can be called. n is the number of elements to
40 RULESET contains a bit for each rule. CLOSURE sets the bits for
46 significant). CLOSURE places there the indices of all items which
49 void closure (item_number *items, size_t n);
  /external/protobuf/src/google/protobuf/stubs/
common_unittest.cc 197 Closure* closure = NewCallback(&SetA123Function); local
199 closure->Run();
204 Closure* closure = NewCallback(current_instance_, local
207 closure->Run();
212 Closure* closure = NewCallback(&SetAFunction, 456); local
214 closure->Run();
219 Closure* closure = NewCallback(current_instance_ local
227 Closure* closure = NewCallback(&SetCFunction, string("test")); local
234 Closure* closure = NewCallback(current_instance_, local
243 Closure* closure = NewCallback(&SetABFunction, 789, cstr); local
253 Closure* closure = NewCallback(current_instance_, local
265 Closure* closure = NewPermanentCallback(&SetA123Function); local
276 Closure* closure = NewPermanentCallback(current_instance_, local
288 Closure* closure = NewPermanentCallback(&SetAFunction, 456); local
299 Closure* closure = NewPermanentCallback(current_instance_, local
312 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr); local
328 Closure* closure = NewPermanentCallback(current_instance_, local
    [all...]
  /external/bluetooth/glib/tests/refcount/
closures.c 161 test_closure (GClosure *closure)
163 /* try to produce high contention in closure->ref_count */
166 g_closure_ref (closure);
167 g_closure_sink (closure); /* NOP */
169 g_closure_unref (closure);
175 GClosure *closure = data; local
179 test_closure (closure);
193 GClosure *closure = data; local
197 test_closure (closure);
222 GClosure *closure)
240 GClosure *closure; local
    [all...]
  /external/libffi/src/s390/
ffi.c 541 /* Function - Call a FFI closure target function. */
546 ffi_closure_helper_SYSV (ffi_closure *closure,
566 p_arg = avalue = alloca (closure->cif->nargs * sizeof (void *));
572 if (closure->cif->flags == FFI390_RET_STRUCT)
577 for (ptr = closure->cif->arg_types, i = closure->cif->nargs;
682 (closure->fun) (closure->cif, rvalue, avalue, closure->user_data);
685 switch (closure->cif->rtype->type
    [all...]
  /external/libffi/src/alpha/
ffi.c 173 ffi_prep_closure_loc (ffi_closure* closure,
181 tramp = (unsigned int *) &closure->tramp[0];
188 closure->cif = cif;
189 closure->fun = fun;
190 closure->user_data = user_data;
205 ffi_closure_osf_inner(ffi_closure *closure, void *rvalue, unsigned long *argp)
212 cif = closure->cif;
217 /* Copy the caller's structure return address to that the closure
279 /* Invoke the closure. */
280 closure->fun (cif, rvalue, avalue, closure->user_data)
    [all...]
  /external/libffi/src/m68k/
ffi.c 21 unsigned int ffi_closure_SYSV_inner (ffi_closure *closure,
236 ffi_closure_SYSV_inner (ffi_closure *closure, void *resp, void *args)
241 cif = closure->cif;
246 (closure->fun) (cif, resp, arg_area, closure->user_data);
252 ffi_prep_closure_loc (ffi_closure* closure,
260 *(unsigned short *)closure->tramp = 0x207c;
261 *(void **)(closure->tramp + 2) = codeloc;
262 *(unsigned short *)(closure->tramp + 6) = 0x4ef9;
265 *(void **)(closure->tramp + 8) = ffi_closure_struct_SYSV
    [all...]
  /external/libffi/src/x86/
ffi.c 247 ffi_closure_SYSV_inner (closure, respp, args)
248 ffi_closure *closure;
256 cif = closure->cif;
267 (closure->fun) (cif, *respp, arg_area, closure->user_data);
342 ffi_prep_closure_loc (ffi_closure* closure,
350 FFI_INIT_TRAMPOLINE (&closure->tramp[0],
357 FFI_INIT_TRAMPOLINE_STDCALL (&closure->tramp[0],
367 closure->cif = cif;
368 closure->user_data = user_data
    [all...]
  /external/libffi/src/cris/
ffi.c 282 closure data. */
286 /* This function is sibling-called (jumped to) by the closure
290 put at the appropriate place in CLOSURE which is then executed and
294 ffi_prep_closure_inner (void **params, ffi_closure* closure)
300 ffi_cif *cif = closure->cif;
304 void **avalue = alloca (closure->cif->nargs * sizeof(void *));
342 /* Invoke the closure. */
343 (closure->fun) (cif,
356 avalue, closure->user_data);
364 ffi_prep_closure_loc (ffi_closure* closure,
    [all...]
  /external/libffi/src/frv/
ffi.c 173 ffi_closure *closure = creg; local
184 ffi_cif *cif = closure->cif;
225 /* Invoke the closure. */
232 (closure->fun) (cif, return_struct_ptr, avalue, closure->user_data);
238 (closure->fun) (cif, &rvalue, avalue, closure->user_data);
249 ffi_prep_closure_loc (ffi_closure* closure,
255 unsigned int *tramp = (unsigned int *) &closure->tramp[0];
282 closure->cif = cif
    [all...]
  /external/v8/src/
contexts.cc 61 JSFunction* closure = JSFunction::cast(current->closure()); local
62 current = Context::cast(closure->context());
123 Handle<Code> code(context->closure()->code());
191 context = Handle<Context>(Context::cast(context->closure()->context()));
219 Handle<Code> code(context->closure()->code());
232 context = Context::cast(context->closure()->context());
compiler.h 76 CompilationInfo(Handle<JSFunction> closure,
79 : closure_(closure),
115 Handle<JSFunction> closure() { return closure_; } function in class:v8::internal::BASE_EMBEDDED
120 if (!closure().is_null()) {
121 return Handle<SharedFunctionInfo>(closure()->shared());
162 return !closure().is_null() && (closure()->context()->global() != NULL);
166 return has_global_object() ? closure()->context()->global() : NULL;
  /external/libffi/src/arm/
ffi.c 204 ffi_closure_SYSV_inner (closure, respp, args)
205 ffi_closure *closure;
213 cif = closure->cif;
224 (closure->fun) (cif, *respp, arg_area, closure->user_data);
292 ffi_prep_closure_loc (ffi_closure* closure,
300 FFI_INIT_TRAMPOLINE (&closure->tramp[0], \
304 closure->cif = cif;
305 closure->user_data = user_data;
306 closure->fun = fun
    [all...]
  /external/libffi/src/sparc/
ffi.c 429 ffi_prep_closure_loc (ffi_closure* closure,
435 unsigned int *tramp = (unsigned int *) &closure->tramp[0];
438 /* Trampoline address is equal to the closure address. We take advantage
457 closure->cif = cif;
458 closure->fun = fun;
459 closure->user_data = user_data;
463 asm volatile ("flush %0" : : "r" (closure) : "memory");
464 asm volatile ("flush %0" : : "r" (((char *) closure) + 8) : "memory");
466 asm volatile ("iflush %0" : : "r" (closure) : "memory");
467 asm volatile ("iflush %0" : : "r" (((char *) closure) + 8) : "memory")
    [all...]
  /external/libffi/src/sh64/
ffi.c 297 ffi_prep_closure (ffi_closure *closure,
306 tramp = (unsigned int *) &closure->tramp[0];
324 tramp[5] = 0xcc000010 | (((UINT32) closure) >> 16) << 10;
325 tramp[6] = 0xc8000010 | (((UINT32) closure) & 0xffff) << 10;
328 closure->cif = cif;
329 closure->fun = fun;
330 closure->user_data = user_data;
339 * entry, r3 holds the address of the closure.
347 ffi_closure_helper_SYSV (ffi_closure *closure, UINT64 *rvalue,
356 cif = closure->cif
    [all...]
  /external/webkit/WebCore/dom/
XMLTokenizerLibxml2.cpp     [all...]
  /external/chromium/base/
platform_thread_win.cc 23 DWORD __stdcall ThreadFunc(void* closure) {
25 static_cast<PlatformThread::Delegate*>(closure);
  /external/webkit/WebKitTools/DumpRenderTree/cairo/
PixelDumpSupportCairo.cpp 48 static cairo_status_t writeFunction(void* closure, const unsigned char* data, unsigned int length)
50 Vector<unsigned char>* in = reinterpret_cast<Vector<unsigned char>*>(closure);
  /external/libffi/src/powerpc/
ffi_darwin.c 531 ffi_prep_closure_loc (ffi_closure* closure,
547 tramp = (unsigned int *) &closure->tramp[0];
559 closure->cif = cif;
560 closure->fun = fun;
561 closure->user_data = user_data;
570 tramp_aix = (struct ffi_aix_trampoline_struct *) (closure->tramp);
578 closure->cif = cif;
579 closure->fun = fun;
580 closure->user_data = user_data;
624 entry, r11 holds the address of the closure
    [all...]
  /external/libffi/src/
prep_cif.c 166 ffi_prep_closure (ffi_closure* closure,
171 return ffi_prep_closure_loc (closure, cif, fun, user_data, closure);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/editors/layout/gscripts/
INode.java 22 import groovy.lang.Closure;
85 * @param closure The code to execute. The closure receives this INode itself as argument.
87 void editXml(String undoName, final Closure closure);
143 * That means that if called in the context of {@link #editXml(String, Closure)}, the value
145 * the editXml closure is completed and the actual XML is updated.
178 * That means that if called in the context of {@link #editXml(String, Closure)}, the value
180 * the editXml closure is completed and the actual XML is updated.

Completed in 516 milliseconds

1 2 3