Lines Matching refs:closure

101      * A closure represents a function call to a kernel or invocable function,
102 * combined with arguments and values for global variables. A closure is
262 // If the field is not bound to this closure, this will return a future
325 * A future represents an output of a closure, either the return value of
336 Future(Closure closure, Script.FieldID fieldID, Object value) {
337 mClosure = closure;
360 // arguments for the referencing closure.
369 void addReference(Closure closure, int index) {
370 mArgIndex.add(Pair.create(closure, Integer.valueOf(index)));
373 void addReference(Closure closure, Script.FieldID fieldID) {
374 mFieldID.add(Pair.create(closure, fieldID));
380 Closure closure = p.first;
382 closure.setArg(index, value);
385 Closure closure = p.first;
387 closure.setGlobal(fieldID, value);
973 * kernel or invocable function. Used in closure creation.
1009 * A closure is a function call to a kernel or
1014 * A future is the output of a closure, either the return value of the
1019 * When a closure is created, futures from previously created closures
1028 * 1) a closure must be evaluated before any other closures that take its
1030 * 2) all closures added before an invoke closure must be evaluated
1032 * and 3) all closures added after an invoke closure must be evaluated after
1057 * Adds a closure for a kernel
1063 * @return a closure
1074 * Adds a closure for an invocable function
1079 * @return a closure
1103 * Adds a closure for a kernel
1107 * @return a closure
1120 * Adds a closure for an invocable function
1124 * @return a closure