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

123

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/closure/
H A DFuture.java26 package com.sun.corba.se.impl.orbutil.closure ;
28 import com.sun.corba.se.spi.orbutil.closure.Closure ;
32 private Closure closure ; field in class:Future
38 this.closure = (Closure)value ;
46 value = closure.evaluate() ;
H A DConstant.java26 package com.sun.corba.se.impl.orbutil.closure ;
28 import com.sun.corba.se.spi.orbutil.closure.Closure ;
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orbutil/closure/
H A DClosure.java26 package com.sun.corba.se.spi.orbutil.closure ;
H A DClosureFactory.java26 package com.sun.corba.se.spi.orbutil.closure ;
28 import com.sun.corba.se.impl.orbutil.closure.Constant ;
29 import com.sun.corba.se.impl.orbutil.closure.Future ;
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/resolver/
H A DLocalResolver.java28 import com.sun.corba.se.spi.orbutil.closure.Closure ;
37 void register( String name, Closure closure ) ;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/resolver/
H A DLocalResolverImpl.java29 import com.sun.corba.se.spi.orbutil.closure.Closure ;
48 public synchronized void register( String name, Closure closure )
50 nameToClosure.put( name, closure ) ;
H A DSplitLocalResolverImpl.java28 import com.sun.corba.se.spi.orbutil.closure.Closure ;
45 public void register( String name, Closure closure )
47 localResolver.register( name, closure ) ;
/openjdk7/hotspot/src/share/vm/interpreter/
H A DbytecodeTracer.hpp46 static BytecodeClosure* std_closure(); // a printing closure
47 static BytecodeClosure* closure() { return _closure; } function in class:BytecodeTracer
48 static void set_closure(BytecodeClosure* closure) { _closure = closure; } argument
/openjdk7/jdk/src/macosx/native/jobjc/src/core/native/
H A DSubclassing.m184 // Allocate a page to hold the closure with read and write permissions.
185 ffi_closure *closure;
186 if ((closure = mmap(NULL, sizeof(ffi_closure), PROT_READ | PROT_WRITE,
195 if ((status = ffi_prep_closure(closure, cif, sel_closure_call, (void *)user_data)) != FFI_OK)
198 munmap(closure, sizeof(ffi_closure));
202 // Ensure that the closure will execute on all architectures.
203 if (mprotect(closure, sizeof(closure), PROT_READ | PROT_EXEC) == -1)
206 munmap(closure, sizeof(ffi_closure));
209 return closure;
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DsatbQueue.hpp42 // Apply the closure to all elements.
45 // Apply the closure to all elements and empty the buffer;
48 // Apply the closure to all elements of "buf", down to "index" (inclusive.)
111 // Register "blk" as "the closure" for all queues. Only one such closure
113 // this closure to a completed buffer, and "iterate_closure_all_threads"
116 void set_closure(ObjectClosure* closure);
119 void set_par_closure(int i, ObjectClosure* closure);
121 // Apply the registered closure to all entries on each
129 // registered closure t
[all...]
H A DdirtyCardQueue.hpp33 // A closure class for processing card table entries. Note that we don't
34 // require these closure objects to be stack-allocated.
50 // Apply the closure to all elements, and reset the index to make the
51 // buffer empty. If a closure application returns "false", return
58 // Apply the closure to all elements of "buf", down to "index"
59 // (inclusive.) If returns "false", then a closure application returned
105 // Register "blk" as "the closure" for all queues. Only one such closure
107 // this closure to a completed buffer, and "iterate_closure_all_threads"
110 void set_closure(CardTableEntryClosure* closure);
[all...]
H A DdirtyCardQueue.cpp112 void DirtyCardQueueSet::set_closure(CardTableEntryClosure* closure) { argument
113 _closure = closure;
/openjdk7/hotspot/src/share/vm/oops/
H A DinstanceMirrorKlass.cpp183 (closure)->do_oop##nv_suffix(p), \
191 (closure)->do_oop##nv_suffix(p), \
202 oop_oop_iterate##nv_suffix(oop obj, OopClosureType* closure) { \
206 instanceKlass::oop_oop_iterate##nv_suffix(obj, closure); \
219 oop_oop_iterate_backwards##nv_suffix(oop obj, OopClosureType* closure) { \
223 instanceKlass::oop_oop_iterate_backwards##nv_suffix(obj, closure); \
238 OopClosureType* closure, \
242 instanceKlass::oop_oop_iterate##nv_suffix##_m(obj, closure, mr); \
H A DobjArrayKlass.cpp371 OopClosureType* closure) { \
378 if (closure->do_header()) { \
379 a->oop_iterate_header(closure); \
381 ObjArrayKlass_OOP_ITERATE(a, p, (closure)->do_oop##nv_suffix(p)) \
388 OopClosureType* closure, \
396 if (closure->do_header()) { \
397 a->oop_iterate_header(closure, mr); \
400 a, p, mr.start(), mr.end(), (closure)->do_oop##nv_suffix(p)) \
409 OopClosureType* closure, \
422 if (closure
[all...]
H A DinstanceRefKlass.cpp246 if (closure->apply_to_weak_ref_discovered_field()) { \
247 closure->do_oop##nv_suffix(disc_addr); \
252 ReferenceProcessor* rp = closure->_ref_processor; \
261 closure->do_oop##nv_suffix(referent_addr); \
277 closure->do_oop##nv_suffix(disc_addr); \
294 closure->do_oop##nv_suffix(next_addr); \
307 oop_oop_iterate##nv_suffix(oop obj, OopClosureType* closure) { \
311 int size = instanceKlass::oop_oop_iterate##nv_suffix(obj, closure); \
324 oop_oop_iterate_backwards##nv_suffix(oop obj, OopClosureType* closure) { \
328 int size = instanceKlass::oop_oop_iterate_backwards##nv_suffix(obj, closure); \
[all...]
H A DinstanceKlassKlass.hpp78 // Apply closure to the InstanceKlass oops that are outside the java heap.
79 inline void iterate_c_heap_oops(instanceKlass* ik, OopClosure* closure);
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/
H A DUtils.java165 public void format(char[] cc, int off, int end, String closure) { argument
174 out.format("\" %s%n", closure);
180 public void format(char[] cc, String closure) { argument
181 format(cc, 0, cc.length, closure);
185 String closure)
192 format(cc, 0, cc.length, closure);
184 format(char[] db, int b1, int b2Min, int b2Max, String closure) argument
H A DSBCS.java64 Formatter out, String closure,
96 closure, off-8, off-1);
102 out.format("\"%s%n", closure);
63 toString(char[] sb, int off, int end, Formatter out, String closure, boolean comment) argument
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiGetLoadedClasses.cpp33 // The closure for GetLoadedClasses and GetClassLoaderClasses
153 // Public methods that get called within the scope of the closure
256 // and doesn't call back with a closure data pointer,
259 JvmtiGetLoadedClassesClosure closure; local
271 closure.allocate();
279 jvmtiError err = env->Allocate(closure.get_count() * sizeof(jclass),
284 closure.extract(env, result_list);
285 *classCountPtr = closure.get_count();
294 // and doesn't call back with a closure data pointer,
296 JvmtiGetLoadedClassesClosure closure(initiatingLoade
[all...]
H A DjvmtiTagMap.hpp66 void entry_iterate(JvmtiTagHashmapEntryClosure* closure);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/iiop/
H A DIIOPAddressClosureImpl.java33 import com.sun.corba.se.spi.orbutil.closure.Closure ;
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DArc2D.java33 * start angle, angular extent (length of the arc), and a closure type
59 * The closure type for an open arc with no path segments
66 * The closure type for an arc closed by drawing a straight
74 * The closure type for an arc closed by drawing straight line
146 * the specified closure type.
148 * @param type The closure type for the arc:
158 * size, angular extents, and closure type.
170 * @param type The closure type for the arc:
187 * size, angular extents, and closure type.
194 * @param type The closure typ
285 setArc(double x, double y, double w, double h, double angSt, double angExt, int closure) argument
578 setArc(double x, double y, double w, double h, double angSt, double angExt, int closure) argument
786 setArc(double x, double y, double w, double h, double angSt, double angExt, int closure) argument
804 setArc(Point2D loc, Dimension2D size, double angSt, double angExt, int closure) argument
823 setArc(Rectangle2D rect, double angSt, double angExt, int closure) argument
854 setArcByCenter(double x, double y, double radius, double angSt, double angExt, int closure) argument
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_Instruction.cpp694 void BlockBegin::iterate_preorder(boolArray& mark, BlockClosure* closure) { argument
697 closure->block_do(this);
699 { for (int i = number_of_exception_handlers() - 1; i >= 0; i--) exception_handler_at(i)->iterate_preorder(mark, closure); }
700 { for (int i = e->number_of_sux () - 1; i >= 0; i--) e->sux_at (i)->iterate_preorder(mark, closure); }
705 void BlockBegin::iterate_postorder(boolArray& mark, BlockClosure* closure) { argument
709 { for (int i = number_of_exception_handlers() - 1; i >= 0; i--) exception_handler_at(i)->iterate_postorder(mark, closure); }
710 { for (int i = e->number_of_sux () - 1; i >= 0; i--) e->sux_at (i)->iterate_postorder(mark, closure); }
711 closure->block_do(this);
716 void BlockBegin::iterate_preorder(BlockClosure* closure) { argument
718 iterate_preorder(mark, closure);
722 iterate_postorder(BlockClosure* closure) argument
894 iterate_forward(BlockClosure* closure) argument
900 iterate_backward(BlockClosure* closure) argument
[all...]
H A Dc1_IR.hpp323 void iterate_preorder (BlockClosure* closure);
324 void iterate_postorder (BlockClosure* closure);
325 void iterate_linear_scan_order(BlockClosure* closure);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/poa/
H A DPOAFactory.java51 import com.sun.corba.se.spi.orbutil.closure.Closure ;
52 import com.sun.corba.se.spi.orbutil.closure.ClosureFactory ;

Completed in 127 milliseconds

123