Home
last modified time | relevance | path

Searched refs:valuePtr (Results 1 - 9 of 9) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dcontent_controller.cpp233 int32_t valuePtr = 0; in RemoveErrorTextFromValue() local
238 while (value[valuePtr] != errorText[errorTextPtr] && valuePtr < valueSize) { in RemoveErrorTextFromValue()
239 result += value[valuePtr]; in RemoveErrorTextFromValue()
240 valuePtr++; in RemoveErrorTextFromValue()
243 if (valuePtr >= valueSize) { in RemoveErrorTextFromValue()
247 valuePtr++; in RemoveErrorTextFromValue()
250 result += value.substr(valuePtr); in RemoveErrorTextFromValue()
297 for (char valuePtr : valueToUpdate) { in FilterWithAscii()
298 if (isascii(valuePtr)) { in FilterWithAscii()
[all...]
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysystem.cpp183 std::string valuePtr(value); in OH_MediaKeySystem_SetConfigurationString()
184 DRM_CHECK_AND_RETURN_RET_LOG(valuePtr.size() != 0, DRM_ERR_INVALID_VAL, in OH_MediaKeySystem_SetConfigurationString()
190 result = systemObject->systemImpl_->SetConfigurationString(name, valuePtr); in OH_MediaKeySystem_SetConfigurationString()
204 std::string valuePtr; in OH_MediaKeySystem_GetConfigurationString() local
212 result = systemObject->systemImpl_->GetConfigurationString(name, valuePtr); in OH_MediaKeySystem_GetConfigurationString()
215 DRM_CHECK_AND_RETURN_RET_LOG(valueLen >= (int32_t)valuePtr.size(), DRM_ERR_INVALID_VAL, in OH_MediaKeySystem_GetConfigurationString()
218 int32_t ret = memcpy_s(value, valuePtr.size(), valuePtr.c_str(), valuePtr.size()); in OH_MediaKeySystem_GetConfigurationString()
263 std::vector<uint8_t> valuePtr; in OH_MediaKeySystem_GetConfigurationByteArray() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_style.h64 auto valuePtr = std::get_if<T>(&value); in GetValue() local
65 if (!valuePtr) { in GetValue()
68 return std::make_pair(true, *valuePtr); in GetValue()
/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp156 ImageEffect_Any valuePtr; in HWTEST_F() local
157 valuePtr.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_PTR; in HWTEST_F()
158 result = NativeCommonUtils::SwitchToOHAny(anyPtr, &valuePtr); in HWTEST_F()
160 EXPECT_EQ(valuePtr.dataValue.ptrValue, (void*)10); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/adapter/unittest/
H A Dlnn_kv_adapter_wrapper_test.cpp91 char *valuePtr = nullptr; in HWTEST_F() local
92 EXPECT_EQ(LnnPutDBData(dbId, keyStr.c_str(), MAX_STRING_LEN, valuePtr, MIN_STRING_LEN - 1), in HWTEST_F()
94 EXPECT_EQ(LnnPutDBData(dbId, keyStr.c_str(), MAX_STRING_LEN + 1, valuePtr, MIN_STRING_LEN - 1), in HWTEST_F()
96 EXPECT_EQ(LnnPutDBData(dbId, keyStr.c_str(), MIN_STRING_LEN - 1, valuePtr, MIN_STRING_LEN - 1), in HWTEST_F()
99 EXPECT_EQ(LnnPutDBData(dbId, keyPtr, MIN_STRING_LEN - 1, valuePtr, MIN_STRING_LEN - 1), SOFTBUS_INVALID_PARAM); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dtlv_util.cpp53 auto valuePtr = reinterpret_cast<uint8_t*>(&value); in WriteDouble() local
54 std::copy(valuePtr, valuePtr + sizeof(double), bytes.begin()); in WriteDouble()
/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.cpp76 int32_t valuePtr = 0; in RemoveErrorTextFromValue() local
81 while (value[valuePtr] != errorText[errorTextPtr] && valuePtr < valueSize) { in RemoveErrorTextFromValue()
82 result += value[valuePtr]; in RemoveErrorTextFromValue()
83 valuePtr++; in RemoveErrorTextFromValue()
86 if (valuePtr >= valueSize) { in RemoveErrorTextFromValue()
90 valuePtr++; in RemoveErrorTextFromValue()
93 result += value.substr(valuePtr); in RemoveErrorTextFromValue()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_frame_node_bridge.cpp1315 char* valuePtr = nullptr;
1317 nativeNode, key.c_str(), &valuePtr, &size)) {
1318 CHECK_NULL_RETURN(valuePtr, defaultReturnValue);
1319 auto returnValue = panda::StringRef::NewFromUtf8(vm, valuePtr);
1320 GetArkUINodeModifiers()->getFrameNodeModifier()->freeCustomPropertyCharPtr(valuePtr, size);
1323 GetArkUINodeModifiers()->getFrameNodeModifier()->freeCustomPropertyCharPtr(valuePtr, size);
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp8864 ArkUI_AccessibilityValue* valuePtr = reinterpret_cast<ArkUI_AccessibilityValue*>(item->object); in SetAccessibilityValue() local
8865 CHECK_NULL_RETURN(valuePtr, ERROR_CODE_PARAM_INVALID); in SetAccessibilityValue()
8866 if (valuePtr->current.isSet && ((!valuePtr->min.isSet) || (!valuePtr->max.isSet))) { in SetAccessibilityValue()
8869 if (valuePtr->max.value < valuePtr->min.value) { in SetAccessibilityValue()
8872 if ((valuePtr->current.value < valuePtr->min.value) || (valuePtr in SetAccessibilityValue()
[all...]

Completed in 40 milliseconds