Home
last modified time | relevance | path

Searched refs:funVal (Results 1 – 25 of 60) sorted by relevance

123

/dports/www/firefox-esr/firefox-91.8.0/js/src/jsapi-tests/
H A DtestFunctionNonSyntactic.cpp58 JS::RootedValue funVal(cx, JS::ObjectValue(*fun)); in BEGIN_TEST() local
60 CHECK(JS::Call(cx, JS::UndefinedHandleValue, funVal, in BEGIN_TEST()
84 JS::RootedValue funVal(cx, JS::ObjectValue(*fun)); in BEGIN_TEST() local
86 CHECK(JS::Call(cx, JS::UndefinedHandleValue, funVal, in BEGIN_TEST()
H A DtestChromeBuffer.cpp30 JS::RootedValue funVal(cx, JS::ObjectValue(*trusted_fun)); in CallTrusted() local
31 ok = JS_CallFunctionValue(cx, nullptr, funVal, in CallTrusted()
/dports/www/firefox/firefox-99.0/js/src/jsapi-tests/
H A DtestFunctionNonSyntactic.cpp58 JS::RootedValue funVal(cx, JS::ObjectValue(*fun)); in BEGIN_TEST() local
60 CHECK(JS::Call(cx, JS::UndefinedHandleValue, funVal, in BEGIN_TEST()
84 JS::RootedValue funVal(cx, JS::ObjectValue(*fun)); in BEGIN_TEST() local
86 CHECK(JS::Call(cx, JS::UndefinedHandleValue, funVal, in BEGIN_TEST()
H A DtestChromeBuffer.cpp33 JS::RootedValue funVal(cx, JS::ObjectValue(*trusted_fun)); in CallTrusted() local
34 ok = JS_CallFunctionValue(cx, nullptr, funVal, in CallTrusted()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/jsapi-tests/
H A DtestFunctionNonSyntactic.cpp58 JS::RootedValue funVal(cx, JS::ObjectValue(*fun)); in BEGIN_TEST() local
60 CHECK(JS::Call(cx, JS::UndefinedHandleValue, funVal, in BEGIN_TEST()
84 JS::RootedValue funVal(cx, JS::ObjectValue(*fun)); in BEGIN_TEST() local
86 CHECK(JS::Call(cx, JS::UndefinedHandleValue, funVal, in BEGIN_TEST()
H A DtestChromeBuffer.cpp30 JS::RootedValue funVal(cx, JS::ObjectValue(*trusted_fun)); in CallTrusted() local
31 ok = JS_CallFunctionValue(cx, nullptr, funVal, in CallTrusted()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonz/
H A Dscriptconsolepanel.cpp118 QScriptValue funVal = eng->newFunction(fun); in def() local
119 funVal.setData(eng->newQObject(teng)); in def()
122 evalFun.setData(funVal); in def()
/dports/www/firefox/firefox-99.0/js/src/vm/
H A DWatchtower.cpp42 RootedValue funVal(cx, ObjectValue(*cx->watchtowerTestingCallbackRef())); in InvokeWatchtowerCallback() local
43 AutoRealm ar(cx, &funVal.toObject()); in InvokeWatchtowerCallback()
52 return JS_CallFunctionValue(cx, nullptr, funVal, HandleValueArray(argv), in InvokeWatchtowerCallback()
H A DGlobalObject.cpp867 MutableHandleValue funVal) { in getSelfHostedFunction() argument
869 if (!GlobalObject::maybeGetIntrinsicValue(cx, global, selfHostedName, funVal, in getSelfHostedFunction()
874 RootedFunction fun(cx, &funVal.toObject().as<JSFunction>()); in getSelfHostedFunction()
911 funVal.setObject(*fun); in getSelfHostedFunction()
913 return GlobalObject::addIntrinsicValue(cx, global, selfHostedName, funVal); in getSelfHostedFunction()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/jsapi-tests/
H A DtestChromeBuffer.cpp43 JS::RootedValue funVal(cx, JS::ObjectValue(*trusted_fun)); in CallTrusted() local
44 ok = JS_CallFunctionValue(cx, nullptr, funVal, JS::HandleValueArray::empty(), args.rval()); in CallTrusted()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/jsapi-tests/
H A DtestChromeBuffer.cpp35 JS::RootedValue funVal(cx, JS::ObjectValue(*trusted_fun)); in CallTrusted() local
36 ok = JS_CallFunctionValue(cx, nullptr, funVal, in CallTrusted()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/vm/
H A DGlobalObject.cpp798 unsigned nargs, MutableHandleValue funVal) in getSelfHostedFunction() argument
801 if (!GlobalObject::maybeGetIntrinsicValue(cx, global, selfHostedName, funVal, &exists)) in getSelfHostedFunction()
804 RootedFunction fun(cx, &funVal.toObject().as<JSFunction>()); in getSelfHostedFunction()
838 funVal.setObject(*fun); in getSelfHostedFunction()
840 return GlobalObject::addIntrinsicValue(cx, global, selfHostedName, funVal); in getSelfHostedFunction()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/jsapi-tests/
H A DtestChromeBuffer.cpp29 JS::RootedValue funVal(cx, JS::ObjectValue(*trusted_fun)); in CallTrusted() local
30 ok = JS_CallFunctionValue(cx, nullptr, funVal, in CallTrusted()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/vm/
H A DGlobalObject.cpp1016 MutableHandleValue funVal) { in getSelfHostedFunction() argument
1018 if (!GlobalObject::maybeGetIntrinsicValue(cx, global, selfHostedName, funVal, in getSelfHostedFunction()
1023 RootedFunction fun(cx, &funVal.toObject().as<JSFunction>()); in getSelfHostedFunction()
1056 funVal.setObject(*fun); in getSelfHostedFunction()
1058 return GlobalObject::addIntrinsicValue(cx, global, selfHostedName, funVal); in getSelfHostedFunction()
/dports/www/firefox-esr/firefox-91.8.0/js/src/vm/
H A DGlobalObject.cpp971 MutableHandleValue funVal) { in getSelfHostedFunction() argument
973 if (!GlobalObject::maybeGetIntrinsicValue(cx, global, selfHostedName, funVal, in getSelfHostedFunction()
978 RootedFunction fun(cx, &funVal.toObject().as<JSFunction>()); in getSelfHostedFunction()
1010 funVal.setObject(*fun); in getSelfHostedFunction()
1012 return GlobalObject::addIntrinsicValue(cx, global, selfHostedName, funVal); in getSelfHostedFunction()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/vm/
H A DGlobalObject.cpp813 MutableHandleValue funVal) { in getSelfHostedFunction() argument
815 if (!GlobalObject::maybeGetIntrinsicValue(cx, global, selfHostedName, funVal, in getSelfHostedFunction()
819 RootedFunction fun(cx, &funVal.toObject().as<JSFunction>()); in getSelfHostedFunction()
850 funVal.setObject(*fun); in getSelfHostedFunction()
852 return GlobalObject::addIntrinsicValue(cx, global, selfHostedName, funVal); in getSelfHostedFunction()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/vm/
H A DGlobalObject.cpp971 MutableHandleValue funVal) { in getSelfHostedFunction() argument
973 if (!GlobalObject::maybeGetIntrinsicValue(cx, global, selfHostedName, funVal, in getSelfHostedFunction()
978 RootedFunction fun(cx, &funVal.toObject().as<JSFunction>()); in getSelfHostedFunction()
1010 funVal.setObject(*fun); in getSelfHostedFunction()
1012 return GlobalObject::addIntrinsicValue(cx, global, selfHostedName, funVal); in getSelfHostedFunction()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/vm/
H A DGlobalObject.cpp659 unsigned nargs, MutableHandleValue funVal) in getSelfHostedFunction() argument
661 if (GlobalObject::maybeGetIntrinsicValue(cx, global, selfHostedName, funVal)) in getSelfHostedFunction()
671 funVal.setObject(*fun); in getSelfHostedFunction()
673 return GlobalObject::addIntrinsicValue(cx, global, selfHostedName, funVal); in getSelfHostedFunction()
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/builtin/
H A DPromise.cpp2639 RootedValue funVal(cx, ObjectValue(*resolveFun)); in resolve() local
2644 if (!cx->compartment()->wrap(cx, &funVal)) in resolve()
2651 return Call(cx, funVal, UndefinedHandleValue, args, &dummy); in resolve()
2661 RootedValue funVal(cx, this->getFixedSlot(PromiseSlot_RejectFunction)); in reject() local
2662 MOZ_ASSERT(IsCallable(funVal)); in reject()
2668 return Call(cx, funVal, UndefinedHandleValue, args, &dummy); in reject()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/builtin/
H A DPromise.cpp3342 RootedValue funVal(cx, ObjectValue(*resolveFun)); in resolve() local
3347 if (!cx->compartment()->wrap(cx, &funVal)) return false; in resolve()
3353 return Call(cx, funVal, UndefinedHandleValue, args, &dummy); in resolve()
3366 RootedValue funVal(cx, promise->getFixedSlot(PromiseSlot_RejectFunction)); in reject() local
3367 MOZ_ASSERT(IsCallable(funVal)); in reject()
3373 return Call(cx, funVal, UndefinedHandleValue, args, &dummy); in reject()
/dports/www/kf5-kjs/kjs-5.89.0/src/kjs/
H A Dnodes2bytecode.cpp648 OpValue funVal, thisVal; in generateEvalCode() local
649 loc->generateRefFunc(comp, &funVal, &thisVal); in generateEvalCode()
653 CodeGen::emitOp(comp, Op_FunctionCall, &out, &funVal, &thisVal); in generateEvalCode()
/dports/www/firefox-esr/firefox-91.8.0/js/src/builtin/
H A DPromise.cpp5626 RootedValue funVal(cx, ObjectValue(*resolveFun)); in resolve() local
5631 if (!cx->compartment()->wrap(cx, &funVal)) { in resolve()
5636 return Call(cx, funVal, UndefinedHandleValue, resolutionValue, &dummy); in resolve()
5652 RootedValue funVal(cx, promise->getFixedSlot(PromiseSlot_RejectFunction)); in reject() local
5653 MOZ_ASSERT(IsCallable(funVal)); in reject()
5656 return Call(cx, funVal, UndefinedHandleValue, rejectionValue, &dummy); in reject()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/builtin/
H A DPromise.cpp5600 RootedValue funVal(cx, ObjectValue(*resolveFun)); in resolve() local
5605 if (!cx->compartment()->wrap(cx, &funVal)) { in resolve()
5610 return Call(cx, funVal, UndefinedHandleValue, resolutionValue, &dummy); in resolve()
5626 RootedValue funVal(cx, promise->getFixedSlot(PromiseSlot_RejectFunction)); in reject() local
5627 MOZ_ASSERT(IsCallable(funVal)); in reject()
5630 return Call(cx, funVal, UndefinedHandleValue, rejectionValue, &dummy); in reject()
/dports/www/firefox/firefox-99.0/js/src/builtin/
H A DPromise.cpp6067 RootedValue funVal(cx, ObjectValue(*resolveFun)); in resolve() local
6072 if (!cx->compartment()->wrap(cx, &funVal)) { in resolve()
6077 return Call(cx, funVal, UndefinedHandleValue, resolutionValue, &dummy); in resolve()
6093 RootedValue funVal(cx, promise->getFixedSlot(PromiseSlot_RejectFunction)); in reject() local
6094 MOZ_ASSERT(IsCallable(funVal)); in reject()
6097 return Call(cx, funVal, UndefinedHandleValue, rejectionValue, &dummy); in reject()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/builtin/
H A DPromise.cpp5626 RootedValue funVal(cx, ObjectValue(*resolveFun)); in resolve() local
5631 if (!cx->compartment()->wrap(cx, &funVal)) { in resolve()
5636 return Call(cx, funVal, UndefinedHandleValue, resolutionValue, &dummy); in resolve()
5652 RootedValue funVal(cx, promise->getFixedSlot(PromiseSlot_RejectFunction)); in reject() local
5653 MOZ_ASSERT(IsCallable(funVal)); in reject()
5656 return Call(cx, funVal, UndefinedHandleValue, rejectionValue, &dummy); in reject()

123