/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | uobject_test.cpp | 58 double doubleValue = 1.0; in HWTEST_F() local 59 uObject.AddItemToObject("double", doubleValue); in HWTEST_F() 120 double doubleValue = 1.0; in HWTEST_F() local 121 uObject.AddItemToObject("double", doubleValue); in HWTEST_F()
|
H A D | node_object_test.cpp | 47 double doubleValue = 1.0; in HWTEST_F() local 55 nodeObject->Put(nullptr, doubleValue); in HWTEST_F() 66 nodeObject->Put(const_cast<char*>(str.c_str()), doubleValue); in HWTEST_F() local
|
H A D | json_util_test.cpp | 160 std::unique_ptr<JsonValue> doubleValue = JsonUtil::ParseJsonString(testJson); in HWTEST_F() local 161 ASSERT_TRUE(doubleValue); in HWTEST_F() 162 EXPECT_TRUE(doubleValue->IsValid()); in HWTEST_F() 163 EXPECT_FALSE(doubleValue->IsNull()); in HWTEST_F() 164 EXPECT_TRUE(doubleValue->IsNumber()); in HWTEST_F() 165 EXPECT_TRUE(doubleValue->GetInt() == intNum); in HWTEST_F() 166 EXPECT_TRUE(doubleValue->GetUInt() == uintNum); in HWTEST_F() 167 EXPECT_TRUE(NearEqual(doubleValue->GetDouble(), doubleNum)); in HWTEST_F()
|
/foundation/ability/ability_base/test/fuzztest/wantfifth_fuzzer/ |
H A D | wantfifth_fuzzer.cpp | 49 double doubleValue = 0.0; in DoSomethingInterestingWithMyAPI() local 50 want->SetParam(key, doubleValue); in DoSomethingInterestingWithMyAPI() 51 want->GetDoubleParam(key, doubleValue); in DoSomethingInterestingWithMyAPI()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_schema_unit_test.cpp | 123 attributeRes7.defaultValue.doubleValue = 0; in PreDoubleDataForParseAndCheckSchemaAttribute003() 129 attributeRes8.defaultValue.doubleValue = 0; in PreDoubleDataForParseAndCheckSchemaAttribute003() 135 attributeRes9.defaultValue.doubleValue = 0.1; // 0.1 as test data in PreDoubleDataForParseAndCheckSchemaAttribute003() 142 attributeRes10.defaultValue.doubleValue = -0.123456; // -0.123456 as test data in PreDoubleDataForParseAndCheckSchemaAttribute003() 149 attributeRes11.defaultValue.doubleValue = 0; in PreDoubleDataForParseAndCheckSchemaAttribute003() 157 attributeRes13.defaultValue.doubleValue = DBL_MAX; in PreDoubleDataForParseAndCheckSchemaAttribute003() 210 attributeRes3.defaultValue.doubleValue = -1.0; in HWTEST_F()
|
H A D | distributeddb_schema_object_test.cpp | 907 val.doubleValue = 1.1; // 1.1 for test in HWTEST_F() 955 val.doubleValue = 1.1; // 1.1 for test in HWTEST_F() 1085 EXPECT_LT(std::abs(theValue.doubleValue - 3.14), 0.1); in HWTEST_F()
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestJsonHelper.cpp | 195 double doubleValue = 30.5; in HWTEST_F() local 196 ASSERT_TRUE(root->Put(DOUBLE_TEST, doubleValue)); in HWTEST_F() 252 double doubleValue = 30.5; in HWTEST_F() local 253 ASSERT_TRUE(doubleRoot->Add(doubleValue)); in HWTEST_F() 256 ASSERT_DOUBLE_EQ(doubleValues[0]->GetDouble(), doubleValue); in HWTEST_F() 294 double doubleValue = 50.4; in HWTEST_F() local 295 ASSERT_TRUE(values->Replace(DOUBLE_TEST, doubleValue)); in HWTEST_F() 304 ASSERT_DOUBLE_EQ(values->GetDouble(DOUBLE_TEST), doubleValue); in HWTEST_F()
|
/foundation/ability/ability_base/test/fuzztest/wantparamsthird_fuzzer/ |
H A D | wantparamsthird_fuzzer.cpp | 53 double doubleValue = 0.0; in DoSomethingInterestingWithMyAPI() local 54 sptr<IInterface> doubleIt = Double::Box(doubleValue); in DoSomethingInterestingWithMyAPI()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb_data_ability_adapter/unittest/ |
H A D | data_ability_utils_test.cpp | 90 double doubleValue = std::get<double>(iter->second); in HWTEST_F() local 91 EXPECT_EQ(doubleValue, 50.5); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/fuzztest/rdbrdutils_fuzzer/rddbopen_fuzzer/ |
H A D | rddbopen_fuzzer.cpp | 91 double doubleValue = ConvertToDouble(data, size); in RdDbOpenFuzzer() local 102 RdUtils::RdSqlBindDouble(stmtHandle, unit32t, doubleValue); in RdDbOpenFuzzer()
|
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/ |
H A D | abnormal_branch_test.cpp | 72 double doubleValue = 0.0; in HWTEST_F() local 73 result = impl.Write(1, doubleValue); in HWTEST_F() 123 double doubleValue = 0.0; in HWTEST_F() local 124 result = temp.PutDouble(1, 1, doubleValue); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | grd_type_export.h | 68 double doubleValue; member
|
/foundation/ability/dmsfwk/test/fuzztest/distributedwant_fuzzer/ |
H A D | distributedwant_fuzzer.cpp | 131 double doubleValue = 0.0; in DoSomethingInterestingWithMyAPI_DistributedWant_005() local 132 want->SetParam(key, doubleValue); in DoSomethingInterestingWithMyAPI_DistributedWant_005() 133 want->GetDoubleParam(key, doubleValue); in DoSomethingInterestingWithMyAPI_DistributedWant_005()
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 349 double doubleValue; in NapiValueToString() local 350 status = napi_get_value_double(env, value, &doubleValue); in NapiValueToString() 352 if (doubleValue == std::floor(doubleValue)) { in NapiValueToString() 353 return std::to_string(static_cast<int>(doubleValue)); in NapiValueToString() 355 return std::to_string(doubleValue); in NapiValueToString()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/ |
H A D | rd_json_object.cpp | 37 doubleValue = val; in ValueObject() 58 return static_cast<int64_t>(std::llround(doubleValue)); in GetIntValue() 63 return doubleValue; in GetDoubleValue() 677 doubleValue = val; 698 return static_cast<int64_t>(std::llround(doubleValue)); 703 return doubleValue;
|
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_value_parcel.cpp | 135 double doubleValue = std::get<double>(value.value_); in MarshallingBasicValueInner() local 137 errCode = memcpy_s(startAddr + sizeof(uint8_t), memLen, &doubleValue, basicDataLen); in MarshallingBasicValueInner() 469 const double doubleValue = *(reinterpret_cast<const double *>(startAddr + sizeof(uint8_t))); in UnmarshallingBasicValue() local 470 return std::make_pair(E_OK, PreferencesValue(doubleValue)); in UnmarshallingBasicValue()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_adapter_impl.cpp | 245 auto doubleValue = static_cast<double>(attrValue->GetFloat(unit)); in ParseContent() local 247 attributes_[attrName] = { .type = ThemeConstantsType::DOUBLE, .value = doubleValue }; in ParseContent() 250 .value = Dimension(doubleValue, ParseDimensionUnit(unit)) }; in ParseContent()
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_result_set.cpp | 245 double tempValue = cellUnit->cell.doubleValue;
in GetString() 297 value = (int64_t)cellUnit->cell.doubleValue;
in GetLong() 328 value = cellUnit->cell.doubleValue;
in GetDouble()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb_data_share_adapter/unittest/ |
H A D | rdb_data_share_adapter_test.cpp | 352 double doubleValue; in HWTEST_F() local 353 allDataTypes->GetDouble(3, doubleValue); in HWTEST_F() 354 EXPECT_EQ(doubleValue, 1.8); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/ |
H A D | medialibrary_backup_clone_test.cpp | 778 double doubleValue; in VerifyImageFaceRestore() local 793 resultSet->GetDouble(index, doubleValue); in VerifyImageFaceRestore() 794 EXPECT_DOUBLE_EQ(doubleValue, 1.0); in VerifyImageFaceRestore() 797 resultSet->GetDouble(index, doubleValue); in VerifyImageFaceRestore() 798 EXPECT_DOUBLE_EQ(doubleValue, 1.0); in VerifyImageFaceRestore()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/include/ |
H A D | rd_json_object.h | 57 double doubleValue; member
|
/foundation/ability/dmsfwk/test/fuzztest/distributedwantparams_fuzzer/ |
H A D | distributedwantparams_fuzzer.cpp | 140 double doubleValue = static_cast<double>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI_DistributedWantParams_003() local 141 sptr<IInterface> doubleIt = Double::Box(doubleValue); in DoSomethingInterestingWithMyAPI_DistributedWantParams_003()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/utils/ |
H A D | database_utils.cpp | 154 double doubleValue = get<double>(ResultSetUtils::GetValFromColumn(name, resultSet, type)); in GetStrFromResultSet() local 155 str = std::to_string(doubleValue); in GetStrFromResultSet()
|
/foundation/multimedia/image_effect/interfaces/kits/native/ |
H A D | image_effect_filter.h | 139 double doubleValue; member
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | shared_block.h | 59 double doubleValue;
member
|