Lines Matching refs:args
22 void NativeapiCommon::FailCallBack(const JSIValue thisVal, const JSIValue args, int ret)
24 if (JSI::ValueIsUndefined(args)) {
45 JSIValue fail = JSI::GetNamedProperty(args, CB_FAIL);
46 JSIValue complete = JSI::GetNamedProperty(args, CB_COMPLETE);
57 void NativeapiCommon::SuccessCallBack(const JSIValue thisVal, const JSIValue args, JSIValue jsiValue)
59 if (JSI::ValueIsUndefined(args)) {
62 JSIValue success = JSI::GetNamedProperty(args, CB_SUCCESS);
63 JSIValue complete = JSI::GetNamedProperty(args, CB_COMPLETE);
77 bool NativeapiCommon::IsValidJSIValue(const JSIValue* args, uint8_t argsNum)
79 if ((args == nullptr) || (argsNum == 0) || JSI::ValueIsUndefined(args[0])) {