/foundation/arkui/ace_engine/test/unittest/bridge/common/sourcemap/ |
H A D | source_map_test.cpp | 172 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 D | source_map.cpp | 138 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 D | source_map.h | 48 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 D | ace_performance_check.cpp | 132 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 D | source_map.cpp | 338 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 D | source_map.h | 89 void ExtractKeyInfo(const std::string& sourceMap, std::vector<std::string>& sourceKeyInfo);
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | frontend.h | 125 // 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 D | declarative_frontend.h | 86 std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap) const override;
|
H A D | frontend_delegate_declarative.h | 346 std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap);
|
H A D | declarative_frontend.cpp | 773 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 D | frontend_delegate_declarative_ng.h | 299 void GetStageSourceMap(std::unordered_map<std::string, RefPtr<Framework::RevSourceMap>>& sourceMap);
|