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

123456

/macosx-10.10/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/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/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/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/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/swig-12/Lib/guile/
H A Dguilemain.i24 inner_main(void *closure, int argc, char **argv)
/macosx-10.10/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/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/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/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/WebCore-7600.1.25/xml/parser/
H A DXMLDocumentParserLibxml2.cpp1093 static inline XMLDocumentParser* getParser(void* closure) argument
1095 xmlParserCtxtPtr ctxt = static_cast<xmlParserCtxtPtr>(closure);
1101 static inline bool hackAroundLibXMLEntityBug(void* closure) argument
1104 UNUSED_PARAM(closure);
1109 return static_cast<xmlParserCtxtPtr>(closure)->node;
1113 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
1115 if (hackAroundLibXMLEntityBug(closure))
1118 getParser(closure)->startElementNs(localname, prefix, uri, nb_namespaces, namespaces, nb_attributes, nb_defaulted, libxmlAttributes);
1121 static void endElementNsHandler(void* closure, const xmlChar*, const xmlChar*, const xmlChar*) argument
1123 if (hackAroundLibXMLEntityBug(closure))
1129 charactersHandler(void* closure, const xmlChar* s, int len) argument
1137 processingInstructionHandler(void* closure, const xmlChar* target, const xmlChar* data) argument
1145 cdataBlockHandler(void* closure, const xmlChar* s, int len) argument
1153 commentHandler(void* closure, const xmlChar* comment) argument
1162 warningHandler(void* closure, const char* message, ...) argument
1171 fatalErrorHandler(void* closure, const char* message, ...) argument
1180 normalErrorHandler(void* closure, const char* message, ...) argument
1238 entityDeclarationHandler(void* closure, const xmlChar* name, int type, const xmlChar* publicId, const xmlChar* systemId, xmlChar* content) argument
1248 getEntityHandler(void* closure, const xmlChar* name) argument
1282 startDocumentHandler(void* closure) argument
1290 endDocumentHandler(void* closure) argument
1296 internalSubsetHandler(void* closure, const xmlChar* name, const xmlChar* externalID, const xmlChar* systemID) argument
1302 externalSubsetHandler(void* closure, const xmlChar*, const xmlChar* externalId, const xmlChar*) argument
1509 attributesStartElementNsHandler(void* closure, const xmlChar* xmlLocalName, const xmlChar* , const xmlChar* , int , const xmlChar** , int nb_attributes, int , const xmlChar** libxmlAttributes) argument
[all...]
/macosx-10.10/WebCore-7600.1.25/bindings/gobject/
H A DWebKitDOMEventTarget.cpp64 GRefPtr<GClosure> closure = adoptGRef(g_cclosure_new(handler, userData, 0)); local
65 return WEBKIT_DOM_EVENT_TARGET_GET_IFACE(target)->add_event_listener(target, eventName, closure.get(), useCapture);
73 GRefPtr<GClosure> closure = adoptGRef(g_cclosure_new(handler, 0, 0)); local
74 return WEBKIT_DOM_EVENT_TARGET_GET_IFACE(target)->remove_event_listener(target, eventName, closure.get(), useCapture);
/macosx-10.10/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/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/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/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/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.

Completed in 167 milliseconds

123456