Lines Matching refs:pRuntime
51 CJS_Return event::get_change(CJS_Runtime* pRuntime) { in get_change() argument
53 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_change()
54 return CJS_Return(pRuntime->NewString(pEvent->Change().c_str())); in get_change()
57 CJS_Return event::set_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_change() argument
59 pRuntime->GetCurrentEventContext()->GetEventHandler(); in set_change()
63 wChange = pRuntime->ToWideString(vp); in set_change()
68 CJS_Return event::get_change_ex(CJS_Runtime* pRuntime) { in get_change_ex() argument
70 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_change_ex()
72 return CJS_Return(pRuntime->NewString(pEvent->ChangeEx().c_str())); in get_change_ex()
75 CJS_Return event::set_change_ex(CJS_Runtime* pRuntime, in set_change_ex() argument
80 CJS_Return event::get_commit_key(CJS_Runtime* pRuntime) { in get_commit_key() argument
82 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_commit_key()
84 return CJS_Return(pRuntime->NewNumber(pEvent->CommitKey())); in get_commit_key()
87 CJS_Return event::set_commit_key(CJS_Runtime* pRuntime, in set_commit_key() argument
92 CJS_Return event::get_field_full(CJS_Runtime* pRuntime) { in get_field_full() argument
94 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_field_full()
99 return CJS_Return(pRuntime->NewBoolean(pEvent->FieldFull())); in get_field_full()
102 CJS_Return event::set_field_full(CJS_Runtime* pRuntime, in set_field_full() argument
107 CJS_Return event::get_key_down(CJS_Runtime* pRuntime) { in get_key_down() argument
109 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_key_down()
110 return CJS_Return(pRuntime->NewBoolean(pEvent->KeyDown())); in get_key_down()
113 CJS_Return event::set_key_down(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_key_down() argument
117 CJS_Return event::get_modifier(CJS_Runtime* pRuntime) { in get_modifier() argument
119 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_modifier()
120 return CJS_Return(pRuntime->NewBoolean(pEvent->Modifier())); in get_modifier()
123 CJS_Return event::set_modifier(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_modifier() argument
127 CJS_Return event::get_name(CJS_Runtime* pRuntime) { in get_name() argument
129 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_name()
130 return CJS_Return(pRuntime->NewString(pEvent->Name())); in get_name()
133 CJS_Return event::set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_name() argument
137 CJS_Return event::get_rc(CJS_Runtime* pRuntime) { in get_rc() argument
139 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_rc()
140 return CJS_Return(pRuntime->NewBoolean(pEvent->Rc())); in get_rc()
143 CJS_Return event::set_rc(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_rc() argument
145 pRuntime->GetCurrentEventContext()->GetEventHandler(); in set_rc()
146 pEvent->Rc() = pRuntime->ToBoolean(vp); in set_rc()
150 CJS_Return event::get_rich_change(CJS_Runtime* pRuntime) { in get_rich_change() argument
154 CJS_Return event::set_rich_change(CJS_Runtime* pRuntime, in set_rich_change() argument
159 CJS_Return event::get_rich_change_ex(CJS_Runtime* pRuntime) { in get_rich_change_ex() argument
163 CJS_Return event::set_rich_change_ex(CJS_Runtime* pRuntime, in set_rich_change_ex() argument
168 CJS_Return event::get_rich_value(CJS_Runtime* pRuntime) { in get_rich_value() argument
172 CJS_Return event::set_rich_value(CJS_Runtime* pRuntime, in set_rich_value() argument
177 CJS_Return event::get_sel_end(CJS_Runtime* pRuntime) { in get_sel_end() argument
179 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_sel_end()
184 return CJS_Return(pRuntime->NewNumber(pEvent->SelEnd())); in get_sel_end()
187 CJS_Return event::set_sel_end(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_sel_end() argument
189 pRuntime->GetCurrentEventContext()->GetEventHandler(); in set_sel_end()
194 pEvent->SetSelEnd(pRuntime->ToInt32(vp)); in set_sel_end()
198 CJS_Return event::get_sel_start(CJS_Runtime* pRuntime) { in get_sel_start() argument
200 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_sel_start()
205 return CJS_Return(pRuntime->NewNumber(pEvent->SelStart())); in get_sel_start()
208 CJS_Return event::set_sel_start(CJS_Runtime* pRuntime, in set_sel_start() argument
211 pRuntime->GetCurrentEventContext()->GetEventHandler(); in set_sel_start()
216 pEvent->SetSelStart(pRuntime->ToInt32(vp)); in set_sel_start()
220 CJS_Return event::get_shift(CJS_Runtime* pRuntime) { in get_shift() argument
222 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_shift()
223 return CJS_Return(pRuntime->NewBoolean(pEvent->Shift())); in get_shift()
226 CJS_Return event::set_shift(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_shift() argument
230 CJS_Return event::get_source(CJS_Runtime* pRuntime) { in get_source() argument
232 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_source()
236 CJS_Return event::set_source(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_source() argument
240 CJS_Return event::get_target(CJS_Runtime* pRuntime) { in get_target() argument
242 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_target()
246 CJS_Return event::set_target(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_target() argument
250 CJS_Return event::get_target_name(CJS_Runtime* pRuntime) { in get_target_name() argument
252 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_target_name()
253 return CJS_Return(pRuntime->NewString(pEvent->TargetName().c_str())); in get_target_name()
256 CJS_Return event::set_target_name(CJS_Runtime* pRuntime, in set_target_name() argument
261 CJS_Return event::get_type(CJS_Runtime* pRuntime) { in get_type() argument
263 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_type()
264 return CJS_Return(pRuntime->NewString(pEvent->Type())); in get_type()
267 CJS_Return event::set_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_type() argument
271 CJS_Return event::get_value(CJS_Runtime* pRuntime) { in get_value() argument
273 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_value()
281 return CJS_Return(pRuntime->NewString(pEvent->Value().c_str())); in get_value()
284 CJS_Return event::set_value(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_value() argument
286 pRuntime->GetCurrentEventContext()->GetEventHandler(); in set_value()
294 pEvent->Value() = pRuntime->ToWideString(vp); in set_value()
298 CJS_Return event::get_will_commit(CJS_Runtime* pRuntime) { in get_will_commit() argument
300 pRuntime->GetCurrentEventContext()->GetEventHandler(); in get_will_commit()
301 return CJS_Return(pRuntime->NewBoolean(pEvent->WillCommit())); in get_will_commit()
304 CJS_Return event::set_will_commit(CJS_Runtime* pRuntime, in set_will_commit() argument