Home
last modified time | relevance | path

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

12345678910>>...12

/external/v8/test/cctest/
Dtest-func-name-inference.cc45 using ::v8::internal::Script;
51 static void CheckFunctionName(v8::Handle<v8::Script> script, in CheckFunctionName()
67 Handle<Script> i_script(Script::cast(shared_function->script())); in CheckFunctionName()
95 static v8::Handle<v8::Script> Compile(v8::Isolate* isolate, const char* src) { in Compile()
96 return v8::Script::Compile(v8::String::NewFromUtf8(isolate, src)); in Compile()
104 v8::Handle<v8::Script> script = Compile( in TEST()
117 v8::Handle<v8::Script> script = Compile( in TEST()
130 v8::Handle<v8::Script> script = Compile( in TEST()
145 v8::Handle<v8::Script> script = Compile( in TEST()
160 v8::Handle<v8::Script> script = Compile( in TEST()
[all …]
Dtest-thread-termination.cc57 v8::Handle<v8::Value> result = v8::Script::Compile(source)->Run(); in Loop()
66 v8::Script::Compile(v8::String::NewFromUtf8(args.GetIsolate(), in DoLoop()
91 v8::Script::Compile(v8::String::NewFromUtf8(args.GetIsolate(), in DoLoopNoCall()
135 v8::Script::Compile(source)->Run(); in TEST()
138 v8::Script::Compile(source)->Run(); in TEST()
155 v8::Script::Compile(source)->Run(); in TEST()
158 v8::Script::Compile(source)->Run(); in TEST()
195 v8::Script::Compile(source)->Run(); in TEST()
222 v8::Script::Compile( in LoopGetProperty()
265 v8::Script::Compile(source)->Run(); in TEST()
[all …]
Dtest-accessors.cc42 using ::v8::Script;
82 Local<Script> getter; in THREADED_TEST()
83 Local<Script> setter; in THREADED_TEST()
300 Local<Script> scr = v8::Script::Compile( in THREADED_TEST()
327 Local<Script> scr = in THREADED_TEST()
328 v8::Script::Compile(v8::String::NewFromUtf8(isolate, "obj.xxx")); in THREADED_TEST()
348 Local<Script> scr = in THREADED_TEST()
349 v8::Script::Compile(v8::String::NewFromUtf8(isolate, "obj.xxx")); in THREADED_TEST()
364 Local<Script> scr = in THREADED_TEST()
365 v8::Script::Compile(v8::String::NewFromUtf8(isolate, "obj.xxx")); in THREADED_TEST()
[all …]
Dtest-debug.cc135 v8::Script::Compile(v8::String::NewFromUtf8(env->GetIsolate(), source)) in CompileFunction()
146 v8::Script::Compile(v8::String::NewFromUtf8(isolate, source))->Run(); in CompileFunction()
193 return v8::Script::Compile(str)->Run()->Int32Value(); in SetBreakPointFromJS()
217 v8::Handle<v8::Value> value = v8::Script::Compile(str)->Run(); in SetScriptBreakPointByIdFromJS()
246 v8::Handle<v8::Value> value = v8::Script::Compile(str)->Run(); in SetScriptBreakPointByNameFromJS()
270 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run(); in ClearBreakPointFromJS()
281 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run(); in EnableScriptBreakPointFromJS()
292 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run(); in DisableScriptBreakPointFromJS()
304 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run(); in ChangeScriptBreakPointConditionFromJS()
316 v8::Script::Compile(v8::String::NewFromUtf8(isolate, buffer.start()))->Run(); in ChangeScriptBreakPointIgnoreCountFromJS()
[all …]
Dcctest.h349 static inline v8::Local<v8::Script> v8_compile(const char* x) { in v8_compile()
350 return v8::Script::Compile(v8_str(x)); in v8_compile()
354 static inline v8::Local<v8::Script> v8_compile(v8::Local<v8::String> x) { in v8_compile()
355 return v8::Script::Compile(x); in v8_compile()
359 static inline v8::Local<v8::Script> CompileWithOrigin( in CompileWithOrigin()
368 static inline v8::Local<v8::Script> CompileWithOrigin( in CompileWithOrigin()
374 static inline v8::Local<v8::Script> CompileWithOrigin(const char* source, in CompileWithOrigin()
382 return v8::Script::Compile(v8_str(source))->Run(); in CompileRun()
387 return v8::Script::Compile(source)->Run(); in CompileRun()
Dtest-compiler.cc254 Handle<Script> script = factory->NewScript(factory->empty_string()); in TEST()
256 CHECK_EQ(-1, Script::GetLineNumber(script, 0)); in TEST()
257 CHECK_EQ(-1, Script::GetLineNumber(script, 100)); in TEST()
258 CHECK_EQ(-1, Script::GetLineNumber(script, -1)); in TEST()
280 v8::Script::Compile(script_body, &origin)->Run(); in TEST()
Dtest-cpu-profiler.cc545 v8::Script::Compile(v8::String::NewFromUtf8(env->GetIsolate(), in TEST()
622 v8::Script::Compile(v8::String::NewFromUtf8( in TEST()
660 v8::Script::Compile(v8::String::NewFromUtf8(env->GetIsolate(), in TEST()
712 v8::Script::Compile(v8::String::NewFromUtf8( in TEST()
837 v8::Script::Compile( in TEST()
882 v8::Script::Compile( in TEST()
949 v8::Script::Compile(v8::String::NewFromUtf8( in TEST()
995 v8::Script::Compile(v8::String::NewFromUtf8( in TEST()
1041 v8::Script::Compile( in TEST()
1098 v8::Script::Compile(v8::String::NewFromUtf8( in TEST()
[all …]
/external/v8/test/mjsunit/tools/
Dtickprocessor-test.default35 3 100.0% Script: exp.js
39 2 100.0% Script: exp.js
42 1 100.0% Script: exp.js
45 1 100.0% Script: exp.js
51 1 100.0% Script: exp.js
54 1 100.0% Script: exp.js
Dtickprocessor-test.ignore-unknown34 3 100.0% Script: exp.js
38 2 100.0% Script: exp.js
41 1 100.0% Script: exp.js
44 1 100.0% Script: exp.js
50 1 100.0% Script: exp.js
53 1 100.0% Script: exp.js
Dtickprocessor-test.separate-ic37 3 100.0% Script: exp.js
41 2 100.0% Script: exp.js
44 1 100.0% Script: exp.js
47 1 100.0% Script: exp.js
53 1 100.0% Script: exp.js
60 1 100.0% Script: exp.js
/external/v8/src/
Dallocation-tracker.cc274 Script* script = Script::cast(shared->script()); in AddFunctionInfo()
307 Script* script, int start, FunctionInfo* info) in UnresolvedLocation()
310 script_ = Handle<Script>::cast( in UnresolvedLocation()
328 info_->line = Script::GetLineNumber(script_, start_position_); in Resolve()
329 info_->column = Script::GetColumnNumber(script_, start_position_); in Resolve()
338 loc->script_ = Handle<Script>::null(); in HandleWeakScript()
Dmessages.h46 MessageLocation(Handle<Script> script, in MessageLocation()
54 Handle<Script> script() const { return script_; } in script()
59 Handle<Script> script_;
Dlog-inl.h14 Script* script) { in ToNativeByScript()
16 && script->type()->value() == Script::TYPE_NATIVE) { in ToNativeByScript()
Daccessors.cc345 Object* res = Script::cast(JSValue::cast(object)->value())->column_offset(); in ScriptColumnOffsetGetter()
382 Object* id = Script::cast(JSValue::cast(object)->value())->id(); in ScriptIdGetter()
419 Object* source = Script::cast(JSValue::cast(object)->value())->name(); in ScriptNameGetter()
454 Object* source = Script::cast(JSValue::cast(object)->value())->source(); in ScriptSourceGetter()
489 Object* res = Script::cast(JSValue::cast(object)->value())->line_offset(); in ScriptLineOffsetGetter()
526 Object* res = Script::cast(JSValue::cast(object)->value())->type(); in ScriptTypeGetter()
564 Script::cast(JSValue::cast(object)->value())->compilation_type()); in ScriptCompilationTypeGetter()
600 Handle<Script> script( in ScriptLineEndsGetter()
601 Script::cast(Handle<JSValue>::cast(object)->value()), isolate); in ScriptLineEndsGetter()
602 Script::InitLineEnds(script); in ScriptLineEndsGetter()
[all …]
Dgdb-jit.h34 Handle<Script> script,
41 static void AddCode(const char* name, Code* code, CodeTag tag, Script* script,
Dcompiler.cc47 CompilationInfo::CompilationInfo(Handle<Script> script, Zone* zone) in CompilationInfo()
63 script_(Handle<Script>::null()), in CompilationInfo()
79 script_(Handle<Script>(Script::cast(shared_info->script()))), in CompilationInfo()
95 script_(Handle<Script>(Script::cast(shared_info_->script()))), in CompilationInfo()
165 if (!script_.is_null() && script_->type()->value() == Script::TYPE_NATIVE) { in Initialize()
579 Handle<Script> script) { in SetFunctionInfo()
616 Handle<Script> script = info->script(); in RecordFunctionCompilation()
621 int line_num = Script::GetLineNumber(script, shared->start_position()) + 1; in RecordFunctionCompilation()
623 Script::GetColumnNumber(script, shared->start_position()) + 1; in RecordFunctionCompilation()
634 Handle<Script>(info->script()), Handle<Code>(info->code()), in RecordFunctionCompilation()
[all …]
Ddebug.h157 void Add(Handle<Script> script);
350 void OnCompileError(Handle<Script> script);
351 void OnBeforeCompile(Handle<Script> script);
352 void OnAfterCompile(Handle<Script> script);
381 bool SetBreakPointForScript(Handle<Script> script,
421 Object* FindSharedFunctionInfoInScript(Handle<Script> script, int position);
455 static void RecordEvalCaller(Handle<Script> script);
523 Handle<Script> script, v8::DebugEvent type);
Dbootstrapper.h20 explicit SourceCodeCache(Script::Type type): type_(type), cache_(NULL) { } in SourceCodeCache()
55 Script::cast(shared->script())->set_type(Smi::FromInt(type_)); in Add()
59 Script::Type type_;
Dcompiler.h111 Handle<Script> script() const { return script_; } in script()
112 void set_script(Handle<Script> script) { script_ = script; } in set_script()
392 CompilationInfo(Handle<Script> script,
451 Handle<Script> script_;
524 explicit CompilationInfoWithZone(Handle<Script> script) in CompilationInfoWithZone()
681 static void CompileForLiveEdit(Handle<Script> script);
702 Handle<Script> script,
Dcpu-profiler.cc239 DCHECK(Script::cast(shared->script())); in CodeCreateEvent()
240 Script* script = Script::cast(shared->script()); in CodeCreateEvent()
266 DCHECK(Script::cast(shared->script())); in CodeCreateEvent()
267 Script* script = Script::cast(shared->script()); in CodeCreateEvent()
Dallocation-tracker.h118 UnresolvedLocation(Script* script, int start, FunctionInfo* info);
126 Handle<Script> script_;
Ddebug.cc607 if (obj->IsScript() && Script::cast(obj)->HasValidSource()) { in ScriptCache()
608 Add(Handle<Script>(Script::cast(obj))); in ScriptCache()
614 void ScriptCache::Add(Handle<Script> script) { in Add()
624 Handle<Script> found(reinterpret_cast<Script**>(entry->value)); in Add()
633 Handle<Script> script_ = in Add()
634 Handle<Script>::cast(global_handles->Create(*script)); in Add()
649 instances->set(count, *reinterpret_cast<Script**>(entry->value)); in GetScripts()
675 int id = Handle<Script>::cast(object)->id()->value(); in HandleWeakScript()
783 Handle<Script> script(Script::cast(function->shared()->script())); in CompileDebuggerScript()
784 script->set_type(Smi::FromInt(Script::TYPE_NATIVE)); in CompileDebuggerScript()
[all …]
/external/mesa3d/
Dcommon.py11 import SCons.Script.SConscript
23 if 'platform' in SCons.Script.ARGUMENTS:
24 target_platform = SCons.Script.ARGUMENTS['platform']
/external/skia/src/sfnt/
DSkIBMFamilyClass.h55 ((Script, 2))
65 ((Script, 2))
/external/v8/samples/
Dlineprocessor.cc87 bool RunCppCycle(v8::Handle<v8::Script> script,
167 v8::Handle<v8::Script> script; in RunMain()
172 script = v8::Script::Compile(script_source, &origin); in RunMain()
204 bool RunCppCycle(v8::Handle<v8::Script> script, in RunCppCycle()

12345678910>>...12