Home
last modified time | relevance | path

Searched refs:targetMap (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/
H A Dsource_map.cpp302 if (row < 1 || col < 1 || targetMap.afterPos_.empty() || targetMap.sources_[0].empty()) { in Find()
309 int32_t right = static_cast<int32_t>(targetMap.afterPos_.size()) - 1; in Find()
311 std::string sources = targetMap.sources_[0].substr(REAL_SOURCE_INDEX, in Find()
313 if (row > targetMap.afterPos_[targetMap.afterPos_.size() - 1].afterRow) { in Find()
318 … if ((targetMap.afterPos_[mid].afterRow == row && targetMap.afterPos_[mid].afterColumn > col) || in Find()
319 targetMap.afterPos_[mid].afterRow > row) { in Find()
332 .row = targetMap.afterPos_[res].beforeRow + 1, in Find()
333 .col = targetMap.afterPos_[res].beforeColumn + 1, in Find()
467 const SourceMapData& targetMap) in GetSourceInfo() argument
538 mapInfo = Find(line - offSet + OFFSET_PREVIEW, column, targetMap); in GetLineAndColumnNumbers()
[all …]
/ohos5.0/foundation/ability/ability_runtime/js_environment/test/unittest/source_map_test/
H A Dsource_map_test.cpp156 SourceMapData targetMap; variable
157 auto info = modSourceMap->Find(row, col, targetMap);
162 info = modSourceMap->Find(row, col, targetMap);
179 SourceMapData targetMap; variable
180 targetMap.sources_.emplace_back("sources");
188 targetMap.afterPos_.emplace_back(mapInfo);
191 auto info = modSourceMap->Find(row, col, targetMap);
208 SourceMapData targetMap; variable
209 targetMap.sources_.emplace_back("sources");
217 targetMap.afterPos_.emplace_back(mapInfo);
[all …]
/ohos5.0/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/
H A Dsource_map.h83 … bool GetLineAndColumnNumbers(int& line, int& column, SourceMapData& targetMap, std::string& url);
92 MappingInfo Find(int32_t row, int32_t col, const SourceMapData& targetMap);
95 … GetSourceInfo(const std::string& line, const std::string& column, const SourceMapData& targetMap);
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_focus_parser.cpp111 std::map<std::string, ActionTarget> AudioFocusParser::targetMap = { member in OHOS::AudioStandard::AudioFocusParser
301 std::map<std::string, ActionTarget>::iterator it2 = targetMap.find(aTargetStr); in AddAllowedFocusEntry()
306 if ((it1 != audioFocusMap.end()) && (it2 != targetMap.end()) && (it3 != actionMap.end()) && in AddAllowedFocusEntry()
311 allowedFocusEntry.actionOn = targetMap[aTargetStr]; in AddAllowedFocusEntry()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/
H A Daudio_focus_parser.h43 static std::map<std::string, ActionTarget> targetMap; variable
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_album_fusion_utils.cpp255 static inline void AddToMap(std::multimap<int32_t, vector<int32_t>> &targetMap, int key, int value) in AddToMap() argument
257 auto it = targetMap.find(key); in AddToMap()
258 if (it == targetMap.end()) { in AddToMap()
260 targetMap.insert(std::make_pair(key, valueVector)); in AddToMap()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp493 void CheckData(const std::map<std::string, DataValue> &targetMap, const std::string &tableName, in CheckData() argument
502 for (const auto &[fieldName, dataValue] : targetMap) { in CheckData()
508 void CheckData(const std::map<std::string, DataValue> &targetMap) in CheckData() argument
510 CheckData(targetMap, g_tableName, g_fieldInfoList); in CheckData()