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

123456

/macosx-10.9.5/libclosure-63/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.9.5/libclosure-63/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.9.5/pyobjc-42/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.9.5/pyobjc-42/pyobjc/pyobjc-core/Modules/objc/
H A Dclass-descriptor.h4 PyObject* objcclass_descr_get(PyObject* obj, void* closure);
13 0, /* closure */ \
/macosx-10.9.5/swig-10/Lib/guile/
H A Dguilemain.i24 inner_main(void *closure, int argc, char **argv)
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/misc/libffi/src/x86/
H A Dffi.c254 ffi_closure_SYSV_inner (closure, respp, args)
255 ffi_closure *closure;
263 cif = closure->cif;
274 (closure->fun) (cif, *respp, arg_area, closure->user_data);
338 ffi_prep_closure (ffi_closure* closure, argument
345 FFI_INIT_TRAMPOLINE (&closure->tramp[0], \
347 (void*)closure);
349 closure->cif = cif;
350 closure
361 ffi_prep_raw_closure(ffi_raw_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data) argument
[all...]
H A Dffi_darwin.c322 ffi_closure_SYSV (closure)
323 ffi_closure *closure;
335 cif = closure->cif;
346 (closure->fun) (cif, resp, arg_area, closure->user_data);
411 ffi_prep_closure (ffi_closure* closure, argument
418 FFI_INIT_TRAMPOLINE (&closure->tramp[0], \
420 (void*)closure);
422 closure->cif = cif;
423 closure
485 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.9.5/pyobjc-42/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.9.5/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.9.5/pyobjc-42/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.9.5/WebCore-7537.78.1/xml/parser/
H A DXMLDocumentParserLibxml2.cpp1083 static inline XMLDocumentParser* getParser(void* closure) argument
1085 xmlParserCtxtPtr ctxt = static_cast<xmlParserCtxtPtr>(closure);
1091 static inline bool hackAroundLibXMLEntityBug(void* closure) argument
1094 UNUSED_PARAM(closure);
1099 return static_cast<xmlParserCtxtPtr>(closure)->node;
1103 static void startElementNsHandler(void* closure, const xmlChar* localname, const xmlChar* prefix, const xmlChar* uri, int nb_namespaces, const xmlChar** namespaces, int nb_attributes, int nb_defaulted, const xmlChar** libxmlAttributes) argument
1105 if (hackAroundLibXMLEntityBug(closure))
1108 getParser(closure)->startElementNs(localname, prefix, uri, nb_namespaces, namespaces, nb_attributes, nb_defaulted, libxmlAttributes);
1111 static void endElementNsHandler(void* closure, const xmlChar*, const xmlChar*, const xmlChar*) argument
1113 if (hackAroundLibXMLEntityBug(closure))
1119 charactersHandler(void* closure, const xmlChar* s, int len) argument
1127 processingInstructionHandler(void* closure, const xmlChar* target, const xmlChar* data) argument
1135 cdataBlockHandler(void* closure, const xmlChar* s, int len) argument
1143 commentHandler(void* closure, const xmlChar* comment) argument
1152 warningHandler(void* closure, const char* message, ...) argument
1161 fatalErrorHandler(void* closure, const char* message, ...) argument
1170 normalErrorHandler(void* closure, const char* message, ...) argument
1228 entityDeclarationHandler(void* closure, const xmlChar* name, int type, const xmlChar* publicId, const xmlChar* systemId, xmlChar* content) argument
1238 getEntityHandler(void* closure, const xmlChar* name) argument
1272 startDocumentHandler(void* closure) argument
1280 endDocumentHandler(void* closure) argument
1286 internalSubsetHandler(void* closure, const xmlChar* name, const xmlChar* externalID, const xmlChar* systemID) argument
1292 externalSubsetHandler(void* closure, const xmlChar*, const xmlChar* externalId, const xmlChar*) argument
1505 attributesStartElementNsHandler(void* closure, const xmlChar* xmlLocalName, const xmlChar* , const xmlChar* , int , const xmlChar** , int nb_attributes, int , const xmlChar** libxmlAttributes) argument
[all...]
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/misc/libffi/src/powerpc/
H A Dffi_darwin.c498 ffi_prep_closure (ffi_closure* closure, argument
513 tramp = (unsigned int *) &closure->tramp[0];
523 tramp[3] = (unsigned long) closure; /* context */
525 closure->cif = cif;
526 closure->fun = fun;
527 closure->user_data = user_data;
530 flush_range(&closure->tramp[0],FFI_TRAMPOLINE_SIZE);
536 tramp_aix = (struct ffi_aix_trampoline_struct *) (closure->tramp);
543 tramp_aix->static_chain = closure;
544 closure
596 ffi_closure_helper_DARWIN(ffi_closure* closure, void * rvalue, unsigned long * pgr, ffi_dblfl * pfr) argument
[all...]
/macosx-10.9.5/emacs-92/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.9.5/ruby-104/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.9.5/ruby-104/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.9.5/CPANInternal-140/Graph/lib/Graph/
H A DTransitiveClosure.pm64 Graph::TransitiveClosure - create and query transitive closure of graph
74 # Compute the transitive closure graph.
87 # of the transitive closure.
111 closure graph of a graph and optionally also the minimum paths
125 Construct a new transitive closure object. Note that strictly speaking
145 Return the transitive closure matrix of the transitive closure object.
151 The transitive closure matrix is stored as an attribute of the graph
153 in the transitive closure matrix class.
/macosx-10.9.5/CPANInternal-140/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.

Completed in 431 milliseconds

123456