Home
last modified time | relevance | path

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

12345678910>>...13

/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.h356 static inline v8::Local<v8::Script> v8_compile(v8::Local<v8::String> x) { in v8_compile()
357 v8::Local<v8::Script> result; in v8_compile()
358 if (v8::Script::Compile(v8::Isolate::GetCurrent()->GetCurrentContext(), x) in v8_compile()
362 return v8::Local<v8::Script>(); in v8_compile()
366 static inline v8::Local<v8::Script> v8_compile(const char* x) { in v8_compile()
371 static inline int32_t v8_run_int32value(v8::Local<v8::Script> script) { in v8_run_int32value()
377 static inline v8::Local<v8::Script> CompileWithOrigin( in CompileWithOrigin()
387 static inline v8::Local<v8::Script> CompileWithOrigin( in CompileWithOrigin()
393 static inline v8::Local<v8::Script> CompileWithOrigin(const char* source, in CompileWithOrigin()
402 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()
689 v8::Local<v8::Script> new_script = GetNewObjectScript(class_name); in TEST()
[all …]
/external/v8/test/mjsunit/
Ddebug-scopes.js133 scopes[i] == debug.ScopeType.Script ||
213 scope.scopeType() == debug.ScopeType.Script ||
236 debug.ScopeType.Script,
253 debug.ScopeType.Script,
271 debug.ScopeType.Script,
290 debug.ScopeType.Script,
308 debug.ScopeType.Script,
326 debug.ScopeType.Script,
348 debug.ScopeType.Script,
368 debug.ScopeType.Script,
[all …]
Ddebug-function-scopes.js52 Script: 6}; property
78 CheckScope(mirror.scope(4), {}, ScopeType.Script);
87 CheckScope(mirror.scope(0), {}, ScopeType.Script);
109 CheckScope(mirror.scope(2), {}, ScopeType.Script);
133 CheckScope(mirror.scope(2), {}, ScopeType.Script);
153 CheckScope(mirror.scope(2), {}, ScopeType.Script);
/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()
92 Handle<Script> original_script(Script::cast(original_script_value->value())); in RUNTIME_FUNCTION()
98 Handle<Script> script_handle = Handle<Script>::cast(old_script); in RUNTIME_FUNCTION()
99 return *Script::GetWrapper(script_handle); in RUNTIME_FUNCTION()
144 Script* script = Script::cast(JSValue::cast(*script_object)->value()); in RUNTIME_FUNCTION()
/external/v8/test/mjsunit/es6/
Ddebug-blockscopes.js112 scopes[i] == debug.ScopeType.Script ||
210 debug.ScopeType.Script,
229 debug.ScopeType.Script,
247 debug.ScopeType.Script,
266 debug.ScopeType.Script,
287 debug.ScopeType.Script,
310 debug.ScopeType.Script,
334 debug.ScopeType.Script,
364 debug.ScopeType.Script,
386 debug.ScopeType.Script,
[all …]
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-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.cc48 script_handle = Script::GetWrapper(location->script()); in MakeMessageObject()
50 script_handle = Script::GetWrapper(isolate->factory()->empty_script()); in MakeMessageObject()
175 return Handle<Object>(Handle<Script>::cast(script)->name(), isolate_); in GetFileName()
187 Handle<Script>::cast(script)->compilation_type() == in GetFunctionName()
188 Script::COMPILATION_TYPE_EVAL) { in GetFunctionName()
198 Handle<Script> script = Handle<Script>::cast(script_obj); in GetScriptNameOrSourceUrl()
273 Handle<Script> script = Handle<Script>::cast(script_obj); in GetLineNumber()
274 return Script::GetLineNumber(script, pos_) + 1; in GetLineNumber()
285 Handle<Script> script = Handle<Script>::cast(script_obj); in GetColumnNumber()
286 return Script::GetColumnNumber(script, pos_) + 1; in GetColumnNumber()
[all …]
Daccessors.cc293 Script::cast(JSValue::cast(object)->value())->column_offset()); in ScriptColumnOffsetGetter()
330 Object* id = Smi::FromInt(Script::cast(JSValue::cast(object)->value())->id()); in ScriptIdGetter()
367 Object* source = Script::cast(JSValue::cast(object)->value())->name(); in ScriptNameGetter()
402 Object* source = Script::cast(JSValue::cast(object)->value())->source(); in ScriptSourceGetter()
438 Smi::FromInt(Script::cast(JSValue::cast(object)->value())->line_offset()); in ScriptLineOffsetGetter()
476 Smi::FromInt(Script::cast(JSValue::cast(object)->value())->type()); in ScriptTypeGetter()
514 Script::cast(JSValue::cast(object)->value())->compilation_type()); in ScriptCompilationTypeGetter()
550 Handle<Script> script( in ScriptLineEndsGetter()
551 Script::cast(Handle<JSValue>::cast(object)->value()), isolate); in ScriptLineEndsGetter()
552 Script::InitLineEnds(script); in ScriptLineEndsGetter()
[all …]
Dlog-inl.h17 Script* script) { in ToNativeByScript()
19 script->type() == Script::TYPE_NATIVE) { in ToNativeByScript()
Dpending-compilation-error-handler.h18 class Script; variable
77 void ThrowPendingError(Isolate* isolate, Handle<Script> script);
Dbootstrapper.h20 explicit SourceCodeCache(Script::Type type): type_(type), cache_(NULL) { } in SourceCodeCache()
55 Script::cast(shared->script())->set_type(type_); in Add()
59 Script::Type type_;
Dcompiler.cc64 PARSE_INFO_GETTER(Handle<Script>, script)
265 Handle<Script> script(Script::cast(shared->script())); in TraceInlinedFunction()
740 Handle<Script> script = info->parse_info()->script(); in RecordFunctionCompilation()
745 int line_num = Script::GetLineNumber(script, shared->start_position()) + 1; in RecordFunctionCompilation()
747 Script::GetColumnNumber(script, shared->start_position()) + 1; in RecordFunctionCompilation()
1143 Handle<Script> script(Script::cast(shared->script())); in CompileEvalForDebugging()
1191 Script::cast(shared->script())->compilation_type() == in IsEvalToplevel()
1192 Script::COMPILATION_TYPE_EVAL; in IsEvalToplevel()
1217 void Compiler::CompileForLiveEdit(Handle<Script> script) { in CompileForLiveEdit()
1247 Handle<Script> script = parse_info->script(); in CompileToplevel()
[all …]
/external/v8/test/mjsunit/tools/
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.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.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/
Dallocation-tracker.cc271 Script* script = Script::cast(shared->script()); in AddFunctionInfo()
304 Script* script, int start, FunctionInfo* info) in UnresolvedLocation()
307 script_ = Handle<Script>::cast( in UnresolvedLocation()
325 info_->line = Script::GetLineNumber(script_, start_position_); in Resolve()
326 info_->column = Script::GetColumnNumber(script_, start_position_); in Resolve()
335 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/samples/
Dhello-world.cc56 Local<Script> script = Script::Compile(context, source).ToLocalChecked(); in main()
/external/v8/src/debug/
Ddebug.h366 void OnCompileError(Handle<Script> script);
367 void OnBeforeCompile(Handle<Script> script);
368 void OnAfterCompile(Handle<Script> script);
395 bool SetBreakPointForScript(Handle<Script> script,
431 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script,
455 static void RecordEvalCaller(Handle<Script> script);
529 Handle<Script> script, v8::DebugEvent type);
545 void ProcessCompileEvent(v8::DebugEvent event, Handle<Script> script);
/external/skia/src/sfnt/
DSkIBMFamilyClass.h55 ((Script, 2))
65 ((Script, 2))
/external/pdfium/xfa/src/fxjse/src/
Dcontext.cpp199 v8::Local<v8::Script> hScript = v8::Script::Compile(hScriptString); in ExecuteScript()
218 v8::Local<v8::Script> hWrapper = in ExecuteScript()
219 v8::Script::Compile(v8::String::NewFromUtf8( in ExecuteScript()

12345678910>>...13