• Home
  • Raw
  • Download

Lines Matching refs:context

270     v8::Persistent<v8::Context> context = v8::Context::New(NULL, global);  in makeJsContext()  local
279 return context; in makeJsContext()
285 void runJs(v8::Handle<v8::Context> context, v8::TryCatch *try_catch, in runJs() argument
303 void testRadioState(v8::Handle<v8::Context> context) { in testRadioState() argument
310 runJs(context, &try_catch, "local-string", in testRadioState()
320 void testMsSleep(v8::Handle<v8::Context> context) { in testMsSleep() argument
327 runJs(context, &try_catch, "local-string", in testMsSleep()
336 void testPrint(v8::Handle<v8::Context> context) { in testPrint() argument
343 runJs(context, &try_catch, "local-string", "print(\"Hello\")"); in testPrint()
347 void testCompileError(v8::Handle<v8::Context> context) { in testCompileError() argument
355 runJs(context, &try_catch, "local-string", "+++"); in testCompileError()
359 void testRuntimeError(v8::Handle<v8::Context> context) { in testRuntimeError() argument
367 runJs(context, &try_catch, "local-string", in testRuntimeError()
390 void testReadFileToStringBuffer(v8::Handle<v8::Context> context) { in testReadFileToStringBuffer() argument
397 runJs(context, &try_catch, "local-string", in testReadFileToStringBuffer()
405 void testJsSupport(v8::Handle<v8::Context> context) { in testJsSupport() argument
407 testRadioState(context); in testJsSupport()
408 testMsSleep(context); in testJsSupport()
409 testPrint(context); in testJsSupport()
410 testCompileError(context); in testJsSupport()
411 testRuntimeError(context); in testJsSupport()
413 testReadFileToStringBuffer(context); in testJsSupport()