/base/user_iam/face_auth/services/common/src/ |
D | constant.cpp | 31 const std::map<std::string, int32_t> Constant::TIP_CODE_MAP = { 32 …std::map<std::string, int32_t>::value_type("1+-1", -1), // code 1, errorCode -1, means tipCode NO… 33 …std::map<std::string, int32_t>::value_type("1+0", 0), // code 1, errorCode 0, means tipCode SUC… 34 …std::map<std::string, int32_t>::value_type("1+3", 1), // code 1, errorCode 3, means tipCode COM… 35 …std::map<std::string, int32_t>::value_type("1+2", 2), // code 1, errorCode 2, means tipCode CAN… 36 …std::map<std::string, int32_t>::value_type("1+4", 3), // code 1, errorCode 4, means tipCode TIM… 37 …std::map<std::string, int32_t>::value_type("1+12", 4), // code 1, errorCode 12, means tipCode CA… 38 …std::map<std::string, int32_t>::value_type("1+13", 5), // code 1, errorCode 13, means tipCode BU… 39 …std::map<std::string, int32_t>::value_type("1+9", 6), // code 1, errorCode 9, means tipCode INV… 40 …std::map<std::string, int32_t>::value_type("1+8", 7), // code 1, errorCode 8, means tipCode LOC… [all …]
|
/base/security/deviceauth/frameworks/deviceauth_lite/source/schedule/ |
D | build_object.c | 34 static void **get_object(const struct object_map *map, uint32_t n, int32_t modular, bool is_client); 35 static bool check_mutex_object_is_null(const struct object_map *map, uint32_t n, int32_t modular, b… 36 static bool check_depend_object_is_not_null(const struct object_map *map, uint32_t n, int32_t modul… 41 const struct object_map map[] = { { PAKE_MODULAR, true, (void **)&hichain->pake_client }, in build_object() local 48 void **object = get_object(map, sizeof(map) / sizeof(map[0]), modular, is_client); in build_object() 53 … if (check_mutex_object_is_null(map, sizeof(map) / sizeof(map[0]), modular, is_client) == false) { in build_object() 57 …if (check_depend_object_is_not_null(map, sizeof(map) / sizeof(map[0]), modular, is_client) == fals… in build_object() 70 static void **get_object(const struct object_map *map, uint32_t n, int32_t modular, bool is_client) in get_object() argument 73 if ((modular == map[i].modular) && (is_client == map[i].is_client)) { in get_object() 74 return map[i].object; in get_object() [all …]
|
/base/powermgr/battery_statistics/services/native/include/ |
D | cpu_time_reader.h | 38 std::map<int32_t, int64_t> activeTimeMap_; 39 std::map<int32_t, std::vector<int64_t>> clusterTimeMap_; 40 std::map<int32_t, std::map<uint32_t, std::vector<int64_t>>> freqTimeMap_; 41 std::map<int32_t, std::vector<int64_t>> uidTimeMap_; 42 std::map<int32_t, int64_t> lastActiveTimeMap_; 43 std::map<int32_t, std::vector<int64_t>> lastClusterTimeMap_; 44 std::map<int32_t, std::map<uint32_t, std::vector<int64_t>>> lastFreqTimeMap_; 45 std::map<int32_t, std::vector<int64_t>> lastUidTimeMap_; 46 std::map<uint16_t, uint16_t> clustersMap_; 54 bool ReadFreqTimeIncrement(std::map<uint32_t, std::vector<int64_t>>& speedTime, [all …]
|
/base/global/i18n_standard/interfaces/js/kits/include/ |
D | intl_addon.h | 35 std::map<std::string, std::string> &map); 37 std::map<std::string, std::string> &map); 39 std::map<std::string, std::string> &map); 40 void GetDateOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map); 41 …d GetNumberOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map); 42 … GetCollatorOptionValue(napi_env env, napi_value options, std::map<std::string, std::string> &map); 43 …PluralRulesOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map); 44 void SetOptionProperties(napi_env env, napi_value &result, std::map<std::string, std::string> &opti… 47 std::map<std::string, std::string> &options, const std::string &option); 49 std::map<std::string, std::string> &options, const std::string &option); [all …]
|
/base/hiviewdfx/hiview/plugins/eventservice/include/ |
D | sys_event_stat.h | 47 std::map<std::string, std::map<std::string, int64_t>> d2es_; 48 std::map<std::string, std::string> d2ies_; 77 std::map<std::string, std::map<std::string, int64_t>> &d2es); 83 virtual void StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const; 86 std::map<std::string, std::map<std::string, int64_t>> &d2es_; 90 int64_t GetEventCount(std::map<std::string, int64_t> &events) const; 96 std::map<std::string, std::map<std::string, int64_t>> &d2es); 100 void StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const override; 103 …void GetEventNames(std::map<std::string, int64_t> &events, std::vector<std::string> &eventNames) c… 108 …SysEventInvalidStat(int fd, int64_t validNum, int64_t inValidNum, std::map<std::string, std::strin… [all …]
|
/base/global/i18n_standard/interfaces/js/kits/src/ |
D | intl_addon.cpp | 166 std::map<std::string, std::string> &map) in GetOptionValue() argument 184 map.insert(make_pair(optionName, optionBuf.data())); in GetOptionValue() 190 std::map<std::string, std::string> &map) in GetIntegerOptionValue() argument 207 map.insert(make_pair(optionName, std::to_string(integerValue))); in GetIntegerOptionValue() 214 std::map<std::string, std::string> &map) in GetBoolOptionValue() argument 231 map.insert(make_pair(optionName, value)); in GetBoolOptionValue() 236 void GetDateOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map) in GetDateOptionValues() argument 238 GetOptionValue(env, options, "calendar", map); in GetDateOptionValues() 239 GetOptionValue(env, options, "dateStyle", map); in GetDateOptionValues() 240 GetOptionValue(env, options, "timeStyle", map); in GetDateOptionValues() [all …]
|
/base/customization/enterprise_device_management/services/edm/include/utils/ |
D | map_string_serializer.h | 27 class MapStringSerializer : public IPolicySerializer<std::map<std::string, std::string>>, 30 …virtual bool Deserialize(const std::string &jsonString, std::map<std::string, std::string> &dataOb… 32 …virtual bool Serialize(const std::map<std::string, std::string> &dataObj, std::string &jsonString)… 34 … virtual bool GetPolicy(MessageParcel &data, std::map<std::string, std::string> &result) override; 36 …virtual bool WritePolicy(MessageParcel &reply, std::map<std::string, std::string> &result) overrid… 38 virtual bool MergePolicy(std::vector<std::map<std::string, std::string>> &data, 39 std::map<std::string, std::string> &result) override;
|
/base/global/i18n_standard/frameworks/intl/src/ |
D | number_format.cpp | 59 NumberFormat::NumberFormat(const std::vector<std::string> &localeTags, std::map<std::string, std::s… in NumberFormat() 163 void NumberFormat::ParseConfigs(std::map<std::string, std::string> &configs) in ParseConfigs() 202 void NumberFormat::ParseDigitsConfigs(std::map<std::string, std::string> &configs) in ParseDigitsConfigs() 256 std::map<double, std::string> preferredValuesOverOne; in Format() 257 std::map<double, std::string> preferredValuesUnderOne; in Format() 292 void NumberFormat::GetResolvedOptions(std::map<std::string, std::string> &map) in GetResolvedOptions() argument 294 map.insert(std::make_pair("locale", localeBaseName)); in GetResolvedOptions() 296 map.insert(std::make_pair("style", styleString)); in GetResolvedOptions() 299 map.insert(std::make_pair("currency", currency)); in GetResolvedOptions() 302 map.insert(std::make_pair("currencySign", currencySign)); in GetResolvedOptions() [all …]
|
D | date_time_format.cpp | 28 std::map<std::string, DateFormat::EStyle> DateTimeFormat::dateTimeStyle = { 35 DateTimeFormat::DateTimeFormat(const std::vector<std::string> &localeTags, std::map<std::string, st… in DateTimeFormat() 80 void DateTimeFormat::InitWithLocale(const std::string &curLocale, std::map<std::string, std::string… in InitWithLocale() 105 void DateTimeFormat::InitWithDefaultLocale(std::map<std::string, std::string> &configs) in InitWithDefaultLocale() 257 void DateTimeFormat::ParseConfigsPartOne(std::map<std::string, std::string> &configs) in ParseConfigsPartOne() 285 void DateTimeFormat::ParseConfigsPartTwo(std::map<std::string, std::string> &configs) in ParseConfigsPartTwo() 513 void DateTimeFormat::GetResolvedOptions(std::map<std::string, std::string> &map) in GetResolvedOptions() argument 516 map.insert(std::make_pair("locale", localeTag)); in GetResolvedOptions() 518 map.insert(std::make_pair("calendar", localeInfo->GetCalendar())); in GetResolvedOptions() 520 map.insert(std::make_pair("calendar", calendar->getType())); in GetResolvedOptions() [all …]
|
/base/powermgr/thermal_manager/services/native/include/thermal_policy/ |
D | thermal_policy.h | 37 std::map<std::string, std::string> mActionProp; 49 using PolicyConfigMap = std::map<std::string, std::vector<PolicyConfig>>; 57 … void SetSensorClusterMap(std::map<std::string, std::shared_ptr<ThermalConfigSensorCluster>> &msc); 60 void PolicyDecision(std::map<std::string, uint32_t> &clusterLevelMap); 62 bool StateMachineDecision(std::map<std::string, std::string> &stateMap); 69 std::map<std::string, uint32_t> GetClusterLevelMap(); 85 std::map<std::string, std::shared_ptr<ThermalConfigSensorCluster>> msc_; 86 std::map<std::string, uint32_t> clusterLevelMap_;
|
/base/powermgr/battery_statistics/services/native/include/entities/ |
D | bluetooth_entity.h | 51 std::map<int32_t, double> appBluetoothPowerMap_; 52 std::map<int32_t, double> appBluetoothScanPowerMap_; 53 std::map<int32_t, double> appBluetoothRxPowerMap_; 54 std::map<int32_t, double> appBluetoothTxPowerMap_; 56 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appBluetoothScanTimerMap_; 57 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appBluetoothRxTimerMap_; 58 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appBluetoothTxTimerMap_; 59 std::map<int32_t, std::shared_ptr<StatsHelper::Counter>> appBluetoothRxCounterMap_; 60 std::map<int32_t, std::shared_ptr<StatsHelper::Counter>> appBluetoothTxCounterMap_;
|
D | wifi_entity.h | 51 std::map<int32_t, double> appWifiPowerMap_; 52 std::map<int32_t, double> appWifiScanPowerMap_; 53 std::map<int32_t, double> appWifiRxPowerMap_; 54 std::map<int32_t, double> appWifiTxPowerMap_; 56 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appWifiScanTimerMap_; 57 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appWifiRxTimerMap_; 58 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appWifiTxTimerMap_; 59 std::map<int32_t, std::shared_ptr<StatsHelper::Counter>> appWifiRxCounterMap_; 60 std::map<int32_t, std::shared_ptr<StatsHelper::Counter>> appWifiTxCounterMap_;
|
D | radio_entity.h | 48 std::map<int32_t, double> appRadioPowerMap_; 49 std::map<int32_t, double> appRadioRxPowerMap_; 50 std::map<int32_t, double> appRadioTxPowerMap_; 51 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> radioOnTimerMap_; 53 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appRadioRxTimerMap_; 54 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> appRadioTxTimerMap_; 55 std::map<int32_t, std::shared_ptr<StatsHelper::Counter>> appRadioRxCounterMap_; 56 std::map<int32_t, std::shared_ptr<StatsHelper::Counter>> appRadioTxCounterMap_;
|
D | cpu_entity.h | 40 std::map<int32_t, int64_t> cpuTimeMap_; 41 std::map<int32_t, double> cpuTotalPowerMap_; 42 std::map<int32_t, double> cpuActivePowerMap_; 43 std::map<int32_t, double> cpuClusterPowerMap_; 44 std::map<int32_t, double> cpuSpeedPowerMap_;
|
D | sensor_entity.h | 39 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> gravityTimerMap_; 40 std::map<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>> proximityTimerMap_; 41 std::map<int32_t, double> sensorTotalPowerMap_; 42 std::map<int32_t, double> gravityPowerMap_; 43 std::map<int32_t, double> proximityPowerMap_;
|
/base/hiviewdfx/hiview/utility/smart_parser/rule/include/ |
D | rule.h | 33 std::map<std::string, FeatureSet> GetExtractRule(); 34 std::list<std::pair<std::string, std::map<std::string, std::string>>> GetComposeRule(); 35 std::map<std::string, std::vector<std::string>> GetSegStatusCfg(); 41 std::map<std::string, FeatureSet> extractRule_; 42 std::list<std::pair<std::string, std::map<std::string, std::string>>> composeRule_; 43 std::map<std::string, std::vector<std::string>> segStatusCfg_;
|
D | extract_rule.h | 33 std::map<std::string, FeatureSet> GetExtractRule() { return featureSets_; }; in GetExtractRule() 34 std::map<std::string, std::vector<std::string>> GetSegStatusCfg() { return segStatusCfgMap_; }; in GetSegStatusCfg() 48 std::map<std::string, std::string>& param, const std::string& preKey) const; 52 std::map<std::string, FeatureSet> featureSets_; 53 std::map<std::string, std::string> lockInfoMap_; 55 …std::map<std::string, std::vector<std::string>> segStatusCfgMap_; // key: name value: [matchKey, …
|
/base/compileruntime/js_util_module/container/lightweightmap/ |
D | js_lightweightmap.ts | 60 hasAll(map: LightWeightMap<K, V>): boolean { 61 if(!(map instanceof LightWeightMap)) { 64 if (map.memberNumber > this.memberNumber) return false; 65 … if (LightWeightAbility.isIncludeToArray(this.keyValueStringArray(), map.keyValueStringArray()) ) { 131 setAll(map: LightWeightMap<K, V>): void { 132 if(!(map instanceof LightWeightMap)) { 136 this.members.hashs = map.members.hashs.slice(); 137 this.members.keys = map.members.keys.slice(); 138 this.members.values = map.members.values.slice(); 139 this.memberNumber = map.memberNumber; [all …]
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_maps.cpp | 62 std::shared_ptr<DfxElfMap> map = DfxElfMap::Create(mapInfo, sizeof(mapInfo)); in Create() local 63 if (!map) { in Create() 68 dfxElfMaps->InsertMapToElfMaps(map); in Create() 109 void DfxElfMaps::InsertMapToElfMaps(std::shared_ptr<DfxElfMap> map) in InsertMapToElfMaps() argument 111 maps_.push_back(map); in InsertMapToElfMaps() 116 bool DfxElfMaps::FindMapByPath(const std::string path, std::shared_ptr<DfxElfMap>& map) const in FindMapByPath() 124 map = *iter; in FindMapByPath() 131 bool DfxElfMaps::FindMapByAddr(uintptr_t address, std::shared_ptr<DfxElfMap>& map) const in FindMapByAddr() 135 map = *iter; in FindMapByAddr() 153 std::shared_ptr<DfxElfMap> map = nullptr; in CheckPcIsValid() local [all …]
|
/base/hiviewdfx/hiview/utility/smart_parser/rule/ |
D | rule.cpp | 27 std::map<std::string, FeatureSet> extractRule_; 28 std::list<std::pair<std::string, std::map<std::string, std::string>>> composeRule_; 29 std::map<std::string, std::vector<std::string>> segStatusCfg_; 44 std::map<std::string, FeatureSet> Rule::GetExtractRule() in GetExtractRule() 49 std::list<std::pair<std::string, std::map<std::string, std::string>>> Rule::GetComposeRule() in GetComposeRule() 54 std::map<std::string, std::vector<std::string>> Rule::GetSegStatusCfg() in GetSegStatusCfg()
|
/base/telephony/state_registry/service/include/ |
D | telephony_state_registry_service.h | 85 std::map<int32_t, int32_t> callState_; 86 std::map<int32_t, std::u16string> callIncomingNumber_; 87 std::map<int32_t, std::vector<sptr<SignalInformation>>> signalInfos_; 88 std::map<int32_t, std::vector<sptr<CellInformation>>> cellInfos_; 89 std::map<int32_t, sptr<NetworkState>> searchNetworkState_; 91 std::map<int32_t, SimState> simState_; 92 std::map<int32_t, CardType> cardType_; 93 std::map<int32_t, LockReason> simReason_; 94 std::map<int32_t, int32_t> cellularDataConnectionState_; 95 std::map<int32_t, int32_t> cellularDataConnectionNetworkType_; [all …]
|
/base/accessibility/services/aams/include/ |
D | accessibility_account_data.h | 170 const std::map<std::string, sptr<AccessibleAbilityConnection>> GetConnectedA11yAbilities(); 186 const std::map<int, sptr<AccessibilityWindowConnection>> GetAsacConnections(); 207 const std::map<std::string, AppExecFwk::ElementName> GetConnectingA11yAbilities(); 222 const std::map<std::string, AppExecFwk::ElementName> GetEnabledAbilities(); 327 bool SetEnabledObj(std::map<std::string, AppExecFwk::ElementName> it); 331 bool DisableAbilities(std::map<std::string, AppExecFwk::ElementName> it); 388 …std::map<std::string, sptr<AccessibleAbilityConnection>> connectedA11yAbilities_; // key: The UR… 390 std::map<int, sptr<AccessibilityWindowConnection>> asacConnections_; // key: windowId 393 …std::map<std::string, AppExecFwk::ElementName> enabledAbilities_; // key: The URI of the Element… 394 …std::map<std::string, AppExecFwk::ElementName> connectingA11yAbilities_; // key: The URI of the…
|
/base/global/resmgr_lite/frameworks/resmgr_lite/src/ |
D | hap_resource.cpp | 72 std::map<uint32_t, IdValues *>::iterator iter; in ~HapResource() 155 auto mptr = new (std::nothrow) std::map<std::string, IdValues *>(); in Init() 177 std::map<uint32_t, IdValues *>::iterator iter = idValuesMap_.find(id); in InitIdList() 213 std::map<uint32_t, IdValues *>::const_iterator iter = idValuesMap_.find(uid); in GetIdValues() 224 const std::map<std::string, IdValues *> *map = idValuesNameMap_[resType]; in GetIdValuesByName() local 225 std::map<std::string, IdValues *>::const_iterator iter = map->find(name); in GetIdValuesByName() 226 if (iter == map->end()) { in GetIdValuesByName() 238 const std::map<std::string, IdValues *> *map = idValuesNameMap_[resType]; in GetIdByName() local 239 std::map<std::string, IdValues *>::const_iterator iter = map->find(name); in GetIdByName() 240 if (iter == map->end()) { in GetIdByName()
|
/base/global/i18n_standard/frameworks/intl/include/ |
D | date_time_format.h | 38 …DateTimeFormat(const std::vector<std::string> &localeTags, std::map<std::string, std::string> &con… 42 void GetResolvedOptions(std::map<std::string, std::string> &map); 118 static std::map<std::string, icu::DateFormat::EStyle> dateTimeStyle; 119 void InitWithLocale(const std::string &curLocale, std::map<std::string, std::string> &configs); 120 void InitWithDefaultLocale(std::map<std::string, std::string> &configs); 121 void ParseConfigsPartOne(std::map<std::string, std::string> &configs); 122 void ParseConfigsPartTwo(std::map<std::string, std::string> &configs); 133 void GetAdditionalResolvedOptions(std::map<std::string, std::string> &map);
|
D | number_format.h | 46 …NumberFormat(const std::vector<std::string> &localeTag, std::map<std::string, std::string> &config… 49 void GetResolvedOptions(std::map<std::string, std::string> &map); 101 void ParseConfigs(std::map<std::string, std::string> &configs); 102 void ParseDigitsConfigs(std::map<std::string, std::string> &configs); 103 void GetDigitsResolvedOptions(std::map<std::string, std::string> &map);
|