/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_map.c | 50 static int32_t MapHashIdx(const Map *map, uint32_t hash) in MapHashIdx() argument 52 if (map->bucketSize < 1) { in MapHashIdx() 55 return (int32_t)(hash & (map->bucketSize - 1)); in MapHashIdx() 58 static void MapAddNode(Map *map, MapNode *node) in MapAddNode() argument 60 int32_t idx = MapHashIdx(map, node->hash); in MapAddNode() 62 LNN_LOGE(LNN_STATE, "invalid param, get map hash idx failed"); in MapAddNode() 65 node->next = map->nodes[idx]; in MapAddNode() 66 map->nodes[idx] = node; in MapAddNode() 69 static int32_t MapResize(Map *map, uint32_t size) in MapResize() argument 81 tmp = map in MapResize() 141 LnnMapSet(Map *map, const char *key, const void *value, uint32_t valueSize) LnnMapSet() argument 207 LnnMapGet(const Map *map, const char *key) LnnMapGet() argument 239 LnnMapErase(Map *map, const char *key) LnnMapErase() argument 278 MapGetSize(Map *map) MapGetSize() argument 288 LnnMapInit(Map *map) LnnMapInit() argument 304 LnnMapDelete(Map *map) LnnMapDelete() argument 336 LnnMapInitIterator(Map *map) LnnMapInitIterator() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | power_spec.h | 19 #include <map> 240 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_AG; 241 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_HF; 242 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_A2DP_SRC; 243 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_A2DP_SINK; 244 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_AVRCP_CT; 245 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_MAP_MSE; 246 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_PBAP_PCE; 247 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_PBAP_PSE; 248 static const std::map<RequestStatu [all...] |
/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_ability_lifecycle_callback.h | 19 #include <map> 62 std::map<int32_t, std::function<void(int64_t)>> onAbilityCreatecallbacks_; 63 std::map<int32_t, std::function<void(int64_t, WindowStagePtr)>> onWindowStageCreatecallbacks_; 64 std::map<int32_t, std::function<void(int64_t, WindowStagePtr)>> onWindowStageActivecallbacks_; 65 std::map<int32_t, std::function<void(int64_t, WindowStagePtr)>> onWindowStageInactivecallbacks_; 66 std::map<int32_t, std::function<void(int64_t, WindowStagePtr)>> onWindowStageDestroycallbacks_; 67 std::map<int32_t, std::function<void(int64_t)>> onAbilityDestroycallbacks_; 68 std::map<int32_t, std::function<void(int64_t)>> onAbilityForegroundcallbacks_; 69 std::map<int32_t, std::function<void(int64_t)>> onAbilityBackgroundcallbacks_; 70 std::map<int32_ [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/common/ |
H A D | napi_audio_enum.h | 18 #include <map> 138 static napi_value CreateEnumObject(const napi_env &env, const std::map<std::string, int32_t> &map, 140 static napi_value CreateEnumInt64Object(const napi_env &env, const std::map<std::string, uint64_t> &map, 195 static const std::map<std::string, int32_t> audioChannelMap; 196 static const std::map<std::string, int32_t> samplingRateMap; 197 static const std::map<std::string, int32_t> encodingTypeMap; 198 static const std::map<std::string, int32_t> contentTypeMap; 199 static const std::map<st [all...] |
/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/ |
H A D | stage_pkg_context_info.h | 20 #include <map> 32 void SetPkgContextInfoAndAliasMap(const std::map<std::string, std::string>& map); 35 void SetPkgNameList(const std::map<std::string, std::string>& map); 36 const std::map<std::string, std::string>& GetPkgNameMap() const; 37 const std::map<std::string, std::string>& GetPkgAliasMap() const; 38 const std::map<std::string, std::vector<std::vector<std::string>>>& GetPkgContextInfoMap(); 40 std::map<std::string, std::string> pkgNameMap_; 41 std::map<st [all...] |
H A D | stage_pkg_context_info.cpp | 24 void StagePkgContextInfo::SetPkgNameList(const std::map<std::string, std::string>& map) in SetPkgNameList() argument 26 pkgNameMap_ = map; in SetPkgNameList() 29 void StagePkgContextInfo::SetPkgContextInfoAndAliasMap(const std::map<std::string, std::string>& map) in SetPkgContextInfoAndAliasMap() argument 31 if (map.empty()) { in SetPkgContextInfoAndAliasMap() 32 LOGW("pkgcontextinfo map is empty"); in SetPkgContextInfoAndAliasMap() 35 for (auto it = map.begin(); it != map.end(); it++) { in SetPkgContextInfoAndAliasMap() 77 const std::map<st in AliasMap() [all...] |
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/sa/ |
H A D | intell_voice_engine_arbitration.h | 19 #include <map> 42 std::map<IntellVoiceEngineType, sptr<EngineBase>> &engines); 44 const std::map<IntellVoiceEngineType, sptr<EngineBase>> &engines); 47 bool JudgeRejection(IntellVoiceEngineType type, const std::map<IntellVoiceEngineType, sptr<EngineBase>> &engines); 49 const std::map<IntellVoiceEngineType, sptr<EngineBase>> &engines); 50 void HandleReplace(IntellVoiceEngineType type, std::map<IntellVoiceEngineType, sptr<EngineBase>> &engines); 53 std::map<IntellVoiceEngineType, std::map<IntellVoiceEngineType, EngineRelationType>> engineRelationTbl_;
|
/foundation/communication/dsoftbus/core/bus_center/utils/include/ |
H A D | lnn_map.h | 27 * LNN map node struct 38 * LNN map struct define. 47 * LNN map node struct 53 Map *map; member 56 MapIterator *LnnMapInitIterator(Map *map); 62 * Initialize map 64 * @param : map Map see details in type Map 66 void LnnMapInit(Map *map); 69 * Delete map, free the map memor [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | process_recorder.h | 37 const std::map<int, std::map<std::string, bool>> &record) const; 39 std::map<int, std::map<std::string, bool>> &record) const; 42 std::map<int, std::map<std::string, bool>> downloadRecord_; // record table download finish 43 std::map<int, std::map<std::string, bool>> uploadRecord_; // record table upload finish
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/ |
H A D | audio_focus_parser.h | 18 #include <map> 38 int32_t LoadConfig(std::map<std::pair<AudioFocusType, AudioFocusType>, AudioFocusEntry> &focusMap); 41 static std::map<std::string, AudioFocusType> audioFocusMap; 42 static std::map<std::string, InterruptHint> actionMap; 43 static std::map<std::string, ActionTarget> targetMap; 44 static std::map<std::string, InterruptForceType> forceMap; 46 void LoadDefaultConfig(std::map<std::pair<AudioFocusType, AudioFocusType>, AudioFocusEntry> &focusMap); 48 std::map<std::pair<AudioFocusType, AudioFocusType>, AudioFocusEntry> &focusMap); 49 void ParseFocusMap(xmlNode *node, const std::string &curStream, std::map<std::pair<AudioFocusType, AudioFocusType>, 51 void ParseStreams(xmlNode *node, std::map<st [all...] |
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_error_utils.cpp | 16 #include <map> 28 static const std::map<int32_t, int32_t> getHandlesError = { in SolveGetHandlesError() 38 static const std::map<int32_t, int32_t> getObjectInfoError = { in SolveGetObjectInfoError() 48 static const std::map<int32_t, int32_t> getFdInfoError = { in SolveGetFdError() 58 static const std::map<int32_t, int32_t> sendObjectInfoError = { in SolveSendObjectInfoError() 63 map<int32_t, int32_t>::const_iterator iterator = sendObjectInfoError.find(mediaError); in SolveSendObjectInfoError() 73 static const std::map<int32_t, int32_t> moveObjectError = { in SolveMoveObjectError() 84 map<int32_t, int32_t>::const_iterator iterator = moveObjectError.find(mediaError); in SolveMoveObjectError() 94 static const std::map<int32_t, int32_t> copyObjectError = { in SolveCopyObjectError() 105 map<int32_ in SolveCopyObjectError() [all...] |
/foundation/distributeddatamgr/pasteboard/services/dfx/src/ |
H A D | hiview_adapter.h | 19 #include <map> 68 static std::map<int, int> InitDataMap(); 69 static std::map<int, int> InitTimeMap(); 83 static void ReportBehaviour(std::map<std::string, int> &behaviour, const char *statePasteboard); 85 const std::vector<std::map<int, int>> &timeConsumingStat, const std::string &pasteboardState); 88 static std::vector<std::map<int, int>> copyTimeConsumingStat_; 89 static std::vector<std::map<int, int>> pasteTimeConsumingStat_; 90 static std::vector<std::map<int, int>> remotePasteTimeConsumingStat_; 93 static std::map<std::string, int> copyPasteboardBehaviour_; 94 static std::map<st [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_relational_storage_engine.h | 59 const std::map<std::string, std::vector<Field>> &updateTableNames, 60 const std::map<std::string, std::string> &alterTableNames); 62 const std::map<std::string, std::string> &sharedTableOriginNames); 92 static std::map<std::string, std::map<std::string, bool>> GetReachableWithShared( 93 const std::map<std::string, std::map<std::string, bool>> &reachableReference, 94 const std::map<std::string, std::string> &tableToShared); 96 static std::map<std::string, int> GetTableWeightWithShared(const std::map<st [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_program_gles.cpp | 56 uint8_t map[Gles::ResourceLimits::MAX_BINDS] { 0 }; // mapping from set/binding -> "unit/binding" 61 void ProcessPushConstants(GLuint program, const ShaderModulePlatformDataGLES& plat, GLenum flag, BindMaps& map) in ProcessPushConstants() argument 68 if (auto pos = std::find_if(map.pushConstants.begin(), map.pushConstants.end(), in ProcessPushConstants() 70 pos != map.pushConstants.end()) { in ProcessPushConstants() 78 map.pushConstants.push_back(info); in ProcessPushConstants() 79 map.pushConstants.back().location = inUse[1]; in ProcessPushConstants() 86 void ProcessStorageBlocks(GLuint program, const ShaderModulePlatformDataGLES& plat, GLenum flag, const BindMaps& map) in ProcessStorageBlocks() argument 99 const uint8_t fi = map.map[BIND_MAP_4_ in ProcessStorageBlocks() 107 ProcessUniformBlocks(GLuint program, const ShaderModulePlatformDataGLES& plat, GLenum flag, BindMaps& map) ProcessUniformBlocks() argument 151 ProcessImageTextures(GLuint program, const ShaderModulePlatformDataGLES& plat, GLenum flag, const BindMaps& map) ProcessImageTextures() argument 174 ProcessCombinedSamplers(GLuint program, const ShaderModulePlatformDataGLES& plat, GLenum flag, BindMaps& map) ProcessCombinedSamplers() argument [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/ |
H A D | wifi_config_center.h | 21 #include <map> 39 using ChannelsTable = std::map<BandType, std::vector<int32_t>>; 112 std::map<int, WifiLinkedInfo> GetAllWifiLinkedInfo(); 142 std::map<std::string, WifiCategoryBlackListInfo> &blackListCache); 150 std::map<std::string, WifiCategoryConnectFailInfo> &connectFailCache); 326 std::string GetPairMacAddress(std::map<WifiMacAddrInfo, std::string>& macAddrInfoMap, 328 WifiMacAddrErrCode InsertMacAddrPairs(std::map<WifiMacAddrInfo, std::string>& macAddrInfoMap, 330 void DelMacAddrPairs(std::map<WifiMacAddrInfo, std::string>& macAddrInfoMap, const WifiMacAddrInfo &macAddrInfo); 344 std::map<int, std::atomic<int>> mWifiState; 345 std::map<in [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/ |
H A D | basic_rust_types.rs | 277 let map = match OhCloudExtHashMap::get_inner(value as *mut _, SafetyCheckId::HashMap) { 281 match map { 468 let map = match value_type { 481 OhCloudExtHashMap::new(map, SafetyCheckId::HashMap).into_ptr() 547 HashMapCffi::U32(map) => *len = map.len() as c_uint, 548 HashMapCffi::String(map) => *len = map.len() as c_uint, 549 HashMapCffi::Value(map) => *len = map [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | screen_scene_config.h | 33 static const std::map<std::string, bool>& GetEnableConfig(); 34 static const std::map<std::string, std::vector<int>>& GetIntNumbersConfig(); 35 static const std::map<std::string, std::string>& GetStringConfig(); 36 static const std::map<std::string, std::vector<std::string>>& GetStringListConfig(); 49 static std::map<FoldDisplayMode, ScrollableParam> GetAllScrollableParam(); 52 static std::map<int32_t, std::string> xmlNodeMap_; 53 static std::map<std::string, bool> enableConfig_; 54 static std::map<std::string, std::vector<int>> intNumbersConfig_; 55 static std::map<std::string, std::string> stringConfig_; 56 static std::map<uint64_ [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_internal_event_dispatcher.h | 23 #include <map> 35 using StaCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiDeviceCallBack>>; 36 using StaCallbackInfo = std::map<sptr<IRemoteObject>, WifiCallingInfo>; 37 using ScanCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiScanCallback>>; 38 using ScanCallbackInfo = std::map<sptr<IRemoteObject>, WifiCallingInfo>; 39 using HotspotCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiHotspotCallback>>; 40 using HotspotCallbackInfo = std::map<sptr<IRemoteObject>, std::unordered_set<int>>; 41 using P2pCallbackMapType = std::map<sptr<IRemoteObject>, sptr<IWifiP2pCallback>>; 42 using P2pCallbackInfo = std::map<sptr<IRemoteObject>, WifiCallingInfo>; 143 std::map<in [all...] |
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/ |
H A D | object_callback_impl.h | 26 ObjectSaveCallback(const std::function<void(const std::map<std::string, int32_t> &)> &callback); 27 void Completed(const std::map<std::string, int32_t> &results) override; 30 const std::function<void(const std::map<std::string, int32_t> &)> callback_; 45 const std::function<void(const std::map<std::string, std::vector<uint8_t>> &, bool)> &callback); 46 void Completed(const std::map<std::string, std::vector<uint8_t>> &results, bool allReady) override; 49 const std::function<void(const std::map<std::string, std::vector<uint8_t>> &, bool)> callback_; 55 const std::function<void(const std::map<std::string, std::vector<uint8_t>> &, bool)> &callback); 56 void Completed(const std::map<std::string, std::vector<uint8_t>> &results, bool allReady) override; 59 const std::function<void(const std::map<std::string, std::vector<uint8_t>> &, bool)> callback_;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/include/ |
H A D | send_task_scheduler.h | 21 #include <map> 49 using TaskListByTarget = std::map<std::string, std::list<SendTask>>; 92 std::map<Priority, uint32_t> extraCapacityInByteByPrio_; 93 std::map<std::string, TargetPolicy> policyMap_; 94 std::map<std::string, uint32_t> totalBytesByTarget_; 96 std::map<Priority, uint32_t> taskCountByPrio_; 97 std::map<Priority, uint32_t> taskDelayCountByPrio_; 98 std::map<Priority, std::list<std::string>> taskOrderByPrio_; 99 std::map<Priority, TaskListByTarget> taskGroupByPrio_;
|
/foundation/arkui/ace_engine/frameworks/core/components/clip/ |
H A D | render_clip.cpp | 67 FloatPropertyAnimatable::SetterMap map; in GetFloatPropertySetterMap() local 69 map[PropertyAnimatableType::PROPERTY_WIDTH] = [weak](float value) { in GetFloatPropertySetterMap() 77 map[PropertyAnimatableType::PROPERTY_HEIGHT] = [weak](float value) { in GetFloatPropertySetterMap() 85 map[PropertyAnimatableType::PROPERTY_OFFSET_X] = [weak](float value) { in GetFloatPropertySetterMap() 94 map[PropertyAnimatableType::PROPERTY_OFFSET_Y] = [weak](float value) { in GetFloatPropertySetterMap() 103 map[PropertyAnimatableType::PROPERTY_BORDER_RADIUS] = [weak](float value) { in GetFloatPropertySetterMap() 111 return map; in GetFloatPropertySetterMap() 116 FloatPropertyAnimatable::GetterMap map; in GetFloatPropertyGetterMap() local 118 map[PropertyAnimatableType::PROPERTY_WIDTH] = [weak]() -> float { in GetFloatPropertyGetterMap() 126 map[PropertyAnimatableTyp in GetFloatPropertyGetterMap() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/text_span/ |
H A D | rosen_render_text_span.h | 40 std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions, std::string& textValue); 43 std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions, std::string& textValue); 47 void UpdateTouchRegions(std::map<int32_t, std::map<GestureType, EventMarker>>& touchRegions);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_pixelmap.cpp | 76 constexpr uint32_t pixelBytesThreshold = 256u; // in case the pixelBytes field in the map has invalid value in GenerateMiniature() 107 static std::vector<uint8_t> GenerateImageData(const uint8_t* data, size_t size, PixelMap& map) in GenerateImageData() argument 109 return GenerateImageData(data, size, map.IsAstc(), map.GetPixelBytes()); in GenerateImageData() 245 std::unique_ptr<PixelMap> map; member 263 static bool Marshal(Parcel& parcel, PixelMap& map); 273 static void OnClientMarshalling(PixelMap& map, uint64_t id); 340 context.map = std::make_unique<PixelYuvExt>(); in InitUnmarshalling() 343 context.map = std::make_unique<PixelYuv>(); in InitUnmarshalling() 347 context.map in InitUnmarshalling() 531 OnClientMarshalling(Media::PixelMap& map, uint64_t id) OnClientMarshalling() argument 563 Marshal(Parcel& parcel, Media::PixelMap& map) Marshal() argument 603 MarshalPixelMap(Parcel& parcel, const std::shared_ptr<Media::PixelMap>& map) MarshalPixelMap() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_reflect_map.h | 19 #include <map> 27 const std::map<std::string, FlexDirection> FlexDirectionMap = { 34 const std::map<std::string, FlexAlign> FlexJustifyContentMap = { 43 const std::map<std::string, FlexAlign> FlexAlignItemsMap = { 51 const std::map<std::string, WrapDirection> WrapDirectionMap = { 56 const std::map<std::string, WrapAlignment> WrapJustifyContentMap = { 64 const std::map<std::string, WrapAlignment> WrapAlignItemsMap = { 71 const std::map<std::string, WrapAlignment> WrapAlignContentMap = { 80 const std::map<std::string, GridSizeType> GridSizeTypeMap = { 87 const std::map<st [all...] |
/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | touch_gesture_detector.h | 19 #include <map> 82 Point CalcClusterCenter(std::map<int32_t, Point> &points) const; 83 Point CalcGravityCenter(std::map<int32_t, Point> &map); 85 void CalcAndStoreDistance(std::map<int32_t, Point> &map); 86 int32_t CalcMultiFingerMovement(std::map<int32_t, Point> &map); 89 GestureMode JudgeOperationMode(std::map<int32_t, Point> &movePoint); 91 std::vector<std::pair<int32_t, Point>> SortPoints(std::map<int32_ [all...] |