Home
last modified time | relevance | path

Searched refs:sourceMap (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/bridge/common/sourcemap/
H A Dsource_map_test.cpp172 std::string sourceMap; in HWTEST_F() local
173 revSourceMap.Init(sourceMap); in HWTEST_F()
179 sourceMap = "\"test\"\"sources\"\"./pag\\es\"" in HWTEST_F()
186 revSourceMap.Init(sourceMap); in HWTEST_F()
201 std::string sourceMap; in HWTEST_F() local
202 revSourceMap.Init(sourceMap); in HWTEST_F()
208 sourceMap = "\"test\"\"sources\"\"./pag\\es\"" in HWTEST_F()
215 revSourceMap.Init(sourceMap); in HWTEST_F()
230 std::string sourceMap; in HWTEST_F() local
232 revSourceMap.MergeInit(sourceMap, curMapDat in HWTEST_F()
260 std::string sourceMap; HWTEST_F() local
288 std::string sourceMap; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dsource_map.cpp138 void RevSourceMap::ExtractKeyInfo(const std::string& sourceMap, std::vector<std::string>& sourceKeyInfo) in ExtractKeyInfo() argument
142 for (uint32_t i = 0; i < sourceMap.size(); i++) { in ExtractKeyInfo()
144 if (sourceMap[i] == DOUBLE_SLASH) { in ExtractKeyInfo()
146 tempStr += sourceMap[i]; in ExtractKeyInfo()
150 if (sourceMap[i] == '"') { in ExtractKeyInfo()
158 if (sourceMap[i] != '"') { in ExtractKeyInfo()
159 tempStr += sourceMap[i]; in ExtractKeyInfo()
186 void RevSourceMap::Init(const std::string& sourceMap) in Init() argument
191 ExtractKeyInfo(sourceMap, sourceKeyInfo); in Init()
200 LOGW("Decode sourcemap fail, mapping: %{public}s is empty", sourceMap in Init()
248 MergeInit(const std::string& sourceMap, RefPtr<RevSourceMap>& curMapData) MergeInit() argument
413 StageModeSourceMapSplit(const std::string& sourceMap, std::unordered_map<std::string, RefPtr<RevSourceMap>>& sourceMaps) StageModeSourceMapSplit() argument
[all...]
H A Dsource_map.h48 static void ExtractKeyInfo(const std::string& sourceMap, std::vector<std::string>& sourceKeyInfo);
49 void Init(const std::string& sourceMap);
50 static void MergeInit(const std::string& sourceMap, RefPtr<RevSourceMap>& RevSourceMap);
52 const std::string& sourceMap, std::unordered_map<std::string, RefPtr<RevSourceMap>>& sourceMaps);
/foundation/arkui/ace_engine/frameworks/base/log/
H A Dace_performance_check.cpp132 auto sourceMap = GetCurrentSourceMap(); in GetCodeInfo() local
133 CHECK_NULL_RETURN(sourceMap, {}); in GetCodeInfo()
135 auto codeInfo = sourceMap->Find(row, col, false); in GetCodeInfo()
340 auto sourceMap = AceType::MakeRefPtr<Framework::RevSourceMap>(); in GetCurrentSourceMap() local
367 sourceMap = AceType::MakeRefPtr<Framework::RevSourceMap>(); in GetCurrentSourceMap()
368 sourceMap->Init(jsonPage); in GetCurrentSourceMap()
369 return sourceMap; in GetCurrentSourceMap()
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/
H A Dsource_map.cpp338 void SourceMap::ExtractKeyInfo(const std::string& sourceMap, std::vector<std::string>& sourceKeyInfo) in ExtractKeyInfo() argument
342 for (uint32_t i = 0; i < sourceMap.size(); i++) { in ExtractKeyInfo()
344 if (sourceMap[i] == DOUBLE_SLASH) { in ExtractKeyInfo()
346 tempStr += sourceMap[i]; in ExtractKeyInfo()
350 if (sourceMap[i] == '"') { in ExtractKeyInfo()
358 if (sourceMap[i] != '"') { in ExtractKeyInfo()
359 tempStr += sourceMap[i]; in ExtractKeyInfo()
/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/
H A Dsource_map.h89 void ExtractKeyInfo(const std::string& sourceMap, std::vector<std::string>& sourceKeyInfo);
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dfrontend.h125 // Get the stage mode sourceMap.
126 virtual void GetStageSourceMap(std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap) const {} in GetStageSourceMap()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Ddeclarative_frontend.h86 std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap) const override;
H A Dfrontend_delegate_declarative.h346 std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap);
H A Ddeclarative_frontend.cpp773 std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap) const in Initialize()
776 delegate_->GetStageSourceMap(sourceMap); in Initialize()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.h299 void GetStageSourceMap(std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap);

Completed in 10 milliseconds