Lines Matching refs:runtime
42 CJS_V8* runtime,
51 CJS_V8* runtime,
56 WideString eventString = runtime->ToWideString(params[0]);
62 return CJS_Return(runtime->NewBoolean(iRet != XFA_EVENTERROR_Error));
66 CJS_V8* runtime,
80 CJS_V8* runtime,
89 bool bValue = pWidgetAcc->DeleteItem(runtime->ToInt32(params[0]), true, true);
90 return CJS_Return(runtime->NewBoolean(bValue));
94 CJS_V8* runtime,
99 int32_t iIndex = runtime->ToInt32(params[0]);
101 return CJS_Return(runtime->NewNull());
105 return CJS_Return(runtime->NewNull());
109 return CJS_Return(runtime->NewNull());
111 return CJS_Return(runtime->NewString(value->UTF8Encode().AsStringView()));
115 CJS_V8* runtime,
124 WideString value = runtime->ToWideString(params[0]);
126 return CJS_Return(runtime->NewString(boundValue.UTF8Encode().AsStringView()));
130 CJS_V8* runtime,
139 int32_t state = pWidgetAcc->GetItemState(runtime->ToInt32(params[0]));
140 return CJS_Return(runtime->NewBoolean(state != 0));
144 CJS_V8* runtime,
158 CJS_V8* runtime,
163 int32_t iIndex = runtime->ToInt32(params[0]);
165 return CJS_Return(runtime->NewNull());
169 return CJS_Return(runtime->NewNull());
173 return CJS_Return(runtime->NewNull());
175 return CJS_Return(runtime->NewString(value->UTF8Encode().AsStringView()));
179 CJS_V8* runtime,
188 int32_t iIndex = runtime->ToInt32(params[0]);
189 if (runtime->ToInt32(params[1]) != 0) {
199 CJS_Return CJX_Field::addItem(CJS_V8* runtime,
210 label = runtime->ToWideString(params[0]);
214 value = runtime->ToWideString(params[1]);
221 CJS_V8* runtime,
228 return CJS_Return(runtime->NewBoolean(false));
232 return CJS_Return(runtime->NewBoolean(iRet != XFA_EVENTERROR_Error));