/third_party/node/deps/v8/src/objects/ |
D | script-inl.h | 22 TQ_OBJECT_CONSTRUCTORS_IMPL(Script) 24 NEVER_READ_ONLY_SPACE_IMPL(Script) in NEVER_READ_ONLY_SPACE_IMPL() argument 27 ACCESSORS_CHECKED(Script, wasm_breakpoint_infos, FixedArray, in NEVER_READ_ONLY_SPACE_IMPL() 30 ACCESSORS_CHECKED(Script, wasm_managed_native_module, Object, in NEVER_READ_ONLY_SPACE_IMPL() 32 ACCESSORS_CHECKED(Script, wasm_weak_instance_list, WeakArrayList, in NEVER_READ_ONLY_SPACE_IMPL() 39 SMI_ACCESSORS(Script, type, kScriptTypeOffset) in NEVER_READ_ONLY_SPACE_IMPL() 40 ACCESSORS_CHECKED(Script, eval_from_shared_or_wrapped_arguments_or_sfi_table, in NEVER_READ_ONLY_SPACE_IMPL() 43 SMI_ACCESSORS_CHECKED(Script, eval_from_position, kEvalFromPositionOffset, in NEVER_READ_ONLY_SPACE_IMPL() 47 bool Script::is_wrapped() const { in NEVER_READ_ONLY_SPACE_IMPL() 52 bool Script::has_eval_from_shared() const { in has_eval_from_shared() [all …]
|
D | script.h | 34 class Script : public TorqueGeneratedScript<Script, Struct> { 162 static int GetEvalPosition(Isolate* isolate, Handle<Script> script); 167 static void InitLineEnds(IsolateT* isolate, Handle<Script> script); 189 static bool GetPositionInfo(Handle<Script> script, int position, 204 static int GetColumnNumber(Handle<Script> script, int code_offset); 206 V8_EXPORT_PRIVATE static int GetLineNumber(Handle<Script> script, 214 Handle<Script> script, IsolateT* isolate, 218 Handle<Script> script, Isolate* isolate, 222 Handle<Script> script, LocalIsolate* isolate, 231 Script Next(); [all …]
|
D | call-site-info.cc | 39 return script->type() == Script::TYPE_NATIVE; in IsNative() 46 return script->compilation_type() == Script::COMPILATION_TYPE_EVAL; in IsEval() 78 Handle<Script> script; in GetLineNumber() 81 int line_number = Script::GetLineNumber(script, position) + 1; in GetLineNumber() 99 Handle<Script> script; in GetColumnNumber() 101 int column_number = Script::GetColumnNumber(script, position) + 1; in GetColumnNumber() 103 if (Script::GetLineNumber(script, position) == script->line_offset()) { in GetColumnNumber() 120 Handle<Script> script; in GetEnclosingLineNumber() 130 return Script::GetLineNumber(script, position) + 1; in GetEnclosingLineNumber() 134 return Script::GetLineNumber(script, position) + 1; in GetEnclosingLineNumber() [all …]
|
/third_party/pcre2/pcre2/testdata/ |
D | testinput26 | 3 # Unicode Script Extension tests. 9 /^\p{Script=Latn}/utf 12 # Script extension check 19 # Script extension only character 34 /^\p{Script=Grek}/utf 37 # Script extension check 44 # Script extension only character 59 /^\p{Script=Cyrl}/utf 62 # Script extension check 69 # Script extension only character [all …]
|
D | testoutput26 | 3 # Unicode Script Extension tests. 10 /^\p{Script=Latn}/utf 14 # Script extension check 23 # Script extension only character 42 /^\p{Script=Grek}/utf 46 # Script extension check 55 # Script extension only character 74 /^\p{Script=Cyrl}/utf 78 # Script extension check 87 # Script extension only character [all …]
|
/third_party/node/test/parallel/ |
D | test-vm-options-validation.js | 18 new vm.Script('void 0', 42); 23 new vm.Script('void 0', { lineOffset: value }); 27 new vm.Script('void 0', { columnOffset: value }); 33 new vm.Script('void 0', { lineOffset: value }); 37 new vm.Script('void 0', { columnOffset: value }); 42 new vm.Script('void 0', { lineOffset: Number.MAX_SAFE_INTEGER }); 46 new vm.Script('void 0', { columnOffset: Number.MAX_SAFE_INTEGER }); 50 new vm.Script('void 0', { filename: 123 }); 54 new vm.Script('void 0', { produceCachedData: 1 }); 59 new vm.Script('void 0', { cachedData: value }); [all …]
|
D | test-vm-new-script-new-context.js | 27 const Script = require('vm').Script; constant 30 const script = new Script('\'passed\';'); 38 const script = new Script('throw new Error(\'test\');'); 45 const script = new Script('foo.bar = 5;'); 53 const script = new Script('hello = 2'); 67 const script = new Script(global.code); 82 const script = new Script('f()'); 92 const script = new Script('f.a = 2'); 103 const script = new Script('');
|
D | test-vm-new-script-this-context.js | 25 const Script = require('vm').Script; constant 28 let script = new Script('\'passed\';'); 33 script = new Script('throw new Error(\'test\');'); 39 script = new Script('hello = 2'); 50 script = new Script(global.code); 58 script = new Script('f()');
|
D | test-vm-createcacheddata.js | 5 const { Script } = require('vm'); 10 const script = new Script(source); 14 assert(!new Script(source, { cachedData }).cachedDataRejected); 21 assert(!new Script(source, { cachedData }).cachedDataRejected);
|
D | test-vm-module-dynamic-import.js | 8 const { Script, SourceTextModule } = require('vm'); 34 const s = new Script('import("foo")', { 61 const s = new Script('import("foo", { assert: { key: "value" } })', { 88 const s = new Script('import("bar")', { 105 () => new Script(
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | script_test.cc | 28 Script s; in TEST_F() 73 Script s; in TEST_F() 82 Script s; in TEST_F() 91 Script s; in TEST_F() 109 Script s; in TEST_F() 117 Script s; in TEST_F() 122 Script s; in TEST_F() 133 Script s; in TEST_F() 155 Script s; in TEST_F() 164 Script s; in TEST_F() [all …]
|
D | script.cc | 22 Script::Script() : virtual_files_(MakeUnique<VirtualFileStore>()) {} in Script() function in amber::Script 24 Script::~Script() = default; 26 std::vector<ShaderInfo> Script::GetShaderInfo() const { in GetShaderInfo() 58 void Script::AddRequiredExtension(const std::string& ext) { in AddRequiredExtension() 66 bool Script::IsKnownFeature(const std::string& name) const { in IsKnownFeature() 134 type::Type* Script::ParseType(const std::string& str) { in ParseType()
|
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
D | command_parser_test.cc | 35 Script script; in TEST_F() 73 Script script; in TEST_F() 95 Script script; in TEST_F() 117 Script script; in TEST_F() 139 Script script; in TEST_F() 161 Script script; in TEST_F() 172 Script script; in TEST_F() 183 Script script; in TEST_F() 204 Script script; in TEST_F() 225 Script script; in TEST_F() [all …]
|
/third_party/node/deps/v8/src/debug/ |
D | debug-interface.cc | 380 Isolate* Script::GetIsolate() const { in GetIsolate() 384 ScriptOriginOptions Script::OriginOptions() const { in OriginOptions() 388 bool Script::WasCompiled() const { in WasCompiled() 390 i::Script::COMPILATION_STATE_COMPILED; in WasCompiled() 393 bool Script::IsEmbedded() const { in IsEmbedded() 394 i::Handle<i::Script> script = Utils::OpenHandle(this); in IsEmbedded() 399 int Script::Id() const { return Utils::OpenHandle(this)->id(); } in Id() 401 int Script::StartLine() const { return Utils::OpenHandle(this)->line_offset(); } in StartLine() 403 int Script::StartColumn() const { in StartColumn() 407 int Script::EndLine() const { in EndLine() [all …]
|
D | debug-interface.h | 41 class Script; variable 151 class Script; variable 163 v8::Local<v8::debug::Script> script; 195 class V8_EXPORT_PRIVATE Script { 232 class WasmScript : public Script { 234 static WasmScript* Cast(Script* script); 253 PersistentValueVector<Script>& scripts); 263 virtual void ScriptCompiled(v8::Local<Script> script, bool is_live_edited, in ScriptCompiled() 278 virtual bool IsFunctionBlackboxed(v8::Local<debug::Script> script, in IsFunctionBlackboxed() 283 virtual bool ShouldBeSkipped(v8::Local<v8::debug::Script> script, int line, in ShouldBeSkipped() [all …]
|
/third_party/node/deps/v8/src/parsing/ |
D | parse-info.cc | 48 Script script = Script::cast(shared.script()); in ForFunctionCompile() 79 Isolate* isolate, Script script) { in ForScriptCompile() 126 return UnoptimizedCompileFlags(isolate, Script::kTemporaryScriptId); in ForTest() 161 void UnoptimizedCompileFlags::SetFlagsForFunctionFromScript(Script script) { in SetFlagsForFunctionFromScript() 164 set_is_eval(script.compilation_type() == Script::COMPILATION_TYPE_EVAL); in SetFlagsForFunctionFromScript() 249 Handle<Script> ParseInfo::CreateScript( in CreateScript() 255 flags().script_id() == Script::kTemporaryScriptId); in CreateScript() 256 Handle<Script> script = in CreateScript() 260 script->set_type(Script::TYPE_EXTENSION); in CreateScript() 263 script->set_type(Script::TYPE_INSPECTOR); in CreateScript() [all …]
|
D | parsing.cc | 26 void MaybeReportStatistics(ParseInfo* info, Handle<Script> script, in MaybeReportStatistics() 40 bool ParseProgram(ParseInfo* info, Handle<Script> script, in ParseProgram() 64 bool ParseProgram(ParseInfo* info, Handle<Script> script, Isolate* isolate, in ParseProgram() 78 Handle<Script> script(Script::cast(shared_info->script()), isolate); in ParseFunction() 105 handle(Script::cast(shared_info->script()), isolate), in ParseAny()
|
/third_party/node/test/cctest/ |
D | test_linked_binding.cc | 36 v8::Local<v8::Script> script = in TEST_F() 37 v8::Script::Compile( in TEST_F() 77 v8::Local<v8::Script> script = in TEST_F() 78 v8::Script::Compile( in TEST_F() 121 v8::Local<v8::Script> script = in TEST_F() 122 v8::Script::Compile( in TEST_F() 148 v8::Local<v8::Script> script = in TEST_F() 149 v8::Script::Compile( in TEST_F() 199 v8::Local<v8::Script> script = in TEST_F() 200 v8::Script::Compile( in TEST_F() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource6.types | 13 public script: Script = null; 14 >script : Script 88 private scriptFragment: Script; 89 >scriptFragment : Script 94 public script: Script, 95 >script : Script 168 public getScriptFragment(): Script { 169 >getScriptFragment : () => Script 173 >this.scriptFragment : Script 175 >scriptFragment : Script [all …]
|
D | parserRealSource6.js | 9 public script: Script = null; 36 private scriptFragment: Script; 39 public script: Script, 69 public getScriptFragment(): Script { 74 … TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCapture*/).Script; 121 if (ast.nodeType == NodeType.Script && context.pos > limChar) 127 case NodeType.Script: 128 var script = <Script>ast; 213 …export function findEnclosingScopeAt(logger: ILogger, script: Script, text: ISourceText, pos: numb… 291 …TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null /*errorCapture*/).Script; [all …]
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource6.ts | 8 public script: Script = null; 35 private scriptFragment: Script; 38 public script: Script, 68 public getScriptFragment(): Script { 73 … TypeScript.quickParse(this.logger, ast, this.text, minChar, limChar, null/*errorCapture*/).Script; 120 if (ast.nodeType == NodeType.Script && context.pos > limChar) 126 case NodeType.Script: 127 var script = <Script>ast; 212 …export function findEnclosingScopeAt(logger: ILogger, script: Script, text: ISourceText, pos: numb…
|
/third_party/node/deps/v8/src/codegen/ |
D | source-position.cc | 101 Script::PositionInfo pos; in Print() 104 Script script = Script::cast(function.script()); in Print() 106 script.GetPositionInfo(ScriptOffset(), &pos, Script::WITH_OFFSET); in Print() 156 ? Handle<Script>::null() in SourcePositionInfo() 157 : handle(Script::cast(f->script()), f->GetIsolate())) { in SourcePositionInfo() 159 Script::PositionInfo info; in SourcePositionInfo() 160 if (Script::GetPositionInfo(script, pos.ScriptOffset(), &info, in SourcePositionInfo() 161 Script::WITH_OFFSET)) { in SourcePositionInfo()
|
/third_party/node/deps/v8/src/runtime/ |
D | runtime-module.cc | 16 Handle<Script> GetEvalOrigin(Isolate* isolate, Script origin_script) { in GetEvalOrigin() 21 origin_script = Script::cast(maybe_script); in GetEvalOrigin() 39 Handle<Script> referrer_script = in RUNTIME_FUNCTION() 40 GetEvalOrigin(isolate, Script::cast(function->shared().script())); in RUNTIME_FUNCTION()
|
/third_party/node/deps/npm/node_modules/process/ |
D | test.js | 126 var script = new vm.Script(str); 138 var script = new vm.Script(str); 150 var script = new vm.Script(str); 163 var script = new vm.Script(str); 176 var script = new vm.Script(str); 189 var script = new vm.Script(str);
|
/third_party/node/deps/v8/src/snapshot/ |
D | code-serializer.cc | 62 Handle<Script> script(Script::cast(info->script()), isolate); in Serialize() 159 Script script_obj = Script::cast(*obj); in SerializeObjectImpl() 160 DCHECK_NE(script_obj.compilation_type(), Script::COMPILATION_TYPE_EVAL); in SerializeObjectImpl() 179 Script script_obj = Script::cast(*obj); in SerializeObjectImpl() 283 Handle<Script> script(Script::cast(sfi->script()), isolate); in CreateInterpreterDataForDeserializedCode() 370 Handle<Script> script(Script::cast(result->script()), isolate); in FinalizeDeserialization() 383 Script::InitLineEnds(isolate, script); in FinalizeDeserialization() 412 Handle<Script> script(Script::cast(result->script()), isolate); in FinalizeDeserialization() 413 Script::InitLineEnds(isolate, script); in FinalizeDeserialization() 553 DCHECK_EQ(Script::cast(result->script()).source(), in FinishOffThreadDeserialize() [all …]
|