/external/v8/src/objects/ |
D | script-inl.h | 19 CAST_ACCESSOR(Script) 21 ACCESSORS(Script, source, Object, kSourceOffset) in ACCESSORS() argument 22 ACCESSORS(Script, name, Object, kNameOffset) in ACCESSORS() 23 SMI_ACCESSORS(Script, id, kIdOffset) in ACCESSORS() 24 SMI_ACCESSORS(Script, line_offset, kLineOffsetOffset) in ACCESSORS() 25 SMI_ACCESSORS(Script, column_offset, kColumnOffsetOffset) in ACCESSORS() 26 ACCESSORS(Script, context_data, Object, kContextOffset) in ACCESSORS() 27 SMI_ACCESSORS(Script, type, kTypeOffset) in ACCESSORS() 28 ACCESSORS(Script, line_ends, Object, kLineEndsOffset) in ACCESSORS() 29 ACCESSORS_CHECKED(Script, eval_from_shared_or_wrapped_arguments, Object, in ACCESSORS() [all …]
|
D | script.h | 18 class Script : public Struct, public NeverReadOnlySpaceObject { 123 DECL_CAST(Script) 138 static void InitLineEnds(Handle<Script> script); 160 static bool GetPositionInfo(Handle<Script> script, int position, 168 static int GetColumnNumber(Handle<Script> script, int code_offset); 170 static int GetLineNumber(Handle<Script> script, int code_offset); 182 Script* Next(); 190 DECL_PRINTER(Script) 191 DECL_VERIFIER(Script) 223 DISALLOW_IMPLICIT_CONSTRUCTORS(Script);
|
/external/v8/src/parsing/ |
D | parse-info.cc | 62 DCHECK_IMPLIES(is_toplevel(), !Script::cast(shared->script())->is_wrapped()); in ParseInfo() 78 Handle<Script> script(Script::cast(shared->script()), isolate); in ParseInfo() 95 ParseInfo::ParseInfo(Isolate* isolate, Handle<Script> script) in ParseInfo() 134 Handle<Script> ParseInfo::CreateScript(Isolate* isolate, Handle<String> source, in CreateScript() 138 Handle<Script> script; in CreateScript() 145 Script::InitLineEnds(script); in CreateScript() 149 script->set_type(Script::TYPE_NATIVE); in CreateScript() 152 script->set_type(Script::TYPE_EXTENSION); in CreateScript() 155 script->set_type(Script::TYPE_INSPECTOR); in CreateScript() 188 Handle<Script> script) { in SetScriptForToplevelCompile() [all …]
|
D | parse-info.h | 42 ParseInfo(Isolate* isolate, Handle<Script> script); 47 Handle<Script> CreateScript(Isolate* isolate, Handle<String> source, 200 Handle<Script> script() const { return script_; } in script() 223 void SetScriptForToplevelCompile(Isolate* isolate, Handle<Script> script); 224 void set_script(Handle<Script> script); 266 Handle<Script> script_;
|
/external/cldr/tools/java/org/unicode/cldr/posix/ |
D | POSIXLocale.java | 80 int Script = UScript.getScript(it.codepoint); in POSIXLocale() local 81 if (Script != UScript.COMMON && in POSIXLocale() 82 Script != UScript.INHERITED && in POSIXLocale() 83 Script != UScript.INVALID_CODE && in POSIXLocale() 84 Script != UScript.HAN && in POSIXLocale() 85 Script != PreviousScript) // Hopefully this speeds up the process... in POSIXLocale() 87 … UnicodeSet ThisScript = new UnicodeSet().applyIntPropertyValue(UProperty.SCRIPT, Script); in POSIXLocale() 93 PreviousScript = Script; in POSIXLocale() 125 int Script = UScript.getScript(it.codepoint); in POSIXLocale() local 126 if (Script != UScript.COMMON && in POSIXLocale() [all …]
|
/external/v8/src/ |
D | source-position.cc | 80 Script::PositionInfo pos; in Print() 83 Script* script = Script::cast(function->script()); in Print() 85 script->GetPositionInfo(ScriptOffset(), &pos, Script::WITH_OFFSET); in Print() 128 ? Handle<Script>::null() in SourcePositionInfo() 129 : handle(Script::cast(f->script()), f->GetIsolate())) { in SourcePositionInfo() 131 Script::PositionInfo info; in SourcePositionInfo() 132 if (Script::GetPositionInfo(script, pos.ScriptOffset(), &info, in SourcePositionInfo() 133 Script::WITH_OFFSET)) { in SourcePositionInfo()
|
D | pending-compilation-error-handler.h | 21 class Script; variable 57 void ReportErrors(Isolate* isolate, Handle<Script> script, 61 void ReportWarnings(Isolate* isolate, Handle<Script> script); 85 MessageLocation GetLocation(Handle<Script> script) const; 96 void ThrowPendingError(Isolate* isolate, Handle<Script> script);
|
D | messages.cc | 22 MessageLocation::MessageLocation(Handle<Script> script, int start_pos, in MessageLocation() 25 MessageLocation::MessageLocation(Handle<Script> script, int start_pos, in MessageLocation() 60 Handle<Script> script_handle = isolate->factory()->empty_script(); in MakeMessageObject() 190 Object* EvalFromFunctionName(Isolate* isolate, Handle<Script> script) { in EvalFromFunctionName() 203 Object* EvalFromScript(Isolate* isolate, Handle<Script> script) { in EvalFromScript() 214 MaybeHandle<String> FormatEvalOrigin(Isolate* isolate, Handle<Script> script) { in FormatEvalOrigin() 239 Handle<Script> eval_from_script = in FormatEvalOrigin() 240 Handle<Script>::cast(eval_from_script_obj); in FormatEvalOrigin() 242 if (eval_from_script->compilation_type() == Script::COMPILATION_TYPE_EVAL) { in FormatEvalOrigin() 250 Script::COMPILATION_TYPE_EVAL); in FormatEvalOrigin() [all …]
|
/external/fonttools/Snippets/ |
D | fix-dflt-langsys.py | 15 if rec.ScriptTag == "DFLT" and rec.Script.LangSysCount != 0: 16 tags = [r.LangSysTag for r in rec.Script.LangSysRecord] 18 rec.Script.LangSysCount, " ".join(tags)) 19 rec.Script.LangSysRecord = [] 20 rec.Script.LangSysCount = 0 28 tags = set([r.LangSysTag for r in rec.Script.LangSysRecord])
|
D | layout-features.py | 27 if not script.Script: 30 languages = list(script.Script.LangSysRecord) 31 if script.Script.DefaultLangSys: 34 defaultlangsys.LangSys = script.Script.DefaultLangSys
|
/external/v8/src/debug/ |
D | debug-interface.h | 25 class Script; variable 82 class Script; variable 98 v8::Local<v8::debug::Script> script; 108 class V8_EXPORT_PRIVATE Script { 139 class WasmScript : public Script { 141 static WasmScript* Cast(Script* script); 152 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts); 160 virtual void ScriptCompiled(v8::Local<Script> script, bool is_live_edited, in ScriptCompiled() 171 virtual bool IsFunctionBlackboxed(v8::Local<debug::Script> script, in IsFunctionBlackboxed() 190 v8::Local<debug::Script> script); [all …]
|
D | debug-stack-trace-iterator.cc | 134 v8::Local<v8::debug::Script> DebugStackTraceIterator::GetScript() const { in GetScript() 137 if (!value->IsScript()) return v8::Local<v8::debug::Script>(); in GetScript() 138 return ToApiHandle<debug::Script>(Handle<Script>::cast(value)); in GetScript() 143 v8::Local<v8::debug::Script> script = GetScript(); in GetSourceLocation()
|
/external/v8/src/profiler/ |
D | sampling-heap-profiler.cc | 219 Script* script = Script::cast(shared->script()); in AddStack() 235 const std::map<int, Handle<Script>>& scripts) { in TranslateAllocationNode() 249 const_cast<std::map<int, Handle<Script>>&>(scripts); in TranslateAllocationNode() 250 Handle<Script> script = non_const_scripts[node->script_id_]; in TranslateAllocationNode() 257 line = 1 + Script::GetLineNumber(script, node->script_position_); in TranslateAllocationNode() 258 column = 1 + Script::GetColumnNumber(script, node->script_position_); in TranslateAllocationNode() 290 std::map<int, Handle<Script>> scripts; in GetAllocationProfile() 292 Script::Iterator iterator(isolate_); in GetAllocationProfile() 293 while (Script* script = iterator.Next()) { in GetAllocationProfile()
|
D | allocation-tracker.cc | 255 Script* script = Script::cast(shared->script()); in AddFunctionInfo() 287 Script* script, int start, FunctionInfo* info) in UnresolvedLocation() 306 info_->line = Script::GetLineNumber(script_, start_position_); in Resolve() 307 info_->column = Script::GetColumnNumber(script_, start_position_); in Resolve() 315 loc->script_ = Handle<Script>::null(); in HandleWeakScript()
|
/external/libtextclassifier/utils/i18n/ |
D | locale.cc | 139 const bool script_matches = supported_locale.Script().empty() || in IsLocaleSupported() 140 supported_locale.Script() == kAnyMatch || in IsLocaleSupported() 141 locale.Script().empty() || in IsLocaleSupported() 142 supported_locale.Script() == locale.Script(); in IsLocaleSupported() 174 << ", script=" << locale.Script() in operator <<()
|
D | locale_test.cc | 33 EXPECT_EQ(locale.Script(), ""); in TEST() 41 EXPECT_EQ(locale.Script(), ""); in TEST() 49 EXPECT_EQ(locale.Script(), "Hant"); in TEST() 57 EXPECT_EQ(locale.Script(), ""); in TEST() 65 EXPECT_EQ(locale.Script(), "Hant"); in TEST()
|
/external/v8/src/runtime/ |
D | runtime-debug.cc | 427 Handle<Script> script(Script::cast(instances->get(i)), isolate); in RUNTIME_FUNCTION() 472 int ScriptLinePosition(Handle<Script> script, int line) { in ScriptLinePosition() 475 if (script->type() == Script::TYPE_WASM) { in ScriptLinePosition() 480 Script::InitLineEnds(script); in ScriptLinePosition() 492 int ScriptLinePositionWithOffset(Handle<Script> script, int line, int offset) { in ScriptLinePositionWithOffset() 498 Script::PositionInfo info; in ScriptLinePositionWithOffset() 499 if (!Script::GetPositionInfo(script, offset, &info, Script::NO_OFFSET)) { in ScriptLinePositionWithOffset() 507 Handle<Object> GetJSPositionInfo(Handle<Script> script, int position, in GetJSPositionInfo() 508 Script::OffsetFlag offset_flag, in GetJSPositionInfo() 510 Script::PositionInfo info; in GetJSPositionInfo() [all …]
|
D | runtime-module.cc | 21 Handle<Script> script(Script::cast(function->shared()->script()), isolate); in RUNTIME_FUNCTION() 25 handle(Script::cast(script->eval_from_shared()->script()), isolate); in RUNTIME_FUNCTION()
|
/external/v8/samples/ |
D | hello-world.cc | 45 v8::Local<v8::Script> script = in main() 46 v8::Script::Compile(context, source).ToLocalChecked(); in main() 84 v8::Local<v8::Script> script = in main() 85 v8::Script::Compile(context, source).ToLocalChecked(); in main()
|
/external/fonttools/Lib/fontTools/varLib/ |
D | featureVars.py | 291 langSystems = [lsr.LangSys for lsr in scriptRecord.Script.LangSysRecord] 292 for langSys in [scriptRecord.Script.DefaultLangSys] + langSystems: 338 srec.Script = ot.Script() 339 srec.Script.DefaultLangSys = None 340 srec.Script.LangSysRecord = [] 346 srec.Script.DefaultLangSys = langrec.LangSys 450 defaultLangSys = script.Script.DefaultLangSys 453 for langSysRecordIndex, langSysRec in enumerate(script.Script.LangSysRecord):
|
/external/v8/src/ic/ |
D | ic-stats.h | 25 class Script; variable 61 const char* GetOrCacheScriptName(Script* script); 69 std::unordered_map<Script*, std::unique_ptr<char[]>> script_name_map_;
|
/external/v8/src/compiler-dispatcher/ |
D | unoptimized-compile-job.cc | 82 Handle<Script> script(Script::cast(shared_->script()), isolate); in UnoptimizedCompileJob() 130 Handle<Script> script = parse_info->script(); in PrepareOnMainThread() 133 DCHECK(script->type() != Script::TYPE_NATIVE); in PrepareOnMainThread() 273 Handle<Script> script(Script::cast(shared_->script()), isolate); in FinalizeOnMainThread() 313 Handle<Script> script(Script::cast(shared_->script()), isolate); in ReportErrorsOnMainThread()
|
/external/v8/src/inspector/ |
D | v8-debugger-script.cc | 113 ActualScript(v8::Isolate* isolate, v8::Local<v8::debug::Script> script, in ActualScript() 158 v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); in getPossibleBreakpoints() 223 v8::Local<v8::debug::Script> script, in GetScriptURL() 238 v8::Local<v8::debug::Script> script() const override { in script() 242 void Initialize(v8::Local<v8::debug::Script> script) { in Initialize() 286 v8::Global<v8::debug::Script> m_script; 333 v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); in getPossibleBreakpoints() 372 v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); in setBreakpoint() 398 v8::Local<v8::debug::Script> script() const override { in script() 411 v8::Isolate* isolate, v8::Local<v8::debug::Script> scriptObj, in Create()
|
/external/v8/src/snapshot/ |
D | code-serializer.cc | 51 Handle<Script> script(Script::cast(info->script()), isolate); in Serialize() 173 Script* script_obj = Script::cast(obj); in SerializeObject() 174 DCHECK_NE(script_obj->compilation_type(), Script::COMPILATION_TYPE_EVAL); in SerializeObject() 317 Script* script = Script::cast(result->script()); in Deserialize() 333 Handle<Script> script(Script::cast(result->script()), isolate); in Deserialize() 334 Script::InitLineEnds(script); in Deserialize()
|
/external/libtextclassifier/lang_id/script/ |
D | tiny-script-detector.h | 29 enum Script { enum 65 inline Script GetScript(const unsigned char *p, int num_bytes) { in GetScript() 155 inline Script GetScript(const char *p, int num_bytes) { in GetScript()
|