/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/ |
H A D | union_image_effect___data_value.md | 24 | double [doubleValue](#doublevalue) | 双精度浮点值,对应[EFFECT_DATA_TYPE_DOUBLE](_image_effect.md)。 | 52 ### doubleValue subsection 55 double ImageEffect_DataValue::doubleValue
|
/ohos5.0/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;
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestJsonHelper.cpp | 195 double doubleValue = 30.5; variable 196 ASSERT_TRUE(root->Put(DOUBLE_TEST, doubleValue)); 252 double doubleValue = 30.5; variable 253 ASSERT_TRUE(doubleRoot->Add(doubleValue)); 256 ASSERT_DOUBLE_EQ(doubleValues[0]->GetDouble(), doubleValue); 294 double doubleValue = 50.4; variable 295 ASSERT_TRUE(values->Replace(DOUBLE_TEST, doubleValue)); 304 ASSERT_DOUBLE_EQ(values->GetDouble(DOUBLE_TEST), doubleValue);
|
H A D | TestUtils.cpp | 69 value.dataValue.doubleValue = 123.45; 128 EXPECT_DOUBLE_EQ(value.dataValue.doubleValue, 10.0);
|
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/ |
H A D | union_image_effect___data_value.md | 24 | double [doubleValue](#doublevalue) | Double-precision floating-point value, corresponding to [EFF… 54 ### doubleValue subsection 57 double ImageEffect_DataValue::doubleValue
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | node_object_test.cpp | 47 double doubleValue = 1.0; variable 55 nodeObject->Put(nullptr, doubleValue); 66 nodeObject->Put(const_cast<char*>(str.c_str()), doubleValue);
|
H A D | uobject_test.cpp | 58 double doubleValue = 1.0; variable 59 uObject.AddItemToObject("double", doubleValue);
|
H A D | json_util_test.cpp | 132 std::unique_ptr<JsonValue> doubleValue = JsonUtil::ParseJsonString(testJson); variable 133 ASSERT_TRUE(doubleValue); 134 EXPECT_TRUE(doubleValue->IsValid()); 135 EXPECT_FALSE(doubleValue->IsNull()); 136 EXPECT_TRUE(doubleValue->IsNumber()); 137 EXPECT_TRUE(doubleValue->GetInt() == intNum); 138 EXPECT_TRUE(doubleValue->GetUInt() == uintNum); 139 EXPECT_TRUE(NearEqual(doubleValue->GetDouble(), doubleNum));
|
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/ |
H A D | abnormal_branch_test.cpp | 72 double doubleValue = 0.0; variable 73 result = impl.Write(1, doubleValue); 123 double doubleValue = 0.0; variable 124 result = temp.PutDouble(1, 1, doubleValue);
|
/ohos5.0/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()
|
/ohos5.0/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); variable 91 EXPECT_EQ(doubleValue, 50.5);
|
/ohos5.0/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()
|
/ohos5.0/foundation/ability/dmsfwk/test/fuzztest/distributedwant_fuzzer/ |
H A D | distributedwant_fuzzer.cpp | 131 double doubleValue = 0.0; in DoSomethingInterestingWithMyApiDistributedWant005() local 132 want->SetParam(key, doubleValue); in DoSomethingInterestingWithMyApiDistributedWant005() 133 want->GetDoubleParam(key, doubleValue); in DoSomethingInterestingWithMyApiDistributedWant005()
|
/ohos5.0/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;
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | grd_type_export.h | 68 double doubleValue; member
|
/ohos5.0/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()
|
/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 350 double doubleValue; in NapiValueToString() local 351 status = napi_get_value_double(env, value, &doubleValue); in NapiValueToString() 353 if (doubleValue == std::floor(doubleValue)) { in NapiValueToString() 354 return std::to_string(static_cast<int>(doubleValue)); in NapiValueToString() 356 return std::to_string(doubleValue); in NapiValueToString()
|
/ohos5.0/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()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb_data_share_adapter/unittest/ |
H A D | rdb_data_share_adapter_test.cpp | 352 double doubleValue; variable 353 allDataTypes->GetDouble(3, doubleValue); 354 EXPECT_EQ(doubleValue, 1.8);
|
/ohos5.0/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()
|
/ohos5.0/foundation/ability/dmsfwk/test/fuzztest/distributedwantparams_fuzzer/ |
H A D | distributedwantparams_fuzzer.cpp | 140 double doubleValue = static_cast<double>(GetU32Data(data)); in DoSomethingInterestingWithMyApiDistributedWantParams003() local 141 sptr<IInterface> doubleIt = Double::Box(doubleValue); in DoSomethingInterestingWithMyApiDistributedWantParams003()
|
/ohos5.0/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()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/include/ |
H A D | rd_json_object.h | 57 double doubleValue; member
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/ |
H A D | medialibrary_backup_clone_test.cpp | 779 double doubleValue; in VerifyImageFaceRestore() local 794 resultSet->GetDouble(index, doubleValue); in VerifyImageFaceRestore() 795 EXPECT_DOUBLE_EQ(doubleValue, 1.0); in VerifyImageFaceRestore() 798 resultSet->GetDouble(index, doubleValue); in VerifyImageFaceRestore() 799 EXPECT_DOUBLE_EQ(doubleValue, 1.0); in VerifyImageFaceRestore()
|