Searched refs:closure (Results 1 - 25 of 128) sorted by relevance

123456

/macosx-10.10.1/libclosure-65/objectTests/
H A Dbyrefaccess.c20 void callVoidVoid(void (^closure)(void)) { argument
21 closure();
H A Dbyrefcopy.c22 void callVoidVoid(void (^closure)(void)) { argument
23 closure();
H A Dnestedimport.c22 void callVoidVoid(void (^closure)(void)) { argument
23 closure();
H A Dbyrefcopyint.c39 void callVoidVoid(voidVoid closure) { argument
40 closure();
H A DnestedBlock.m36 void callVoidVoid(void (^closure)(void)) {
37 closure();
H A Dbyrefcopyid.m56 void callVoidVoid(void (^closure)(void)) {
57 closure();
/macosx-10.10.1/libclosure-65/tests/
H A DNSFuture.h31 The closure is copied and scheduled for invocation asynchronously.
32 Accessing the value will synchronize, if necessary, with the completion of the closure invocation, and return that result.
35 + (NSFuture *)objectFutureWithClosure:(CLOSURE(id))closure;
36 + (NSFuture *)stringFutureWithClosure:(CLOSURE(NSString *))closure;
38 + (NSFuture *)charFutureWithClosure:(CLOSURE(char))closure;
39 + (NSFuture *)unsignedCharFutureWithClosure:(CLOSURE(unsigned char))closure;
40 + (NSFuture *)shortFutureWithClosure:(CLOSURE(short))closure;
41 + (NSFuture *)unsignedShortFutureWithClosure:(CLOSURE(unsigned short))closure;
42 + (NSFuture *)longFutureWithClosure:(CLOSURE(long))closure;
43 + (NSFuture *)unsignedLongFutureWithClosure:(CLOSURE(unsigned long))closure;
[all...]
H A Dobjc.m73 printf("testVerbosely: after closure, retain count is %d vs before %d\n", afterClosureRetainCounter, initialRetainCounter);
78 printf("testVerbosely: closure copy did not retain interior object\n");
120 // make sure a closure with to gets it retained on a copy
135 printf("after closure, retain count is %d vs before %d\n", afterClosureRetainCounter, initialRetainCounter);
140 printf("closure copy did not retain interior object\n");
155 // make sure a closure with to gets it retained on a copy
170 printf("after closure, retain count is %d vs before %d\n", afterClosureRetainCounter, initialRetainCounter);
175 printf("closure copy did not retain interior object\n");
187 struct Block_basic *closure = (struct Block_basic *)block;
189 if (closure
[all...]
H A Dblock_examples.c25 void (^closure)(void) = ^ {
35 // test that a closure containing a closure has a copy helper routine
40 void (^closure)(void) = ^ {
H A DNSFuture.m74 + (NSFuture *)integerFutureWithClosure:(CLOSURE(NSInteger))closure {
75 unsigned int size = Block_size(closure);
82 memmove(result, closure, ((struct Block_basic *)closure)->Block_size);
87 (*result->Block_copy)(result, closure); // do fixup
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/Modules/objc/
H A Dclass-descriptor.h4 PyObject* objcclass_descr_get(PyObject* obj, void* closure);
13 0, /* closure */ \
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/Modules/objc/
H A Dclass-descriptor.h4 PyObject* objcclass_descr_get(PyObject* obj, void* closure);
13 0, /* closure */ \
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Modules/objc/
H A Dclass-descriptor.h4 PyObject* objcclass_descr_get(PyObject* obj, void* closure);
13 0, /* closure */ \
/macosx-10.10.1/swig-12/Lib/guile/
H A Dguilemain.i24 inner_main(void *closure, int argc, char **argv)
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/libffi-src/x86/
H A Dx86-ffi_darwin.c284 ffi_closure* closure) __attribute__((regparm(1)));
289 ffi_raw_closure* closure) __attribute__((regparm(1)));
334 ffi_closure* closure)
337 ffi_cif* cif = closure->cif;
349 (closure->fun)(cif, resp, arg_area, closure->user_data);
404 ffi_closure* closure,
413 FFI_INIT_TRAMPOLINE(closure->tramp, &ffi_closure_SYSV, (void*)closure);
415 closure
333 ffi_closure_SYSV( ffi_closure* closure) argument
403 ffi_prep_closure( ffi_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,void**,void*), void* user_data) argument
428 ffi_closure_raw_SYSV( ffi_raw_closure* closure) argument
459 ffi_prep_raw_closure( ffi_raw_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void* user_data) argument
[all...]
/macosx-10.10.1/libffi-18.1/x86/
H A Dx86-ffi_darwin.c238 ffi_closure_SYSV_inner (closure, respp, args)
239 ffi_closure *closure;
247 cif = closure->cif;
258 (closure->fun) (cif, *respp, arg_area, closure->user_data);
319 ffi_prep_closure (ffi_closure* closure, argument
327 FFI_INIT_TRAMPOLINE (&closure->tramp[0], \
329 (void*)closure);
331 closure->cif = cif;
332 closure
343 ffi_prep_raw_closure_loc(ffi_raw_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data, void *codeloc) argument
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libffi-src/x86/
H A Dx86-ffi_darwin.c238 ffi_closure_SYSV_inner (closure, respp, args)
239 ffi_closure *closure;
247 cif = closure->cif;
258 (closure->fun) (cif, *respp, arg_area, closure->user_data);
319 ffi_prep_closure (ffi_closure* closure, argument
327 FFI_INIT_TRAMPOLINE (&closure->tramp[0], \
329 (void*)closure);
331 closure->cif = cif;
332 closure
343 ffi_prep_raw_closure_loc(ffi_raw_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data, void *codeloc) argument
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/libffi-src/x86/
H A Dx86-ffi_darwin.c240 ffi_closure_SYSV_inner (closure, respp, args)
241 ffi_closure *closure;
249 cif = closure->cif;
260 (closure->fun) (cif, *respp, arg_area, closure->user_data);
321 ffi_prep_closure (ffi_closure* closure, argument
329 FFI_INIT_TRAMPOLINE (&closure->tramp[0], \
331 (void*)closure);
333 closure->cif = cif;
334 closure
345 ffi_prep_raw_closure_loc(ffi_raw_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data, void *codeloc) argument
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/emacs-lisp/
H A Dtq.el35 ;; of the queue part is a list of question, regexp, closure, and
48 ;; provided function with the closure and the collected bytes. If we
62 ;; ((question regexp closure . fn)
69 ;; closure: additional data to pass to the function
70 (defun tq-queue-head-closure (tq) (car (cdr (cdr (car (tq-queue tq))))))
95 (defun tq-queue-add (tq question re closure fn)
97 (cons (cons question (cons re (cons closure fn))) nil)))
107 (defun tq-enqueue (tq question regexp closure fn &optional delay-question)
123 (tq-queue-add tq (unless sendp question) regexp closure fn)
162 (tq-queue-head-closure t
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/dl/lib/dl/
H A Dcallback.rb38 closure = Fiddle::Closure::BlockCaller.new(ty, [TYPE_VOIDP] * argc, abi, &cbp)
39 proc_entry[closure.to_i] = closure
40 addr = closure.to_i
/macosx-10.10.1/ruby-106/ruby/test/fiddle/
H A Dtest_closure.rb23 closure = Class.new(Closure) {
29 func = Function.new(closure, [], TYPE_INT)
34 closure = Class.new(Closure) {
40 func = Function.new(closure, [TYPE_INT], TYPE_INT)
/macosx-10.10.1/CPANInternal-159.1/Graph-0.94/lib/Graph/
H A DTransitiveClosure.pm66 Graph::TransitiveClosure - create and query transitive closure of graph
76 # Compute the transitive closure graph.
89 # of the transitive closure.
113 closure graph of a graph and optionally also the minimum paths
127 Construct a new transitive closure object. Note that strictly speaking
147 Return the transitive closure matrix of the transitive closure object.
153 The transitive closure matrix is stored as an attribute of the graph
155 in the transitive closure matrix class.
/macosx-10.10.1/CPANInternal-159.1/Graph-0.96/lib/Graph/
H A DTransitiveClosure.pm66 Graph::TransitiveClosure - create and query transitive closure of graph
76 # Compute the transitive closure graph.
89 # of the transitive closure.
113 closure graph of a graph and optionally also the minimum paths
127 Construct a new transitive closure object. Note that strictly speaking
147 Return the transitive closure matrix of the transitive closure object.
153 The transitive closure matrix is stored as an attribute of the graph
155 in the transitive closure matrix class.
/macosx-10.10.1/bind9-45.101/bind9/lib/isccfg/include/isccfg/
H A Dcfg.h474 void (*f)(void *closure, const char *text, int textlen),
475 void *closure);
478 * function 'f', passing 'closure' and a region of text starting
484 void (*f)(void *closure, const char *text, int textlen),
485 void *closure);
/macosx-10.10.1/tcl-105/tcl_ext/tclxml/tcldom/src/
H A Dlivelist.c187 Tcl_Obj *closure,
190 char *tagname = Tcl_GetString(closure);
225 Tcl_Obj *closure = Tcl_NewStringObj(tagname, -1); local
228 getElementsByTagNameUpdateProc, closure);
183 getElementsByTagNameUpdateProc( Tcl_Interp *interp, TclDomInterpData *interpDataPtr, TclDomNode *nodePtr, Tcl_Obj *closure, Tcl_Obj *resultPtr) argument

Completed in 184 milliseconds

123456