Home
last modified time | relevance | path

Searched refs:longValue (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/foundation/ability/ability_base/test/unittest/base/
H A Dlong_wrapper_test.cpp46 Long longValue(value);
47 ErrCode result = longValue.GetValue(value);
59 Long longValue(value);
60 EXPECT_EQ("1410065409", longValue.ToString());
71 Long longValue(value);
72 long result = longValue.Unbox(longValue.Box(value));
84 Long longValue(value);
85 long result = longValue.Unbox(longValue.Parse(longValue.ToString()));
/ohos5.0/base/telephony/call_manager/utils/src/
H A Dnumber_identity_data_base_helper.cpp130 int64_t longValue; in SetMarkInfoValues() local
134 resultSet->GetLong(columnIndex, longValue); in SetMarkInfoValues()
135 numberMarkInfo.markType = static_cast<MarkType>(longValue); in SetMarkInfoValues()
146 resultSet->GetLong(columnIndex, longValue); in SetMarkInfoValues()
147 numberMarkInfo.markCount = longValue; in SetMarkInfoValues()
158 resultSet->GetLong(columnIndex, longValue); in SetMarkInfoValues()
159 if (longValue == 1L) { in SetMarkInfoValues()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/
H A Dunion_image_effect___data_value.md26 | long [longValue](#longvalue) | 长整型值,对应[EFFECT_DATA_TYPE_LONG](_image_effect.md)。 |
79 ### longValue subsection
82 long ImageEffect_DataValue::longValue
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/
H A Dunion_image_effect___data_value.md26 | long [longValue](#longvalue) | Long integer value, corresponding to [EFFECT_DATA_TYPE_LONG](_imag…
84 ### longValue subsection
87 long ImageEffect_DataValue::longValue
/ohos5.0/base/telephony/core_service/frameworks/native/src/
H A Doperator_config_types.cpp125 if (!parcel.WriteInt32(longValue.size())) { in MarshallingLongMap()
128 auto valueIt = longValue.begin(); in MarshallingLongMap()
129 while (valueIt != longValue.end()) { in MarshallingLongMap()
302 longValue.clear(); in ReadFromLongMap()
311 longValue[first] = second; in ReadFromLongMap()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp195 int64_t longValue = 1; in EntriesToAccesserFuzzTest() local
198 values.PutLong(ACCESSER_ID, longValue); in EntriesToAccesserFuzzTest()
202 values.PutLong(ACCESSER_TOKEN_ID, longValue); in EntriesToAccesserFuzzTest()
346 int64_t longValue = 1; in GetLongValueFuzzTest() local
348 values.PutLong(property, longValue); in GetLongValueFuzzTest()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Ddatashare_result_set.cpp241 int64_t tempValue = cellUnit->cell.longValue; in GetString()
270 value = (int)cellUnit->cell.longValue; in GetInt()
289 value = cellUnit->cell.longValue; in GetLong()
336 value = static_cast<double>(cellUnit->cell.longValue); in GetDouble()
/ohos5.0/foundation/ability/dmsfwk/test/fuzztest/distributedwant_fuzzer/
H A Ddistributedwant_fuzzer.cpp153 long longValue = 0; in DoSomethingInterestingWithMyApiDistributedWant006() local
154 want->SetParam(key, longValue); in DoSomethingInterestingWithMyApiDistributedWant006()
155 want->GetShortParam(key, longValue); in DoSomethingInterestingWithMyApiDistributedWant006()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_step_result_set_test.cpp541 int64_t longValue; variable
542 iRet = resultSet->GetLong(0, longValue);
544 EXPECT_EQ(2, longValue);
552 EXPECT_EQ(-5, longValue);
849 int64_t longValue; variable
852 EXPECT_EQ(10, longValue);
1624 int64_t longValue; variable
1627 EXPECT_EQ(2, longValue);
1763 int64_t longValue; variable
1766 EXPECT_EQ(2, longValue);
[all …]
/ohos5.0/base/useriam/face_auth/services_ex/src/
H A Dscreen_brightness_task.cpp81 unsigned long longValue = std::stoul(str); in GetUInt32Param() local
82 if (longValue > std::numeric_limits<uint32_t>::max()) { in GetUInt32Param()
86 uintValue = static_cast<uint32_t>(longValue); in GetUInt32Param()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dgrd_type_export.h67 int64_t longValue; member
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Doperator_config_cache.cpp67 opc_.longValue.clear(); in ClearMemoryCache()
175 for (const auto &it : from.longValue) { in CopyOperatorConfig()
176 to.longValue[it.first] = it.second; in CopyOperatorConfig()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.cpp581 int64_t longValue; in CreateFormatBuffer() local
582 if (format.GetLongValue(iter.first, longValue) && in CreateFormatBuffer()
583 longValue >= INT32_MIN && longValue <= INT32_MAX) { in CreateFormatBuffer()
584 intValue = static_cast<int32_t>(longValue); in CreateFormatBuffer()
613 int64_t longValue = 0; in CreateFormatBufferByRef() local
626 if (format.GetLongValue(iter.first, longValue)) { in CreateFormatBufferByRef()
627 (void)SetPropertyInt64(env, result, iter.first, longValue); in CreateFormatBufferByRef()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_crud_test.cpp938 DistributedDB::Value longValue; variable
939 longValue.assign(FOUR_M_LONG_STRING, (uint8_t)'a');
950 DBStatus status = g_kvStoreNbDelegate->PutLocal(eKey1, longValue);
956 status = g_kvStoreNbDelegate->PutLocal(eKey2, longValue);
962 status = g_kvStoreNbDelegate->PutLocal(eKey3, longValue);
969 status = g_kvStoreNbDelegate->PutLocal(eKey4, longValue);
975 status = g_kvStoreNbDelegate->Put(eKey1, longValue);
981 status = g_kvStoreNbDelegate->Put(eKey2, longValue);
987 status = g_kvStoreNbDelegate->Put(eKey3, longValue);
994 status = g_kvStoreNbDelegate->Put(eKey4, longValue);
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_value_parcel.cpp123 int64_t longValue = std::get<int64_t>(value.value_); in MarshallingBasicValueInner() local
125 errCode = memcpy_s(startAddr + sizeof(uint8_t), memLen, &longValue, basicDataLen); in MarshallingBasicValueInner()
461 … const int64_t longValue = *(reinterpret_cast<const int64_t *>(startAddr + sizeof(uint8_t))); in UnmarshallingBasicValue() local
462 return std::make_pair(E_OK, PreferencesValue(longValue)); in UnmarshallingBasicValue()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp1418 int64_t longValue = 1; variable
1421 values.PutLong(property, longValue);
1509 int64_t longValue = 1; variable
1512 values.PutLong(ACCESSER_ID, longValue);
1516 values.PutLong(ACCESSER_TOKEN_ID, longValue);
1552 int64_t longValue = 1; variable
1555 values.PutLong(ACCESSEE_ID, longValue);
1559 values.PutLong(ACCESSEE_TOKEN_ID, longValue);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dquery_sync_object.cpp47 (void)parcel.WriteInt64(value.longValue); in SerializeDataObjNode()
78 (void)parcel.ReadInt64(value.longValue); in DeSerializeDataObjNode()
175 (void)parcel.WriteInt64(value.longValue); in GetIdentify()
/ohos5.0/foundation/ability/dmsfwk/test/fuzztest/distributedwantparams_fuzzer/
H A Ddistributedwantparams_fuzzer.cpp95 long longValue = static_cast<long>(GetU32Data(data)); in DoSomethingInterestingWithMyApiDistributedWantParams002() local
96 sptr<IInterface> longIt = Long::Box(longValue); in DoSomethingInterestingWithMyApiDistributedWantParams002()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_schema_unit_test.cpp91 attributeRes3.defaultValue.longValue = 0; in PreNumDataForParseAndCheckSchemaAttribute003()
98 attributeRes4.defaultValue.longValue = LONG_MAX; in PreNumDataForParseAndCheckSchemaAttribute003()
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Doperator_config_types.h137 std::map<std::string, int64_t> longValue {};
/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp90 value.dataValue.longValue = 123456789L;
142 EXPECT_EQ(valueLong.dataValue.longValue, 10L);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_utils.cpp451 version = value.value.longValue; in RdDbGetVersion()
465 value.value.longValue = version; in RdDbSetVersion()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dnative_common_utils.cpp91 any = value->dataValue.longValue; in ParseOHAny()
117 value->dataValue.longValue) != ErrorCode::SUCCESS, ErrorCode::SUCCESS); in SwitchToOHAny()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Dshared_block.h60 int64_t longValue; member
/ohos5.0/foundation/multimedia/image_effect/interfaces/kits/native/
H A Dimage_effect_filter.h143 long longValue; member

12