Home
last modified time | relevance | path

Searched refs:v8_str (Results 1 – 11 of 11) sorted by relevance

/external/v8/test/cctest/
Dtest-deoptimization.cc110 v8::Local<v8::Function>::Cast(obj->Get(v8_str(property_name))); in GetJSFunction()
131 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); in TEST()
147 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); in TEST()
169 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); in TEST()
186 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); in TEST()
209 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); in TEST()
210 CHECK_EQ(6, env->Global()->Get(v8_str("result"))->Int32Value()); in TEST()
234 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); in TEST()
235 CHECK_EQ(11, env->Global()->Get(v8_str("calls"))->Int32Value()); in TEST()
266 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value()); in TEST()
[all …]
Dtest-api.cc171 v8_str("m"), in THREADED_TEST()
175 env->Global()->Set(v8_str("Fun"), fun->GetFunction()); in THREADED_TEST()
183 env->Global()->Set(v8_str("SubFun"), sub_fun->GetFunction()); in THREADED_TEST()
199 env->Global()->Set(v8_str("UnrelFun"), unrel_fun->GetFunction()); in THREADED_TEST()
213 cons->SetClassName(v8_str("Cons")); in THREADED_TEST()
218 env->Global()->Set(v8_str("Cons"), cons->GetFunction()); in THREADED_TEST()
219 env->Global()->Set(v8_str("Fun1"), fun->GetFunction()); in THREADED_TEST()
231 cons1->SetClassName(v8_str("Cons1")); in THREADED_TEST()
233 cons2->SetClassName(v8_str("Cons2")); in THREADED_TEST()
235 cons3->SetClassName(v8_str("Cons3")); in THREADED_TEST()
[all …]
Dtest-accessors.cc57 fun_templ->InstanceTemplate()->SetAccessor(v8_str("foo"), handle_property); in THREADED_TEST()
60 env->Global()->Set(v8_str("Fun"), fun); in THREADED_TEST()
93 templ->InstanceTemplate()->SetAccessor(v8_str("foo"), in THREADED_TEST()
97 templ->InstanceTemplate()->SetAccessor(v8_str("bar"), in THREADED_TEST()
101 templ->InstanceTemplate()->SetAccessor(v8_str("baz"), in THREADED_TEST()
137 obj->SetAccessor(v8_str("x"), XGetter, XSetter); in THREADED_TEST()
140 context->Global()->Set(v8_str("holder"), x_holder); in THREADED_TEST()
142 context->Global()->Set(v8_str("obj"), x_receiver); in THREADED_TEST()
171 templ->SetAccessor(v8_str("x"), in THREADED_TEST()
178 context->Global()->Set(v8_str("obj"), instance); in THREADED_TEST()
[all …]
Dtest-heap-profiler.cc104 v8::HeapProfiler::TakeSnapshot(v8_str("env2")); in TEST()
142 v8::HeapProfiler::TakeSnapshot(v8_str("sizes")); in TEST()
169 v8::HeapProfiler::TakeSnapshot(v8_str("sizes")); in TEST()
206 v8::HeapProfiler::TakeSnapshot(v8_str("children")); in TEST()
232 v8::HeapProfiler::TakeSnapshot(v8_str("code")); in TEST()
294 v8::HeapProfiler::TakeSnapshot(v8_str("numbers")); in TEST()
313 v8::HeapProfiler::TakeSnapshot(v8_str("strings")); in TEST()
338 v8::HeapProfiler::TakeSnapshot(v8_str("internals")); in TEST()
368 v8::HeapProfiler::TakeSnapshot(v8_str("s1")); in TEST()
377 v8::HeapProfiler::TakeSnapshot(v8_str("s2")); in TEST()
[all …]
Dtest-log-stack-tracer.cc206 v8::Local<v8::Value> func = env->Global()->Get(v8_str(func_name)); in IsAddressWithinFuncCode()
227 args.This()->Set(v8_str("low_bits"), v8_num(low_bits >> 1)); in construct_call()
232 args.This()->Set(v8_str("low_bits"), v8_num(low_bits)); in construct_call()
233 args.This()->Set(v8_str("high_bits"), v8_num(high_bits)); in construct_call()
245 constructor_template->SetClassName(v8_str("FPGrabber")); in CreateFramePointerGrabberConstructor()
247 env->Global()->Set(v8_str(constructor_name), fun); in CreateFramePointerGrabberConstructor()
Dtest-log.cc374 obj->SetClassName(v8_str("Obj")); in TEST()
377 proto->Set(v8_str("method1"), in TEST()
383 initialize_logger.env()->Global()->Set(v8_str("Obj"), obj->GetFunction()); in TEST()
424 obj->SetClassName(v8_str("Obj")); in TEST()
426 inst->SetAccessor(v8_str("prop1"), Prop1Getter, Prop1Setter); in TEST()
427 inst->SetAccessor(v8_str("prop2"), Prop2Getter); in TEST()
509 initialize_logger.env()->Global()->Set(v8_str("_log"), log_str); in TEST()
515 v8::Handle<v8::Script> script = v8::Script::Compile(source_str, v8_str("")); in TEST()
Dtest-heap.cc1357 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); in TEST()
1359 ctx2->Global()->Set(v8_str("o"), v); in TEST()
1366 ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); in TEST()
1394 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); in TEST()
1396 ctx2->Global()->Set(v8_str("o"), v); in TEST()
1403 ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); in TEST()
1429 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); in TEST()
1431 ctx2->Global()->Set(v8_str("o"), v); in TEST()
1438 ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); in TEST()
1464 v8::Local<v8::Value> v = ctx1->Global()->Get(v8_str("v")); in TEST()
[all …]
Dcctest.h201 static inline v8::Local<v8::String> v8_str(const char* x) { in v8_str() function
207 return v8::Script::Compile(v8_str(x)); in v8_compile()
Dtest-strings.cc395 global->Set(v8_str("external_ascii"), ascii_external_strings); in TEST()
396 global->Set(v8_str("external_non_ascii"), non_ascii_external_strings); in TEST()
397 global->Set(v8_str("max_length"), v8::Integer::New(kMaxLength)); in TEST()
Dtest-compiler.cc359 v8::Local<v8::Function>::Cast(obj->Get(v8_str(property_name))); in GetJSFunction()
Dtest-debug.cc7192 env->Global()->Set(v8_str("scheduleBreak"), schedule_break); in TEST()