Lines Matching refs:pRuntime
52 CJS_Event::CJS_Event(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime) in CJS_Event() argument
53 : CJS_Object(pObject, pRuntime) {} in CJS_Event()
57 CJS_Result CJS_Event::get_change(CJS_Runtime* pRuntime) { in get_change() argument
59 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_change()
61 pRuntime->NewString(pEvent->Change().AsStringView())); in get_change()
64 CJS_Result CJS_Event::set_change(CJS_Runtime* pRuntime, in set_change() argument
67 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in set_change()
71 wChange = pRuntime->ToWideString(vp); in set_change()
76 CJS_Result CJS_Event::get_change_ex(CJS_Runtime* pRuntime) { in get_change_ex() argument
78 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_change_ex()
80 pRuntime->NewString(pEvent->ChangeEx().AsStringView())); in get_change_ex()
83 CJS_Result CJS_Event::set_change_ex(CJS_Runtime* pRuntime, in set_change_ex() argument
88 CJS_Result CJS_Event::get_commit_key(CJS_Runtime* pRuntime) { in get_commit_key() argument
90 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_commit_key()
91 return CJS_Result::Success(pRuntime->NewNumber(pEvent->CommitKey())); in get_commit_key()
94 CJS_Result CJS_Event::set_commit_key(CJS_Runtime* pRuntime, in set_commit_key() argument
99 CJS_Result CJS_Event::get_field_full(CJS_Runtime* pRuntime) { in get_field_full() argument
101 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_field_full()
105 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->FieldFull())); in get_field_full()
108 CJS_Result CJS_Event::set_field_full(CJS_Runtime* pRuntime, in set_field_full() argument
113 CJS_Result CJS_Event::get_key_down(CJS_Runtime* pRuntime) { in get_key_down() argument
115 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_key_down()
116 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->KeyDown())); in get_key_down()
119 CJS_Result CJS_Event::set_key_down(CJS_Runtime* pRuntime, in set_key_down() argument
124 CJS_Result CJS_Event::get_modifier(CJS_Runtime* pRuntime) { in get_modifier() argument
126 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_modifier()
127 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->Modifier())); in get_modifier()
130 CJS_Result CJS_Event::set_modifier(CJS_Runtime* pRuntime, in set_modifier() argument
135 CJS_Result CJS_Event::get_name(CJS_Runtime* pRuntime) { in get_name() argument
137 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_name()
138 return CJS_Result::Success(pRuntime->NewString(pEvent->Name())); in get_name()
141 CJS_Result CJS_Event::set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_name() argument
145 CJS_Result CJS_Event::get_rc(CJS_Runtime* pRuntime) { in get_rc() argument
147 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_rc()
148 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->Rc())); in get_rc()
151 CJS_Result CJS_Event::set_rc(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_rc() argument
153 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in set_rc()
154 pEvent->Rc() = pRuntime->ToBoolean(vp); in set_rc()
158 CJS_Result CJS_Event::get_rich_change(CJS_Runtime* pRuntime) { in get_rich_change() argument
162 CJS_Result CJS_Event::set_rich_change(CJS_Runtime* pRuntime, in set_rich_change() argument
167 CJS_Result CJS_Event::get_rich_change_ex(CJS_Runtime* pRuntime) { in get_rich_change_ex() argument
171 CJS_Result CJS_Event::set_rich_change_ex(CJS_Runtime* pRuntime, in set_rich_change_ex() argument
176 CJS_Result CJS_Event::get_rich_value(CJS_Runtime* pRuntime) { in get_rich_value() argument
180 CJS_Result CJS_Event::set_rich_value(CJS_Runtime* pRuntime, in set_rich_value() argument
185 CJS_Result CJS_Event::get_sel_end(CJS_Runtime* pRuntime) { in get_sel_end() argument
187 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_sel_end()
191 return CJS_Result::Success(pRuntime->NewNumber(pEvent->SelEnd())); in get_sel_end()
194 CJS_Result CJS_Event::set_sel_end(CJS_Runtime* pRuntime, in set_sel_end() argument
197 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in set_sel_end()
199 pEvent->SetSelEnd(pRuntime->ToInt32(vp)); in set_sel_end()
204 CJS_Result CJS_Event::get_sel_start(CJS_Runtime* pRuntime) { in get_sel_start() argument
206 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_sel_start()
210 return CJS_Result::Success(pRuntime->NewNumber(pEvent->SelStart())); in get_sel_start()
213 CJS_Result CJS_Event::set_sel_start(CJS_Runtime* pRuntime, in set_sel_start() argument
216 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in set_sel_start()
218 pEvent->SetSelStart(pRuntime->ToInt32(vp)); in set_sel_start()
223 CJS_Result CJS_Event::get_shift(CJS_Runtime* pRuntime) { in get_shift() argument
225 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_shift()
226 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->Shift())); in get_shift()
229 CJS_Result CJS_Event::set_shift(CJS_Runtime* pRuntime, in set_shift() argument
234 CJS_Result CJS_Event::get_source(CJS_Runtime* pRuntime) { in get_source() argument
235 CJS_Field* pField = pRuntime->GetCurrentEventContext()->SourceField(); in get_source()
241 CJS_Result CJS_Event::set_source(CJS_Runtime* pRuntime, in set_source() argument
246 CJS_Result CJS_Event::get_target(CJS_Runtime* pRuntime) { in get_target() argument
247 CJS_Field* pField = pRuntime->GetCurrentEventContext()->TargetField(); in get_target()
253 CJS_Result CJS_Event::set_target(CJS_Runtime* pRuntime, in set_target() argument
258 CJS_Result CJS_Event::get_target_name(CJS_Runtime* pRuntime) { in get_target_name() argument
260 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_target_name()
262 pRuntime->NewString(pEvent->TargetName().AsStringView())); in get_target_name()
265 CJS_Result CJS_Event::set_target_name(CJS_Runtime* pRuntime, in set_target_name() argument
270 CJS_Result CJS_Event::get_type(CJS_Runtime* pRuntime) { in get_type() argument
272 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_type()
273 return CJS_Result::Success(pRuntime->NewString(pEvent->Type())); in get_type()
276 CJS_Result CJS_Event::set_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_type() argument
280 CJS_Result CJS_Event::get_value(CJS_Runtime* pRuntime) { in get_value() argument
282 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_value()
290 pRuntime->NewString(pEvent->Value().AsStringView())); in get_value()
293 CJS_Result CJS_Event::set_value(CJS_Runtime* pRuntime, in set_value() argument
296 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in set_value()
309 pEvent->Value() = pRuntime->ToWideString(vp); in set_value()
313 CJS_Result CJS_Event::get_will_commit(CJS_Runtime* pRuntime) { in get_will_commit() argument
315 pRuntime->GetCurrentEventContext()->GetEventRecorder(); in get_will_commit()
317 return CJS_Result::Success(pRuntime->NewBoolean(pEvent->WillCommit())); in get_will_commit()
320 CJS_Result CJS_Event::set_will_commit(CJS_Runtime* pRuntime, in set_will_commit() argument