Home
last modified time | relevance | path

Searched refs:Script (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/external/v8/test/cctest/
Dtest-func-name-inference.cc46 using ::v8::internal::Script;
52 static void CheckFunctionName(v8::Local<v8::Script> script, in CheckFunctionName()
67 Handle<Script> i_script(Script::cast(shared_function->script())); in CheckFunctionName()
96 static v8::Local<v8::Script> Compile(v8::Isolate* isolate, const char* src) { in Compile()
97 return v8::Script::Compile( in Compile()
109 v8::Local<v8::Script> script = Compile(CcTest::isolate(), in TEST()
121 v8::Local<v8::Script> script = in TEST()
134 v8::Local<v8::Script> script = in TEST()
149 v8::Local<v8::Script> script = in TEST()
164 v8::Local<v8::Script> script = in TEST()
[all …]
Dcctest.h340 static inline v8::Local<v8::Script> v8_compile(v8::Local<v8::String> x) { in v8_compile()
341 v8::Local<v8::Script> result; in v8_compile()
342 if (v8::Script::Compile(v8::Isolate::GetCurrent()->GetCurrentContext(), x) in v8_compile()
346 return v8::Local<v8::Script>(); in v8_compile()
350 static inline v8::Local<v8::Script> v8_compile(const char* x) { in v8_compile()
355 static inline int32_t v8_run_int32value(v8::Local<v8::Script> script) { in v8_run_int32value()
361 static inline v8::Local<v8::Script> CompileWithOrigin( in CompileWithOrigin()
371 static inline v8::Local<v8::Script> CompileWithOrigin( in CompileWithOrigin()
377 static inline v8::Local<v8::Script> CompileWithOrigin(const char* source, in CompileWithOrigin()
386 return v8::Script::Compile(context, v8_str(source)) in CompileRun()
[all …]
Dtest-accessors.cc43 using ::v8::Script;
83 Local<Script> getter; in THREADED_TEST()
84 Local<Script> setter; in THREADED_TEST()
343 Local<Script> scr = in THREADED_TEST()
344 v8::Script::Compile(context.local(), v8_str("obj.xxx")).ToLocalChecked(); in THREADED_TEST()
371 Local<Script> scr = in THREADED_TEST()
372 v8::Script::Compile(context.local(), v8_str("obj.xxx")).ToLocalChecked(); in THREADED_TEST()
394 Local<Script> scr = v8::Script::Compile(context.local(), v8_str("obj.xxx")) in THREADED_TEST()
411 Local<Script> scr = v8::Script::Compile(context.local(), v8_str("obj.xxx")) in THREADED_TEST()
454 result = Script::Compile(env.local(), in THREADED_TEST()
[all …]
Dtest-inobject-slack-tracking.cc30 static inline v8::Local<v8::Value> Run(v8::Local<v8::Script> script) { in Run()
80 static inline Handle<T> Run(v8::Local<v8::Script> script) { in Run()
150 v8::Local<v8::Script> new_A_script = v8_compile("new A();"); in TEST()
298 v8::Local<v8::Script> new_A_script = v8_compile("CreateGenerator();"); in TEST()
375 v8::Local<v8::Script> new_B_script = v8_compile("new B();"); in TEST()
469 v8::Local<v8::Script> new_A_script = v8_compile("new A();"); in TEST()
470 v8::Local<v8::Script> new_B_script = v8_compile("new B();"); in TEST()
570 static v8::Local<v8::Script> GetNewObjectScript(const std::string& class_name) { in GetNewObjectScript()
592 v8::Local<v8::Script> new_script = GetNewObjectScript(class_name); in TestClassHierarchy()
691 v8::Local<v8::Script> new_script = GetNewObjectScript(class_name); in TEST()
[all …]
/external/v8/test/mjsunit/harmony/
Dasync-function-debug-scopes.js59 debug.ScopeType.Script,
70 debug.ScopeType.Script,
84 debug.ScopeType.Script,
98 debug.ScopeType.Script,
109 debug.ScopeType.Script,
122 debug.ScopeType.Script,
135 debug.ScopeType.Script,
147 debug.ScopeType.Script,
161 debug.ScopeType.Script,
174 debug.ScopeType.Script,
[all …]
/external/v8/test/mjsunit/
Ddebug-scopes.js133 scopes[i] == debug.ScopeType.Script ||
211 scope.scopeType() == debug.ScopeType.Script ||
249 debug.ScopeType.Script,
266 debug.ScopeType.Script,
284 debug.ScopeType.Script,
303 debug.ScopeType.Script,
321 debug.ScopeType.Script,
339 debug.ScopeType.Script,
361 debug.ScopeType.Script,
381 debug.ScopeType.Script,
[all …]
Ddebug-eval-scope.js28 debug.ScopeType.Script,
53 debug.ScopeType.Script,
57 debug.ScopeType.Script,
72 debug.ScopeType.Script,
75 assertEquals([ debug.ScopeType.Script,
93 debug.ScopeType.Script,
97 debug.ScopeType.Script,
122 debug.ScopeType.Script,
125 assertEquals([ debug.ScopeType.Script,
Ddebug-function-scopes.js71 CheckScope(mirror.scope(4), {}, ScopeType.Script);
80 CheckScope(mirror.scope(0), {}, ScopeType.Script);
102 CheckScope(mirror.scope(2), {}, ScopeType.Script);
126 CheckScope(mirror.scope(2), {}, ScopeType.Script);
146 CheckScope(mirror.scope(2), {}, ScopeType.Script);
Ddebug-evaluate-nested.js33 ScopeType.Script, ScopeType.Global ]);
38 ScopeType.Script, ScopeType.Global ]);
/external/v8/src/runtime/
Druntime-liveedit.cc28 Handle<Script> script = Handle<Script>(Script::cast(script_value->value())); in RUNTIME_FUNCTION()
71 Handle<Script> script_handle = Handle<Script>(Script::cast(script->value())); in RUNTIME_FUNCTION()
90 Handle<Script> original_script(Script::cast(original_script_value->value())); in RUNTIME_FUNCTION()
96 Handle<Script> script_handle = Handle<Script>::cast(old_script); in RUNTIME_FUNCTION()
97 return *Script::GetWrapper(script_handle); in RUNTIME_FUNCTION()
142 Script* script = Script::cast(JSValue::cast(*script_object)->value()); in RUNTIME_FUNCTION()
Druntime-debug.cc1025 Handle<Script> script(Script::cast(wrapper->value())); in RUNTIME_FUNCTION()
1184 Handle<Script> script = Handle<Script>(Script::cast(instances->get(i))); in RUNTIME_FUNCTION()
1190 Handle<JSObject> wrapper = Script::GetWrapper(script); in RUNTIME_FUNCTION()
1323 Handle<Script> script(Script::cast(script_wrapper->value())); in RUNTIME_FUNCTION()
1326 RUNTIME_ASSERT(compilation_state == Script::COMPILATION_STATE_INITIAL); in RUNTIME_FUNCTION()
1470 Handle<Script> found; in RUNTIME_FUNCTION()
1472 Script::Iterator iterator(isolate); in RUNTIME_FUNCTION()
1473 Script* script = NULL; in RUNTIME_FUNCTION()
1478 found = Handle<Script>(script, isolate); in RUNTIME_FUNCTION()
1485 return *Script::GetWrapper(found); in RUNTIME_FUNCTION()
[all …]
/external/v8/test/mjsunit/es6/
Dgenerators-debug-scopes.js100 scopes[i] == debug.ScopeType.Script ||
163 scope.scopeType() == debug.ScopeType.Script ||
183 debug.ScopeType.Script,
194 debug.ScopeType.Script,
205 debug.ScopeType.Script,
216 debug.ScopeType.Script,
227 debug.ScopeType.Script,
238 debug.ScopeType.Script,
253 debug.ScopeType.Script,
266 debug.ScopeType.Script,
[all …]
Ddebug-blockscopes.js112 scopes[i] == debug.ScopeType.Script ||
208 debug.ScopeType.Script,
227 debug.ScopeType.Script,
245 debug.ScopeType.Script,
264 debug.ScopeType.Script,
285 debug.ScopeType.Script,
308 debug.ScopeType.Script,
332 debug.ScopeType.Script,
362 debug.ScopeType.Script,
383 debug.ScopeType.Script,
[all …]
Ddebug-function-scopes.js55 Script: 6}; property
82 CheckScope(mirror.scope(3), { top_level_let: 255 }, ScopeType.Script);
115 CheckScope(mirror.scope(3), { top_level_let: 255 }, ScopeType.Script);
/external/v8/src/
Dmessages.cc17 MessageLocation::MessageLocation(Handle<Script> script, int start_pos, in MessageLocation()
20 MessageLocation::MessageLocation(Handle<Script> script, int start_pos, in MessageLocation()
60 script_handle = Script::GetWrapper(location->script()); in MakeMessageObject()
62 script_handle = Script::GetWrapper(isolate->factory()->empty_script()); in MakeMessageObject()
202 return Handle<Object>(Script::cast(script)->name(), isolate_); in GetFileName()
216 Handle<Script>::cast(script)->compilation_type() == in GetFunctionName()
217 Script::COMPILATION_TYPE_EVAL) { in GetFunctionName()
227 Handle<Script> script(Script::cast(script_obj), isolate_); in GetScriptNameOrSourceUrl()
312 Handle<Script> script = Handle<Script>::cast(script_obj); in GetLineNumber()
313 return Script::GetLineNumber(script, pos_) + 1; in GetLineNumber()
[all …]
Daccessors.cc256 Script::cast(JSValue::cast(object)->value())->column_offset()); in ScriptColumnOffsetGetter()
282 Object* id = Smi::FromInt(Script::cast(JSValue::cast(object)->value())->id()); in ScriptIdGetter()
307 Object* source = Script::cast(JSValue::cast(object)->value())->name(); in ScriptNameGetter()
331 Object* source = Script::cast(JSValue::cast(object)->value())->source(); in ScriptSourceGetter()
356 Smi::FromInt(Script::cast(JSValue::cast(object)->value())->line_offset()); in ScriptLineOffsetGetter()
383 Smi::FromInt(Script::cast(JSValue::cast(object)->value())->type()); in ScriptTypeGetter()
409 Script::cast(JSValue::cast(object)->value())->compilation_type()); in ScriptCompilationTypeGetter()
434 Handle<Script> script( in ScriptLineEndsGetter()
435 Script::cast(Handle<JSValue>::cast(object)->value()), isolate); in ScriptLineEndsGetter()
436 Script::InitLineEnds(script); in ScriptLineEndsGetter()
[all …]
Dlog-inl.h17 CodeEventListener::LogEventsAndTags tag, Script* script) { in ToNativeByScript()
18 if (script->type() != Script::TYPE_NATIVE) return tag; in ToNativeByScript()
/external/v8/test/mjsunit/tools/
Dtickprocessor-test.default41 3 100.0% Script: exp.js
45 2 100.0% Script: exp.js
49 1 100.0% Script: exp.js
52 1 100.0% Script: exp.js
55 1 100.0% Script: exp.js
61 1 100.0% Script: exp.js
Dtickprocessor-test.ignore-unknown40 3 100.0% Script: exp.js
44 2 100.0% Script: exp.js
48 1 100.0% Script: exp.js
51 1 100.0% Script: exp.js
54 1 100.0% Script: exp.js
60 1 100.0% Script: exp.js
Dtickprocessor-test.separate-ic43 3 100.0% Script: exp.js
47 2 100.0% Script: exp.js
51 1 100.0% Script: exp.js
54 1 100.0% Script: exp.js
57 1 100.0% Script: exp.js
63 1 100.0% Script: exp.js
/external/v8/src/profiler/
Dsampling-heap-profiler.cc202 Script* script = Script::cast(shared->script()); in AddStack()
212 const std::map<int, Handle<Script>>& scripts) { in TranslateAllocationNode()
226 const_cast<std::map<int, Handle<Script>>&>(scripts); in TranslateAllocationNode()
227 Handle<Script> script = non_const_scripts[node->script_id_]; in TranslateAllocationNode()
234 line = 1 + Script::GetLineNumber(script, node->script_position_); in TranslateAllocationNode()
235 column = 1 + Script::GetColumnNumber(script, node->script_position_); in TranslateAllocationNode()
267 std::map<int, Handle<Script>> scripts; in GetAllocationProfile()
269 Script::Iterator iterator(isolate_); in GetAllocationProfile()
270 while (Script* script = iterator.Next()) { in GetAllocationProfile()
Dallocation-tracker.cc269 Script* script = Script::cast(shared->script()); in AddFunctionInfo()
302 Script* script, int start, FunctionInfo* info) in UnresolvedLocation()
305 script_ = Handle<Script>::cast( in UnresolvedLocation()
322 info_->line = Script::GetLineNumber(script_, start_position_); in Resolve()
323 info_->column = Script::GetColumnNumber(script_, start_position_); in Resolve()
331 loc->script_ = Handle<Script>::null(); in HandleWeakScript()
/external/mesa3d/
Dcommon.py11 import SCons.Script.SConscript
23 if 'platform' in SCons.Script.ARGUMENTS:
24 target_platform = SCons.Script.ARGUMENTS['platform']
/external/v8/src/debug/
Dliveedit.h46 static Handle<JSArray> Collect(FunctionLiteral* node, Handle<Script> script,
53 LiveEditFunctionTracker(Handle<Script> script, Zone* zone, Isolate* isolate);
59 Handle<Script> script_;
92 Handle<Script> script,
110 static Handle<Object> ChangeScriptSource(Handle<Script> original_script,
/external/v8/test/cctest/interpreter/
Dbytecode-expectations-printer.h99 v8::Local<v8::Script> Compile(const char* program) const;
100 void Run(v8::Local<v8::Script> script) const;
104 v8::Local<v8::Script> script) const;

12345678910>>...17