Searched refs:thiz (Results 1 - 25 of 26) sorted by relevance

12

/openjdk10/jdk/src/java.scripting/share/classes/javax/script/
H A DInvocable.java43 * @param thiz If the procedure is a member of a class
44 * defined in the script and thiz is an instance of that class
57 * @throws IllegalArgumentException if the specified thiz is null or the specified Object is
60 public Object invokeMethod(Object thiz, String name, Object... args) argument
101 * @param thiz The scripting object whose member functions are used to implement the methods of the interface.
112 public <T> T getInterface(Object thiz, Class<T> clasz); argument
/openjdk10/nashorn/test/src/jdk/nashorn/internal/runtime/linker/test/
H A DJDK_8184723_Test.java50 public Object call(Object thiz, Object... args) {
51 return thiz;
/openjdk10/nashorn/test/script/basic/
H A DJDK-8157680.js51 call: function(thiz, args) {
68 call: function(thiz, args) {
84 call: function(thiz, args) {
H A DJDK-8024847.js111 call: function(thiz) {
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/
H A DJdiDefaultExecutionControl.java192 ObjectReference thiz = frame.thisObject();
193 Field inClientCode = thiz.referenceType().fieldByName("inClientCode");
194 Field expectingStop = thiz.referenceType().fieldByName("expectingStop");
195 Field stopException = thiz.referenceType().fieldByName("stopException");
196 if (((BooleanValue) thiz.getValue(inClientCode)).value()) {
197 thiz.setValue(expectingStop, vm().mirrorOf(true));
198 ObjectReference stopInstance = (ObjectReference) thiz.getValue(stopException);
203 thiz.setValue(expectingStop, vm().mirrorOf(false));
/openjdk10/nashorn/samples/
H A DBufferArray.java105 public Object call(final Object thiz, final Object... args) {
/openjdk10/nashorn/test/src/jdk/nashorn/api/scripting/test/
H A DJDK_8148140_Test.java57 public Object call(final Object thiz, final Object... args) {
H A DScriptObjectMirrorTest.java394 // @bug 8170565: JSObject call() is passed undefined for the argument 'thiz'
404 public Object call(Object thiz, Object...args) {
405 return thiz;
423 public Object call(Object thiz, Object...args) {
424 return thiz;
H A DPluggableJSObjectTest.java211 public Object call(final Object thiz, final Object... args) { argument
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-ot-cmap-table.hh87 const accelerator_t *thiz = (const accelerator_t *) obj; local
90 int min = 0, max = (int) thiz->segCount - 1;
91 const USHORT *startCount = thiz->startCount;
92 const USHORT *endCount = thiz->endCount;
111 unsigned int rangeOffset = thiz->idRangeOffset[i];
113 gid = codepoint + thiz->idDelta[i];
117 unsigned int index = rangeOffset / 2 + (codepoint - thiz->startCount[i]) + i - thiz->segCount;
118 if (unlikely (index >= thiz->glyphIdArrayLength))
120 gid = thiz
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeFunction.java93 * @param thiz {@code this} arg for apply
98 public static Object apply(final Object self, final Object thiz, final Object array) { argument
103 return ScriptRuntime.apply((ScriptFunction)self, thiz, args);
105 return ((JSObject)self).call(thiz, args);
180 final Object thiz = (args.length == 0) ? UNDEFINED : args[0];
191 return ScriptRuntime.apply((ScriptFunction)self, thiz, arguments);
193 return ((JSObject)self).call(thiz, arguments);
208 final Object thiz = (args.length == 0) ? UNDEFINED : args[0];
218 return Bootstrap.bindCallable(self, thiz, arguments);
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/
H A DReferenceType.java237 final ObjectType thiz = (ObjectType) this;
239 final JavaClass[] thiz_sups = Repository.getSuperClasses(thiz.getClassName());
249 this_sups[0] = Repository.lookupClass(thiz.getClassName());
309 final ObjectType thiz = (ObjectType) this;
311 final JavaClass[] thiz_sups = Repository.getSuperClasses(thiz.getClassName());
321 this_sups[0] = Repository.lookupClass(thiz.getClassName());
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DJSONListAdapter.java63 public Object call(final Object thiz, final Object... args) { argument
64 return obj.call(thiz, args);
H A DScriptFunctionData.java456 * @param thiz the this argument
460 private Object convertThisObject(final Object thiz) { argument
461 return needsWrappedThis() ? wrapThis(thiz) : thiz;
464 static Object wrapThis(final Object thiz) { argument
465 if (!(thiz instanceof ScriptObject)) {
466 if (JSType.nullOrUndefined(thiz)) {
470 if (isPrimitiveThis(thiz)) {
471 return Context.getGlobal().wrapAsObject(thiz);
475 return thiz;
[all...]
H A DWithObject.java320 public Object call(final Object thiz, final Object... args) {
H A DContext.java1429 private Object evaluateSource(final Source source, final ScriptObject scope, final ScriptObject thiz) { argument
1438 return ScriptRuntime.apply(script, thiz);
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/
H A DNashornScriptEngine.java193 public Object invokeMethod(final Object thiz, final String name, final Object... args) argument
195 if (thiz == null) {
196 throw new IllegalArgumentException(getMessage("thiz.cannot.be.null"));
198 return invokeImpl(thiz, name, args);
207 public <T> T getInterface(final Object thiz, final Class<T> clazz) { argument
208 if (thiz == null) {
209 throw new IllegalArgumentException(getMessage("thiz.cannot.be.null"));
211 return getInterfaceInner(thiz, clazz);
233 private <T> T getInterfaceInner(final Object thiz, final Class<T> clazz) { argument
234 assert !(thiz instanceo
[all...]
H A DJSObject.java43 * 'func.apply(thiz, args)' in JavaScript.
45 * @param thiz 'this' object to be passed to the function. This may be null.
49 public Object call(final Object thiz, final Object... args); argument
H A DAbstractJSObject.java53 public Object call(final Object thiz, final Object... args) { argument
H A DScriptObjectMirror.java104 public Object call(final Object thiz, final Object... args) { argument
115 final Object self = globalChanged? wrapLikeMe(thiz, oldGlobal) : thiz;
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/
H A DJSObjectLinker.java215 private static Object callToApply(final MethodHandle mh, final JSObject obj, final Object thiz, final Object... args) { argument
221 return mh.invokeExact(obj, thiz, new Object[] { receiver, arguments });
231 private static Object jsObjectScopeCall(final JSObject jsObj, final Object thiz, final Object[] args) { argument
233 if (thiz == ScriptRuntime.UNDEFINED && !jsObj.isStrictFunction()) {
237 modifiedThiz = thiz;
/openjdk10/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/
H A DEditObject.java115 public Object call(final Object thiz, final Object... args) { argument
H A DHistoryObject.java80 public Object call(final Object thiz, final Object... args) { argument
/openjdk10/jdk/src/java.desktop/windows/native/libfontmanager/
H A Dfontpath.c50 JNIEXPORT jstring JNICALL Java_sun_awt_Win32FontManager_getFontPath(JNIEnv *env, jobject thiz, jboolean noType1) argument
/openjdk10/jdk/src/java.desktop/unix/native/common/awt/
H A Dfontpath.c568 (JNIEnv *env, jobject thiz, jboolean noType1, jboolean isX11) {
567 Java_sun_awt_FcFontManager_getFontPathNative(JNIEnv *env, jobject thiz, jboolean noType1, jboolean isX11) argument

Completed in 331 milliseconds

12