/external/v8/test/cctest/ |
H A D | test-javascript-arm64.cc | 92 Local<Value> result = CompileRun("0x271828;"); 100 Local<Value> result = CompileRun("var my_global_var = 0x123; my_global_var;"); 108 Local<Value> result = CompileRun( 118 Local<Value> result = CompileRun( 138 Local<Value> result = CompileRun(buffer); 153 Local<Value> result = CompileRun(buffer); 192 result = CompileRun("var a = 1234; +a"); 195 result = CompileRun("var a = 1234.5; +a"); 198 result = CompileRun("var a = '1234'; +a"); 201 result = CompileRun("va [all...] |
H A D | test-unscopables-hidden-prototype.cc | 14 CompileRun( 51 CHECK_EQ(1, CompileRun("var result;" 62 CHECK_EQ(2, CompileRun("var result;" 73 CHECK_EQ(0, CompileRun("var result;" 85 CHECK_EQ(0, CompileRun("var result;" 97 CHECK_EQ(0, CompileRun("var result;" 109 CHECK_EQ(0, CompileRun("var result;"
|
H A D | test-usecounters.cc | 29 CompileRun( 34 CompileRun( 42 v8::Local<v8::Value> resultProxyThrow = CompileRun( 51 resultProxyThrow = CompileRun( 63 CompileRun( 68 CompileRun(
|
H A D | test-js-arm64-variables.cc | 74 Local<Value> result = CompileRun( 86 Local<Value> result = CompileRun( 97 Local<Value> result = CompileRun( 108 Local<Value> result = CompileRun( 122 Local<Value> result = CompileRun( 136 Local<Value> result = CompileRun(
|
H A D | test-deoptimization.cc | 131 CompileRun( 152 CompileRun( 177 CompileRun( 199 CompileRun( 225 CompileRun( 258 CompileRun( 293 CompileRun( 329 CompileRun( 351 CompileRun( 382 CompileRun( [all...] |
H A D | test-feedback-vector.cc | 205 CompileRun( 218 CompileRun("f(function() { return 16; })"); 228 CompileRun("f(Array)"); 244 CompileRun( 255 CompileRun("f(foo); f(foo);"); 259 CompileRun( 267 CompileRun("f(Foo); f(Foo);"); 281 CompileRun( 292 CompileRun("f(o)"); 302 CompileRun(" [all...] |
H A D | test-typedarrays.cc | 38 CompileRun( 51 CompileRun("var a = new Uint8Array([0, 1, 2, 3]);"); 59 CompileRun(
|
H A D | test-global-object.cc | 80 result = Local<Array>::Cast(CompileRun("Object.keys(global2)")); 92 Local<Array>::Cast(CompileRun("Object.getOwnPropertyNames(global2)")); 102 result = Local<Array>::Cast(CompileRun("Object.keys(global2)")); 105 Local<Array>::Cast(CompileRun("Object.getOwnPropertyNames(global2)"));
|
H A D | test-api-interceptors.cc | 364 v8::Local<Value> value = CompileRun( 368 value = CompileRun( 372 value = CompileRun( 393 CompileRun( 405 v8::Local<Value> value = CompileRun( 426 v8::Local<Value> value = CompileRun(source); 653 v8::Local<Value> value = CompileRun( 662 value = CompileRun( 693 v8::Local<Value> value = CompileRun( 703 value = CompileRun( [all...] |
H A D | test-date.cc | 184 CompileRun("Date.parse('2015-02-31')"); 186 CompileRun("Date.parse('2015-02-31T11:22:33.444Z01:23')"); 188 CompileRun("Date.parse('2015-02-31T11:22:33.444')"); 190 CompileRun("Date.parse('2000 01 01')"); 192 CompileRun("Date.parse('2015-02-31T11:22:33.444 ')"); 205 v8::Local<v8::Number>::Cast(CompileRun("%DateCacheVersion()")); 213 v8::Local<v8::Number>::Cast(CompileRun("%DateCacheVersion()"));
|
H A D | test-thread-termination.cc | 56 CompileRun(args.GetIsolate()->GetCurrentContext(), 67 CompileRun(args.GetIsolate()->GetCurrentContext(), 94 CompileRun(args.GetIsolate()->GetCurrentContext(), 134 CompileRun(CcTest::isolate()->GetCurrentContext(), 139 result = CompileRun(CcTest::isolate()->GetCurrentContext(), 158 CompileRun(CcTest::isolate()->GetCurrentContext(), source); 162 result = CompileRun(CcTest::isolate()->GetCurrentContext(), source); 199 CompileRun(CcTest::isolate()->GetCurrentContext(), 221 CompileRun(CcTest::isolate()->GetCurrentContext(), 255 CompileRun(arg [all...] |
H A D | test-api-fast-accessor-builder.cc | 32 // CompileRun(FN_WARMUP("fn", "return something();")); 93 CompileRun(FN_WARMUP("barf", "f = new foo(); return f.barf")); 135 CompileRun(FN_WARMUP("field0", "return obj.field0")); 136 CompileRun(FN_WARMUP("field1", "return obj.field1")); 137 CompileRun(FN_WARMUP("field2", "return obj.field2")); 183 CompileRun(FN_WARMUP("nullcheck", "return obj.nullcheck")); 190 CompileRun(FN_WARMUP("maskcheck", "return obj.maskcheck")); 228 CompileRun(FN_WARMUP("isnull", "return obj.isnull")); 290 CompileRun(FN_WARMUP("nonzero", "return obj.nonzero")); 298 CompileRun(FN_WARMU [all...] |
H A D | test-log-stack-tracer.cc | 144 CompileRun(trace_call_buf.start()); 167 Local<Value> result = CompileRun( 217 Local<Value> result = CompileRun( 294 CompileRun("a = 1; b = a + 1;"); 296 CompileRun("js_entry_sp();"); 298 CompileRun("js_entry_sp_level2();");
|
H A D | cctest.h | 384 static inline v8::MaybeLocal<v8::Value> CompileRun( function 404 static inline v8::Local<v8::Value> CompileRun(v8::Local<v8::String> source) { function 416 static inline v8::Local<v8::Value> CompileRun(const char* source) { function 417 return CompileRun(v8_str(source)); 421 static inline v8::Local<v8::Value> CompileRun( function 450 return CompileRun(context, &script_source, options); 465 return CompileRun(context, &script_source, 476 return CompileRun(context, &script_source, 489 v8::Local<v8::Value> result = CompileRun(code); 497 v8::Local<v8::Value> result = CompileRun(cod [all...] |
H A D | test-api.cc | 205 CompileRun(source.start()); 262 CompileRun( 290 Local<Value> test_object = CompileRun(source.start()); 350 Local<v8::Array> value = CompileRun("[\"a\", \"b\"]").As<v8::Array>(); 598 CompileRun("function cons(a, b) { return a + b; }" 601 Local<String> cons = Local<String>::Cast(CompileRun( 604 Local<String> slice = Local<String>::Cast(CompileRun( 1005 CompileRun("var obj_instance = new obj();"); 1158 return scope.Escape(CompileRun("callback_object.callback()")); 1291 CHECK(CompileRun("functio [all...] |
H A D | test-compiler.cc | 298 CompileRun("function fun() {};" 318 CompileRun("%OptimizeFunctionOnNextCall(f); f(fun1);"); 339 CompileRun("function builder() {" 361 CompileRun("morphing_call();"); 379 CompileRun( 429 CompileRun( 451 CompileRun( 499 CompileRun( 524 CompileRun( 553 CompileRun("va [all...] |
H A D | test-accessors.cc | 238 CompileRun("obj.__proto__ = holder;" 297 CompileRun( 605 CHECK(CompileRun("JSON.stringify(obj)") 632 CompileRun( 643 CompileRun( 652 CHECK(v8::Utils::OpenHandle(*CompileRun("getter()"))->IsJSGlobalProxy()); 653 CHECK(v8::Utils::OpenHandle(*CompileRun("set_value"))->IsJSGlobalProxy()); 681 CompileRun( 722 CompileRun("var proto = new Fun();"); 723 CompileRun("ob [all...] |
H A D | test-serialize.cc | 458 CompileRun( 476 CompileRun(source_str.ToLocalChecked()); 557 double r = CompileRun("r") 563 double random = CompileRun("Math.random()") 568 double c = CompileRun("c") 573 int f = CompileRun("f()") 579 f = CompileRun("e('f()')") 585 v8::Local<v8::String> s = CompileRun("s") 590 int a = CompileRun("a.length") 596 int b = CompileRun(" [all...] |
H A D | test-inobject-slack-tracking.cc | 86 static inline Handle<T> CompileRun(const char* script) { function 87 return OpenHandle<T>(CompileRun(script)); 143 CompileRun(source); 205 CompileRun(source); 212 Handle<JSObject> obj1 = CompileRun<JSObject>("new A(1);"); 213 Handle<JSObject> obj3 = CompileRun<JSObject>("new A(3);"); 214 Handle<JSObject> obj5 = CompileRun<JSObject>("new A(5);"); 236 CompileRun("new A(3);"); 255 obj1 = CompileRun<JSObject>("new A(1);"); 256 obj3 = CompileRun<JSObjec [all...] |
H A D | test-heap-profiler.cc | 176 CompileRun( 211 CompileRun( 240 CompileRun( 279 CompileRun( 304 CompileRun( 380 CompileRun( 398 CompileRun( 471 CompileRun("a = Symbol('mySymbol');\n"); 493 CompileRun(program); 523 CompileRun( [all...] |
/external/v8/test/cctest/compiler/ |
H A D | test-run-variables.cc | 49 Handle<Object> r = v8::Utils::OpenHandle(*CompileRun(tests[i + 1])); 57 Handle<Object> r = v8::Utils::OpenHandle(*CompileRun(tests[i + 2])); 94 CompileRun("var self = 'not a function'");
|
H A D | test-run-jscalls.cc | 59 CompileRun("function foo(y,z) { return this.x + y + z; }"); 69 CompileRun("function foo(y,z) { return this.x + y + z; }"); 79 CompileRun("function foo(a,b) { return a + b + this.c; }"); 80 CompileRun("var c = 23;"); 91 CompileRun("function f1(a,b) { return a.val + b; }"); 95 CompileRun("function f2(a,b) { return this.val + b; }"); 103 CompileRun("function foo(a,b,c) { return a + b + c; }"); 113 CompileRun("function foo(a) { return a; }"); 123 CompileRun("function foo(a,b) { return { value: a + b + this.c }; }"); 124 CompileRun("fo [all...] |
H A D | test-run-deopt.cc | 79 CompileRun("function DeoptAndThrow(f) { %DeoptimizeFunction(f); throw 0; }"); 98 CompileRun("function DeoptAndThrow(f) { %DeoptimizeFunction(f); throw 0; }");
|
/external/v8/test/cctest/heap/ |
H A D | test-heap.cc | 1255 CompileRun(source); 1280 CompileRun("foo()"); 1308 CompileRun(source); 1329 CompileRun("foo();" 1348 CompileRun("foo()"); 1373 CompileRun(source); 1399 CompileRun("foo();"); 1414 CompileRun("%OptimizeFunctionOnNextCall(foo); foo();"); 1451 CompileRun(source); 1468 CompileRun("fo [all...] |
/external/v8/test/cctest/interpreter/ |
H A D | interpreter-tester.h | 92 CompileRun(source_); 108 *v8::Local<v8::Function>::Cast(CompileRun(source.c_str()))));
|