/openjdk7/langtools/test/tools/javadoc/enum/docComments/pkg1/ |
H A D | Operation.java | 37 double eval(double x, double y) { return x + y; } 40 double eval(double x, double y) { return x - y; } 43 double eval(double x, double y) { return x * y; } 46 double eval(double x, double y) { return x / y; } 52 abstract double eval(double x, double y); method in class:Operation
|
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/com/sun/sample/scriptpad/ |
H A D | Main.java | 64 eval(engine, "conc.js"); 65 eval(engine, "gui.js"); 66 eval(engine, "scriptpad.js"); 67 eval(engine, "mm.js"); 70 private static void eval(ScriptEngine engine, String name) method in class:Main 80 engine.eval(new InputStreamReader(is));
|
/openjdk7/jdk/test/javax/script/ |
H A D | DummyScriptEngine.java | 33 public Object eval(String str, ScriptContext ctx) { method in class:DummyScriptEngine 34 return eval(new StringReader(str), ctx); 37 public Object eval(Reader reader, ScriptContext ctx) { method in class:DummyScriptEngine 38 System.out.println("eval done!");
|
H A D | GetInterfaceTest.java | 43 engine.eval(""); 51 engine.eval("function run() { println('this is run function'); }"); 57 engine.eval("function bar() { println('bar function'); }"); 64 engine.eval("function bar2() { println('bar2 function'); }");
|
H A D | RhinoExceptionTest.java | 46 engine.eval("throw new Error(msg);"); 53 engine.eval("throw (msg);"); 61 scr.eval(); 69 scr.eval();
|
H A D | StringWriterPrintTest.java | 42 engine.eval("print(\"hello world 1\\n\")"); 45 engine.eval("print(\"hello world 2\\n\")");
|
H A D | JavaScriptScopeTest.java | 44 jsengine.eval("var v = 'hello';"); 56 jsengine.eval(" if (fromJava != 'hello world') throw 'unexpected'");
|
H A D | Test6.java | 27 * @summary Test basic script compilation. Value eval'ed from 45 engine.eval(reader); 48 scr.eval();
|
H A D | NullUndefinedVarTest.java | 42 jsengine.eval("var n = null; " +
|
H A D | PluggableContextTest.java | 45 e.eval("x", ctx);
|
H A D | Test1.java | 43 jsengine.eval(new FileReader(
|
H A D | UnescapedBracketRegExTest.java | 42 engine.eval("var x = /[a-zA-Z+/=]/;");
|
/openjdk7/jdk/src/share/classes/sun/tools/tree/ |
H A D | UnaryExpression.java | 102 Expression eval(int a) { method in class:UnaryExpression 105 Expression eval(long a) { method in class:UnaryExpression 108 Expression eval(float a) { method in class:UnaryExpression 111 Expression eval(double a) { method in class:UnaryExpression 114 Expression eval(boolean a) { method in class:UnaryExpression 117 Expression eval(String a) { method in class:UnaryExpression 120 Expression eval() { method in class:UnaryExpression 126 return eval(((IntegerExpression)right).value); 128 return eval(((LongExpression)right).value); 130 return eval(((FloatExpressio [all...] |
H A D | DivideExpression.java | 49 Expression eval(int a, int b) { method in class:DivideExpression 52 Expression eval(long a, long b) { method in class:DivideExpression 55 Expression eval(float a, float b) { method in class:DivideExpression 58 Expression eval(double a, double b) { method in class:DivideExpression
|
H A D | MultiplyExpression.java | 48 Expression eval(int a, int b) { method in class:MultiplyExpression 51 Expression eval(long a, long b) { method in class:MultiplyExpression 54 Expression eval(float a, float b) { method in class:MultiplyExpression 57 Expression eval(double a, double b) { method in class:MultiplyExpression
|
H A D | RemainderExpression.java | 48 Expression eval(int a, int b) { method in class:RemainderExpression 51 Expression eval(long a, long b) { method in class:RemainderExpression 54 Expression eval(float a, float b) { method in class:RemainderExpression 57 Expression eval(double a, double b) { method in class:RemainderExpression
|
H A D | SubtractExpression.java | 48 Expression eval(int a, int b) { method in class:SubtractExpression 51 Expression eval(long a, long b) { method in class:SubtractExpression 54 Expression eval(float a, float b) { method in class:SubtractExpression 57 Expression eval(double a, double b) { method in class:SubtractExpression
|
H A D | BitXorExpression.java | 48 Expression eval(boolean a, boolean b) { method in class:BitXorExpression 51 Expression eval(int a, int b) { method in class:BitXorExpression 54 Expression eval(long a, long b) { method in class:BitXorExpression
|
H A D | NegativeExpression.java | 64 Expression eval(int a) { method in class:NegativeExpression 67 Expression eval(long a) { method in class:NegativeExpression 70 Expression eval(float a) { method in class:NegativeExpression 73 Expression eval(double a) { method in class:NegativeExpression
|
H A D | BinaryExpression.java | 114 Expression eval(int a, int b) { method in class:BinaryExpression 117 Expression eval(long a, long b) { method in class:BinaryExpression 120 Expression eval(float a, float b) { method in class:BinaryExpression 123 Expression eval(double a, double b) { method in class:BinaryExpression 126 Expression eval(boolean a, boolean b) { method in class:BinaryExpression 129 Expression eval(String a, String b) { method in class:BinaryExpression 132 Expression eval() { method in class:BinaryExpression 133 // See also the eval() code in BinaryShiftExpression.java. 140 return eval(((IntegerExpression)left).value, ((IntegerExpression)right).value); 142 return eval(((LongExpressio [all...] |
/openjdk7/jdk/src/share/classes/javax/script/ |
H A D | CompiledScript.java | 36 * Each <code>CompiledScript</code> is associated with a <code>ScriptEngine</code> -- A call to an <code>eval</code> 50 * the <code>ScriptContext</code> passed to the <code>eval</code> methods of 60 public abstract Object eval(ScriptContext context) throws ScriptException; method in class:CompiledScript 66 * then the effect of calling this method is same as that of eval(getEngine().getContext()). 77 public Object eval(Bindings bindings) throws ScriptException { method in class:CompiledScript 92 return eval(ctxt); 99 * The effect of calling this method is same as that of eval(getEngine().getContext()). 105 public Object eval() throws ScriptException { method in class:CompiledScript 106 return eval(getEngine().getContext());
|
H A D | ScriptEngine.java | 122 public Object eval(String script, ScriptContext context) throws ScriptException; method in interface:ScriptEngine 126 * Same as <code>eval(String, ScriptContext)</code> where the source of the script 138 public Object eval(Reader reader , ScriptContext context) throws ScriptException; method in interface:ScriptEngine 151 public Object eval(String script) throws ScriptException; method in interface:ScriptEngine 154 * Same as <code>eval(String)</code> except that the source of the script is 164 public Object eval(Reader reader) throws ScriptException; method in interface:ScriptEngine 183 public Object eval(String script, Bindings n) throws ScriptException; method in interface:ScriptEngine 186 * Same as <code>eval(String, Bindings)</code> except that the source of the script 197 public Object eval(Reader reader , Bindings n) throws ScriptException; method in interface:ScriptEngine
|
H A D | AbstractScriptEngine.java | 32 * Provides a standard implementation for several of the variants of the <code>eval</code> 35 * <code><b>eval(Reader)</b></code><p><code><b>eval(String)</b></code><p> 36 * <code><b>eval(String, Bindings)</b></code><p><code><b>eval(Reader, Bindings)</b></code> 39 * <code><b>eval(Reader,ScriptContext)</b></code> or 40 * <code><b>eval(String, ScriptContext)</b></code> 192 * <code>eval(Reader, Bindings)</code> calls the abstract 193 * <code>eval(Reader, ScriptContext)</code> method, passing it a <code>ScriptContext</code> 204 * @return The return value from <code>eval(Reade 208 public Object eval(Reader reader, Bindings bindings ) throws ScriptException { method in class:AbstractScriptEngine 229 public Object eval(String script, Bindings bindings) throws ScriptException { method in class:AbstractScriptEngine 246 public Object eval(Reader reader) throws ScriptException { method in class:AbstractScriptEngine 261 public Object eval(String script) throws ScriptException { method in class:AbstractScriptEngine [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jstat/ |
H A D | Operator.java | 50 protected abstract double eval(double x, double y); method in class:Operator 54 protected double eval(double x, double y) { 61 protected double eval(double x, double y) { 68 protected double eval(double x, double y) { 78 protected double eval(double x, double y) {
|
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/ |
H A D | XPathAPI.java | 130 XObject list = eval(contextNode, str, namespaceNode); 169 XObject list = eval(contextNode, str, namespaceNode); 190 public static XObject eval(Node contextNode, String str) method in class:XPathAPI 193 return eval(contextNode, str, contextNode); 216 public static XObject eval(Node contextNode, String str, Node namespaceNode) method in class:XPathAPI 266 public static XObject eval( method in class:XPathAPI
|