/third_party/node/deps/icu-small/source/common/ |
H A D | ucnv2022.cpp | 158 /* is the StateEnum charset value for a DBCS charset? */ 249 * i) Get the value of ESC from normalize_esq_chars_2022[] with int value of ESC as index 251 * ii) Search for this value in escSeqStateTable_Key_2022[] 252 * value of x is stored at escSeqStateTable_Key_2022[0] 257 * i) Get the value of $ from normalize_esq_chars_2022[] with int value of $ as index 263 * iii) Search for this value in escSeqStateTable_Key_2022[] 264 * value of x is stored at escSeqStateTable_Key_2022[2], so offset is 2 268 * i) Get the value o 831 UCNV_TableStates_2022 value; changeState_2022() local 1081 UCNV_TableStates_2022 value = VALID_NON_TERMINAL_2022; getEndOfBuffer_2022() local 1117 MBCS_FROM_UCHAR32_ISO2022(UConverterSharedData* sharedData, UChar32 c, uint32_t* value, UBool useFallback, int outputType) MBCS_FROM_UCHAR32_ISO2022() argument 1194 int32_t value; MBCS_SINGLE_FROM_UCHAR32() local 1221 _2022FromGR94DBCS(uint32_t value) _2022FromGR94DBCS() argument 1490 jisx201ToU(uint32_t value) jisx201ToU() argument 1504 jisx201FromU(uint32_t value) jisx201FromU() argument 1523 _2022FromSJIS(uint32_t value) _2022FromSJIS() argument 1797 uint32_t value; UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 3079 uint32_t value; UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | PixelRoutine.cpp | 315 Byte8 value = *Pointer<Byte8>(buffer); in stencilTest() local 316 Byte8 valueCCW = value; in stencilTest() 320 value &= *Pointer<Byte8>(data + OFFSET(DrawData,stencil[0].testMaskQ)); in stencilTest() 323 stencilTest(value, state.stencilCompareMode, false); in stencilTest() 334 value &= *Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)); in stencilTest() 336 value |= valueCCW; in stencilTest() 339 sMask = SignMask(value) & cMask; in stencilTest() 342 void PixelRoutine::stencilTest(Byte8 &value, StencilCompareMode stencilCompareMode, bool CCW) in stencilTest() argument 349 value = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF); in stencilTest() 352 value in stencilTest() 1580 Int value = *Pointer<Int>(buffer); writeColor() local 1657 Short4 value = *Pointer<Short4>(buffer); writeColor() local 1706 Short4 value = *Pointer<Short4>(buffer); writeColor() local 1746 Int2 value; writeColor() local 1771 Short4 value; writeColor() local 1788 Short4 value; writeColor() local 1805 Short4 value = *Pointer<Short4>(buffer); writeColor() local 1843 Short4 value = *Pointer<Short4>(buffer); writeColor() local 1860 Short4 value = *Pointer<Short4>(buffer + 8); writeColor() local 1879 Short4 value = *Pointer<Short4>(buffer); writeColor() local 1896 Short4 value = *Pointer<Short4>(buffer + 8); writeColor() local 2286 Float4 value; writeColor() local 2448 UShort4 value = *Pointer<UShort4>(buffer); writeColor() local 2590 UShort8 value = *Pointer<UShort8>(buffer); writeColor() local 2617 UInt2 value, packedCol, mergedMask; writeColor() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_single_ver_natural_store_testcase.cpp | 100 Value value; in GetSyncData002() local 102 DistributedDBToolsUnitTest::GetRandomKeyValue(value); in GetSyncData002() 104 EXPECT_EQ(connection->Put(option, key, value), E_OK); in GetSyncData002() 131 * @tc.expected: step1. The value of GetSyncData is E_INVALID_ARG. in GetSyncData003() 172 Value value; in GetSyncData004() local 178 DistributedDBToolsUnitTest::GetRandomKeyValue(value, 9900 + i); // random size in GetSyncData004() 179 EXPECT_EQ(connection->Put(option, key, value), E_OK); in GetSyncData004() 236 Value value; in GetSyncData005() local 241 DistributedDBToolsUnitTest::GetRandomKeyValue(value, 9900 + i); // about 9900 byte in GetSyncData005() 242 EXPECT_EQ(connection->Put(option, key, value), E_O in GetSyncData005() 274 Value value; GetSyncData006() local 1885 Value value; TestMetaDataDeleteByPrefixKey() local [all...] |
/third_party/alsa-lib/src/control/ |
H A D | control.c | 99 - An element usually includes one or more member(s) to have a value. For 104 at all (and thus no member count), they have just a single value. The 106 the same min/max values). The value of each member can be changed by both 156 bytes and IEC958 structure. This indicates the type of value for each member in 162 When the value of a member is changed, corresponding events are transferred to 517 * \param min Minimum value for each member of the elements. 518 * \param max Maximum value for each member of the elements. 519 * \param step The step of value for each member in the elements. 526 * The name field of \a id must be set with unique value to identify new control 530 * All of members in the new elements are locked. The value o [all...] |
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-objects.c | 51 * Assert that specified object type value is valid 101 ecma_value_t prim_value_p = ext_object_p->u.class_prop.u.value; in ecma_op_object_get_own_property() 115 ecma_value_t prim_value_p = ext_object_p->u.class_prop.u.value; in ecma_op_object_get_own_property() 194 ecma_value_t value = ECMA_VALUE_UNDEFINED; in ecma_op_object_get_own_property() local 200 value = ecma_make_number_value (num); in ecma_op_object_get_own_property() 203 if (!ecma_is_value_undefined (value)) in ecma_op_object_get_own_property() 207 property_ref_p->virtual_value = value; in ecma_op_object_get_own_property() 211 ecma_fast_free_value (value); in ecma_op_object_get_own_property() 436 * Search the value corresponding to a property name 440 * @return ecma value i 744 ecma_value_t value = ecma_op_object_find_own (base_value, object_p, property_name_p); ecma_op_object_find() local 844 ecma_value_t value = ecma_op_object_find_own (receiver, object_p, property_name_p); ecma_op_object_get_with_receiver() local 979 ecma_op_get_method(ecma_value_t value, ecma_string_t *prop_name_p) ecma_op_get_method() argument 1031 ecma_op_get_method_by_symbol_id(ecma_value_t value, lit_magic_string_id_t symbol_id) ecma_op_get_method_by_symbol_id() argument 1053 ecma_op_get_method_by_magic_id(ecma_value_t value, lit_magic_string_id_t magic_id) ecma_op_get_method_by_magic_id() argument 1069 ecma_op_object_put_by_uint32_index(ecma_object_t *object_p, uint32_t index, ecma_value_t value, bool is_throw) ecma_op_object_put_by_uint32_index() argument 1098 ecma_op_object_put_by_number_index(ecma_object_t *object_p, ecma_number_t index, ecma_value_t value, bool is_throw) ecma_op_object_put_by_number_index() argument 1129 ecma_op_object_put(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_value_t value, bool is_throw) ecma_op_object_put() argument 1151 ecma_op_object_put_apply_receiver(ecma_value_t receiver, ecma_string_t *property_name_p, ecma_value_t value, bool is_throw) ecma_op_object_put_apply_receiver() argument 1251 ecma_op_object_put_with_receiver(ecma_object_t *object_p, ecma_string_t *property_name_p, ecma_value_t value, ecma_value_t receiver, bool is_throw) ecma_op_object_put_with_receiver() argument 1973 ecma_op_object_has_instance(ecma_object_t *obj_p, ecma_value_t value) ecma_op_object_has_instance() argument [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-regexp-gen.cc | 88 return var_result.value(); in LoadCodeObjectEntry() 143 UncheckedCast<JSRegExpResult>(var_array.value()); in AllocateRegExpResult() 145 // Load undefined value once here to avoid multiple LoadRoots. in AllocateRegExpResult() 173 std::is_base_of<JSRegExpResult, JSRegExpResultWithIndices>::value, in AllocateRegExpResult() 184 FillFixedArrayWithValue(elements_kind, var_elements.value(), IntPtrZero(), in AllocateRegExpResult() 187 if (elements_out) *elements_out = CAST(var_elements.value()); in AllocateRegExpResult() 207 TNode<Smi> value) { in FastStoreLastIndex() 211 StoreObjectField(regexp, field_offset, value); in FastStoreLastIndex() 216 TNode<Object> value) { in SlowStoreLastIndex() 218 SetPropertyStrict(context, regexp, name, value); in SlowStoreLastIndex() 206 FastStoreLastIndex(TNode<JSRegExp> regexp, TNode<Smi> value) FastStoreLastIndex() argument 214 SlowStoreLastIndex(TNode<Context> context, TNode<Object> regexp, TNode<Object> value) SlowStoreLastIndex() argument 667 TNode<IntPtrT> value = ChangeInt32ToIntPtr(UncheckedCast<Int32T>( RegExpExecInternal() local 1202 TNode<Object> value = TF_BUILTIN() local 1383 TNode<Object> value = GetProperty(context, regexp, name); SlowFlagGetter() local [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.cc | 225 // If "full" is the empty string, yields an empty string as the only value. 300 // but it is an error if the value requires more than 8 bits, and the 521 dest[used] = '\0'; // doesn't count towards return value though in CEscapeInternal() 699 IntType value = 0; in safe_parse_positive_int() local 711 *value_p = value; in safe_parse_positive_int() 714 if (value > vmax_over_base) { in safe_parse_positive_int() 718 value *= base; in safe_parse_positive_int() 719 if (value > vmax - digit) { in safe_parse_positive_int() 723 value += digit; in safe_parse_positive_int() 725 *value_p = value; in safe_parse_positive_int() 733 IntType value = 0; safe_parse_negative_int() local 902 InternalFastHexToBuffer(uint64 value, char* buffer, int num_byte) InternalFastHexToBuffer() argument 919 FastHex64ToBuffer(uint64 value, char* buffer) FastHex64ToBuffer() argument 923 FastHex32ToBuffer(uint32 value, char* buffer) FastHex32ToBuffer() argument 1202 SimpleDtoa(double value) SimpleDtoa() argument 1207 SimpleFtoa(float value) SimpleFtoa() argument 1245 DoubleToBuffer(double value, char* buffer) DoubleToBuffer() argument 1307 safe_strtob(StringPiece str, bool* value) safe_strtob() argument 1324 safe_strtof(const char* str, float* value) safe_strtof() argument 1335 safe_strtod(const char* str, double* value) safe_strtod() argument 1347 safe_strto32(const string& str, int32* value) safe_strto32() argument 1351 safe_strtou32(const string& str, uint32* value) safe_strtou32() argument 1355 safe_strto64(const string& str, int64* value) safe_strto64() argument 1359 safe_strtou64(const string& str, uint64* value) safe_strtou64() argument 1363 FloatToBuffer(float value, char* buffer) FloatToBuffer() argument 1406 uint64 value = hex.value; AlphaNum() local [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_bm_storage.cpp | 172 Value value(distributedBundleInfo.ToString());
in InnerSaveStorageDistributeInfo() 173 Status status = kvStorePtr_->Put(key, value);
in InnerSaveStorageDistributeInfo() 175 status = kvStorePtr_->Put(key, value);
in InnerSaveStorageDistributeInfo() 235 HILOGI("delete value to kvStore success");
in DeleteStorageDistributeInfo() 254 Value value;
in GetStorageDistributeInfo() local 258 [&value, &resultStatusSignal](Status innerStatus, Value innerValue) {
in GetStorageDistributeInfo() 261 value = innerValue;
in GetStorageDistributeInfo() 269 info.FromJsonString(value.ToString());
in GetStorageDistributeInfo() 302 std::string value = entry.value in DealGetBundleName() local 431 std::string value = entry.value.ToString(); GetDistributedBundleInfo() local 499 Value value; GetBundleNameId() local 598 Value value; GetLastBundleNameId() local 929 std::string value = entry.value.ToString(); GetAllOldDistributionBundleInfo() local 991 std::string value = entry.value.ToString(); GetContinueType() local 1059 std::string value = entry.value.ToString(); GetAbilityName() local 1111 std::string value = entry.value.ToString(); GetContinueTypeId() local 1155 std::string value = entry.value.ToString(); GetContinueEventInfo() local [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | material_component_manager.cpp | 154 const CORE_NS::json::value* FindMaterialComponentJson(const CORE_NS::json::value& metaJson) in FindMaterialComponentJson() 157 [](const CORE_NS::json::value& value) { in FindMaterialComponentJson() 158 auto nameJson = value.find(NAME); in FindMaterialComponentJson() 168 const CORE_NS::json::value& material, const array_view<const Property> componentMetaData) in AppendProperties() 170 if (const CORE_NS::json::value* propertiesJson = material.find(PROPERTIES); in AppendProperties() 178 if (propertyObject.value.is_array() && propertyIt->type.isArray && in AppendProperties() 179 propertyObject.value.array_.size() > propertyIt->count) { in AppendProperties() 181 uint32_t(propertyObject.value in AppendProperties() 265 const CORE_NS::json::value* value = nullptr; UpdateCustomPropertyMetadata() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DecimalFormat.java | 442 * default values or with the value specified in the pattern string: 951 * set the value "#", then the number 123 will be formatted as "#123" in the locale 988 * set the value "#", then the number -123 will be formatted as "#123" in the locale 1025 * set the value "#", then the number 123 will be formatted as "123#" in the locale 1062 * set the value "#", then the number 123 will be formatted as "123#" in the locale 1113 * @param value true to always show a sign; false to hide the sign on positive numbers and zero. 1117 public synchronized void setSignAlwaysShown(boolean value) { in setSignAlwaysShown() argument 1118 properties.setSignAlwaysShown(value); in setSignAlwaysShown() 1160 int value = multiplier; in setMultiplier() 1161 while (value ! in setMultiplier() 1417 setMinimumIntegerDigits(int value) setMinimumIntegerDigits() argument 1459 setMaximumIntegerDigits(int value) setMaximumIntegerDigits() argument 1507 setMinimumFractionDigits(int value) setMinimumFractionDigits() argument 1551 setMaximumFractionDigits(int value) setMaximumFractionDigits() argument 1634 setMinimumSignificantDigits(int value) setMinimumSignificantDigits() argument 1676 setMaximumSignificantDigits(int value) setMaximumSignificantDigits() argument 2066 setDecimalSeparatorAlwaysShown(boolean value) setDecimalSeparatorAlwaysShown() argument 2202 setParseBigDecimal(boolean value) setParseBigDecimal() argument 2337 setDecimalPatternMatchRequired(boolean value) setDecimalPatternMatchRequired() argument 2362 setParseNoExponent(boolean value) setParseNoExponent() argument 2388 setParseCaseSensitive(boolean value) setParseCaseSensitive() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DecimalFormat.java | 438 * default values or with the value specified in the pattern string: 922 * set the value "#", then the number 123 will be formatted as "#123" in the locale 955 * set the value "#", then the number -123 will be formatted as "#123" in the locale 988 * set the value "#", then the number 123 will be formatted as "123#" in the locale 1021 * set the value "#", then the number 123 will be formatted as "123#" in the locale 1068 * @param value true to always show a sign; false to hide the sign on positive numbers and zero. 1070 public synchronized void setSignAlwaysShown(boolean value) { in setSignAlwaysShown() argument 1071 properties.setSignAlwaysShown(value); in setSignAlwaysShown() 1109 int value = multiplier; in setMultiplier() 1110 while (value ! in setMultiplier() 1339 setMinimumIntegerDigits(int value) setMinimumIntegerDigits() argument 1377 setMaximumIntegerDigits(int value) setMaximumIntegerDigits() argument 1421 setMinimumFractionDigits(int value) setMinimumFractionDigits() argument 1461 setMaximumFractionDigits(int value) setMaximumFractionDigits() argument 1536 setMinimumSignificantDigits(int value) setMinimumSignificantDigits() argument 1574 setMaximumSignificantDigits(int value) setMaximumSignificantDigits() argument 1887 setDecimalSeparatorAlwaysShown(boolean value) setDecimalSeparatorAlwaysShown() argument 2007 setParseBigDecimal(boolean value) setParseBigDecimal() argument 2126 setDecimalPatternMatchRequired(boolean value) setDecimalPatternMatchRequired() argument 2147 setParseNoExponent(boolean value) setParseNoExponent() argument 2169 setParseCaseSensitive(boolean value) setParseCaseSensitive() argument [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | opcodes.h | 1038 static char const* Mnemonic(Value value); 1041 static bool IsCommonOpcode(Value value) { in IsCommonOpcode() argument 1042 return kStart <= value && value <= kStaticAssert; in IsCommonOpcode() 1046 static bool IsControlOpcode(Value value) { in IsControlOpcode() argument 1047 return kStart <= value && value <= kEnd; in IsControlOpcode() 1051 static bool IsJsOpcode(Value value) { in IsJsOpcode() argument 1052 return kJSEqual <= value && value < in IsJsOpcode() 1056 IsConstantOpcode(Value value) IsConstantOpcode() argument 1069 IsPhiOpcode(Value value) IsPhiOpcode() argument 1073 IsMergeOpcode(Value value) IsMergeOpcode() argument 1077 IsIfProjectionOpcode(Value value) IsIfProjectionOpcode() argument 1084 IsGraphTerminator(Value value) IsGraphTerminator() argument 1090 IsInlineeOpcode(Value value) IsInlineeOpcode() argument 1095 IsComparisonOpcode(Value value) IsComparisonOpcode() argument 1110 IsContextChainExtendingOpcode(Value value) IsContextChainExtendingOpcode() argument 1116 IsFeedbackCollectingOpcode(Value value) IsFeedbackCollectingOpcode() argument 1162 IsFeedbackCollectingOpcode(int16_t value) IsFeedbackCollectingOpcode() argument [all...] |
/third_party/rust/crates/serde/serde/src/de/ |
H A D | value.rs | 5 //! use serde::de::{value, Deserialize, IntoDeserializer}; 16 //! type Err = value::Error; 235 value: $ty, 254 pub fn new(value: $ty) -> Self { in new() 256 value, in new() 278 visitor.$method(self.value $($cast)*) in deserialize_any() 286 .field("value", &self.value) in fmt() 311 value: u32, 330 pub fn new(value [all...] |
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_op_builder.h | 63 TfLiteStatus AddScalarBoolTensor(bool value, OH_NN_TensorType nnTensorType) in AddScalarBoolTensor() argument 65 return AddScalarTensor<bool>(value, OH_NN_BOOL, nnTensorType); in AddScalarBoolTensor() 67 TfLiteStatus AddScalarInt32Tensor(int32_t value, OH_NN_TensorType nnTensorType) in AddScalarInt32Tensor() argument 69 return AddScalarTensor<int32_t>(value, OH_NN_INT32, nnTensorType); in AddScalarInt32Tensor() 71 TfLiteStatus AddScalarInt8Tensor(int32_t value, OH_NN_TensorType nnTensorType) in AddScalarInt8Tensor() argument 73 return AddScalarTensor<int8_t>(value, OH_NN_INT8, nnTensorType); in AddScalarInt8Tensor() 75 TfLiteStatus AddScalarInt64Tensor(int64_t value, OH_NN_TensorType nnTensorType) in AddScalarInt64Tensor() argument 77 return AddScalarTensor<int64_t>(value, OH_NN_INT64, nnTensorType); in AddScalarInt64Tensor() 79 TfLiteStatus AddScalarFloat32Tensor(float value, OH_NN_TensorType nnTensorType) in AddScalarFloat32Tensor() argument 81 return AddScalarTensor<float>(value, OH_NN_FLOAT3 in AddScalarFloat32Tensor() 125 AddScalarTensor(T value, OH_NN_DataType nnType, OH_NN_TensorType nnTensorType) AddScalarTensor() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | on_text_changed_listener_impl.cpp | 22 LOGI("[OnTextChangedListenerImpl] insert value %{private}s", StringUtils::Str16ToStr8(text).c_str()); in InsertText() 35 auto value = client->GetEditingValue(); in InsertText() 36 auto prevLength = value.GetWideText().length(); in InsertText() 51 value.GetBeforeSelection() + StringUtils::Str16ToStr8(insertText) + value.GetAfterSelection(); in InsertText() 52 textEditingValue->UpdateSelection(std::max(value.selection.GetStart(), 0) + text.length()); in InsertText() 74 auto value = client->GetEditingValue(); in DeleteForward() 75 auto start = value.selection.GetStart(); in DeleteForward() 76 auto end = value.selection.GetEnd(); in DeleteForward() 79 textEditingValue->text = value in DeleteForward() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_paint_property.h | 86 for (size_t i = 0; i < propValues_.value().size(); ++i) { 88 double value = propValues_.value()[i]; variable 89 jsonDashArray->Put(index.c_str(), value); 93 closeEffect = !propEffect_.value(); 119 valueColors = propValueColors_.value(); in ToJsonValueColors() 159 trackShadow.radius = propShadowOption_.value().radius; in ToJsonTrackShadow() 160 trackShadow.offsetX = propShadowOption_.value().offsetX; in ToJsonTrackShadow() 161 trackShadow.offsetY = propShadowOption_.value().offsetY; in ToJsonTrackShadow() 162 trackShadow.colors = propShadowOption_.value() in ToJsonTrackShadow() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | indexer_model_impl.cpp | 41 textStyle.SetTextColor(color.value()); in SetSelectedColor() 52 textStyle.SetTextColor(color.value()); in SetColor() 63 textStyle.SetTextColor(color.value()); in SetPopupColor() 73 indexerComponent->SetSelectedBackgroundColor(color.value()); in SetSelectedBackgroundColor() 82 indexerComponent->SetBubbleBackgroundColor(color.value()); in SetPopupBackground() 131 void IndexerModelImpl::SetItemSize(const Dimension& value) in SetItemSize() argument 136 indexerComponent->SetItemSize(value); in SetItemSize() 140 void IndexerModelImpl::SetAlignStyle(int32_t value) in SetAlignStyle() argument 145 indexerComponent->SetAlignStyle(ALIGN_STYLE[value]); in SetAlignStyle() 207 textStyle.SetFontSize(fontSize.value()); in SetTextStyle() [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_recorder.cpp | 78 EventParamsBuilder& EventParamsBuilder::SetText(const std::string& value) in SetText() argument 80 if (!value.empty()) { in SetText() 81 params_->emplace(KEY_TEXT, value); in SetText() 86 EventParamsBuilder& EventParamsBuilder::SetChecked(bool value) in SetChecked() argument 88 std::string strVal = value ? "true" : "false"; in SetChecked() 93 EventParamsBuilder& EventParamsBuilder::SetIndex(int value) in SetIndex() argument 95 params_->emplace(KEY_INDEX, std::to_string(value)); in SetIndex() 99 EventParamsBuilder& EventParamsBuilder::SetTextArray(const std::vector<std::string>& value) in SetTextArray() argument 102 for (size_t i = 0; i < value.size(); i++) { in SetTextArray() 103 jsonArray->Put(std::to_string(i).c_str(), value in SetTextArray() 109 SetExtra(const std::string& key, const std::string& value) SetExtra() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_node.h | 104 json->Put("src", src_.value().c_str()); in ToString() 107 json->Put("bundleName", bundleName_.value().c_str()); in ToString() 110 json->Put("moduleName", moduleName_.value().c_str()); in ToString() 113 json->Put("size", size_.value().ToString().c_str()); in ToString() 116 json->Put("color", color_.value().ToString().c_str()); in ToString() 174 return textFieldId_.value(); in GetTextFieldId() 182 return buttonId_.value(); in GetButtonId() 190 return cancelButtonId_.value(); in GetCancelButtonId() 198 return dividerId_.value(); in GetDividerId() 203 return searchImageIconOptions_.GetSize().value(); in GetSearchImageIconSize() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_paint_property.h | 34 auto value = MakeRefPtr<SliderPaintProperty>(); variable 35 value->PaintProperty::UpdatePaintProperty(DynamicCast<PaintProperty>(this)); 36 value->propSliderPaintStyle_ = CloneSliderPaintStyle(); 37 value->propSliderTipStyle_ = CloneSliderTipStyle(); 38 return value; 52 colors = GetTrackBackgroundColor().value(); in ToJsonTrackBackgroundColor() 113 json->PutFixedAttr("content", GetCustomContent().value().c_str(), filter, FIXED_ATTR_CONTENT); 122 jsonConstructor->Put("value", std::to_string(GetValue().value_or(0.0f)).c_str()); 142 json->PutExtAttr("trackBorderRadius", GetTrackBorderRadius().value().ToString().c_str(), filter); 145 json->PutExtAttr("selectedBorderRadius", GetSelectedBorderRadius().value() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | shape_container_composed_element.cpp | 83 for (const auto& value : CREATE_JSON_MAP) { in Dump() 84 DumpLog::GetInstance().AddDesc(std::string(value.first + ": ").append(value.second(*this))); in Dump() 91 for (const auto& value : CREATE_JSON_MAP) { in ToJsonObject() 92 resultJson->Put(value.first.c_str(), value.second(*this).c_str()); in ToJsonObject() 94 for (const auto& value : CREATE_JSON_JSON_VALUE_MAP) { in ToJsonObject() 95 resultJson->Put(value.first.c_str(), value.second(*this)); in ToJsonObject() 153 auto value in GetStrokeDashArray() local 230 auto value = std::to_string(array[i]); GetMesh() local [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | BitfieldPropertyTest.cpp | 187 EnumBitField<TestFlagBits> value(TestFlagBits::FLAG1); in HWTEST_F() 188 EXPECT_TRUE(value.IsSet(TestFlagBits::FLAG1)); in HWTEST_F() 189 EXPECT_FALSE(value.IsSet(TestFlagBits::FLAG2)); in HWTEST_F() 191 value.Set(TestFlagBits::FLAG2); in HWTEST_F() 192 EXPECT_TRUE(value.IsSet(TestFlagBits::FLAG2)); in HWTEST_F() 194 value.Clear(TestFlagBits::FLAG1); in HWTEST_F() 195 EXPECT_FALSE(value.IsSet(TestFlagBits::FLAG1)); in HWTEST_F() 196 EXPECT_TRUE(value.IsSet(TestFlagBits::FLAG2)); in HWTEST_F() 305 TestFlags value = base | ext; in HWTEST_F() local 306 EXPECT_TRUE(value in HWTEST_F() [all...] |
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | data_storage_helper.cpp | 68 nlohmann::json recordJson = iter.value(); in RestoreTaskRecord() 97 int32_t DataStorageHelper::SaveJsonValueToFile(const std::string &value, const std::string &filePath) in SaveJsonValueToFile() argument 114 fout << value.c_str() << std::endl; in SaveJsonValueToFile() 127 BGTASK_LOGW("check jsonObj value failed."); in ParseFastSuspendDozeTime() 132 BGTASK_LOGW("check param value failed."); in ParseFastSuspendDozeTime() 138 BGTASK_LOGW("check fastFrozen value failed."); in ParseFastSuspendDozeTime() 153 int32_t DataStorageHelper::ParseJsonValueFromFile(nlohmann::json &value, const std::string &filePath) in ParseJsonValueFromFile() argument 172 value = nlohmann::json::parse(data, nullptr, false); in ParseJsonValueFromFile() 173 if (value.is_discarded()) { in ParseJsonValueFromFile() 240 nlohmann::json value; in ConvertMapToJson() local 263 ConvertJsonToMap(const nlohmann::json &value, ResourceRecordMap &recordMap) ConvertJsonToMap() argument [all...] |
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common_want.cpp | 38 std::string value(""); in UnwrapStringFromJS() 45 return value; in UnwrapStringFromJS() 51 value = buf; in UnwrapStringFromJS() 53 value = defaultValue; in UnwrapStringFromJS() 58 return value; in UnwrapStringFromJS() 104 WS_HILOGE("Param %{public}s is illegal. The value is only supported basic type(Number, String, Boolean).", in InnerUnwrapJS() 126 WS_HILOGE("parameters should be {[key: string]: value} format."); in UnwrapWantParams() 152 auto value = wantParams.GetParam(key); in InnerWrapWantParamsString() local 153 AAFwk::IString *ao = AAFwk::IString::Query(value); in InnerWrapWantParamsString() 172 auto value in InnerWrapWantParamsBool() local 192 auto value = wantParams.GetParam(key); InnerWrapWantParamsInt() local 212 auto value = wantParams.GetParam(key); InnerWrapWantParamsDouble() local [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | system_ability_manager_util.cpp | 36 constexpr const char* EVENT_VALUE = "value";
75 if (event.eventId == iter->eventId && event.name == iter->name && event.value == iter->value) {
in IsSameEvent() 88 eventJson[EVENT_VALUE] = event.value;
in EventToStr() 140 to.value = from.value;
in ConvertToOnDemandEvent() 146 condition.value = item.value;
in ConvertToOnDemandEvent() 157 to.value = from.value;
in ConvertToSystemAbilityOnDemandEvent() 191 SetModuleUpdateParam(const std::string& key, const std::string& value) SetModuleUpdateParam() argument [all...] |