HomeSort by relevance Sort by last modified time
    Searched refs:v8_str (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/v8/test/cctest/
test-deoptimization.cc 109 v8::Local<v8::Function>::Cast(obj->Get(v8_str(property_name)));
132 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
148 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
172 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
189 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
214 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
215 CHECK_EQ(6, env->Global()->Get(v8_str("result"))->Int32Value());
240 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
241 CHECK_EQ(11, env->Global()->Get(v8_str("calls"))->Int32Value());
273 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value())
    [all...]
test-api.cc 204 CHECK_EQ(v8_str("TypeError: Illegal invocation"),
228 fun_proto->Set(v8_str("prop_sig"), callback_sig);
229 fun_proto->Set(v8_str("prop"), callback);
231 v8_str("accessor_sig"), callback_sig, callback_sig);
232 fun_proto->SetAccessorProperty(v8_str("accessor"), callback, callback);
237 env->Global()->Set(v8_str("Fun"), fun->GetFunction());
238 env->Global()->Set(v8_str("UnrelFun"), unrel_fun->GetFunction());
239 env->Global()->Set(v8_str("fun_instance"), fun_instance);
240 env->Global()->Set(v8_str("sub_fun_instance"), sub_fun_instance);
290 cons->SetClassName(v8_str("Cons"))
    [all...]
test-dictionary.cc 178 key_obj->SetHiddenValue(v8_str("key 1"), v8_str("val 1"));
179 key_obj->SetHiddenValue(v8_str("key 2"), v8_str("val 2"));
180 key_obj->SetHiddenValue(v8_str("key 3"), v8_str("val 3"));
224 key_obj->SetHiddenValue(v8_str("key 1"), v8_str("val 1"));
225 key_obj->SetHiddenValue(v8_str("key 2"), v8_str("val 2"))
    [all...]
test-accessors.cc 71 fun_templ->InstanceTemplate()->SetAccessor(v8_str("foo"), handle_property);
76 InstanceTemplate()->SetAccessorProperty(v8_str("bar"), getter_templ);
78 SetNativeDataProperty(v8_str("instance_foo"), handle_property);
79 fun_templ->SetNativeDataProperty(v8_str("object_foo"), handle_property_2);
81 env->Global()->Set(v8_str("Fun"), fun);
128 v8_str("foo"), GetIntValue, SetIntValue,
131 v8_str("bar"), GetIntValue, SetIntValue,
134 v8_str("baz"), GetIntValue, SetIntValue,
199 obj->SetAccessor(v8_str("x0"), XGetter, XSetter);
200 obj->SetAccessorProperty(v8_str("x1")
    [all...]
test-platform.cc 41 global_template->Set(v8_str("get_stack_pointer"),
52 v8::Local<v8::Function>::Cast(global_object->Get(v8_str("foo")));
test-unscopables-hidden-prototype.cc 37 context->Global()->Set(v8_str("object"), object);
38 context->Global()->Set(v8_str("hidden_prototype"), hidden_prototype);
test-global-object.cc 38 v8::Local<v8::String> var_name = v8_str("x");
test-log-stack-tracer.cc 68 v8::Local<v8::Value> func = context->Global()->Get(v8_str(func_name));
90 args.This()->Set(v8_str("low_bits"), v8_num(low_bits >> 1));
95 args.This()->Set(v8_str("low_bits"), v8_num(low_bits));
96 args.This()->Set(v8_str("high_bits"), v8_num(high_bits));
109 constructor_template->SetClassName(v8_str("FPGrabber"));
111 context->Global()->Set(v8_str(constructor_name), fun);
test-heap-profiler.cc 187 heap_profiler->TakeHeapSnapshot(v8_str("env2"));
223 heap_profiler->TakeHeapSnapshot(v8_str("sizes"));
252 heap_profiler->TakeHeapSnapshot(v8_str("sizes"));
292 heap_profiler->TakeHeapSnapshot(v8_str("children"));
320 heap_profiler->TakeHeapSnapshot(v8_str("code"));
393 heap_profiler->TakeHeapSnapshot(v8_str("numbers"));
415 heap_profiler->TakeHeapSnapshot(v8_str("strings"));
453 heap_profiler->TakeHeapSnapshot(v8_str("cons_strings"));
481 heap_profiler->TakeHeapSnapshot(v8_str("Symbol"));
488 CHECK_EQ(v8_str("symbol"), a->GetName())
    [all...]
cctest.h 344 static inline v8::Local<v8::String> v8_str(const char* x) { function
350 return v8::Script::Compile(v8_str(x));
370 return CompileWithOrigin(source, v8_str(origin_url));
376 return CompileWithOrigin(v8_str(source), v8_str(origin_url));
382 return v8::Script::Compile(v8_str(source))->Run();
395 v8::ScriptCompiler::Source script_source(v8_str(source));
414 v8::ScriptOrigin origin(v8_str(origin_url),
417 v8::ScriptCompiler::Source script_source(v8_str(source), origin);
425 source, v8::ScriptOrigin(v8_str(origin_url)))
    [all...]
test-declarative-accessors.cc 104 obj_template->SetDeclaredAccessor(v8_str(descriptor_name), descriptor);
108 context->Global()->Set(v8_str(class_name), constructor->GetFunction());
124 context->Global()->Get(v8_str("accessible")));
127 added_accessor = obj->SetDeclaredAccessor(v8_str("y"), descriptor);
129 added_accessor = obj->SetDeclaredAccessor(v8_str("13"), descriptor);
299 v8::Handle<v8::String> expected = v8_str("whatever");
test-heap.cc     [all...]
test-log.cc 347 obj->SetClassName(v8_str("Obj"));
350 proto->Set(v8_str("method1"),
355 initialize_logger.env()->Global()->Set(v8_str("Obj"), obj->GetFunction());
400 obj->SetClassName(v8_str("Obj"));
402 inst->SetAccessor(v8_str("prop1"), Prop1Getter, Prop1Setter);
403 inst->SetAccessor(v8_str("prop2"), Prop2Getter);
478 initialize_logger.env()->Global()->Set(v8_str("_log"), log_str);
test-compiler.cc 304 CcTest::global()->Get(v8_str("f"))));
347 CcTest::global()->Get(v8_str("morphing_call"))));
386 *v8::Local<v8::Function>::Cast(env->Global()->Get(v8_str("closure1"))));
388 *v8::Local<v8::Function>::Cast(env->Global()->Get(v8_str("closure2"))));
402 v8::Local<v8::Function>::Cast(obj->Get(v8_str(property_name)));
test-macro-assembler-mips.cc 143 v8::Local<v8::Script> script = v8::Script::Compile(v8_str(code));
test-serialize.cc 802 v8::Local<v8::String> source_str = v8_str(source);
803 v8::ScriptOrigin origin(v8_str("test"));
815 CHECK(result->ToString()->Equals(v8_str("abcdef")));
826 v8::Local<v8::String> source_str = v8_str(source);
827 v8::ScriptOrigin origin(v8_str("test"));
836 CHECK(result->ToString()->Equals(v8_str("abcdef")));
test-object-observe.cc 40 Local<Value> foo = v8_str("foo");
438 Local<Value> foo = v8_str("foo");
464 Local<Value> foo = v8_str("foo");
488 Local<Value> foo = v8_str("foo");
512 Local<Value> foo = v8_str("foo");
test-thread-termination.cc 360 CHECK(v8::Script::Compile(source)->Run()->Equals(v8_str("completed")));
470 v8::Local<v8::Value> error = v8::Exception::Error(v8_str("error"));
test-constantpool.cc 26 (*context)->Global()->Get(v8_str("foo"))));
test-strings.cc 971 global->Set(v8_str("external_one_byte"), one_byte_external_strings);
972 global->Set(v8_str("external_non_one_byte"), non_one_byte_external_strings);
973 global->Set(v8_str("max_length"),
    [all...]
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin_browsertest.cc 97 v8::Local<v8::String> v8_str = value->ToString();
98 int length = v8_str->Utf8Length() + 1;
100 v8_str->WriteUtf8(str.get(), length);
  /external/chromium_org/v8/test/cctest/compiler/
test-run-deopt.cc 26 context->Global()->Set(v8_str("IsOptimized"), t->GetFunction());
test-run-jscalls.cc 265 context->Global()->Set(v8_str("foo"), v8::Utils::ToLocal(jsfun));
286 context->Global()->Set(v8_str("foo"), v8::Utils::ToLocal(jsfun));
test-run-inlining.cc 36 context->Global()->Set(v8_str("AssertInlineCount"), t->GetFunction());
  /external/chromium_org/components/translate/content/renderer/
translate_helper.cc 300 v8::Local<v8::String> v8_str = results[0]->ToString(); local
301 int length = v8_str->Utf8Length() + 1;
303 v8_str->WriteUtf8(str.get(), length);

Completed in 1341 milliseconds

1 2