Home
last modified time | relevance | path

Searched refs:value (Results 14951 - 14975 of 22920) sorted by relevance

1...<<591592593594595596597598599600>>...917

/applications/standard/contacts_data/contacts/src/
H A Dcontacts_api.cpp110 * @param value Conditions for get type operation
114 int GetType(napi_env env, napi_value value) in GetType() argument
117 napi_typeof(env, value, &valueType); in GetType()
129 napi_has_property(env, value, key, &result); in GetType()
134 napi_has_property(env, value, key, &result); in GetType()
467 int value = contactsBuild.GetInt(env, id); in BuildQueryKeyPredicates() local
470 if (value != 0) { in BuildQueryKeyPredicates()
473 predicates.EqualTo("contact_id", std::to_string(value)); in BuildQueryKeyPredicates()
580 int value = contactsBuild.GetInt(env, id); in BuildIsLocalContactPredicates() local
582 if (value ! in BuildIsLocalContactPredicates()
603 int value = contactsBuild.GetInt(env, id); BuildIsMyCardPredicates() local
809 std::vector<DataShare::DataShareValuesBucket> value = executeHelper->valueContactData; LocalExecuteAddContact() local
898 std::vector<DataShare::DataShareValuesBucket> value = executeHelper->valueContactData; LocalExecuteUpdateContact() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_test_ng.cpp218 * @tc.steps: step3. get value from sliderPaintProperty. in HWTEST_F()
219 * @tc.expected: step3. the value is the same with setting. in HWTEST_F()
266 EXPECT_EQ(sliderPaintProperty->GetTrackBackgroundColor().value(), SliderModelNG::CreateSolidGradient(TEST_COLOR)); in HWTEST_F()
574 * @tc.desc: Test Slider min max value steps error value
580 * @tc.steps: step1. create frameNode and slider min value is greater than max value. in HWTEST_F()
591 * @tc.cases: case1. when slider min value is greater than max value, take 0 as min value, in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_util.cpp818 Drawing::Matrix::Buffer value; in GetRotationFromMatrix() local
819 matrix.GetAll(value); in GetRotationFromMatrix()
821 int rAngle = static_cast<int>(-round(atan2(value[Drawing::Matrix::Index::SKEW_X], in GetRotationFromMatrix()
822 value[Drawing::Matrix::Index::SCALE_X]) * (180 / PI))); in GetRotationFromMatrix()
833 Drawing::Matrix::Buffer value; in GetRotationDegreeFromMatrix() local
834 matrix.GetAll(value); in GetRotationDegreeFromMatrix()
835 return static_cast<int>(-round(atan2(value[Drawing::Matrix::Index::SKEW_X], in GetRotationDegreeFromMatrix()
836 value[Drawing::Matrix::Index::SCALE_X]) * (180 / PI))); in GetRotationDegreeFromMatrix()
841 Drawing::Matrix::Buffer value; in Is3DRotation() local
842 matrix.GetAll(value); in Is3DRotation()
[all...]
/third_party/backends/backend/
H A Dhp3900_sane.c220 void *value, SANE_Int * pInfo);
891 double value, c; in gamma_create() local
899 /* check gamma value */ in gamma_create()
919 value = (a / (65536. - 1)); in gamma_create()
920 value = pow (value, (1. / gamma)); in gamma_create()
921 value = value * (65536. - 1); in gamma_create()
923 c = (SANE_Int) value; in gamma_create()
1938 /* This function returns value containe in option_get()
2011 option_set(TScanner * scanner, SANE_Int optid, void *value, SANE_Int * pInfo) option_set() argument
[all...]
H A Dmustek_pp_cis.c297 * Converts a register value to a hex/dec/bin representation.
305 more than one value is converted in a printf statement). in Mustek_PP_1015_show_val()
352 " R1: %s : scan value\n" in Mustek_PP_1015_display_regs()
407 * Displays a single register value
677 * Writes a value to the currently open register.
920 DBG (4, "cis_set_dpi_value: dpi: %d -> value 0x%02x\n", dev->CIS.hw_hres, val); in cis_set_dpi_value()
1069 /* The TWAIN drivers always sends the same value: 0x96 */ in cis_config_ccd()
1166 * During a multi-step feed, the expose time is fixed. The value depends in cis_move_motor()
1452 read a few extra bytes -> use the last calibration value) */ in cis_read_line_low_level()
1473 /* Insert an interpolated value */ in cis_read_line_low_level()
2414 int value = 0; cis_drv_config() local
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_resource.c772 If is tiling then VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT, the value of in resource_object_create()
1282 uint64_t *value) in zink_resource_get_param()
1314 *value = util_format_get_num_planes(res->drm_format); in zink_resource_get_param()
1316 *value = 1; in zink_resource_get_param()
1327 *value = sub_res_layout.rowPitch; in zink_resource_get_param()
1339 *value = srl.offset; in zink_resource_get_param()
1344 *value = obj->modifier; in zink_resource_get_param()
1357 *value = srl.depthPitch; in zink_resource_get_param()
1359 *value = srl.arrayPitch; in zink_resource_get_param()
1380 *value in zink_resource_get_param()
1275 zink_resource_get_param(struct pipe_screen *pscreen, struct pipe_context *pctx, struct pipe_resource *pres, unsigned plane, unsigned layer, unsigned level, enum pipe_resource_param param, unsigned handle_usage, uint64_t *value) zink_resource_get_param() argument
1460 uint64_t value; zink_resource_get_handle() local
[all...]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dpngstest.c65 # define voidcast(type, value) static_cast<type>(value)
66 # define aligncastconst(type, value) \
67 static_cast<type>(static_cast<const void*>(value))
69 # define voidcast(type, value) (value)
70 # define aligncastconst(type, value) ((const void*)(value))
235 * sRGB transform, given an 8-bit value which might be either sRGB or power-law.
238 power_law_error8(int value)
[all...]
/third_party/python/Lib/test/test_email/
H A Dtest__header_value_parser.py16 self.assertEqual(x.value, '')
22 def _assert_results(self, tl, rest, string, value, defects, remainder,
25 self.assertEqual(tl.value, value)
31 def _test_get_x(self, method, source, string, value, defects,
34 self._assert_results(tl, rest, string, value, defects, remainder,
38 def _test_parse_x(self, method, input, string, value, defects,
41 self._assert_results(tl, '', string, value, defects, '', comments)
175 def _get_unst(self, value):
176 token = parser.get_unstructured(value)
[all...]
/third_party/node/deps/v8/src/d8/
H A Dd8.cc413 Local<Value> value = in UpdateIncludedCategoriesList() local
415 if (value->IsArray()) { in UpdateIncludedCategoriesList()
416 Local<Array> v8_array = value.As<Array>(); in UpdateIncludedCategoriesList()
631 std::is_same<T, Module>::value ? v8::ScriptType::kModule in CompileString()
831 // the returned value. in ExecuteString()
1460 // Treat every line as a JSON value and parse it.
1484 Local<Value> value; in LoadJSON() local
1485 if (!maybe_value.ToLocal(&value)) { in LoadJSON()
1573 Local<v8::Value> value = std::get<2>(tuple).Get(isolate_); in HandleUnhandledPromiseRejections() local
1574 Shell::ReportException(isolate_, message, value); in HandleUnhandledPromiseRejections()
1693 Local<Value> value = TryGetValue(isolate, context, object, "detailed") PerformanceMeasureMemory() local
1950 RealmSharedSet(Local<String> property, Local<Value> value, const PropertyCallbackInfo<void>& info) RealmSharedSet() argument
1975 Local<Value> value; RealmTakeWebSnapshot() local
2410 Local<Value> value; ReadCodeTypeAndArguments() local
2624 Local<Value> value; WorkerGetMessage() local
2896 Stringify(Isolate* isolate, Local<Value> value) Stringify() argument
3797 Local<Value> value = exception->Get(context, key).ToLocalChecked(); Send() local
4242 Local<Value> value; ProcessMessage() local
4511 const char* value = argv[i] + 7; SetOptions() local
4792 SetWaitUntilDone(Isolate* isolate, bool value) SetWaitUntilDone() argument
4923 WriteValue(Local<Context> context, Local<Value> value, Local<Value> transfer) WriteValue() argument
5218 SerializeValue( Isolate* isolate, Local<Value> value, Local<Value> transfer) SerializeValue() argument
5232 Local<Value> value; DeserializeValue() local
[all...]
/third_party/node/deps/v8/src/execution/arm64/
H A Dsimulator-arm64.cc260 // The least significant byte of the curruption value holds the corresponding
262 void Simulator::CorruptRegisters(CPURegList* list, uint64_t value) { in CorruptRegisters() argument
266 set_xreg(code, value | code); in CorruptRegisters()
272 set_dreg_bits(code, value | code); in CorruptRegisters()
386 // Set FP registers to a value that is NaN in both 32-bit and 64-bit FP. in ResetState()
421 // FLAG_stop_sim_at is at the non-default value. Stop in the debugger when in Run()
696 // ObjectPair as return value. This diverges the calling convention from in DoRuntimeCall()
792 TraceSim("No return value."); in DoRuntimeCall()
865 TraceSim("No return value."); in DoRuntimeCall()
878 TraceSim("No return value in DoRuntimeCall()
1095 ShiftOperand(T value, Shift shift_type, unsigned amount) ShiftOperand() argument
[all...]
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event.cpp73 napi_value value = nullptr; in SetCommonEventData() local
79 &value); in SetCommonEventData()
80 napi_set_named_property(commonEventDataWorkerData->env, result, "event", value); in SetCommonEventData()
87 &value); in SetCommonEventData()
88 napi_set_named_property(commonEventDataWorkerData->env, result, "bundleName", value); in SetCommonEventData()
91 napi_create_int32(commonEventDataWorkerData->env, commonEventDataWorkerData->code, &value); in SetCommonEventData()
92 napi_set_named_property(commonEventDataWorkerData->env, result, "code", value); in SetCommonEventData()
97 commonEventDataWorkerData->env, commonEventDataWorkerData->data.c_str(), NAPI_AUTO_LENGTH, &value); in SetCommonEventData()
98 napi_set_named_property(commonEventDataWorkerData->env, result, "data", value); in SetCommonEventData()
1036 std::shared_ptr<SubscriberInstance> GetSubscriber(const napi_env &env, const napi_value &value) in GetSubscriber() argument
1065 GetSubscriberByUnsubscribe( const napi_env &env, const napi_value &value, std::shared_ptr<SubscriberInstance> &subscriber, bool &isFind) GetSubscriberByUnsubscribe() argument
[all...]
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dnapi_common_event.cpp103 napi_value value = nullptr; in SetCommonEventData() local
109 &value); in SetCommonEventData()
110 napi_set_named_property(commonEventDataWorkerData->env, result, "event", value); in SetCommonEventData()
116 &value); in SetCommonEventData()
117 napi_set_named_property(commonEventDataWorkerData->env, result, "bundleName", value); in SetCommonEventData()
120 napi_create_int32(commonEventDataWorkerData->env, commonEventDataWorkerData->code, &value); in SetCommonEventData()
121 napi_set_named_property(commonEventDataWorkerData->env, result, "code", value); in SetCommonEventData()
125 commonEventDataWorkerData->env, commonEventDataWorkerData->data.c_str(), NAPI_AUTO_LENGTH, &value); in SetCommonEventData()
126 napi_set_named_property(commonEventDataWorkerData->env, result, "data", value); in SetCommonEventData()
432 std::shared_ptr<SubscriberInstance> GetSubscriber(const napi_env &env, const napi_value &value) in GetSubscriber() argument
694 GetSubscriberByUnsubscribe( const napi_env &env, const napi_value &value, std::shared_ptr<SubscriberInstance> &subscriber, bool &isFind) GetSubscriberByUnsubscribe() argument
[all...]
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch3_test.cpp521 std::string value = "123"; in HWTEST_F() local
522 call.ControlCamera(value, 1, 1); in HWTEST_F()
523 call.SetPausePicture(value); in HWTEST_F()
524 uint64_t tempSurfaceId = std::stoull(value); in HWTEST_F()
527 value = ""; in HWTEST_F()
529 call.SetPreviewWindow(value, surface); in HWTEST_F()
530 call.SetDisplayWindow(value, surface); in HWTEST_F()
716 std::u16string value = u""; in HWTEST_F() local
717 ASSERT_NE(callControlManager->SetImsConfig(INVALID_CALLID, item, value), TELEPHONY_SUCCESS); in HWTEST_F()
718 ASSERT_NE(callControlManager->SetImsConfig(slotId, item, value), TELEPHONY_SUCCES in HWTEST_F()
764 std::u16string value = u""; HWTEST_F() local
[all...]
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c806 static int32_t UsbSerialRegistPropAGet(const struct UsbFnInterface *intf, const char *name, const char *value) in UsbSerialRegistPropAGet() argument
810 HDF_LOGE("%{public}s: value = %{public}s", __func__, value); in UsbSerialRegistPropAGet()
815 static int32_t UsbSerialRegistPropASet(const struct UsbFnInterface *intf, const char *name, const char *value) in UsbSerialRegistPropASet() argument
819 HDF_LOGE("%{public}s: value = %{public}s", __func__, value); in UsbSerialRegistPropASet()
839 registInfo.value = propValue; in UsbSerialRegistProp()
953 struct UsbCdcLineCoding *value = req->buf; in AcmCtrlComplete() local
954 if (req->actual == sizeof(*value)) { in AcmCtrlComplete()
955 acm->lineCoding = *value; in AcmCtrlComplete()
1108 uint16_t value = LE16_TO_CPU(setup->value); AcmSetup() local
1238 AcmSendNotifyRequest( struct UsbAcmDevice *acm, uint8_t type, uint16_t value, const void *data, uint32_t length) AcmSendNotifyRequest() argument
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_mgr_service.cpp1226 std::string value; in Dump() local
1227 if (!ParseOption(args, key, value, result)) { in Dump()
1234 return HiDumpHelp(value, result); in Dump()
1236 return HiDumpStaticBundleFormInfos(value, result); in Dump()
1238 return HiDumpStorageFormInfos(value, result); in Dump()
1240 return HiDumpHasFormVisible(value, result); in Dump()
1242 return HiDumpTemporaryFormInfos(value, result); in Dump()
1244 return HiDumpFormInfoByBundleName(value, result); in Dump()
1246 return HiDumpFormInfoByFormId(value, result); in Dump()
1248 return HiDumpFormRunningFormInfos(value, resul in Dump()
1322 ParseOption(const std::vector<std::u16string> &args, DumpKey &key, std::string &value, std::string &result) ParseOption() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_pattern.cpp479 textLayoutProperty->UpdateFontSize(dataPickerRowLayoutProperty->GetDisappearFontSize().value()); in UpdateDisappearTextProperties()
500 textLayoutProperty->UpdateFontSize(dataPickerRowLayoutProperty->GetFontSize().value()); in UpdateCandidateTextProperties()
524 textLayoutProperty->UpdateFontSize(dataPickerRowLayoutProperty->GetSelectedFontSize().value()); in UpdateSelectedTextProperties()
558 return totalOptionCount <= showOptionCount / 2 + 1; // the critical value of loop condition. in NotLoopOptions()
568 measureContext.fontSize = textLayoutProperty->GetFontSize().value(); in AddAnimationTextProperties()
577 properties.fontSize = Dimension(textLayoutProperty->GetFontSize().value().ConvertToPx()); in AddAnimationTextProperties()
580 properties.currentColor = textLayoutProperty->GetTextColor().value(); in AddAnimationTextProperties()
583 properties.fontWeight = textLayoutProperty->GetFontWeight().value(); in AddAnimationTextProperties()
866 auto propertyCallback = [weak = AceType::WeakClaim(this)](float value) { in CreateAnimation()
869 column->ScrollOption(value); in CreateAnimation()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_grid_bridge.cpp34 void ParseGridItemSize(const Framework::JSRef<Framework::JSVal>& value, GridItemSize& gridItemSize) in ParseGridItemSize() argument
36 if (value->IsArray()) { in ParseGridItemSize()
37 auto array = Framework::JSRef<Framework::JSArray>::Cast(value); in ParseGridItemSize()
53 void ParseGridItemRect(const Framework::JSRef<Framework::JSVal>& value, GridItemRect& gridItemRect) in ParseGridItemRect() argument
55 if (value->IsArray()) { in ParseGridItemRect()
56 Framework::JSRef<Framework::JSArray> array = Framework::JSRef<Framework::JSArray>::Cast(value); in ParseGridItemRect()
193 columnGap.value = size.Value(); in SetColumnsGap()
232 rowsGap.value = size.Value(); in SetRowsGap()
359 auto value = DEFAULT_CACHED_COUNT; in SetCachedCount() local
361 ArkTSUtils::ParseJsInteger(vm, argCachedCount, value); in SetCachedCount()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.cpp917 floatAnimation->AddListener([weakBox = AceType::WeakClaim(this)](float value) { in CreateFloatAnimation()
920 box->scale_ = value; in CreateFloatAnimation()
939 colorAnimation->AddListener([weakBox = AceType::WeakClaim(this)](const Color& value) { in CreateColorAnimation()
944 box->hoverColor_ = value; in CreateColorAnimation()
1105 map[PropertyAnimatableType::PROPERTY_BACK_DECORATION_COLOR] = [textWeak](Color value) { in GetColorPropertySetterMap()
1110 renderTextField->SetColor(value); in GetColorPropertySetterMap()
1113 map[PropertyAnimatableType::PROPERTY_BACK_DECORATION_COLOR] = [weak](Color value) { in GetColorPropertySetterMap()
1118 box->SetColor(value, true); in GetColorPropertySetterMap()
1121 map[PropertyAnimatableType::PROPERTY_FRONT_DECORATION_COLOR] = [weak](Color value) { in GetColorPropertySetterMap()
1126 box->SetColor(value, fals in GetColorPropertySetterMap()
1168 SetShadow(const Shadow& value) SetShadow() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Dselect_overlay_manager_test_ng.cpp1062 ScrollableParentCallback callback = [&](Axis axis, float value, int32_t id) { in HWTEST_F()
1064 value = 0.0; in HWTEST_F()
1097 ScrollableParentCallback callback = [&](Axis axis, float value, int32_t id) { in HWTEST_F()
1099 value = 0.0; in HWTEST_F()
1132 ScrollableParentCallback callback = [&](Axis axis, float value, int32_t id) { in HWTEST_F()
1134 value = 0.0; in HWTEST_F()
1167 ScrollableParentCallback callback = [&](Axis axis, float value, int32_t id) { in HWTEST_F()
1169 value = 0.0; in HWTEST_F()
1202 ScrollableParentCallback callback = [&](Axis axis, float value, int32_t id) { in HWTEST_F()
1204 value in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_pattern.cpp511 textLayoutProperty->UpdateFontSize(timePickerLayoutProperty->GetDisappearFontSize().value()); in UpdateDisappearTextProperties()
534 textLayoutProperty->UpdateFontSize(timePickerLayoutProperty->GetFontSize().value()); in UpdateCandidateTextProperties()
556 textLayoutProperty->UpdateFontSize(timePickerLayoutProperty->GetSelectedFontSize().value()); in UpdateSelectedTextProperties()
637 measureContext.fontSize = textLayoutProperty->GetFontSize().value(); in AddAnimationTextProperties()
646 properties.fontSize = Dimension(textLayoutProperty->GetFontSize().value().ConvertToPx()); in AddAnimationTextProperties()
649 properties.fontWeight = textLayoutProperty->GetFontWeight().value(); in AddAnimationTextProperties()
652 properties.currentColor = textLayoutProperty->GetTextColor().value(); in AddAnimationTextProperties()
914 auto propertyCallback = [weak = AceType::WeakClaim(this)](float value) { in CreateAnimation()
917 column->ScrollOption(value); in CreateAnimation()
922 auto aroundClickCallback = [weak = AceType::WeakClaim(this)](float value) { in CreateAnimation()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/video/
H A Dvideo_property_test_ng.cpp161 VideoModelNG().Create(testProperty.videoController.value()); in CreateVideoNode()
174 VideoModelNG().SetSrc(testProperty.src.value(), "", ""); in CreateVideoNode()
177 VideoModelNG().SetProgressRate(testProperty.progressRate.value()); in CreateVideoNode()
180 VideoModelNG().SetPosterSourceInfo(testProperty.posterUrl.value(), "", ""); in CreateVideoNode()
183 VideoModelNG().SetMuted(testProperty.muted.value()); in CreateVideoNode()
186 VideoModelNG().SetAutoPlay(testProperty.autoPlay.value()); in CreateVideoNode()
189 VideoModelNG().SetControls(testProperty.controls.value()); in CreateVideoNode()
192 VideoModelNG().SetLoop(testProperty.loop.value()); in CreateVideoNode()
195 VideoModelNG().SetObjectFit(testProperty.objectFit.value()); in CreateVideoNode()
427 // controlBarHeight is 40 defined in theme, but pipeline context is null in UT which cannot get the value in HWTEST_F()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_object_utils.cpp1142 string value; in GetStringColumnByIdFromDb() local
1146 return value; in GetStringColumnByIdFromDb()
1151 return value; in GetStringColumnByIdFromDb()
1165 CHECK_AND_RETURN_RET_LOG(queryResultSet != nullptr, value, "Failed to obtain value from database"); in GetStringColumnByIdFromDb()
1168 CHECK_AND_RETURN_RET_LOG(ret == 0, value, "Failed to shift at first row"); in GetStringColumnByIdFromDb()
1171 CHECK_AND_RETURN_RET_LOG(ret == 0, value, "Failed to obtain column index"); in GetStringColumnByIdFromDb()
1173 ret = queryResultSet->GetString(columnIndex, value); in GetStringColumnByIdFromDb()
1174 CHECK_AND_RETURN_RET_LOG(ret == 0, value, "Failed to obtain value"); in GetStringColumnByIdFromDb()
1357 IsColumnValueExist(const string &value, const string &column) IsColumnValueExist() argument
1615 UpdateAnalysisProp(const std::string value) UpdateAnalysisProp() argument
[all...]
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/
H A Djs_window_manager.cpp484 napi_value value = nullptr; in ParseConfigOption() local
485 napi_get_named_property(env, jsObject, "ctx", &value); in ParseConfigOption()
486 if (GetType(env, value) == napi_undefined) { in ParseConfigOption()
490 GetNativeContext(env, value, contextPtr, errCode); in ParseConfigOption()
800 napi_value value = argv[1]; in OnRegisterWindowManagerCallback() local
801 if (!NapiIsCallable(env, value)) { in OnRegisterWindowManagerCallback()
807 WmErrorCode ret = registerManager_->RegisterListener(nullptr, cbType, CaseType::CASE_WINDOW_MANAGER, env, value); in OnRegisterWindowManagerCallback()
834 napi_value value = nullptr; in OnUnregisterWindowManagerCallback() local
837 ret = registerManager_->UnregisterListener(nullptr, cbType, CaseType::CASE_WINDOW_MANAGER, env, value); in OnUnregisterWindowManagerCallback()
839 value in OnUnregisterWindowManagerCallback()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_single_kv_store.cpp167 * put(key:string, value:Uint8Array | string | boolean | number, callback: AsyncCallback<void>):void;
169 * put(key:string, value:Uint8Array | string | boolean | number):Promise<void>;
175 JSUtil::KvStoreVariant value; in Put() member
179 // required 2 arguments :: <key> <value> in Put()
185 ctxt->status = JSUtil::GetValue(env, argv[1], ctxt->value); in Put()
191 ThrowNapiError(env, Status::INVALID_ARGUMENT, "Parameter error:the type of value must be:" + type->second); in Put()
201 DistributedKv::Value value = isSchemaStore ? DistributedKv::Blob(std::get<std::string>(ctxt->value)) in Put()
202 : JSUtil::VariantValue2Blob(ctxt->value); in Put()
203 Status status = kvStore->Put(key, value); in Put()
887 JSUtil::KvStoreVariant value; Get() member
[all...]
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dtrust_profile_manager_test.cpp674 ValuesBucket value; in HWTEST_F() local
675 ProfileUtils::AccessControlProfileToEntries(profile[i], value); in HWTEST_F()
677 ProfileUtils::EntriesToAccessControlProfile(value, aclProfile); in HWTEST_F()
678 value.Clear(); in HWTEST_F()
680 ProfileUtils::AccesserToEntries(profile[i], value); in HWTEST_F()
682 ProfileUtils::EntriesToAccesser(value, accesser); in HWTEST_F()
683 value.Clear(); in HWTEST_F()
685 ProfileUtils::AccesseeToEntries(profile[i], value); in HWTEST_F()
687 ProfileUtils::EntriesToAccessee(value, accessee); in HWTEST_F()
688 value in HWTEST_F()
1351 ValuesBucket value; HWTEST_F() local
[all...]

Completed in 59 milliseconds

1...<<591592593594595596597598599600>>...917