/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_register_syncdb_test.cpp | 63 string temp = DBCommon::VectorToHexString(entry.value); in PrintfEntryList() 66 LOGI("value[%s]", temp.c_str()); in PrintfEntryList() 67 LOGI("value size[%zu]", temp.size()); in PrintfEntryList() 82 if (entry.value != expectEntry.value) { in TestEntryList() 83 LOGE("entry[%s]:[%s]", DBCommon::VectorToHexString(entry.value).c_str(), in TestEntryList() 84 DBCommon::VectorToHexString(expectEntry.value).c_str()); in TestEntryList() 93 LOGE("No value can matches!"); in TestEntryList() 110 entry.value = TransStrToVector(valueStr); in GetEntry() 216 Value value; in HWTEST_F() local 379 Value value; HWTEST_F() local 665 Value value; HWTEST_F() local 832 Value value; HWTEST_F() local 853 CreatEntrysData(size_t size, uint8_t value, vector<Entry> &entries) CreatEntrysData() argument 949 Value value; HWTEST_F() local 991 Value value; HWTEST_F() local 1272 Value value; HWTEST_F() local 1453 Value value; HWTEST_F() local 1650 Value value; SnapshotUnRegisterObserver004Inner() local 1711 Value value; HWTEST_F() local 1889 Value value; HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | jpeg_decoder.cpp | 271 // Calculate the largest inSampleSize value that is a power of 2 and keeps both in CalculateInSampleSize() 401 .strideAlignment = 0x8, // set 0x8 as default value to alloc SurfaceBufferImpl in DoSwDecode() 770 uint32_t JpegDecoder::GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) in GetImagePropertyInt() argument 786 value = PROPERTY_INT.at(exifInfo_.orientation_); in GetImagePropertyInt() 799 uint32_t JpegDecoder::GetImagePropertyString(uint32_t index, const std::string &key, std::string &value) in GetImagePropertyString() argument 813 value = exifInfo_.bitsPerSample_; in GetImagePropertyString() 815 value = exifInfo_.orientation_; in GetImagePropertyString() 817 value = exifInfo_.imageLength_; in GetImagePropertyString() 819 value = exifInfo_.imageWidth_; in GetImagePropertyString() 821 value in GetImagePropertyString() 843 GetImagePropertyString(const std::string &key, std::string &value) GetImagePropertyString() argument 896 GetImagePropertyStringEx(const std::string &key, std::string &value) GetImagePropertyStringEx() argument 918 GetMakerImagePropertyString(const std::string &key, std::string &value) GetMakerImagePropertyString() argument 974 FormatTimeStamp(std::string &value, std::string &src) FormatTimeStamp() argument 1017 ModifyImageProperty(uint32_t index, const std::string &key, const std::string &value, const std::string &path) ModifyImageProperty() argument 1033 ModifyImageProperty(uint32_t index, const std::string &key, const std::string &value, const int fd) ModifyImageProperty() argument 1050 ModifyImageProperty(uint32_t index, const std::string &key, const std::string &value, uint8_t *data, uint32_t size) ModifyImageProperty() argument [all...] |
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_notification.cpp | 34 const napi_value &value, NotificationRequest &request) in GetNotificationRequestDistributedOptions() 42 NAPI_CALL(env, napi_has_named_property(env, value, "distributedOption", &hasProperty)); in GetNotificationRequestDistributedOptions() 44 napi_get_named_property(env, value, "distributedOption", &result); in GetNotificationRequestDistributedOptions() 71 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationIsDistributed() 80 NAPI_CALL(env, napi_has_named_property(env, value, "isDistributed", &hasProperty)); in GetNotificationIsDistributed() 82 napi_get_named_property(env, value, "isDistributed", &result); in GetNotificationIsDistributed() 33 GetNotificationRequestDistributedOptions(const napi_env &env, const napi_value &value, NotificationRequest &request) GetNotificationRequestDistributedOptions() argument 70 GetNotificationIsDistributed( const napi_env &env, const napi_value &value, NotificationRequest &request) GetNotificationIsDistributed() argument
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
H A D | rbtree.h | 27 typedef void (*RbTreeNodeHandler)(RbTreeKey key, RbTreeValue value, const void *context); 29 typedef int (*RbTreeValueEncoder)(RbTreeValue value, uint8_t *buf, uint32_t *size); 30 typedef int (*RbTreeValueDecoder)(RbTreeValue *value, const uint8_t *buf, uint32_t size); 31 typedef void (*RbTreeValueFree)(RbTreeValue *value); 39 RbTreeValue value; member 56 int32_t RbTreeInsert(struct RbTree *t, RbTreeKey key, const RbTreeValue value);
|
/base/security/device_auth/frameworks/deviceauth_lite/inc/json/ |
H A D | jsonutil.h | 37 json_pobject add_string_to_object(json_pobject parent, const char *field, const char *value); 38 json_pobject add_number_to_object(json_pobject parent, const char *field, int32_t value); 39 json_pobject add_bool_to_object(json_pobject parent, const char *field, int32_t value); 46 void add_string_to_array(json_pobject objArr, const char *value); 47 void add_number_to_array(json_pobject objArr, int32_t value); 48 void add_bool_to_array(json_pobject objArr, int32_t value);
|
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | jsonutil_test.h | 40 json_pobject add_string_to_object(json_pobject parent, const char *field, const char *value); 41 json_pobject add_number_to_object(json_pobject parent, const char *field, int32_t value); 42 json_pobject add_bool_to_object(json_pobject parent, const char *field, int32_t value); 49 void add_string_to_array(json_pobject objArr, const char *value); 50 void add_number_to_array(json_pobject objArr, int32_t value); 51 void add_bool_to_array(json_pobject objArr, int32_t value);
|
/base/security/device_security_level/services/dfx/ |
H A D | dslm_hitrace.cpp | 24 void DslmStartProcessTrace(const char *value) in DslmStartProcessTrace() argument 26 StartTrace(HITRACE_TAG_DLSM, std::string(value)); in DslmStartProcessTrace() 42 void DslmStartProcessTraceAsync(const char *value, uint32_t owner, uint32_t cookie) in DslmStartProcessTraceAsync() argument 44 std::string traceValue = std::string(value) + "_" + std::to_string(owner) + "_" + std::to_string(cookie); in DslmStartProcessTraceAsync() 48 void DslmFinishProcessTraceAsync(const char *value, uint32_t owner, uint32_t cookie) in DslmFinishProcessTraceAsync() argument 50 std::string traceValue = std::string(value) + "_" + std::to_string(owner) + "_" + std::to_string(cookie); in DslmFinishProcessTraceAsync()
|
/base/update/updateservice/services/core/ability/preference/src/ |
H A D | preference_utils_empty.cpp | 27 bool PreferencesUtil::SaveString(const std::string &key, const std::string &value) in SaveString() argument 32 bool PreferencesUtil::SaveInt(const std::string &key, int value) in SaveInt() argument 37 bool PreferencesUtil::SaveBool(const std::string &key, bool value) in SaveBool() argument 42 bool PreferencesUtil::SaveLong(const std::string &key, int64_t value) in SaveLong() argument 47 bool PreferencesUtil::SaveFloat(const std::string &key, float value) in SaveFloat() argument 53 bool PreferencesUtil::Save(const std::string &key, const T &value) in Save() argument
|
/base/update/updateservice/services/core/ability/adapter/src/ |
H A D | device_adapter.cpp | 38 bool DeviceAdapter::IsValidParamValue(const char *value, uint32_t len) in IsValidParamValue() argument 40 return (value != NULL) && (strlen(value) + 1 <= len); in IsValidParamValue() 48 std::vector<char> value(size + 1); in GetParameter() 49 ret = SystemReadParam(key.c_str(), value.data(), &size); in GetParameter() 51 return std::string(value.data()); in GetParameter()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_datetime_component.h | 31 void SetSelectedDateTime(const PickerDateTime& value) in SetSelectedDateTime() argument 33 selectedDate_ = value.GetDate(); in SetSelectedDateTime() 34 SetSelectedTime(value.GetTime()); in SetSelectedDateTime() 37 void SetShowLunar(bool value) in SetShowLunar() argument 39 lunar_ = value; in SetShowLunar() 66 void OnTriangleCallback(bool value) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | toggle_button_paint_property.h | 34 auto value = MakeRefPtr<ToggleButtonPaintProperty>(); variable 35 value->PaintProperty::UpdatePaintProperty(DynamicCast<PaintProperty>(this)); 36 value->propIsOn_ = CloneIsOn(); 37 value->propSelectedColor_ = CloneSelectedColor(); 38 value->propBackgroundColor_ = CloneBackgroundColor(); 39 return value;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/ |
H A D | flex_model.h | 58 virtual void SetWrapMainAlignment(WrapAlignment value) = 0; 61 virtual void SetWrapCrossAlignment(WrapAlignment value) = 0; 63 virtual void SetAlignItems(int32_t value) = 0; 64 virtual void SetWrapAlignment(WrapAlignment value) = 0; 71 virtual void SetJustifyContent(int32_t value) = 0; 73 virtual void SetAlignContent(int32_t value) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | motion_path_option.h | 40 void SetBegin(float value) in SetBegin() argument 42 begin_ = value; in SetBegin() 50 void SetEnd(float value) in SetEnd() argument 52 end_ = value; in SetEnd() 60 void SetRotate(bool value) in SetRotate() argument 62 rotate_ = value; in SetRotate()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_item_model_ng.h | 29 void SetRowStart(int32_t value) override; 30 void SetRowEnd(int32_t value) override; 31 void SetColumnStart(int32_t value) override; 32 void SetColumnEnd(int32_t value) override; 33 void SetForceRebuild(bool value) override; 34 void SetSelectable(bool value) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/hyperlink/ |
H A D | hyperlink_layout_property.h | 37 auto value = MakeRefPtr<HyperlinkLayoutProperty>(); variable 38 TextLayoutProperty::Clone(value); 39 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 40 value->propColor_ = CloneColor(); 41 value->propContent_ = CloneContent(); 42 return value;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_layout_property.h | 33 auto value = MakeRefPtr<DividerLayoutProperty>(); variable 34 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 35 value->propVertical_ = CloneVertical(); 36 value->propStrokeWidth_ = CloneStrokeWidth(); 37 value->propStrokeWidthLimitation_ = CloneStrokeWidthLimitation(); 38 return value;
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | calc_dimension.h | 27 explicit CalcDimension(const std::string& value, DimensionUnit unit = DimensionUnit::CALC) in CalcDimension() argument 29 calcvalue_ = value; in CalcDimension() 33 CalcDimension(double value, DimensionUnit unit = DimensionUnit::PX) : Dimension(value, unit) {}; in CalcDimension() argument 41 void SetCalcValue(const std::string& value) in SetCalcValue() argument 43 calcvalue_ = value; in SetCalcValue()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_counter_ffi.cpp | 30 void FfiOHOSAceFrameworkCounterSetWidth(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetWidth() argument 32 Dimension dValue(value, static_cast<DimensionUnit>(unit)); in FfiOHOSAceFrameworkCounterSetWidth() 39 void FfiOHOSAceFrameworkCounterSetHeight(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetHeight() argument 41 Dimension dValue(value, static_cast<DimensionUnit>(unit)); in FfiOHOSAceFrameworkCounterSetHeight() 54 void FfiOHOSAceFrameworkCounterSetControlWidth(double value, int32_t unit) in FfiOHOSAceFrameworkCounterSetControlWidth() argument 56 Dimension dValue(value, static_cast<DimensionUnit>(unit)); in FfiOHOSAceFrameworkCounterSetControlWidth()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_event_hub.h | 41 void FireOnStateChange(const int32_t value) const in FireOnStateChange() 44 stateChange_(value); in FireOnStateChange() 64 void FireChangeEvent(const std::string& value) const in FireChangeEvent() 67 changeEvent_(value); in FireChangeEvent() 81 void FireOnOffsetChange(const float value) const in FireOnOffsetChange() 84 offsetChange_(value); in FireOnOffsetChange()
|
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | serializeable_object.h | 40 virtual bool Put(const char* key, const char* value) = 0; 41 virtual bool Put(const char* key, size_t value) = 0; 42 virtual bool Put(const char* key, int32_t value) = 0; 43 virtual bool Put(const char* key, int64_t value) = 0; 44 virtual bool Put(const char* key, double value) = 0; 45 virtual bool Put(const char* key, bool value) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | stepper_item_modifier.cpp | 20 void SetNextLabel(ArkUINodeHandle node, ArkUI_CharPtr value) in SetNextLabel() argument 24 std::string rightLabel = value; in SetNextLabel() 35 void SetPrevLabel(ArkUINodeHandle node, ArkUI_CharPtr value) in SetPrevLabel() argument 39 std::string leftLabel = value; in SetPrevLabel() 50 void SetStatus(ArkUINodeHandle node, ArkUI_CharPtr value) in SetStatus() argument 54 std::string labelStatus = value; in SetStatus()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_event_hub.h | 37 void FireChangeEvent(float value, int32_t mode) in FireChangeEvent() argument 48 onChangeEvent_(value); in FireChangeEvent() 51 changeEvent_(value, mode); in FireChangeEvent() 53 value_ = value; in FireChangeEvent() 57 void SetValue(float value) in SetValue() argument 60 value_ = value; in SetValue()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | link_queue.cpp | 53 bool LinkQueue::Enqueue(const char *value) in Enqueue() argument 55 if (value == nullptr || rear_ == nullptr) { in Enqueue() 62 QueueNode* node = new QueueNode(value); in Enqueue() 73 bool LinkQueue::Dequeue(const char **value) in Dequeue() argument 79 if (value != nullptr) { in Dequeue() 80 *value = tmp->GetNodeData(); in Dequeue()
|
H A D | link_stack.cpp | 54 bool LinkStack::Push(const char *value) in Push() argument 56 if (value == nullptr || top_ == nullptr) { in Push() 64 StackNode *node = new StackNode(value); in Push() 76 bool LinkStack::Pop(const char **value) in Pop() argument 82 if (value != nullptr) { in Pop() 83 *value = top_->GetNodeData(); in Pop()
|
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_symbol.cpp | 39 bool ARKTS_IsSymbol(ARKTS_Env env, ARKTS_Value value) in ARKTS_IsSymbol() argument 41 auto tag = BIT_CAST(value, JSValueRef); in ARKTS_IsSymbol() 45 tag = *BIT_CAST(value, JSValueRef*); in ARKTS_IsSymbol() 50 const char* ARKTS_GetSymbolDesc(ARKTS_Env env, ARKTS_Value value) in ARKTS_GetSymbolDesc() argument 53 ARKTS_ASSERT_P(ARKTS_IsSymbol(env, value), "value is not a symbol"); in ARKTS_GetSymbolDesc() 56 auto symbol = *P_CAST(value, SymbolRef*); in ARKTS_GetSymbolDesc()
|