Home
last modified time | relevance | path

Searched refs:int64Value (Results 1 - 19 of 19) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dset_object_prop_value_data.cpp109 int64_t& int64Value) in ReadIntValue()
112 if (!ReadInt8Value(buffer, offset, type, int64Value)) { in ReadIntValue()
118 if (!ReadInt16Value(buffer, offset, type, int64Value)) { in ReadIntValue()
124 if (!ReadInt32Value(buffer, offset, type, int64Value)) { in ReadIntValue()
130 if (!ReadInt64Value(buffer, offset, type, int64Value)) { in ReadIntValue()
141 int64_t& int64Value) in ReadInt8Value()
148 int64Value = tmpVar; in ReadInt8Value()
157 int64Value = tmpVar; in ReadInt8Value()
164 int64_t& int64Value) in ReadInt16Value()
171 int64Value in ReadInt16Value()
108 ReadIntValue(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadIntValue() argument
140 ReadInt8Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt8Value() argument
163 ReadInt16Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt16Value() argument
186 ReadInt32Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt32Value() argument
209 ReadInt64Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt64Value() argument
[all...]
H A Dget_object_prop_value_data.cpp97 bool GetObjectPropValueData::SetPropValue(int type, uint64_t int64Value, const uint128_t int128Value, in SetPropValue() argument
105 int64Value_ = int64Value; in SetPropValue()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmtp_set_object_prop_test.cpp161 int64_t int64Value = 0; in HWTEST_F() local
162 bool ret = SetObjectPropValueData::ReadInt8Value(buffer, offset, type, int64Value); in HWTEST_F()
164 ret = SetObjectPropValueData::ReadInt8Value(buffer, offset, MTP_TYPE_INT8_CODE, int64Value); in HWTEST_F()
166 ret = SetObjectPropValueData::ReadInt8Value(buffer, offset, MTP_TYPE_UINT8_CODE, int64Value); in HWTEST_F()
170 ret = SetObjectPropValueData::ReadInt8Value(buffer, offset, MTP_TYPE_INT8_CODE, int64Value); in HWTEST_F()
172 ret = SetObjectPropValueData::ReadInt8Value(buffer, offset, MTP_TYPE_UINT8_CODE, int64Value); in HWTEST_F()
182 int64_t int64Value = 0; in HWTEST_F() local
183 bool ret = SetObjectPropValueData::ReadInt16Value(buffer, offset, type, int64Value); in HWTEST_F()
185 ret = SetObjectPropValueData::ReadInt16Value(buffer, offset, MTP_TYPE_INT16_CODE, int64Value); in HWTEST_F()
187 ret = SetObjectPropValueData::ReadInt16Value(buffer, offset, MTP_TYPE_UINT16_CODE, int64Value); in HWTEST_F()
205 int64_t int64Value = 0; HWTEST_F() local
228 int64_t int64Value = 0; HWTEST_F() local
251 int64_t int64Value = 0; HWTEST_F() local
[all...]
H A Dmock_mtp_operation_utils.cpp202 uint64_t int64Value = 0; in GetObjectPropValue() local
207 getObjectPropValue->SetPropValue(type, int64Value, int128Value, strValue); in GetObjectPropValue()
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/payload_data/
H A Dset_object_prop_value_data.h38 static bool ReadIntValue(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t &int64Value);
39 static bool ReadInt8Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t &int64Value);
40 static bool ReadInt16Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t &int64Value);
41 static bool ReadInt32Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t &int64Value);
42 static bool ReadInt64Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t &int64Value);
H A Dget_object_prop_value_data.h30 bool SetPropValue(int type, uint64_t int64Value, const uint128_t int128Value, const std::string &strValue);
/foundation/arkui/ace_engine/test/unittest/base/
H A Duobject_test.cpp75 int64_t int64Value = 1; in HWTEST_F() local
76 uObject.AddItemToObject("int64_t", int64Value); in HWTEST_F()
126 int64_t int64Value = 1; in HWTEST_F() local
127 uObject.AddItemToObject("int64_t", int64Value); in HWTEST_F()
H A Dnode_object_test.cpp50 int64_t int64Value = 1; in HWTEST_F() local
58 nodeObject->Put(nullptr, int64Value); in HWTEST_F()
74 nodeObject->Put(const_cast<char*>(str.c_str()), int64Value); in HWTEST_F() local
/foundation/ability/form_fwk/services/src/
H A Dform_util.cpp257 bool FormUtil::ConvertStringToInt64(const std::string &strInfo, int64_t &int64Value) in ConvertStringToInt64() argument
261 int64Value = ZERO_VALUE; in ConvertStringToInt64()
270 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
275 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
281 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
287 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
293 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
300 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp517 int64_t int64Value = 0; in EntriesToAccessControlProfile() local
518 if (GetLongValue(values, ACCESS_CONTROL_ID, int64Value)) { in EntriesToAccessControlProfile()
519 profile.SetAccessControlId(int64Value); in EntriesToAccessControlProfile()
521 if (GetLongValue(values, ACCESSER_ID, int64Value)) { in EntriesToAccessControlProfile()
522 profile.SetAccesserId(int64Value); in EntriesToAccessControlProfile()
524 if (GetLongValue(values, ACCESSEE_ID, int64Value)) { in EntriesToAccessControlProfile()
525 profile.SetAccesseeId(int64Value); in EntriesToAccessControlProfile()
565 int64_t int64Value = 0; in EntriesToAccesser() local
566 if (values.GetObject(ACCESSER_ID, valueObject) && valueObject.GetLong(int64Value) == NativeRdb::E_OK) { in EntriesToAccesser()
567 accesser.SetAccesserId(int64Value); in EntriesToAccesser()
595 int64_t int64Value = 0; EntriesToAccessee() local
[all...]
/foundation/ability/form_fwk/services/include/
H A Dform_util.h117 * @param[out] int64Value Convert string to int64_t
121 static bool ConvertStringToInt64(const std::string &strInfo, int64_t &int64Value);
/foundation/distributeddatamgr/relational_store/test/native/rdb_data_share_adapter/unittest/
H A Drdb_data_share_adapter_test.cpp401 int64_t int64Value; in HWTEST_F() local
402 allDataTypes->GetLong(2, int64Value); in HWTEST_F()
403 EXPECT_EQ(int64Value, INT64_MIN); in HWTEST_F()
411 allDataTypes->GetLong(2, int64Value); in HWTEST_F()
412 EXPECT_EQ(int64Value, INT64_MAX); in HWTEST_F()
/foundation/ability/form_fwk/frameworks/js/napi/formUtil/
H A Dnapi_form_util.cpp240 * @param[out] int64Value Convert string to int64_t
244 bool ConvertStringToInt64(const std::string &strInfo, int64_t &int64Value) in ConvertStringToInt64() argument
248 int64Value = ZERO_VALUE; in ConvertStringToInt64()
257 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
262 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
268 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
274 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
280 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
287 int64Value = std::stoll(strInfo); in ConvertStringToInt64()
H A Dnapi_form_util.h116 bool ConvertStringToInt64(const std::string &strInfo, int64_t &int64Value);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/utils/
H A Ddatabase_utils.cpp149 int64_t int64Value = get<int64_t>(ResultSetUtils::GetValFromColumn(name, resultSet, type)); in GetStrFromResultSet() local
150 str = std::to_string(int64Value); in GetStrFromResultSet()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/common/
H A Dunified_meta.cpp593 auto int64Value = std::get_if<int64_t>(&variant); in GetVariantSize() local
594 if (int64Value != nullptr) { in GetVariantSize()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_operation_utils.cpp241 uint64_t int64Value = 0; in GetObjectPropValue() local
244 mtpMedialibraryManager_->GetObjectPropValue(context_, int64Value, int128Value, strValue); in GetObjectPropValue()
247 getObjectPropValue->SetPropValue(type, int64Value, int128Value, strValue); in GetObjectPropValue()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/
H A Druntime_store.cpp179 auto int64Value = std::get_if<int64_t>(&item.second); in GetSummaryFromDetails() local
180 if (int64Value != nullptr) { in GetSummaryFromDetails()
/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_param_utils.cpp392 int64_t int64Value = 0; in GetStreamInfo() local
393 status = GetValueInt64(env, "channelLayout", int64Value, in); in GetStreamInfo()
395 streamInfo->channelLayout = static_cast<AudioChannelLayout>(int64Value); in GetStreamInfo()

Completed in 17 milliseconds