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

12

/external/chromium_org/v8/test/cctest/
H A Dtest-accessors.cc71 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("x
[all...]
H A Dtest-api.cc204 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("Con
[all...]
H A Dtest-assembler-ia32.cc501 global_template->Set(v8_str("do_sse2"),
512 v8::Local<v8::Function>::Cast(global_object->Get(v8_str("foo")));
H A Dtest-assembler-x64.cc645 global_template->Set(v8_str("do_sse2"),
656 v8::Local<v8::Function>::Cast(global_object->Get(v8_str("foo")));
H A Dtest-compiler.cc304 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)));
H A Dtest-constantpool.cc26 (*context)->Global()->Get(v8_str("foo"))));
H A Dtest-cpu-profiler.cc119 (*env)->Global()->Get(v8_str(name_start))));
H A Dtest-debug.cc6704 env->Global()->Set(v8_str("start"), start->GetFunction());
6783 v8::ScriptCompiler::Source source(v8_str(
7168 env->Global()->Set(v8_str("scheduleBreak"), schedule_break);
7466 env->Global()->Set(v8_str("add_debug_break"), add_debug_break);
H A Dtest-declarative-accessors.cc104 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");
H A Dtest-deoptimization.cc109 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("coun
[all...]
H A Dtest-dictionary.cc178 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("va
[all...]
H A Dtest-global-object.cc38 v8::Local<v8::String> var_name = v8_str("x");
H A Dtest-heap-profiler.cc187 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("symbo
[all...]
H A Dtest-heap.cc1809 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v"));
1811 ctx2->Global()->Set(v8_str("o"), v);
1818 ctx2->Global()->Set(v8_str("o"), v8::Int32::New(isolate, 0));
1855 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v"));
1857 ctx2->Global()->Set(v8_str("o"), v);
1864 ctx2->Global()->Set(v8_str("o"), v8::Int32::New(isolate, 0));
1899 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v"));
1901 ctx2->Global()->Set(v8_str("o"), v);
1908 ctx2->Global()->Set(v8_str("o"), v8::Int32::New(isolate, 0));
1943 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("
[all...]
H A Dtest-log-stack-tracer.cc68 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);
H A Dtest-log.cc347 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);
H A Dtest-macro-assembler-mips.cc143 v8::Local<v8::Script> script = v8::Script::Compile(v8_str(code));
H A Dtest-object-observe.cc40 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");
H A Dtest-parsing.cc269 v8::ScriptCompiler::Source good_source(v8_str(good_code[i]));
282 v8_str(bad_code[i]), new v8::ScriptCompiler::CachedData(
1191 i::JSArray::SetElement(args_array, 0, v8::Utils::OpenHandle(*v8_str(arg)),
H A Dtest-platform.cc41 global_template->Set(v8_str("get_stack_pointer"),
52 v8::Local<v8::Function>::Cast(global_object->Get(v8_str("foo")));
H A Dtest-profile-generator.cc695 (*(*env))->Global()->Get(v8_str(name))));
H A Dtest-serialize.cc802 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")));
H A Dtest-strings.cc971 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"),
1307 v8::Local<v8::String> expected = v8_str("one_byte\x80only\x80string\x80");
H A Dtest-thread-termination.cc360 CHECK(v8::Script::Compile(source)->Run()->Equals(v8_str("completed")));
470 v8::Local<v8::Value> error = v8::Exception::Error(v8_str("error"));
H A Dtest-unscopables-hidden-prototype.cc37 context->Global()->Set(v8_str("object"), object);
38 context->Global()->Set(v8_str("hidden_prototype"), hidden_prototype);

Completed in 6186 milliseconds

12