Searched refs:script (Results 26 - 50 of 116) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/javax/script/
H A DInvocable.java26 package javax.script;
38 * Calls a method on a script object compiled during a previous script execution,
44 * defined in the script and thiz is an instance of that class
52 * variable returned by the script method to a Java Object are implementation-specific.
H A DAbstractScriptEngine.java26 package javax.script;
200 * @param reader A <code>Reader</code> containing the source of the script.
202 * while the script executes.
205 * @throws ScriptException if an error occurs in script.
220 * @param script A <code>String</code> containing the source of the script.
223 * while the script executes.
226 * @throws ScriptException if an error occurs in script.
229 public Object eval(String script, Bindings bindings) throws ScriptException { argument
233 return eval(script , ctx
261 eval(String script) argument
[all...]
H A DScriptEngineFactory.java26 package javax.script;
121 * thread-safe and scripts may execute concurrently although effects of script execution
127 * <li><code>&quot;THREAD-ISOLATED&quot;</code>. In addition, script executions do not alter the
130 * and their associated values are the same before and after the execution of the script.
/openjdk7/jdk/test/javax/script/
H A DStringWriterPrintTest.java30 import javax.script.*;
H A DCauseExceptionTest.java30 import javax.script.*;
H A DJavaScriptScopeTest.java29 * that script globals can be created and accessed from Java
33 import javax.script.*;
58 // verify that script globals are exposed to Java
H A DTest2.java27 * @summary Test exposing a Java object to script
30 import javax.script.*;
H A DTest3.java30 import javax.script.*;
H A DTest4.java27 * @summary Test script functions implementing Java interface
30 import javax.script.*;
47 // use methods of a specific script object
H A DTest6.java27 * @summary Test basic script compilation. Value eval'ed from
32 import javax.script.*;
H A DTest7.java27 * @summary Tests importPackage and java access in script
31 import javax.script.*;
H A DTest8.java27 * @summary Test invoking script function or method from Java
30 import javax.script.*;
46 // use method of a specific script object
H A DVersionTest.java30 import javax.script.*;
/openjdk7/jdk/make/javax/others/
H A DMakefile40 javax/script \
/openjdk7/jdk/src/share/classes/sun/font/
H A DSunLayoutEngine.java51 * font/script pair. The engine would hold onto the table(s) from the
74 * exit. So the association is between the font/script (layout engine
82 * the font (or script or lang?) it wouldn't need to extract this
91 * engines', e.g. the factory has a hashtable mapping fonts to 'script
94 * public api) and then the script list is queried for the script in
101 * script/font combinations will be small, so a flat hashtable should
126 public LayoutEngine getEngine(Font2D font, int script, int lang) { argument
127 return getEngine(new LayoutEngineKey(font, script, lang));
163 key.script(), ke
168 nativeLayout(Font2D font, FontStrike strike, float[] mat, int gmask, int baseIndex, char[] chars, int offset, int limit, int min, int max, int script, int lang, int typo_flags, Point2D.Float pt, GVData data, long upem, long layoutTables) argument
[all...]
H A DGlyphLayout.java44 * on (shaping, script resolution) so context for the text run text is
56 * different physical fonts. The script code that is assigned
57 * characters normally considered 'common script' can be used to
60 * processes the glyphs) should include the script code, and the
61 * mapper should operate on runs of a single script.
92 private ScriptRun _scriptRuns; // iterator over script runs
104 private int script; field in class:GlyphLayout.LayoutEngineKey
110 LayoutEngineKey(Font2D font, int script, int lang) { argument
111 init(font, script, lang);
114 void init(Font2D font, int script, in argument
128 int script() { method in class:GlyphLayout.LayoutEngineKey
159 getEngine(Font2D font, int script, int lang) argument
519 nextEngineRecord(int start, int limit, int script, int lang, Font2D font, int gmask) argument
649 init(int start, int limit, Font2D font, int script, int lang, int gmask) argument
[all...]
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/com/sun/sample/scriptpad/
H A DMain.java43 import javax.script.*;
57 // get an instance of JavaScript script engine
60 // expose the current script engine as a global variable
77 // current script file name for better error messages
79 // evaluate the script in the InputStream
/openjdk7/jdk/make/common/
H A DMapfile-vers.gmk89 LDMAPFLAGS_OPT = $(FILES_m:%=-Xlinker -version-script=%)
90 LDMAPFLAGS_DBG = $(FILES_m:%=-Xlinker -version-script=%)
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DJavaAdapter.java26 package com.sun.script.javascript;
28 import javax.script.Invocable;
34 * Using this JavaAdapter, script author could write:
37 * run: function() { script... }
H A DRhinoScriptEngine.java26 package com.sun.script.javascript;
27 import com.sun.script.util.*;
28 import javax.script.*;
86 * Execute top call to script or function. When the runtime is about to
87 * execute a script or function that will create the first stack frame
89 * In this way execution of any script happens inside this function.
236 public Object eval(String script, ScriptContext ctxt) throws ScriptException { argument
237 if (script == null) {
238 throw new NullPointerException("null script");
240 return eval(new StringReader(script) , ctx
373 compile(String script) argument
377 compile(java.io.Reader script) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/script/util/
H A DBindingsBase.java26 package com.sun.script.util;
28 import javax.script.Bindings;
/openjdk7/jdk/src/macosx/classes/apple/applescript/
H A DAppleScriptEngine.java33 import javax.script.*;
45 private static native long evalScript(final String script, long contextptr); argument
158 * http://java.sun.com/javase/6/docs/api/javax/script/ScriptEngine.html#FILENAME */
263 * @return an Object corresponding to the return value of the script
272 * Uses the passed bindings as the context for executing the passed script.
275 * @return the return value of the script
292 * @return an Object corresponding to the return value of the script
333 * Evaluate an AppleScript script passed as a source string. Using the engine's built in context.
334 * @param script the string to execute.
335 * @return an Object representing the return value of the script
338 eval(final String script) argument
349 eval(final String script, final Bindings bindings) argument
364 eval(final String script, final ScriptContext context) argument
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/
H A Drun-and-write-if-okay32 This script will return successfully unless writing the output fails.
/openjdk7/jdk/test/sun/tools/jcmd/
H A Djcmd-f.sh47 # -f <script>
49 ${JCMD} -J-XX:+UsePerfData $appJavaPid -f ${TESTSRC}/dcmd-script.txt | awk '{ if (NR>1) print $0;}' > jcmd.out 2>&1
53 echo "Output of jcmd [pid] -f dcmd-script.txt differ from expected output. Failed."
/openjdk7/jdk/make/sun/tools/
H A DMakefile47 com/sun/tools/script/shell \
63 JRUNSCRIPT_RESOURCEDIR = $(CLASSDESTDIR)/com/sun/tools/script/shell

Completed in 89 milliseconds

12345