/ohos5.0/base/hiviewdfx/hiview/base/event_raw/include/encoded/ |
H A D | raw_data_builder.h | 78 bool ParseValueByKey(const std::string& key, T& dest) in ParseValueByKey() 87 RawDataBuilder& AppendValue(const std::string& key, T val) in AppendValue() 119 RawDataBuilder& UpdateUid(const T val) in UpdateUid() 128 RawDataBuilder& UpdateLog(const T val) in UpdateLog() 137 RawDataBuilder& UpdatePid(const T val) in UpdatePid() 146 RawDataBuilder& UpdateTid(const T val) in UpdateTid() 155 RawDataBuilder& UpdateId(const T val) in UpdateId() 226 RawDataBuilder& AppendArrayValue(const std::string& key, T val) in AppendArrayValue() 320 RawDataBuilder& AppendBaseInfoValue(const std::string& key, T val) in AppendBaseInfoValue() 372 bool GetValueByKey(const std::string& key, T& val) in GetValueByKey() [all …]
|
H A D | encoded_param.h | 69 UnsignedVarintEncodedParam(const std::string& key, T val): EncodedParam(key) in UnsignedVarintEncodedParam() 110 …UnsignedVarintEncodedArrayParam(const std::string& key, const std::vector<T>& vals): EncodedParam(… in UnsignedVarintEncodedArrayParam() 159 SignedVarintEncodedParam(const std::string& key, T val): EncodedParam(key) in SignedVarintEncodedParam() 201 …SignedVarintEncodedArrayParam(const std::string& key, const std::vector<T>& vals): EncodedParam(ke… in SignedVarintEncodedArrayParam() 248 FloatingNumberEncodedParam(const std::string& key, T val): EncodedParam(key) in FloatingNumberEncodedParam() 295 …FloatingNumberEncodedArrayParam(const std::string& key, const std::vector<T>& vals): EncodedParam(… in FloatingNumberEncodedArrayParam() 347 StringEncodedParam(const std::string& key, const std::string& val): EncodedParam(key) in StringEncodedParam() 379 …StringEncodedArrayParam(const std::string& key, const std::vector<std::string>& vals): EncodedPara… in StringEncodedArrayParam()
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
H A D | encoded_param.h | 60 UnsignedVarintEncodedParam(const std::string& key, T val): EncodedParam(key) in UnsignedVarintEncodedParam() 90 …UnsignedVarintEncodedArrayParam(const std::string& key, const std::vector<T>& vals): EncodedParam(… in UnsignedVarintEncodedArrayParam() 132 SignedVarintEncodedParam(const std::string& key, T val): EncodedParam(key) in SignedVarintEncodedParam() 163 …SignedVarintEncodedArrayParam(const std::string& key, const std::vector<T>& vals): EncodedParam(ke… in SignedVarintEncodedArrayParam() 203 FloatingNumberEncodedParam(const std::string& key, T val): EncodedParam(key) in FloatingNumberEncodedParam() 239 …FloatingNumberEncodedArrayParam(const std::string& key, const std::vector<T>& vals): EncodedParam(… in FloatingNumberEncodedArrayParam() 284 StringEncodedParam(const std::string& key, const std::string& val): EncodedParam(key) in StringEncodedParam() 311 …StringEncodedArrayParam(const std::string& key, const std::vector<std::string>& vals): EncodedPara… in StringEncodedArrayParam()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/ |
H A D | clouddisk_rdb_utils_mock.cpp | 34 int32_t CloudDiskRdbUtils::GetInt(const string &key, int32_t &val, in GetInt() 40 int32_t CloudDiskRdbUtils::GetLong(const string &key, int64_t &val, in GetLong() 46 int32_t CloudDiskRdbUtils::GetString(const string &key, string &val, in GetString()
|
/ohos5.0/foundation/multimedia/media_utils_lite/src/ |
H A D | format.cpp | 83 bool FormatData::SetValue(int32_t val) in SetValue() 93 bool FormatData::SetValue(int64_t val) in SetValue() 103 bool FormatData::SetValue(float val) in SetValue() 113 bool FormatData::SetValue(double val) in SetValue() 123 bool FormatData::SetValue(const std::string &val) in SetValue() 207 bool Format::PutIntValue(const std::string &key, int32_t value) in PutIntValue() 212 bool Format::PutLongValue(const std::string &key, int64_t value) in PutLongValue() 217 bool Format::PutFloatValue(const std::string &key, float value) in PutFloatValue() 222 bool Format::PutDoubleValue(const std::string &key, double value) in PutDoubleValue() 266 bool Format::GetIntValue(const std::string &key, int32_t &value) const in GetIntValue() argument [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
H A D | rdb_subscriber_manager.cpp | 31 bool TemplateManager::Get(const Key &key, int32_t userId, Template &tpl) in Get() 46 int32_t TemplateManager::Delete(const Key &key, int32_t userId) in Delete() 169 …rdbCache_.EraseIf([&callerTokenId, &callerPid, this](const auto &key, std::vector<ObserverNode> &v… in Delete() 205 …auto result = rdbCache_.ComputeIfPresent(key, [&context, this](const auto &key, std::vector<Observ… in Enable() 234 rdbCache_.ForEach([&uri, &context, this](const Key &key, std::vector<ObserverNode> &val) { in Emit() 253 …rEach([&uri, &userId, &metaData, &hasObserver, this](const Key &key, std::vector<ObserverNode> &va… in Emit() 281 rdbCache_.ForEach([&uri, &results](const Key &key, std::vector<ObserverNode> &val) { in GetKeysByUri() 296 rdbCache_.ComputeIfPresent(key, [&rdbPath, &version, &userId, this](const Key &key, auto &val) { in EmitByKey() 303 int RdbSubscriberManager::GetEnableObserverCount(const Key &key) in GetEnableObserverCount() 318 int RdbSubscriberManager::Notify(const Key &key, int32_t userId, const std::vector<ObserverNode> &v… in Notify() [all …]
|
H A D | published_data_subscriber_manager.cpp | 49 int PublishedDataSubscriberManager::Delete(const PublishedDataKey &key, uint32_t firstCallerTokenId) in Delete() 70 …publishedDataCache_.EraseIf([&callerTokenId, &callerPid](const auto &key, std::vector<ObserverNode… in Delete() 84 int PublishedDataSubscriberManager::Disable(const PublishedDataKey &key, uint32_t firstCallerTokenI… in Disable() 100 int PublishedDataSubscriberManager::Enable(const PublishedDataKey &key, uint32_t firstCallerTokenId) in Enable() 103 publishedDataCache_.ComputeIfPresent(key, [&firstCallerTokenId](const auto &key, in Enable() 104 std::vector<ObserverNode> &value) { in Enable() 123 const PublishedDataKey &key, std::vector<ObserverNode> &val) { in Emit() 144 for (auto &key : keys) { in Emit() local 159 const std::vector<ObserverNode> &val, const PublishedDataKey &key, in PutInto() 178 int PublishedDataSubscriberManager::GetCount(const PublishedDataKey &key) in GetCount() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/utils/ |
H A D | lru_cache.h | 44 void Refer(const KeyT& key, const ValueT& val) in Refer() 57 bool Exist(const KeyT& key) in Exist() 62 void Update(const KeyT& keyOld, const KeyT& keyNew, const ValueT& val) in Update() 76 void Delete(const KeyT& key) in Delete() 86 bool GetLruNode(KeyT& key, ValueT& value) in GetLruNode() 103 void Display(std::function<void(const KeyT& key, const ValueT& value)> showInfo) in Display()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bpf_netfirewall.cpp | 331 UidKey val = (UidKey)userId; in SetFirewallCurrentUserId() local 345 Bitmap val = node.bitmap; in WriteSrcIpv4BpfMap() local 349 Ipv4LpmKey key = { 0 }; in WriteSrcIpv4BpfMap() local 365 Bitmap val = node.bitmap; in WriteSrcIpv6BpfMap() local 369 Ipv6LpmKey key = { 0 }; in WriteSrcIpv6BpfMap() local 384 Bitmap val = node.bitmap; in WriteDstIpv4BpfMap() local 388 Ipv4LpmKey key = { 0 }; in WriteDstIpv4BpfMap() local 404 Bitmap val = node.bitmap; in WriteDstIpv6BpfMap() local 408 Ipv6LpmKey key = { 0 }; in WriteDstIpv6BpfMap() local 424 PortKey key = pair.first; in WriteSrcPortBpfMap() local [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/ |
H A D | clouddisk_rdb_utils.cpp | 36 int32_t CloudDiskRdbUtils::GetInt(const string &key, int32_t &val, in GetInt() 53 int32_t CloudDiskRdbUtils::GetLong(const string &key, int64_t &val, in GetLong() 70 int32_t CloudDiskRdbUtils::GetString(const string &key, string &val, in GetString()
|
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | suffix_match_trie.h | 46 T val; member 77 bool Insert(const std::string &key, const T &val) in Insert() 105 bool Update(const std::string &key, const T &val) in Update() 136 int LongestSuffixMatch(const std::string &key, T &out) in LongestSuffixMatch()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_impl.cpp | 238 uint64_t val; in Convert2PrefValue() local 272 First val; in GetPrefValue() local 329 for (const T &val : value) { in Convert2Element() local 351 for (const auto &val : value.words_) { in Convert2Element() local 369 auto *val = std::get_if<First>(&value); in GetElement() local 402 bool PreferencesImpl::HasKey(const std::string &key) in HasKey() 424 valuesCache_.Compute(key, [this, &value](auto &key, PreferencesValue &val) { in Put() 435 int PreferencesImpl::Delete(const std::string &key) in Delete() 442 valuesCache_.EraseIf(key, [this](auto &key, PreferencesValue &val) { in Delete() 452 valuesCache_.EraseIf([this](auto &key, PreferencesValue &val) { in Clear() [all …]
|
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | usb_endpoint.h | 52 static int GetIntValue(const cJSON *jsonObject, const char *key) in GetIntValue() 63 static std::string GetStringValue(const cJSON *jsonObject, const char *key) in GetStringValue() 134 void SetAddr(uint32_t val) in SetAddr() 139 void SetAttr(uint32_t val) in SetAttr() 144 void SetInterval(int32_t val) in SetInterval() 149 void SetMaxPacketSize(int32_t val) in SetMaxPacketSize()
|
/ohos5.0/base/inputmethod/imf/common/include/ |
H A D | itypes_util.h | 132 bool ITypesUtil::Marshalling(const std::vector<T> &val, MessageParcel &parcel) in Marshalling() 151 bool ITypesUtil::Unmarshalling(std::vector<T> &val, MessageParcel &parcel) in Unmarshalling() 214 bool ITypesUtil::Unmarshalling(std::map<K, V> &val, MessageParcel &parcel) in Unmarshalling() 231 K key; in Unmarshalling() local 262 bool ITypesUtil::Unmarshalling(std::unordered_map<K, V> &val, MessageParcel &parcel) in Unmarshalling() 279 K key; in Unmarshalling() local
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | lru_map.h | 35 int Get(const K &key, V &outValue) in Get() 45 int Put(const K &key, const V &inValue) in Put() 57 const K &key = (*iterator).first; in RemoveWithPrefixKey() local 69 int Elimination(const K &key, const V &val) in Elimination()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/parameter/ |
H A D | parameters.cpp | 31 bool GetBoolParameter(const std::string& key, bool def) in GetBoolParameter() 41 T GetIntParameter(const std::string& key, T def) in GetIntParameter() 55 std::string GetParameter(const std::string& key, const std::string& def) in GetParameter() 65 bool SetParameter(const std::string& key, const std::string& val) in SetParameter()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | lru_map.h | 37 bool Get(const K &key, V &value) in Get() 47 bool Put(const K &key, const V &inValue) in Put() 62 bool MoveNodeToLast(const K &key, const V &val) in MoveNodeToLast()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/ |
H A D | account_delegate_impl.cpp | 64 observerMap_.ForEach([&accountEventInfo] (const auto& key, auto& val) { in NotifyAccountChanged() 70 observerMap_.ForEach([&accountEventInfo] (const auto& key, auto& val) { in NotifyAccountChanged()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_chart_bridge.cpp | 36 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetAttrOptionsAxis() local 79 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetAttrOptionsSeriesPoint() local 132 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetChartAttrOptionsSeriesLineStyle() local 176 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetChartAttrOptionsSeriesLoop() local 182 shared_ptr<JsValue> val = valObject->GetProperty(runtime, key); in GetChartAttrOptionsSeriesLoop() local 217 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetChartAttrOptionsSeries() local 223 shared_ptr<JsValue> val = valObject->GetProperty(runtime, key); in GetChartAttrOptionsSeries() local 332 shared_ptr<JsValue> val = valObject->GetProperty(runtime, key); in ParseAttrDataStyle() local 414 shared_ptr<JsValue> val = valObject->GetProperty(runtime, key); in GetAttrDataset() local 450 shared_ptr<JsValue> val = valObject->GetProperty(runtime, key); in ParseAttrSegment() local [all …]
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/ |
H A D | bpf_netfirewall.h | 180 …mplate <typename Key, typename Value> int ClearBpfMap(const char *path, const Key &key, Value &val) in ClearBpfMap() 206 …mplate <typename Key, typename Value> int WriteBpfMap(const char *path, const Key &key, Value &val) in WriteBpfMap()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/include/decoded/ |
H A D | decoded_event.h | 53 void AppendValue(std::stringstream& ss, const std::string& key, T val) in AppendValue() 77 void AppendArrayValue(std::stringstream& ss, const std::string& key, T vals) in AppendArrayValue()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_distributed/src/devices_info_interact/ |
H A D | devices_info_interact.cpp | 85 std::string key = GenerateKey(udid); in SyncMLDeviceInfos() local 94 bool DevicesInfoInteract::GetMLDeviceInfos(const std::string &udid, std::string &val) in GetMLDeviceInfos() 101 std::string key = GenerateKey(udid); in GetMLDeviceInfos() local 131 std::string key = GenerateKey(udid); in PutMLDeviceInfos() local 134 std::string val = json.dump(); in PutMLDeviceInfos() local
|
/ohos5.0/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | input_parse.cpp | 44 void GetJsonData(cJSON *json, const std::string& key, std::string& val) in GetJsonData() 60 void GetJsonData(cJSON *json, const std::string& key, T& val) in GetJsonData() 75 void GetJsonData(cJSON *json, const std::string& key, std::vector<int32_t>& vals) in GetJsonData() 92 cJSON* val = cJSON_GetArrayItem(rawVal, i); in GetJsonData() local
|
/ohos5.0/base/hiviewdfx/hisysevent/frameworks/native/ |
H A D | json_flatten_parser.cpp | 66 std::string key = ParseKey(json); in Parse() local 67 std::string val = ParseValue(json); in Parse() local 87 std::string key; in ParseKey() local 162 std::string val; in ParseBrackets() local
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | test_common.cpp | 55 std::string key = iter->first; in PrintMapString() local 56 std::string val = iter->second; in PrintMapString() local 64 std::string val = value[i]; in PrintVectorString() local
|