Home
last modified time | relevance | path

Searched refs:value (Results 2926 - 2950 of 22154) sorted by relevance

1...<<111112113114115116117118119120>>...887

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_common_ffi.h47 double value; member
58 NativeLength value; member
63 int32_t value; member
68 int64_t value; member
73 uint32_t value; member
78 float value; member
83 double value; member
88 void (*value)(); member
93 bool value; member
103 CArrInt32 value; member
108 const char* value; global() member
126 const char* value; global() member
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_plugin.cpp100 CalcDimension value; in JsWidth() local
101 if (!ParseJsDimensionVp(info[0], value)) { in JsWidth()
105 if (LessNotEqual(value.Value(), 0.0)) { in JsWidth()
106 value.SetValue(0.0); in JsWidth()
109 PluginModel::GetInstance()->SetWidth(value.IsValid() ? value : 0.0_vp); in JsWidth()
114 CalcDimension value; in JsHeight() local
115 if (!ParseJsDimensionVp(info[0], value)) { in JsHeight()
119 if (LessNotEqual(value.Value(), 0.0)) { in JsHeight()
120 value in JsHeight()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Drect_model_ng.cpp39 void RectModelNG::SetRadiusWidth(const Dimension& value) in SetRadiusWidth() argument
42 value.IsNegative() ? radius.SetX(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetX(value); in SetRadiusWidth()
47 void RectModelNG::SetRadiusHeight(const Dimension& value) in SetRadiusHeight() argument
50 value.IsNegative() ? radius.SetY(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetY(value); in SetRadiusHeight()
170 void RectModelNG::SetRadiusWidth(FrameNode* frameNode, const Dimension& value) in SetRadiusWidth() argument
173 value.IsNegative() ? radius.SetX(Dimension(DEFAULT_RADIUS_VALUE)) : radius.SetX(value); in SetRadiusWidth()
178 void RectModelNG::SetRadiusHeight(FrameNode* frameNode, const Dimension& value) in SetRadiusHeight() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_utils.h28 inline float GET_PADDING_PROPERTY_VALUE_PX(const std::optional<CalcLength>& value) in GET_PADDING_PROPERTY_VALUE_PX() argument
30 return value.value_or(CalcLength(0.0_vp)).GetDimension().ConvertToPx(); in GET_PADDING_PROPERTY_VALUE_PX()
33 inline float GET_BORDER_PROPERTY_VALUE_PX(const std::optional<Dimension>& value) in GET_BORDER_PROPERTY_VALUE_PX() argument
35 return value.value_or(Dimension(0.0, DimensionUnit::PX)).ConvertToPx(); in GET_BORDER_PROPERTY_VALUE_PX()
151 if (left.has_value() && GreatOrEqual(left.value().Value(), 0)) { in CalcIndicatrOffSetX()
152 auto leftValue = GetValidEdgeLength(swiperWidth, indicatorWidth, left.value()); in CalcIndicatrOffSetX()
154 } else if (right.has_value() && GreatOrEqual(right.value().Value(), 0)) { in CalcIndicatrOffSetX()
155 auto rightValue = GetValidEdgeLength(swiperWidth, indicatorWidth, right.value()); in CalcIndicatrOffSetX()
174 if (top.has_value() && GreatOrEqual(top.value().Value(), 0)) { in CalcIndicatrOffsetY()
175 auto topValue = GetValidEdgeLength(swiperHeight, indicatorHeight, top.value()); in CalcIndicatrOffsetY()
[all...]
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_axis_unit_test.cpp302 int16_t value = 2; in HWTEST_F() local
305 axisX_->TranslateToPixel(value); in HWTEST_F()
306 int16_t value2 = startx.x + static_cast<int16_t>((value - 0) * minXStep); in HWTEST_F()
307 EXPECT_EQ(value, value2); in HWTEST_F()
320 int16_t value = 2; in HWTEST_F() local
323 axisX_->TranslateToPixel(value); in HWTEST_F()
324 int16_t value2 = starty.y + static_cast<int16_t>((0 - value + 0) * minYStep); in HWTEST_F()
325 EXPECT_EQ(value, value2); in HWTEST_F()
338 int16_t value = 2; in HWTEST_F() local
341 axisY_->TranslateToPixel(value); in HWTEST_F()
[all...]
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_object.cpp23 ARKTS_INLINE bool ARKTSInner_IsJSKey(ARKTS_Env env, ARKTS_Value value) in ARKTSInner_IsJSKey() argument
25 auto tag = BIT_CAST(value, JSValueRef); in ARKTSInner_IsJSKey()
29 tag = *P_CAST(value, JSValueRef*); in ARKTSInner_IsJSKey()
44 bool ARKTS_IsHeapObject(ARKTS_Value value) in ARKTS_IsHeapObject() argument
46 auto v = BIT_CAST(value, JSValueRef); in ARKTS_IsHeapObject()
50 bool ARKTS_IsObject(ARKTS_Env env, ARKTS_Value value) in ARKTS_IsObject() argument
52 auto v = BIT_CAST(value, JSValueRef); in ARKTS_IsObject()
56 v = *P_CAST(value, JSValueRef*); in ARKTS_IsObject()
95 auto value = ARKTS_ToHandle<JSValueRef>(jvalue); in ARKTS_DefineOwnProperty() local
97 PropertyAttribute attribute(value, attr in ARKTS_DefineOwnProperty()
136 auto value = ARKTS_ToHandle<JSValueRef>(jvalue); ARKTS_SetProperty() local
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_any.h58 /** Should value be cloned. Ignored if role != TypeIdRole::CURRENT */
59 CloneValueType value { CloneValueType::COPY_VALUE };
93 AnyReturnValue GetValue(T& value) const in GetValue()
95 return GetData(UidFromType<T>(), &value, sizeof(T)); /*NOLINT(bugprone-sizeof-expression)*/ in GetValue()
98 AnyReturnValue SetValue(const T& value) in SetValue() argument
100 return SetData(UidFromType<T>(), &value, sizeof(T)); /*NOLINT(bugprone-sizeof-expression)*/ in SetValue()
111 virtual AnyReturnValue SetAnyAt(IndexType index, const IAny& value) = 0;
112 virtual AnyReturnValue GetAnyAt(IndexType index, IAny& value) const = 0;
113 virtual AnyReturnValue InsertAnyAt(IndexType index, const IAny& value) = 0;
120 AnyReturnValue GetValueAt(IndexType index, T& value) cons
125 SetValueAt(IndexType index, const T& value) SetValueAt() argument
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/serialization/
H A Dserializer.h27 NamedValue(BASE_NS::string_view name, Type& v) : name(name), value(v) {} in NamedValue()
30 Type& value; member
74 SetState(context_.ExportValue(nv.name, static_cast<UT>(nv.value))); in operator &()
76 SetState(context_.ExportValue(nv.name, nv.value)); in operator &()
85 if (auto p = interface_pointer_cast<IObject>(nv.value.GetProperty())) { in operator &()
96 if (auto p = interface_pointer_cast<IObject>(nv.value.GetProperty())) { in operator &()
108 SetState(context_.ExportWeakPtr(nv.name, interface_pointer_cast<IObject>(nv.value))); in operator &()
137 nv.value = static_cast<Type>(v); in operator &()
140 SetState(context_.ImportValue(nv.name, nv.value)); in operator &()
149 if (auto p = interface_pointer_cast<IObject>(nv.value in operator &()
[all...]
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_interrupt_info.h144 bool operator==(const AudioFocusType &value) const in operator ==()
146 return streamType == value.streamType && sourceType == value.sourceType && isPlay == value.isPlay; in operator ==()
149 bool operator<(const AudioFocusType &value) const in operator <()
151 return streamType < value.streamType || (streamType == value.streamType && sourceType < value.sourceType); in operator <()
154 bool operator>(const AudioFocusType &value) const in operator >()
156 return streamType > value in operator >()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfaceframeohosvulkan_fuzzer/
H A Drssurfaceframeohosvulkan_fuzzer.cpp67 auto value = std::make_shared<Drawing::Surface>(); in DoGetCanvas() local
68 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge); in DoGetCanvas()
86 auto value = std::make_shared<Drawing::Surface>(); in DoGetSurface() local
87 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge); in DoGetSurface()
105 auto value = std::make_shared<Drawing::Surface>(); in DoSetDamageRegion() local
106 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge); in DoSetDamageRegion()
131 auto value = std::make_shared<Drawing::Surface>(); in DoGetReleaseFence() local
132 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, width, height, bufferAge); in DoGetReleaseFence()
151 auto value = std::make_shared<Drawing::Surface>(); in DoSetReleaseFence() local
152 auto rsSurfaceFrameOhosVulkan = std::make_shared<RSSurfaceFrameOhosVulkan>(value, widt in DoSetReleaseFence()
171 auto value = std::make_shared<Drawing::Surface>(); DoGetBufferAge() local
[all...]
/foundation/systemabilitymgr/safwk/test/mock/common/audio_ability/src/
H A Dtest_audio_ability_proxy.cpp77 int32_t TestAudioAbilityProxy::TestRpcInt32(int32_t value) in TestRpcInt32() argument
86 data.WriteInt32(value); in TestRpcInt32()
96 uint32_t TestAudioAbilityProxy::TestRpcUInt32(uint32_t value) in TestRpcUInt32() argument
105 data.WriteUint32(value); in TestRpcUInt32()
115 int64_t TestAudioAbilityProxy::TestRpcInt64(int64_t value) in TestRpcInt64() argument
124 data.WriteInt64(value); in TestRpcInt64()
134 uint64_t TestAudioAbilityProxy::TestRpcUInt64(uint64_t value) in TestRpcUInt64() argument
143 data.WriteUint64(value); in TestRpcUInt64()
153 float TestAudioAbilityProxy::TestRpcFloat(float value) in TestRpcFloat() argument
162 data.WriteFloat(value); in TestRpcFloat()
172 TestRpcDouble(double value) TestRpcDouble() argument
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Dconfig_reader.cpp42 xmlChar *value; in ParseProperties() local
49 value = xmlGetProp(&currNode, name); in ParseProperties()
50 if (!value) { in ParseProperties()
51 RESSCHED_LOGW("%{public}s, name(%{public}s) value null!", __func__, name); in ParseProperties()
54 properties[reinterpret_cast<const char*>(name)] = reinterpret_cast<const char*>(value); in ParseProperties()
55 xmlFree(value); in ParseProperties()
62 xmlChar *value; in ParseSubItem() local
71 value = xmlNodeGetContent(currNodePtr); in ParseSubItem()
72 if (value) { in ParseSubItem()
73 string itemValue(reinterpret_cast<const char*>(value)); in ParseSubItem()
[all...]
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Ddistributed_device_profile_client_rdb_test.cpp190 ValuesBucket value; in HWTEST_F() local
191 ProfileUtils::AccessControlProfileToEntries(profile, value); in HWTEST_F()
192 ProfileUtils::EntriesToAccessControlProfile(value, profile); in HWTEST_F()
193 value.Clear(); in HWTEST_F()
194 ProfileUtils::AccesserToEntries(profile, value); in HWTEST_F()
195 ProfileUtils::EntriesToAccesser(value, accesser); in HWTEST_F()
196 value.Clear(); in HWTEST_F()
197 ProfileUtils::AccesseeToEntries(profile, value); in HWTEST_F()
198 ProfileUtils::EntriesToAccessee(value, accessee); in HWTEST_F()
278 ValuesBucket value; in HWTEST_F() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Drd_sqlite_utils.cpp152 int RDSQLiteUtils::BindBlobToStatement(sqlite3_stmt *statement, int index, const std::vector<uint8_t> &value) in BindBlobToStatement() argument
159 if (value.empty()) { in BindBlobToStatement()
162 errCode = sqlite3_bind_blob(statement, index, static_cast<const void *>(value.data()), value.size(), in BindBlobToStatement()
168 int RDSQLiteUtils::GetColumnBlobValue(sqlite3_stmt *statement, int index, std::vector<uint8_t> &value) in GetColumnBlobValue() argument
177 value.resize(MAX_BLOB_READ_SIZE + 1); // Reset value size to invalid in GetColumnBlobValue()
178 return E_OK; // Return OK for continue get data, but value is invalid in GetColumnBlobValue()
183 value.resize(0); in GetColumnBlobValue()
185 value in GetColumnBlobValue()
192 BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &value) BindTextToStatement() argument
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Duser_delegate.cpp55 deviceUser_.Compute(deviceId, [&users](const auto &key, auto &value) { in GetLocalUsers()
56 if (value.empty()) { in GetLocalUsers()
60 value[user.id] = user.isActive; in GetLocalUsers()
63 for (const auto [user, active] : value) { in GetLocalUsers()
66 return !value.empty(); in GetLocalUsers()
91 for (const auto [key, value] : users) { in GetUsers()
92 userStatus.emplace_back(key, value); in GetUsers()
136 for (const auto &[key, value] : users) { in InitLocalUserMeta()
137 userMetaData.users.emplace_back(key, value); in InitLocalUserMeta()
155 UserMetaRow::KEY_PREFIX, [this](const std::string &key, const std::string &value, int32_ in Init()
[all...]
/foundation/distributedhardware/distributed_audio/audiohandler/src/
H A Ddaudio_handler.cpp60 for (const auto &value : micInfos_.sampleRates) { in AddItemsToObject()
61 cJSON_AddItemToArray(sampleArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject()
67 for (const auto &value : micInfos_.channels) { in AddItemsToObject()
68 cJSON_AddItemToArray(channelArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject()
74 for (const auto &value : micInfos_.formats) { in AddItemsToObject()
75 cJSON_AddItemToArray(formatsArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject()
82 for (const auto &value : spkInfos_.sampleRates) { in AddItemsToObject()
83 cJSON_AddItemToArray(sampleArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject()
89 for (const auto &value : spkInfos_.channels) { in AddItemsToObject()
90 cJSON_AddItemToArray(channelArray, cJSON_CreateNumber(static_cast<uint32_t>(value))); in AddItemsToObject()
[all...]
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/
H A Dclouddisk_rdbstore_mock.cpp104 const std::string &cloudId, const std::string &value) in LocationSetXattr()
123 const std::string &cloudId, const std::string &value) in RecycleSetXattr()
128 int32_t CloudDiskRdbStore::FavoriteSetXattr(const std::string &cloudId, const std::string &value) in FavoriteSetXattr() argument
133 int32_t CloudDiskRdbStore::LocationGetXattr(const std::string &name, const std::string &key, std::string &value, in LocationGetXattr() argument
139 int32_t CloudDiskRdbStore::FavoriteGetXattr(const std::string &cloudId, const std::string &key, std::string &value) in FavoriteGetXattr() argument
144 int32_t CloudDiskRdbStore::FileStatusGetXattr(const std::string &cloudId, const std::string &key, std::string &value) in FileStatusGetXattr() argument
149 int32_t CloudDiskRdbStore::GetExtAttrValue(const std::string &cloudId, const std::string &key, std::string &value) in GetExtAttrValue() argument
154 int32_t CloudDiskRdbStore::GetExtAttr(const std::string &cloudId, std::string &value, int32_t &position) in GetExtAttr() argument
159 int32_t CloudDiskRdbStore::GetXAttr(const std::string &cloudId, const std::string &key, std::string &value, in GetXAttr() argument
168 int32_t CloudDiskRdbStore::ExtAttributeSetXattr(const std::string &cloudId, const std::string &value, in ExtAttributeSetXattr() argument
103 LocationSetXattr(const std::string &name, const std::string &parentCloudId, const std::string &cloudId, const std::string &value) LocationSetXattr() argument
122 RecycleSetXattr(const std::string &name, const std::string &parentCloudId, const std::string &cloudId, const std::string &value) RecycleSetXattr() argument
174 SetXAttr(const std::string &cloudId, const std::string &key, const std::string &value, const std::string &name, const std::string &parentCloudId) SetXAttr() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dttaenc.c113 int32_t value, temp; in tta_encode_frame() local
115 value = get_sample(frame, samples++, avctx->sample_fmt); in tta_encode_frame()
119 value = res = get_sample(frame, samples, avctx->sample_fmt) - value; in tta_encode_frame()
121 value -= res / 2; in tta_encode_frame()
124 temp = value; in tta_encode_frame()
127 case 1: value -= PRED(c->predictor, 4); break; in tta_encode_frame()
129 case 3: value -= PRED(c->predictor, 5); break; in tta_encode_frame()
133 s->dsp.filter_process(filter->qm, filter->dx, filter->dl, &filter->error, &value, in tta_encode_frame()
135 outval = (value > in tta_encode_frame()
[all...]
/third_party/mesa3d/src/freedreno/drm-shim/
H A Dfreedreno_noop.c87 args->value = drm_shim_bo_get_mmap_offset(shim_fd, bo); in msm_ioctl_gem_info()
90 args->value = bo->mem_addr; in msm_ioctl_gem_info()
113 gp->value = device_info->gpu_id; in msm_ioctl_get_param()
116 gp->value = device_info->gmem_size; in msm_ioctl_get_param()
119 gp->value = 0x100000; in msm_ioctl_get_param()
122 gp->value = device_info->chip_id; in msm_ioctl_get_param()
125 gp->value = 1; in msm_ioctl_get_param()
128 gp->value = 1000000; in msm_ioctl_get_param()
131 gp->value = 0; in msm_ioctl_get_param()
134 gp->value in msm_ioctl_get_param()
[all...]
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_optimizer.c101 agx_instr *def = defs[src.value]; in agx_optimizer_fmov()
118 agx_instr *def = defs[src.value]; in agx_optimizer_inline_imm()
121 uint8_t value = def->imm; in agx_optimizer_inline_imm() local
134 value = agx_minifloat_encode(f); in agx_optimizer_inline_imm()
135 } else if (value != def->imm) { in agx_optimizer_inline_imm()
140 I->src[s].value = value; in agx_optimizer_inline_imm()
163 agx_instr *def = defs[src.value]; in agx_optimizer_copyprop()
190 defs[I->dest[d].value] = I; in agx_optimizer_forward()
219 unsigned v = I->src[s].value; in agx_optimizer_backward()
[all...]
/third_party/node/test/parallel/
H A Dtest-util-promisify.js15 promise.then(common.mustCall((value) => {
16 assert.deepStrictEqual(value, fs.statSync(__filename));
85 promisify(fn)().then(common.mustCall((value) => {
86 assert.strictEqual(value, 'foo');
94 promisify(fn)().then(common.mustCall((value) => {
95 assert.strictEqual(value, undefined);
103 promisify(fn)().then(common.mustCall((value) => {
104 assert.strictEqual(value, undefined);
112 promisify(fn)(null, 42).then(common.mustCall((value) => {
113 assert.strictEqual(value, 4
[all...]
/third_party/node/deps/v8/include/v8-include/
H A Dv8-array-buffer.h327 V8_INLINE static ArrayBuffer* Cast(Value* value) { in Cast() argument
329 CheckCast(value); in Cast()
331 return static_cast<ArrayBuffer*>(value); in Cast()
383 V8_INLINE static ArrayBufferView* Cast(Value* value) { in Cast() argument
385 CheckCast(value); in Cast()
387 return static_cast<ArrayBufferView*>(value); in Cast()
409 V8_INLINE static DataView* Cast(Value* value) { in Cast() argument
411 CheckCast(value); in Cast()
413 return static_cast<DataView*>(value); in Cast()
496 V8_INLINE static SharedArrayBuffer* Cast(Value* value) { in Cast() argument
[all...]
/third_party/node/deps/v8/src/diagnostics/
H A Deh-frame.h138 void WriteSLeb128(int32_t value);
139 void WriteULeb128(uint32_t value);
141 void WriteByte(byte value) { eh_frame_buffer_.push_back(value); } in WriteByte() argument
148 void WriteInt16(uint16_t value) { in WriteInt16() argument
149 WriteBytes(reinterpret_cast<const byte*>(&value), sizeof(value)); in WriteInt16()
151 void WriteInt32(uint32_t value) { in WriteInt32() argument
152 WriteBytes(reinterpret_cast<const byte*>(&value), sizeof(value)); in WriteInt32()
154 PatchInt32(int base_offset, uint32_t value) PatchInt32() argument
[all...]
/third_party/node/deps/v8/src/heap/cppgc/
H A Dtrace-event.h25 // value with zero or more of the following bits. Used in this class only.
26 // The TRACE_EVENT macros should only use the value as a bool.
75 #define TRACE_EVENT_API_ATOMIC_STORE(var, value) \
76 v8::base::Relaxed_Store(&(var), (value))
160 // Define SetTraceValue for each allowed type. It stores the type and value
166 std::is_integral<T>::value || std::is_enum<T>::value, void>::type
167 SetTraceValue(T arg, unsigned char* type, uint64_t* value) {
168 *type = std::is_same<T, bool>::value
170 : std::is_signed<T>::value
[all...]
/third_party/node/deps/v8/src/utils/
H A Dostreams.h104 explicit AsUC16(uint16_t v) : value(v) {} in AsUC16()
105 uint16_t value; member
109 explicit AsUC32(int32_t v) : value(v) {} in AsUC32()
110 int32_t value; member
114 explicit AsReversiblyEscapedUC16(uint16_t v) : value(v) {} in AsReversiblyEscapedUC16()
115 uint16_t value; member
119 explicit AsEscapedUC16ForJSON(uint16_t v) : value(v) {} in AsEscapedUC16ForJSON()
120 uint16_t value; member
123 // Output the given value as hex, with a minimum width and optional prefix (0x).
125 // {min_width} and the value ar
129 uint64_t value; global() member
147 uint64_t value; global() member
[all...]

Completed in 19 milliseconds

1...<<111112113114115116117118119120>>...887