/external/chromium_org/chrome/renderer/ |
loadtimes_extension_bindings.cc | 58 if (name->Equals(v8::String::NewFromUtf8(isolate, "GetLoadTimes"))) { 60 } else if (name->Equals(v8::String::NewFromUtf8(isolate, "GetCSI"))) { 110 v8::String::NewFromUtf8(isolate, "requestTime"), 114 v8::String::NewFromUtf8(isolate, "startLoadTime"), 118 v8::String::NewFromUtf8(isolate, "commitLoadTime"), 122 v8::String::NewFromUtf8(isolate, "finishDocumentLoadTime"), 127 v8::String::NewFromUtf8(isolate, "finishLoadTime"), 131 v8::String::NewFromUtf8(isolate, "firstPaintTime"), 135 v8::String::NewFromUtf8(isolate, "firstPaintAfterLoadTime"), 140 v8::String::NewFromUtf8(isolate, "navigationType") [all...] |
net_benchmarking_extension.cc | 53 if (name->Equals(v8::String::NewFromUtf8(isolate, "ClearCache"))) { 55 } else if (name->Equals(v8::String::NewFromUtf8( 59 v8::String::NewFromUtf8(isolate, "ClearPredictorCache"))) { 61 } else if (name->Equals(v8::String::NewFromUtf8(isolate, "EnableSpdy"))) { 64 v8::String::NewFromUtf8(isolate, "CloseConnections"))) {
|
benchmarking_extension.cc | 65 if (name->Equals(v8::String::NewFromUtf8(isolate, "GetCounter"))) { 68 v8::String::NewFromUtf8(isolate, "GetCounterForRenderer"))) { 71 v8::String::NewFromUtf8(isolate, "IsSingleProcess"))) { 73 } else if (name->Equals(v8::String::NewFromUtf8(isolate, "HiResTime"))) {
|
principals_extension_bindings.cc | 62 if (name->Equals(v8::String::NewFromUtf8( 65 } else if (name->Equals(v8::String::NewFromUtf8( 91 v8::String::NewFromUtf8(isolate, it->c_str(),
|
/external/chromium_org/v8/src/ |
d8-posix.cc | 196 isolate->ThrowException(String::NewFromUtf8(isolate, message)); 211 isolate->ThrowException(String::NewFromUtf8(isolate, message)); 248 args.GetIsolate()->ThrowException(String::NewFromUtf8( 257 args.GetIsolate()->ThrowException(String::NewFromUtf8( 303 isolate->ThrowException(String::NewFromUtf8(isolate, strerror(err))); 325 String::NewFromUtf8(isolate, strerror(errno))); 341 String::NewFromUtf8(isolate, "Timed out waiting for output")); 355 String::NewFromUtf8(isolate, buffer, String::kNormalString, length); 402 isolate->ThrowException(String::NewFromUtf8( 414 isolate->ThrowException(String::NewFromUtf8(isolate, message)) [all...] |
d8-debug.cc | 67 String::NewFromUtf8(isolate, "toJSONProtocol"); 84 String::Utf8Value str(details->Get(String::NewFromUtf8(isolate, "text"))); 93 String::NewFromUtf8(isolate, "debugCommandProcessor"); 118 isolate, String::NewFromUtf8(isolate, command)); 139 fun_name = String::NewFromUtf8(isolate, "processDebugRequest"); 157 response_details->Get(String::NewFromUtf8(isolate, "text"))); 161 running = response_details->Get(String::NewFromUtf8(isolate, "running")) 281 isolate_, Handle<String>::Cast(String::NewFromUtf8(isolate_, message))); 287 String::Utf8Value str(details->Get(String::NewFromUtf8(isolate_, "text"))); 298 bool is_running = details->Get(String::NewFromUtf8(isolate_, "running") [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
activity_log_converter_strategy_unittest.cc | 128 v8::Script::New(v8::String::NewFromUtf8(isolate_, source))); 133 VerifyNull(v8_object->Get(v8::String::NewFromUtf8(isolate_, "null")))); 135 v8_object->Get(v8::String::NewFromUtf8(isolate_, "true")), true)); 137 v8_object->Get(v8::String::NewFromUtf8(isolate_, "false")), false)); 139 v8_object->Get(v8::String::NewFromUtf8(isolate_, "positive_int")), 42)); 141 v8_object->Get(v8::String::NewFromUtf8(isolate_, "negative_int")), -42)); 143 v8_object->Get(v8::String::NewFromUtf8(isolate_, "zero")), 0)); 145 v8_object->Get(v8::String::NewFromUtf8(isolate_, "double")), 88.8)); 147 v8_object->Get(v8::String::NewFromUtf8(isolate_, "big_integral_double")), 150 v8_object->Get(v8::String::NewFromUtf8(isolate_, "string")), "foobar")) [all...] |
file_browser_handler_custom_bindings.cc | 39 v8::String::NewFromUtf8(args.GetIsolate(), "fileSystemName")))); 42 v8::String::NewFromUtf8(args.GetIsolate(), "fileSystemRoot")))); 45 v8::String::NewFromUtf8(args.GetIsolate(), "fileFullPath")))); 46 bool is_directory = file_def->Get(v8::String::NewFromUtf8(
|
activity_log_converter_strategy.cc | 38 v8::Handle<v8::String> name = v8::String::NewFromUtf8(isolate, "["); 41 v8::String::Concat(name, v8::String::NewFromUtf8(isolate, "Function")); 45 name = v8::String::Concat(name, v8::String::NewFromUtf8(isolate, " ")); 47 name = v8::String::Concat(name, v8::String::NewFromUtf8(isolate, "()")); 52 name = v8::String::Concat(name, v8::String::NewFromUtf8(isolate, "]"));
|
binding_generating_native_handler.cc | 26 ->Get(v8::String::NewFromUtf8(isolate, "Binding"))->ToObject(); 28 ->Get(v8::String::NewFromUtf8(isolate, "create")).As<v8::Function>(); 29 v8::Handle<v8::Value> argv[] = {v8::String::NewFromUtf8(isolate, 34 ->Get(v8::String::NewFromUtf8(isolate, "generate")).As<v8::Function>(); 39 object->Set(v8::String::NewFromUtf8(isolate, bind_to_.c_str()),
|
set_icon_natives.cc | 41 image_data->Get(v8::String::NewFromUtf8(isolate, "data"))->ToObject(); 43 image_data->Get(v8::String::NewFromUtf8(isolate, "width"))->Int32Value(); 45 image_data->Get(v8::String::NewFromUtf8(isolate, "height"))->Int32Value(); 49 v8::String::NewFromUtf8(isolate, kInvalidDimensions))); 58 v8::String::NewFromUtf8(isolate, kInvalidDimensions))); 63 data->Get(v8::String::NewFromUtf8(isolate, "length"))->Int32Value(); 66 v8::Exception::Error(v8::String::NewFromUtf8(isolate, kInvalidData))); 74 v8::Exception::Error(v8::String::NewFromUtf8(isolate, kNoMemory))); 103 ->Get(v8::String::NewFromUtf8(args.GetIsolate(), "0"))->ToObject(); 105 details->Get(v8::String::NewFromUtf8(args.GetIsolate(), "imageData") [all...] |
blob_native_handler.cc | 19 v8::String::NewFromUtf8(args.GetIsolate(), blob.uuid().utf8().data()));
|
app_bindings.cc | 49 isolate->ThrowException(v8::String::NewFromUtf8(isolate, error.c_str())); 99 v8::String::NewFromUtf8(context()->isolate(), "Not enough arguments.")); 104 context()->isolate()->ThrowException(v8::String::NewFromUtf8( 150 context()->isolate()->ThrowException(v8::String::NewFromUtf8( 184 args.GetReturnValue().Set(v8::String::NewFromUtf8( 202 .Set(v8::String::NewFromUtf8(context()->isolate(), state)); 219 v8::String::NewFromUtf8(context()->isolate(), state.c_str()),
|
/external/chromium_org/v8/test/cctest/ |
test-thread-termination.cc | 54 v8::Handle<v8::String> source = v8::String::NewFromUtf8( 65 v8::Script::Compile(v8::String::NewFromUtf8(args.GetIsolate(), 90 v8::Script::Compile(v8::String::NewFromUtf8(args.GetIsolate(), 109 global->Set(v8::String::NewFromUtf8(isolate, "terminate"), 111 global->Set(v8::String::NewFromUtf8(isolate, "fail"), 113 global->Set(v8::String::NewFromUtf8(isolate, "loop"), 115 global->Set(v8::String::NewFromUtf8(isolate, "doloop"), 132 v8::Handle<v8::String> source = v8::String::NewFromUtf8( 152 v8::Handle<v8::String> source = v8::String::NewFromUtf8( 192 v8::Handle<v8::String> source = v8::String::NewFromUtf8( [all...] |
test-object-observe.cc | 75 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"), 83 context3->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"), 91 String::NewFromUtf8(isolate.GetIsolate(), "observer"), observer); 92 context4->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "fun1"), 94 context4->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "fun2"), 96 context4->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "fun3"), 220 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"), 223 String::NewFromUtf8(isolate.GetIsolate(), "observer"), observer); 315 recordObj->Get(String::NewFromUtf8(isolate, "object")))); 316 CHECK(String::NewFromUtf8(isolate, expectations[i].type)->Equals [all...] |
test-cpu-profiler.cc | 358 v8::Local<v8::String> name1 = v8::String::NewFromUtf8(env->GetIsolate(), "1"); 369 v8::Local<v8::String> name2 = v8::String::NewFromUtf8(env->GetIsolate(), "2"); 378 v8::Local<v8::String> name3 = v8::String::NewFromUtf8(env->GetIsolate(), "3"); 405 v8::String::NewFromUtf8(env->GetIsolate(), "test"); 418 v8::String::NewFromUtf8(env->GetIsolate(), "my_profile"); 469 v8::Handle<v8::String> nameHandle = v8::String::NewFromUtf8(isolate, name); 557 v8::Script::Compile(v8::String::NewFromUtf8(env->GetIsolate(), 560 env->Global()->Get(v8::String::NewFromUtf8(env->GetIsolate(), "start"))); 571 names[0] = v8::String::NewFromUtf8( 573 names[1] = v8::String::NewFromUtf8(env->GetIsolate() [all...] |
test-debug.cc | 192 v8::Script::Compile(v8::String::NewFromUtf8(env->GetIsolate(), source)) 195 v8::String::NewFromUtf8(env->GetIsolate(), function_name))); 203 v8::Script::Compile(v8::String::NewFromUtf8(isolate, source))->Run(); 207 global->Get(v8::String::NewFromUtf8(isolate, function_name))); 250 v8::Handle<v8::String> str = v8::String::NewFromUtf8(isolate, buffer.start()); 274 v8::String::NewFromUtf8(isolate, buffer.start()); 303 v8::String::NewFromUtf8(isolate, buffer.start()); 328 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run(); 339 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run(); 350 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run() [all...] |
/external/chromium_org/chrome/renderer/searchbox/ |
searchbox_extension.cc | 76 return v8::String::NewFromUtf8( 126 obj->Set(v8::String::NewFromUtf8(isolate, "renderViewId"), 128 obj->Set(v8::String::NewFromUtf8(isolate, "rid"), 130 obj->Set(v8::String::NewFromUtf8(isolate, "thumbnailUrl"), 132 obj->Set(v8::String::NewFromUtf8(isolate, "title"), 134 obj->Set(v8::String::NewFromUtf8(isolate, "domain"), 136 obj->Set(v8::String::NewFromUtf8(isolate, "direction"), 138 obj->Set(v8::String::NewFromUtf8(isolate, "url"), 536 v8::String::NewFromUtf8(isolate, "CheckIsUserSignedInToChromeAs"))) 538 if (name->Equals(v8::String::NewFromUtf8(isolate, "DeleteMostVisitedItem")) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
IDBBindingUtilitiesTest.cpp | 109 object->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "foo"), v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "zoo")); 120 object->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "foo"), v8::Number::New(456)); 132 subProperty->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "bar"), v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "zee")); 133 object->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "foo"), subProperty); 147 object->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "foo"), v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "zoo")); 160 subProperty->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "bar"), v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "zee")) [all...] |
/external/chromium_org/v8/samples/ |
shell.cc | 103 global->Set(v8::String::NewFromUtf8(isolate, "print"), 106 global->Set(v8::String::NewFromUtf8(isolate, "read"), 109 global->Set(v8::String::NewFromUtf8(isolate, "load"), 112 global->Set(v8::String::NewFromUtf8(isolate, "quit"), 115 global->Set(v8::String::NewFromUtf8(isolate, "version"), 149 v8::String::NewFromUtf8(args.GetIsolate(), "Bad parameters")); 155 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); 161 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); 177 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")); 183 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file")) [all...] |
/external/chromium_org/chrome/test/base/ |
v8_unit_test.cc | 99 context->Global()->Get(v8::String::NewFromUtf8(isolate_, "runTest")); 111 v8::String::NewFromUtf8(isolate_, 116 v8::String::NewFromUtf8(isolate_, 122 v8::String::NewFromUtf8(isolate_, "RUN_TEST_F"), 168 v8::Handle<v8::String> logString = v8::String::NewFromUtf8(isolate_, "log"); 175 global->Set(v8::String::NewFromUtf8(isolate_, "chrome"), chrome); 176 chrome->Set(v8::String::NewFromUtf8(isolate_, "send"), 181 global->Set(v8::String::NewFromUtf8(isolate_, "console"), console); 183 console->Set(v8::String::NewFromUtf8(isolate_, "info"), logFunction); 184 console->Set(v8::String::NewFromUtf8(isolate_, "warn"), logFunction) [all...] |
/external/chromium_org/content/renderer/ |
skia_benchmarking_extension.cc | 127 if (name->Equals(v8::String::NewFromUtf8(isolate, "Rasterize"))) 129 if (name->Equals(v8::String::NewFromUtf8(isolate, "GetOps"))) 131 if (name->Equals(v8::String::NewFromUtf8(isolate, "GetOpTimings"))) 133 if (name->Equals(v8::String::NewFromUtf8(isolate, "GetInfo"))) 224 result->Set(v8::String::NewFromUtf8(isolate, "width"), 226 result->Set(v8::String::NewFromUtf8(isolate, "height"), 228 result->Set(v8::String::NewFromUtf8(isolate, "data"), buffer.toV8Value()); 250 cmd->Set(v8::String::NewFromUtf8(isolate, "cmd_type"), 252 cmd->Set(v8::String::NewFromUtf8(isolate, "cmd_string"), 253 v8::String::NewFromUtf8( [all...] |
v8_value_converter_impl_unittest.cc | 75 value->Get(v8::String::NewFromUtf8(isolate_, key.c_str())) 115 value->Get(v8::String::NewFromUtf8(isolate_, key.c_str())); 158 object->Set(v8::String::NewFromUtf8(isolate_, "test"), val); 233 v8_object->Get(v8::String::NewFromUtf8(isolate_, "null"))->IsNull()); 235 v8_object->Get(v8::String::NewFromUtf8(isolate_, "true"))->IsTrue()); 237 v8_object->Get(v8::String::NewFromUtf8(isolate_, "false"))->IsFalse()); 238 EXPECT_TRUE(v8_object->Get(v8::String::NewFromUtf8(isolate_, "positive-int")) 240 EXPECT_TRUE(v8_object->Get(v8::String::NewFromUtf8(isolate_, "negative-int")) 243 v8_object->Get(v8::String::NewFromUtf8(isolate_, "zero"))->IsInt32()); 245 v8_object->Get(v8::String::NewFromUtf8(isolate_, "double"))->IsNumber()) [all...] |
memory_benchmarking_extension.cc | 47 if (name->Equals(v8::String::NewFromUtf8(isolate, "IsHeapProfilerRunning"))) 49 else if (name->Equals(v8::String::NewFromUtf8(isolate, "HeapProfilerDump")))
|
/external/chromium_org/v8/src/extensions/ |
externalize-string-extension.cc | 78 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( 88 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( 97 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( 126 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8( 136 args.GetIsolate()->ThrowException(v8::String::NewFromUtf8(
|