Lines Matching refs:pEvent
58 CJS_EventRecorder* pEvent = in get_change() local
61 pRuntime->NewString(pEvent->Change().AsStringView())); in get_change()
66 CJS_EventRecorder* pEvent = in set_change() local
70 WideString& wChange = pEvent->Change(); in set_change()
77 CJS_EventRecorder* pEvent = in get_change_ex() local
80 pRuntime->NewString(pEvent->ChangeEx().AsStringView())); in get_change_ex()
89 CJS_EventRecorder* pEvent = in get_commit_key() local
91 return CJS_Result::Success(pRuntime->NewNumber(pEvent->CommitKey())); in get_commit_key()
100 CJS_EventRecorder* pEvent = in get_field_full() local
102 if (pEvent->Name() != "Keystroke") in get_field_full()
105 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->FieldFull())); in get_field_full()
114 CJS_EventRecorder* pEvent = in get_key_down() local
116 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->KeyDown())); in get_key_down()
125 CJS_EventRecorder* pEvent = in get_modifier() local
127 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->Modifier())); in get_modifier()
136 CJS_EventRecorder* pEvent = in get_name() local
138 return CJS_Result::Success(pRuntime->NewString(pEvent->Name())); in get_name()
146 CJS_EventRecorder* pEvent = in get_rc() local
148 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->Rc())); in get_rc()
152 CJS_EventRecorder* pEvent = in set_rc() local
154 pEvent->Rc() = pRuntime->ToBoolean(vp); in set_rc()
186 CJS_EventRecorder* pEvent = in get_sel_end() local
188 if (pEvent->Name() != "Keystroke") in get_sel_end()
191 return CJS_Result::Success(pRuntime->NewNumber(pEvent->SelEnd())); in get_sel_end()
196 CJS_EventRecorder* pEvent = in set_sel_end() local
198 if (pEvent->Name() == "Keystroke") in set_sel_end()
199 pEvent->SetSelEnd(pRuntime->ToInt32(vp)); in set_sel_end()
205 CJS_EventRecorder* pEvent = in get_sel_start() local
207 if (pEvent->Name() != "Keystroke") in get_sel_start()
210 return CJS_Result::Success(pRuntime->NewNumber(pEvent->SelStart())); in get_sel_start()
215 CJS_EventRecorder* pEvent = in set_sel_start() local
217 if (pEvent->Name() == "Keystroke") in set_sel_start()
218 pEvent->SetSelStart(pRuntime->ToInt32(vp)); in set_sel_start()
224 CJS_EventRecorder* pEvent = in get_shift() local
226 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->Shift())); in get_shift()
259 CJS_EventRecorder* pEvent = in get_target_name() local
262 pRuntime->NewString(pEvent->TargetName().AsStringView())); in get_target_name()
271 CJS_EventRecorder* pEvent = in get_type() local
273 return CJS_Result::Success(pRuntime->NewString(pEvent->Type())); in get_type()
281 CJS_EventRecorder* pEvent = in get_value() local
283 if (pEvent->Type() != "Field") in get_value()
286 if (!pEvent->HasValue()) in get_value()
290 pRuntime->NewString(pEvent->Value().AsStringView())); in get_value()
295 CJS_EventRecorder* pEvent = in set_value() local
297 if (pEvent->Type() != "Field") in set_value()
300 if (!pEvent->HasValue()) in set_value()
309 pEvent->Value() = pRuntime->ToWideString(vp); in set_value()
314 CJS_EventRecorder* pEvent = in get_will_commit() local
317 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->WillCommit())); in get_will_commit()