Home
last modified time | relevance | path

Searched refs:value (Results 1351 - 1375 of 7105) sorted by relevance

1...<<51525354555657585960>>...285

/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/mock/parcel_abnormal/src/
H A Dmock_message_parcel.cpp107 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 Djson_utils.h31 * @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 Dtlv_protocol.cpp30 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 Dlnn_local_ledger_deps_mock.h41 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 Ddump_manager.cpp51 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 Dget_data_strategy.cpp42 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 Dpasteboard_entry_getter_proxy.cpp31 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 Dsystem_defined_pixelmap_test.cpp78 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 Ddscreen_input_test.cpp36 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 Ddatepicker_layout_property.h36 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 Dloading_progress_layout_property.h33 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 Dwater_flow_item_composed_element.cpp35 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 Dsheet_composed_element.cpp33 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 Dsimulator_config.cpp35 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 Dshader_state_loader_util.h33 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 Djs_hdr_format_utils.cpp36 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 Dbitcast.h28 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 Dgrd_resultset_api_inner.h29 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 Dnapi_rdb_sendable_utils.h23 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 Ddatashare_result_set.h27 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 Dparameter.c39 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 Dut_csync.cpp568 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 Dnapi_parser_utils.cpp202 "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 Djs_slider.cpp101 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 Dswiper_helper.cpp87 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...]

Completed in 12 milliseconds

1...<<51525354555657585960>>...285