/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/mock/parcel_abnormal/src/ |
H A D | mock_message_parcel.cpp | 107 bool Parcel::WriteString16(const std::u16string &value) in WriteString16() argument 112 bool Parcel::ReadInt32(int32_t &value) in ReadInt32() argument 117 bool Parcel::WriteInt32(int32_t value) in WriteInt32() argument 127 bool Parcel::WriteString(const std::string &value) in WriteString() argument 132 bool Parcel::WriteUint32(uint32_t value) in WriteUint32() argument
|
/foundation/resourceschedule/device_standby/utils/policy/include/ |
H A D | json_utils.h | 31 * @brief load json value from file 33 * @param jsonValue json value from the file content 40 * @brief load json value from string 42 * @param jsonValue json value from the string 49 * @brief dump json value to file 51 * @param jsonValue json value to be dumped to the file 52 * @param filePath the absolute file path to dump json value 58 * @brief get the 32-bit int from json value object 62 * @param value value o [all...] |
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/protocol/ |
H A D | tlv_protocol.cpp | 30 void TlvProtocol::Write(int key, Serializable::ValueType type, const uint8_t *value, size_t size) in Write() argument 44 data_.insert(data_.end(), value, value + size); in Write() 47 bool TlvProtocol::Read(int &key, uint8_t *&value, size_t &size) in Read() argument 61 value = data_.data() + readPos_; in Read()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_local_ledger_deps_mock.h | 41 virtual int32_t GetCommonDevInfo(const CommonDeviceKey key, char *value, uint32_t len); 47 virtual int32_t GetCommonOsType(int32_t *value); 48 virtual int32_t GetCommonOsVersion(char *value, uint32_t len); 49 virtual int32_t GetCommonDeviceVersion(char *value, uint32_t len); 73 static int32_t LedgerGetCommonDevInfo(const CommonDeviceKey key, char *value, uint32_t len);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/dump/ |
H A D | dump_manager.cpp | 51 handlers_.Compute(infoName, [ptr, &handler](const auto &key, auto &value) { in AddHandler() 52 value.emplace(ptr, handler); in AddHandler() 76 handlers_.ComputeIfPresent(infoName, [ptr](const auto &key, auto &value) { in RemoveHandler() 77 value.erase(ptr); in RemoveHandler() 78 return !value.empty(); in RemoveHandler()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/ |
H A D | get_data_strategy.cpp | 42 if (!CheckPermission(context, item.value.key)) {
in Execute() 50 item.value.key, item.value.subscriberId, PublishedDataNode::MoveTo(item.value.value));
in Execute()
|
/foundation/distributeddatamgr/pasteboard/services/zidl/src/ |
H A D | pasteboard_entry_getter_proxy.cpp | 31 int32_t PasteboardEntryGetterProxy::MakeRequest(uint32_t recordId, PasteDataEntry &value, MessageParcel &request) in MakeRequest() argument 42 if (!value.Marshalling(sendEntryTLV)) { in MakeRequest() 43 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_SERVICE, "marshall entry value failed"); in MakeRequest() 57 int32_t PasteboardEntryGetterProxy::GetRecordValueByType(uint32_t recordId, PasteDataEntry &value) in GetRecordValueByType() argument 60 auto res = MakeRequest(recordId, value, request); in GetRecordValueByType() 86 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_SERVICE, "unmarshall entry value failed"); in GetRecordValueByType() 89 value = entryValue; in GetRecordValueByType()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | system_defined_pixelmap_test.cpp | 78 ValueType value = std::vector<uint8_t>(); in HWTEST_F() local 79 SystemDefinedPixelMap systemDefinedPixelMap(type, value); in HWTEST_F() 81 EXPECT_EQ(systemDefinedPixelMap.rawData_, std::get<std::vector<uint8_t>>(value)); in HWTEST_F() 87 * @tc.desc: Abnormal testcase of SystemDefinedPixelMap, because value is not of type std::vector<uint8_t> 94 ValueType value = 0; in HWTEST_F() local 95 SystemDefinedPixelMap systemDefinedPixelMap(type, value); in HWTEST_F()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/dscreen_input_test/ |
H A D | dscreen_input_test.cpp | 36 std::string value = "dscreen_input_test"; in HWTEST_F() local 37 Status ret = plugin->SetParameter(Tag::USER_SHARED_MEMORY_FD, value); in HWTEST_F() 40 ret = plugin->SetParameter(Tag::USER_TIME_SYNC_RESULT, value); in HWTEST_F() 47 std::string value = "dscreen_input_test"; in HWTEST_F() local 48 plugin->SetParameter(Tag::USER_SHARED_MEMORY_FD, value); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_layout_property.h | 36 auto value = MakeRefPtr<DataPickerLayoutProperty>(); variable 37 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 38 return value;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/ |
H A D | loading_progress_layout_property.h | 33 auto value = MakeRefPtr<LoadingProgressLayoutProperty>(); variable 34 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 35 return value;
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | water_flow_item_composed_element.cpp | 35 for (const auto& value : CREATE_JSON_MAP) { in ToJsonObject() 36 resultJson->Put(value.first.c_str(), value.second(*this).c_str()); in ToJsonObject()
|
H A D | sheet_composed_element.cpp | 33 for (const auto& value : CREATE_JSON_MAP) { in ToJsonObject() 34 resultJson->Put(value.first.c_str(), value.second(*this).c_str()); in ToJsonObject()
|
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/entry/ |
H A D | simulator_config.cpp | 35 return settings.value(key).toString();
in GetConfigValue() 38 void SimulatorConfig::SetConfigValue(QString key, QString value) const
in SetConfigValue() 41 settings.setValue(key, value);
in SetConfigValue()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_state_loader_util.h | 33 void ParseSingleState(const CORE_NS::json::value& jsonData, ShaderStateResult& ssr); 34 void ParseStateFlags(const CORE_NS::json::value& jsonData, GraphicsStateFlags& stateFlags, ShaderStateResult& ssr); 35 ShaderStateResult LoadStates(const CORE_NS::json::value& jsonData);
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/hdr_capability/hdr_capability_utils/ |
H A D | js_hdr_format_utils.cpp | 36 napi_value value = nullptr; in HDRFormatInit() local 37 napi_create_int32(env, static_cast<int32_t>(HDRFormat), &value); in HDRFormatInit() 38 napi_set_named_property(env, object, HDRFormatName.c_str(), value); in HDRFormatInit()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | bitcast.h | 28 sizeof(Dest) == sizeof(Source) && std::is_trivially_copyable<Source>::value &&
29 std::is_trivially_copyable<Dest>::value && std::is_default_constructible<Dest>::value> {};
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/include/ |
H A D | grd_resultset_api_inner.h | 29 int32_t GRD_GetValueInner(GRD_ResultSet *resultSet, char **value); 31 int32_t GRD_FetchInner(GRD_ResultSet *resultSet, GRD_KVItemT *key, GRD_KVItemT *value); 33 int32_t GRD_FreeValueInner(char *value);
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_sendable_utils.h | 23 napi_value Convert2Sendable(napi_env env, const Asset &value); 29 napi_value Convert2Sendable(napi_env env, const ValueObject &value); 32 napi_value Convert2Sendable(napi_env env, const BigInt &value);
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/ |
H A D | datashare_result_set.h | 27 static int GetString(int columnIndex, std::string &value) in GetString() argument 31 static int GetLong(int columnIndex, int64_t &value) in GetLong() argument 35 static int GetInt(int columnIndex, int &value) in GetInt() argument
|
/foundation/filemanagement/app_file_service/tests/mock/parameter/src/ |
H A D | parameter.c | 39 int GetParameterValue(uint32_t handle, char *value, uint32_t len) in GetParameterValue() argument 44 ret = strncpy_s(value, len, src, strlen(src)); in GetParameterValue() 47 ret = strncpy_s(value, len, src, strlen(src)); in GetParameterValue()
|
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_csync.cpp | 568 int value = 0; in NotifyOneTest() local 575 value = 123; in NotifyOneTest() 579 EXPECT_EQ(value, 0); in NotifyOneTest() 593 EXPECT_EQ(value, 123); in NotifyOneTest() 601 int value = 0; in WaitUntilTimeoutTest() local 608 value = 123; in WaitUntilTimeoutTest() 612 EXPECT_EQ(value, 0); in WaitUntilTimeoutTest() 623 EXPECT_EQ(value, 123); in WaitUntilTimeoutTest() 631 int value = 0; in WaitUtilFlagTest_1() local 638 value in WaitUtilFlagTest_1() 658 int value = 0; WaitUtilFlagTest_2() local 688 int value = 0; WaitForTest_1() local 714 int value = 0; WaitForTest_2() local 740 int value = 0; WaitForTest_3() local 767 int value = 0; WaitForTest_4() local 970 int value = 0; HWTEST_F() local 985 int value = 0; HWTEST_F() local [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/parser/ |
H A D | napi_parser_utils.cpp | 202 "value"})); in NapiParseGattsServerResponse() 208 std::vector<uint8_t> value {}; in NapiParseGattsServerResponse() 214 NAPI_BT_CALL_RETURN(NapiParseObjectArrayBuffer(env, object, "value", value)); in NapiParseGattsServerResponse() 220 rsp.value = std::move(value); in NapiParseGattsServerResponse() 274 napi_status NapiParseBoolean(napi_env env, napi_value value, bool &outBoolean) in NapiParseBoolean() argument 277 NAPI_BT_CALL_RETURN(NapiIsBoolean(env, value)); in NapiParseBoolean() 278 NAPI_BT_CALL_RETURN(napi_get_value_bool(env, value, &boolean)); in NapiParseBoolean() 283 napi_status NapiParseInt32(napi_env env, napi_value value, int32_ argument 292 NapiParseUint32(napi_env env, napi_value value, uint32_t &outNum) NapiParseUint32() argument 301 NapiParseString(napi_env env, napi_value value, std::string &outStr) NapiParseString() argument 310 NapiParseStringArray(napi_env env, napi_value value, std::vector<std::string> &outStrVec) NapiParseStringArray() argument 327 NapiParseBdAddr(napi_env env, napi_value value, std::string &outAddr) NapiParseBdAddr() argument 336 NapiParseUuid(napi_env env, napi_value value, std::string &outUuid) NapiParseUuid() argument 345 NapiParseArrayBuffer(napi_env env, napi_value value, std::vector<uint8_t> &outVec) NapiParseArrayBuffer() argument 360 NapiParseGattWriteType(napi_env env, napi_value value, int &outWriteType) NapiParseGattWriteType() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_slider.cpp | 101 double GetValue(double value, double max, double min) in GetValue() argument 103 if (value < min) { in GetValue() 104 value = min; in GetValue() 107 if (value > max) { in GetValue() 108 value = max; in GetValue() 110 return value; in GetValue() 124 double value = valueMin; // value:Current progress value. The default value i in Create() local 222 CalcDimension value; SetThickness() local 364 float value = 0.0f; SetMinResponsiveDistance() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_helper.cpp | 87 indicatorProps->UpdateLeft(digitalParams->dimLeft.value()); in SaveDigitIndicatorProperty() 90 indicatorProps->UpdateTop(digitalParams->dimTop.value()); in SaveDigitIndicatorProperty() 93 indicatorProps->UpdateRight(digitalParams->dimRight.value()); in SaveDigitIndicatorProperty() 96 indicatorProps->UpdateBottom(digitalParams->dimBottom.value()); in SaveDigitIndicatorProperty() 128 indicatorProps->UpdateLeft(params->dimLeft.value()); in SaveDotIndicatorProperty() 131 indicatorProps->UpdateTop(params->dimTop.value()); in SaveDotIndicatorProperty() 134 indicatorProps->UpdateRight(params->dimRight.value()); in SaveDotIndicatorProperty() 137 indicatorProps->UpdateBottom(params->dimBottom.value()); in SaveDotIndicatorProperty() 141 auto dimValue = params->dimStart.value(); in SaveDotIndicatorProperty() 144 auto dimValue = params->dimEnd.value(); in SaveDotIndicatorProperty() [all...] |