Home
last modified time | relevance | path

Searched refs:doubleValue (Results 1 – 25 of 57) sorted by relevance

123

/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/
H A Dunion_image_effect___data_value.md24 | 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 Ddistributeddb_schema_unit_test.cpp123 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 Dwantfifth_fuzzer.cpp49 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 DTestJsonHelper.cpp195 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 DTestUtils.cpp69 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 Dunion_image_effect___data_value.md24 | 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 Dnode_object_test.cpp47 double doubleValue = 1.0; variable
55 nodeObject->Put(nullptr, doubleValue);
66 nodeObject->Put(const_cast<char*>(str.c_str()), doubleValue);
H A Duobject_test.cpp58 double doubleValue = 1.0; variable
59 uObject.AddItemToObject("double", doubleValue);
H A Djson_util_test.cpp132 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 Dabnormal_branch_test.cpp72 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 Dwantparamsthird_fuzzer.cpp53 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 Ddata_ability_utils_test.cpp90 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 Drddbopen_fuzzer.cpp91 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 Ddistributedwant_fuzzer.cpp131 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 Drd_json_object.cpp37 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 Dgrd_type_export.h68 double doubleValue; member
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Ddatashare_result_set.cpp245 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 Dnapi_utils.cpp350 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 Dpreferences_value_parcel.cpp135 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 Drdb_data_share_adapter_test.cpp352 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 Ddatabase_utils.cpp154 … 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 Ddistributedwantparams_fuzzer.cpp140 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 Dresource_adapter_impl.cpp245 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 Drd_json_object.h57 double doubleValue; member
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/
H A Dmedialibrary_backup_clone_test.cpp779 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()

123