Home
last modified time | relevance | path

Searched full:url (Results 1 – 25 of 135) sorted by relevance

123456

/arkcompiler/ets_runtime/ecmascript/extractortool/tests/
Dsource_map_test.cpp257 …bool TranslateUrlPositionBySourceMap(std::string &url, int &line, int &column, std::string& packag… in TranslateUrlPositionBySourceMap() argument
259 return sourceMap.TranslateUrlPositionBySourceMap(url, line, column, packageName); in TranslateUrlPositionBySourceMap()
320 std::string url = "test.js"; in HWTEST_F_L0() local
322 // if url contains ".js" returns true in HWTEST_F_L0()
323 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, column, packageName)); in HWTEST_F_L0()
325 // if it can't find sources which match url after init, returns false and throw Translate failed in HWTEST_F_L0()
326 // e.g. 1. sourceMapData is valid, but url is not valid; in HWTEST_F_L0()
328 url = "entry/src/main/ets/pages/Index1.ts"; in HWTEST_F_L0()
329 EXPECT_FALSE(sourceMap.TranslateUrlPositionBySourceMap(url, line, column, packageName)); in HWTEST_F_L0()
333 url = "entry/src/main/ets/pages/Index.ts"; in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
Dsource_map.cpp118 std::string url; in SplitSourceMap() local
124 url = tmp.substr(REAL_URL_INDEX, tmp.size() - REAL_SOURCE_SIZE); in SplitSourceMap()
131 sources_.emplace(url, tmp); in SplitSourceMap()
136 mappings_.emplace(url, tmp); in SplitSourceMap()
141 entryPackageInfo_.emplace(url, tmp); in SplitSourceMap()
146 packageInfo_.emplace(url, tmp); in SplitSourceMap()
344 void SourceMap::GetPackageName(std::string& url, std::string& packageName) in GetPackageName() argument
346 auto iterData = packageName_.find(url); in GetPackageName()
351 std::string entryPackageInfo = entryPackageInfo_[url]; in GetPackageName()
352 std::string packageInfo = packageInfo_[url]; in GetPackageName()
[all …]
/arkcompiler/toolchain/test/autotest/aw/cdp/
Ddebugger.py43 url: str
66 url: str
72 json = {'url': self.url,
82 url: str = "" variable in RemoveBreakpointsUrl
102 'params': {'url': params.url}}
177 'params': {'url': params.url, 'lineNumber': params.line_number}}
/arkcompiler/ets_runtime/ecmascript/debugger/
Dhot_reload_manager.cpp55 std::vector<DebugInfoExtractor *> HotReloadManager::GetPatchExtractors(const std::string &url) const in GetPatchExtractors()
58 auto iter = patchExtractors_.find(url); in GetPatchExtractors()
77 const std::string &url = patchExtractor->GetSourceFile(mainMethodIndex); in ExtractPatch() local
78 if (url.empty()) { in ExtractPatch()
82 patchExtractors_[url].emplace_back(patchExtractor); in ExtractPatch()
Djs_debugger_interface.h147 * \brief Remove breakpoints specified by url
148 * @param url file url
151 virtual bool RemoveBreakpointsByUrl(const std::string &url) = 0;
/arkcompiler/toolchain/tooling/base/
Dpt_script.h25 URL, enumerator
32 …PtScript(ScriptId scriptId, const std::string &fileName, const std::string &url, const std::string…
60 void SetUrl(const std::string &url) in SetUrl() argument
62 url_ = url; in SetUrl()
124 std::string sourceMapUrl_ {}; // source map url
Dpt_script.cpp19 PtScript::PtScript(ScriptId scriptId, const std::string &fileName, const std::string &url, const st… in PtScript() argument
22 url_(url), in PtScript()
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/
Dtest-ts-decorators-17.ts17 function POST(url:string):MethodDecorator {
18 print("exec POST, url=", url);
Dtest-ts-decorators-17-expected.txt1 exec POST, url= /xxx.com
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsamples_record.cpp185 std::string url = codeEntry.url; in StringifyNodes() local
186 replace(url.begin(), url.end(), '\\', '/'); in StringifyNodes()
191 + std::to_string(codeEntry.scriptId) + "\",\"url\":\"" in StringifyNodes()
192 + url + "\",\"lineNumber\":" in StringifyNodes()
520 frameInfo.url = frameInfoTemps[i].url; in FrameInfoTempToMap()
521 auto iter = scriptIdMap_.find(frameInfo.url); in FrameInfoTempToMap()
523 scriptIdMap_.emplace(frameInfo.url, scriptIdMap_.size() + 1); in FrameInfoTempToMap()
549 frameInfo.url = napiFrameInfoTemps_[i].url; in NapiFrameInfoTempToMap()
550 auto iter = scriptIdMap_.find(frameInfo.url); in NapiFrameInfoTempToMap()
552 scriptIdMap_.emplace(frameInfo.url, scriptIdMap_.size() + 1); in NapiFrameInfoTempToMap()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/tests/
Dsamples_record_test.cpp259 EXPECT_EQ(entry1.url, ""); in HWTEST_F_L0()
262 entry2.url = "some_url.js"; in HWTEST_F_L0()
267 EXPECT_EQ(entry2.url, "some_url.js"); in HWTEST_F_L0()
270 entry3.url = "path/to/_.js"; in HWTEST_F_L0()
275 EXPECT_EQ(entry3.url, "path/to/_.js"); in HWTEST_F_L0()
278 entry4.url = "entry/some_key.ets"; in HWTEST_F_L0()
283 …EXPECT_EQ(entry4.url, "entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/some_… in HWTEST_F_L0()
286 entry5.url = "entry/some_key.other"; in HWTEST_F_L0()
291 EXPECT_EQ(entry5.url, "entry/some_key.other"); in HWTEST_F_L0()
294 entry6.url = "other/path.js"; in HWTEST_F_L0()
[all …]
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp93 const std::string &url = extractor->GetSourceFile(mainMethodIndex); in NotifyScriptParsed() local
96 if (MatchUrlAndFileName(url, fileName)) { in NotifyScriptParsed()
98 << "url: " << url << " fileName: " << fileName; in NotifyScriptParsed()
102 SaveParsedScriptsAndUrl(fileName, url, recordName, source); in NotifyScriptParsed()
106 …ed_ptr<BreakpointReturnInfo>> DebuggerImpl::SetBreakpointsWhenParsingScript(const std::string &url) in SetBreakpointsWhenParsingScript() argument
109 for (const auto &breakpoint : breakpointPendingMap_[url]) { in SetBreakpointsWhenParsingScript()
122 bool DebuggerImpl::NeedToSetBreakpointsWhenParsingScript(const std::string &url) in NeedToSetBreakpointsWhenParsingScript() argument
124 if (breakpointPendingMap_.find(url) != breakpointPendingMap_.end()) { in NeedToSetBreakpointsWhenParsingScript()
125 return !breakpointPendingMap_[url].empty(); in NeedToSetBreakpointsWhenParsingScript()
149 void DebuggerImpl::SaveParsedScriptsAndUrl(const std::string &fileName, const std::string &url, in SaveParsedScriptsAndUrl() argument
[all …]
Ddebugger_impl.h46 bool MatchUrlAndFileName(const std::string &url, const std::string &fileName);
61 void AddBreakpointDetail(const std::string &url, int32_t lineNumber,
112 case ScriptMatchType::URL: { in MatchScripts()
135 std::vector<PtScript *> MatchAllScripts(const std::string &url) const in MatchAllScripts() argument
139 if (url == script.second->GetUrl()) { in MatchAllScripts()
232 std::vector<DebugInfoExtractor *> GetExtractors(const std::string &url);
262 bool NeedToSetBreakpointsWhenParsingScript(const std::string &url);
263 …tor<std::shared_ptr<BreakpointReturnInfo>> SetBreakpointsWhenParsingScript(const std::string &url);
266 void SaveParsedScriptsAndUrl(const std::string &fileName, const std::string &url,
272 const std::unordered_set<std::string> &GetRecordName(const std::string &url) in GetRecordName() argument
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/public/
Dindex.html16 It will be replaced with the URL of the `public` folder during the build.
20 work correctly both with client-side routing and a non-root public URL.
21 Learn how to configure a non-root public URL by running `npm run build`.
/arkcompiler/toolchain/tooling/client/manager/
Dbreakpoint_manager.cpp51 breaklocation.url = breaksplitstring[3]; // 3: url in Createbreaklocation()
63 std::cout << (i + 1) << ':' << " url:" << breaklist_[i].url; in Show()
/arkcompiler/toolchain/build/prebuilts_download/
Dprebuilts_download.sh38 --pypi-url) # python package index url
42 --pypi-url=*)
43 PYPI_URL="${1#--pypi-url=}"
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.h96 const std::string &url, const std::unordered_set<std::string> &debugRecordName) in MatchWithLocation() argument
133 // the url for testcases is empty in MatchWithLocation()
134 if (!url.empty() && sourceFile != url) { in MatchWithLocation()
149 return cb(JSPtLocation(jsPandaFile_, methodId, pair.offset, url)); in MatchWithLocation()
160 return cb(JSPtLocation(jsPandaFile_, minColumnMethodId, minColumnOffset, url)); in MatchWithLocation()
163 return cb(JSPtLocation(jsPandaFile_, currentMethodId, currentOffset, url)); in MatchWithLocation()
/arkcompiler/ets_frontend/test/scripts/utils/commit_message/
Dget_commit_message.py46 url = url_prefix + name + url_suffix
48 return url
51 def get_html(url): argument
57 response = requests.get(url, headers=headers)
87 url = get_url(repo_name, str(page))
88 html = get_html(url)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
Ddebug_connection.py110 async def connect_cdp(nursery: trio.Nursery, url, max_retries: int) -> DebugConnection: argument
117 url,
145 async def get_by_url(self, url: str) -> Optional[debugger.ScriptParsed]:
148 if url == s.url:
Ddebug_client.py254 async def set_by_url(self, line_number: int, url: Optional[str]) -> None:
256 br, locs = await self.client.set_breakpoint_by_url(line_number=line_number, url=url)
292 def __init__(self, code_compiler: StringCodeCompiler, url: Any) -> None:
294 self.url = url
300 cdp = await connect_cdp(nursery, self.url, 10)
/arkcompiler/ets_frontend/test/scripts/utils/flash_image/
Dburn_image.py39 url = data['url_tools']
40 print(f"Getting RKDevTool from {url}")
41 r = requests.get(url, stream=True)
/arkcompiler/ets_runtime/ecmascript/compiler/
Dir_module.cpp29 std::string url = debugExtractor->GetSourceFile(methodId); in GetFuncName() local
31 …name += std::string("@") + url + std::string("@") + std::to_string(offset) + std::string("@") + fi… in GetFuncName()
/arkcompiler/jsvm/src/inspector/
Dinspector_socket_server.cpp44 std::ostringstream url; in FormatHostPort() local
46 url << '[' << host << ']'; in FormatHostPort()
48 url << host; in FormatHostPort()
50 url << ':' << port; in FormatHostPort()
51 return url.str(); in FormatHostPort()
63 std::ostringstream url; in FormatAddress() local
65 url << "ws://"; in FormatAddress()
67 url << host << '/' << targetId; in FormatAddress()
68 return url.str(); in FormatAddress()
400 // This attribute value is a "best effort" URL that is passed as a JSON in SendListResponse()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/overwrites/
Dcdp_debugger_callframe_from_json.py36 url=str(json["url"]),
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
Dtest_breaks_props.py114 url=script_file.source_file,
126 url=str(script_file.source_file),
173 url=script_file.source_file,
184 url=str(script_file.source_file),

123456