Home | History | Annotate | Download | only in cpp

Lines Matching refs:v8

61     v8::Handle<v8::Context> context_;
187 CtrlServerThread(v8::Handle<v8::Context> context) :
263 v8::Unlocker unlocker;
265 v8::Locker locker;
274 v8::HandleScope handle_scope;
275 v8::TryCatch try_catch;
279 v8::Handle<v8::String> name = v8::String::New("onCtrlServerCmd");
280 v8::Handle<v8::Value> onCtrlServerCmdFunctionValue =
282 v8::Handle<v8::Function> onCtrlServerCmdFunction =
283 v8::Handle<v8::Function>::Cast(onCtrlServerCmdFunctionValue);
286 v8::Handle<v8::Value> v8CmdValue = v8::Number::New(mh->cmd());
287 v8::Handle<v8::Value> v8TokenValue = v8::Number::New(mh->token());
291 v8::Handle<v8::Value> buf;
293 buf = v8::Undefined();
297 v8::Handle<v8::Value> argv[argc] = {
299 v8::Handle<v8::Value> result =
305 v8::String::Utf8Value result_string(result);
326 v8::Locker locker;
327 v8::HandleScope handle_scope;
328 v8::Context::Scope context_scope(context_);
392 v8::Handle<v8::Value> SendCtrlRequestComplete(const v8::Arguments& args) {
394 v8::HandleScope handle_scope;
395 v8::Handle<v8::Value> retValue;
413 return v8::Undefined();
415 v8::Handle<v8::Value> v8CtrlStatus(args[0]->ToObject());
419 v8::Handle<v8::Value> v8ReqNum(args[1]->ToObject());
423 v8::Handle<v8::Value> v8Token(args[2]->ToObject());
442 return v8::Undefined();
445 void ctrlServerInit(v8::Handle<v8::Context> context) {
458 v8::Unlocker unlocker;
462 v8::Locker locker;