Lines Matching refs:v8
19 #include <v8.h>
184 v8::HandleScope handle_scope;
212 v8::HandleScope handle_scope;
240 v8::HandleScope handle_scope;
271 int callOnRilRequest(v8::Handle<v8::Context> context, int cmd,
276 v8::HandleScope handle_scope;
277 v8::TryCatch try_catch;
280 v8::Handle<v8::String> name = v8::String::New("onRilRequest");
281 v8::Handle<v8::Value> onRilRequestFunctionValue = context->Global()->Get(name);
282 v8::Handle<v8::Function> onRilRequestFunction =
283 v8::Handle<v8::Function>::Cast(onRilRequestFunctionValue);
286 v8::Handle<v8::Value> v8RequestValue = v8::Number::New(cmd);
287 v8::Handle<v8::Value> v8TokenValue = v8::Number::New(int64_t(t));
291 v8::Handle<v8::Value> argv[argc] = {
293 v8::Handle<v8::Value> result =
300 v8::String::Utf8Value result_string(result);
309 RilRequestWorkerQueue::RilRequestWorkerQueue(v8::Handle<v8::Context> context) {
340 v8::Locker locker;
341 v8::HandleScope handle_scope;
342 v8::Context::Scope context_scope(context_);
394 v8::Locker locker;
395 v8::HandleScope handle_scope;
396 v8::Context::Scope context_scope(context_);
405 int requestsInit(v8::Handle<v8::Context> context, RilRequestWorkerQueue **rwq) {
443 void testRilRequest(v8::Handle<v8::Context> context, int request, const void *data,
465 void testRequests(v8::Handle<v8::Context> context) {
468 v8::TryCatch try_catch;
515 v8::Unlocker unlocker;
517 v8::Locker locker;