/foundation/communication/netmanager_base/bpf/bpf_progs/ |
H A D | netstats.c | 81 stats_value *value = bpf_map_lookup_elem(&app_uid_stats_map, &sock_uid);
in bpf_cgroup_skb_uid_ingress() local 82 if (!value) {
in bpf_cgroup_skb_uid_ingress() 85 value = bpf_map_lookup_elem(&app_uid_stats_map, &sock_uid);
in bpf_cgroup_skb_uid_ingress() 88 if (value) {
in bpf_cgroup_skb_uid_ingress() 89 __sync_fetch_and_add(&value->rx_packets, 1);
in bpf_cgroup_skb_uid_ingress() 90 __sync_fetch_and_add(&value->rx_bytes, skb->len);
in bpf_cgroup_skb_uid_ingress() 92 const char log[] = "[Uid ingress] sock_uid = %d, value->rx_packets = %d, value->rx_bytes = %d";
in bpf_cgroup_skb_uid_ingress() 93 bpf_trace_printk(log, sizeof(log), sock_uid, value->rx_packets, value in bpf_cgroup_skb_uid_ingress() 102 stats_value *value = bpf_map_lookup_elem(&app_uid_stats_map, &sock_uid); bpf_cgroup_skb_uid_egress() local 123 stats_value *value = bpf_map_lookup_elem(&iface_stats_map, &key); bpf_socket_iface_ingress() local 143 stats_value *value = bpf_map_lookup_elem(&iface_stats_map, &key); bpf_socket_iface_egress() local [all...] |
/third_party/libinput/test/ |
H A D | litest-device-wacom-cintiq-13hdt-pen.c | 30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_DISTANCE, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 34 { .type = EV_ABS, .code = ABS_TILT_X, .value = LITEST_AUTO_ASSIGN }, 35 { .type = EV_ABS, .code = ABS_TILT_Y, .value = LITEST_AUTO_ASSIGN }, 36 { .type = EV_ABS, .code = ABS_MISC, .value = 2083 }, 37 { .type = EV_MSC, .code = MSC_SERIAL, .value = 297797542 }, 38 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 }, 39 { .type = EV_SYN, .code = SYN_REPORT, .value 69 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
H A D | litest-device-wacom-cintiq-24hd-pen.c | 30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_DISTANCE, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 34 { .type = EV_ABS, .code = ABS_TILT_X, .value = LITEST_AUTO_ASSIGN }, 35 { .type = EV_ABS, .code = ABS_TILT_Y, .value = LITEST_AUTO_ASSIGN }, 36 { .type = EV_ABS, .code = ABS_MISC, .value = 2083 }, 37 { .type = EV_MSC, .code = MSC_SERIAL, .value = 297797542 }, 38 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 }, 39 { .type = EV_SYN, .code = SYN_REPORT, .value 69 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | machine-graph.cc | 14 Node* MachineGraph::Int32Constant(int32_t value) { in Int32Constant() argument 15 Node** loc = cache_.FindInt32Constant(value); in Int32Constant() 17 *loc = graph()->NewNode(common()->Int32Constant(value)); in Int32Constant() 22 Node* MachineGraph::Int64Constant(int64_t value) { in Int64Constant() argument 23 Node** loc = cache_.FindInt64Constant(value); in Int64Constant() 25 *loc = graph()->NewNode(common()->Int64Constant(value)); in Int64Constant() 30 Node* MachineGraph::IntPtrConstant(intptr_t value) { in IntPtrConstant() argument 31 return machine()->Is32() ? Int32Constant(static_cast<int32_t>(value)) in IntPtrConstant() 32 : Int64Constant(static_cast<int64_t>(value)); in IntPtrConstant() 35 Node* MachineGraph::UintPtrConstant(uintptr_t value) { in UintPtrConstant() argument 40 TaggedIndexConstant(intptr_t value) TaggedIndexConstant() argument 49 RelocatableInt32Constant(int32_t value, RelocInfo::Mode rmode) RelocatableInt32Constant() argument 59 RelocatableInt64Constant(int64_t value, RelocInfo::Mode rmode) RelocatableInt64Constant() argument 69 RelocatableIntPtrConstant(intptr_t value, RelocInfo::Mode rmode) RelocatableIntPtrConstant() argument 76 Float32Constant(float value) Float32Constant() argument 84 Float64Constant(double value) Float64Constant() argument 92 PointerConstant(intptr_t value) PointerConstant() argument [all...] |
/foundation/communication/ipc/ipc/native/test/fuzztest/core/include/ |
H A D | fuzz_data_generator.h | 50 static inline bool GenerateFromList(T &value, const std::vector<T> &candidateValues) in GenerateFromList() argument 59 value = candidateValues[rawData % candidateValues.size()]; in GenerateFromList() 63 static inline bool GenerateBool(bool &value) in GenerateBool() argument 65 return DataGenerator::GetInstance().ReadBool(value); in GenerateBool() 68 static inline bool GenerateInt8(int8_t &value) in GenerateInt8() argument 70 return DataGenerator::GetInstance().ReadInt8(value); in GenerateInt8() 73 static inline bool GenerateInt16(int16_t &value) in GenerateInt16() argument 75 return DataGenerator::GetInstance().ReadInt16(value); in GenerateInt16() 78 static inline bool GenerateInt32(int32_t &value) in GenerateInt32() argument 80 return DataGenerator::GetInstance().ReadInt32(value); in GenerateInt32() 83 GenerateInt64(int64_t &value) GenerateInt64() argument 88 GenerateUint8(uint8_t &value) GenerateUint8() argument 93 GenerateUint16(uint16_t &value) GenerateUint16() argument 98 GenerateUint32(uint32_t &value) GenerateUint32() argument 103 GenerateUint64(uint64_t &value) GenerateUint64() argument 108 GenerateFloat(float &value) GenerateFloat() argument 113 GenerateDouble(double &value) GenerateDouble() argument 118 GenerateString(std::string &value) GenerateString() argument [all...] |
/third_party/json/tests/src/ |
H A D | unit-items.cpp | 26 SECTION("value") 38 CHECK(i.value() == json(1)); 45 CHECK(i.value() == json(2)); 71 CHECK(i.value() == json(1)); 73 // change the value 74 i.value() = json(11); 75 CHECK(i.value() == json(11)); 82 CHECK(i.value() == json(2)); 84 // change the value 85 i.value() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | tnode.h | 143 static constexpr MachineType value = Type::kMachineType; member 147 constexpr MachineType MachineTypeOf<Type, Enable>::value; member in v8::internal::MachineTypeOf 151 static constexpr MachineType value = MachineType::AnyTagged(); member 155 static constexpr MachineType value = MachineType::AnyTagged(); member 159 static constexpr MachineType value = MachineType::TaggedSigned(); member 163 static constexpr MachineType value = MachineType::Pointer(); member 168 HeapObject, HeapObjectSubtype>::value>::type> { 169 static constexpr MachineType value = MachineType::TaggedPointer(); member 173 static constexpr MachineType value = MachineType::Pointer(); member 179 HeapObject, HeapObjectSubtype>::value> member in v8::internal::MachineTypeOf 183 static const MachineRepresentation value = Type::kMachineRepresentation; global() member 189 static const MachineRepresentation value = T::kMachineType.representation(); global() member 194 static const MachineRepresentation value = global() member 200 static const MachineRepresentation value = global() member 205 static const MachineRepresentation value = RawPtrT::kMachineRepresentation; global() member 220 static const bool value = std::is_base_of<Object, T>::value || global() member 230 static const bool value = global() member 242 static const bool value = is_tagged; global() member 268 static const bool value = global() member 275 static const bool value = global() member 280 static const bool value = global() member 285 static const bool value = global() member 291 static const bool value = true; global() member 296 static const bool value = is_subtype<T, U>::value || is_subtype<U, T>::value; global() member 300 static const bool value = types_have_common_values<Word32T, U>::value; global() member 304 static const bool value = types_have_common_values<Word32T, U>::value; global() member 308 static const bool value = types_have_common_values<Word32T, U>::value; global() member 312 static const bool value = types_have_common_values<Word64T, U>::value; global() member 316 static const bool value = types_have_common_values<Word64T, U>::value; global() member 320 static const bool value = types_have_common_values<WordT, U>::value; global() member 324 static const bool value = types_have_common_values<WordT, U>::value; global() member 328 static const bool value = types_have_common_values<T1, U>::value || global() member 334 static const bool value = types_have_common_values<T, U1>::value || global() member 339 static const bool value = types_have_common_values<T1, U1>::value || global() member [all...] |
/foundation/distributeddatamgr/pasteboard/framework/framework/serializable/ |
H A D | serializable.cpp | 34 char *value = cJSON_PrintUnformatted(node); in Marshall() local 36 if (value != nullptr) { in Marshall() 37 result = std::string(value); in Marshall() 38 cJSON_free(value); in Marshall() 43 bool Serializable::GetValue(const json node, const std::string &name, std::string &value) in GetValue() argument 49 value = cJSON_GetStringValue(subNode); in GetValue() 53 bool Serializable::GetValue(const json node, const std::string &name, uint8_t &value) in GetValue() argument 55 return GetNumber(node, name, value); in GetValue() 58 bool Serializable::GetValue(const json node, const std::string &name, uint16_t &value) in GetValue() argument 60 return GetNumber(node, name, value); in GetValue() 63 GetValue(const json node, const std::string &name, uint32_t &value) GetValue() argument 68 GetValue(const json node, const std::string &name, uint64_t &value) GetValue() argument 73 GetValue(const json node, const std::string &name, int32_t &value) GetValue() argument 78 GetValue(const json node, const std::string &name, int64_t &value) GetValue() argument 83 GetValue(const json node, const std::string &name, bool &value) GetValue() argument 93 GetValue(const json node, const std::string &name, std::vector<uint8_t> &value) GetValue() argument 106 GetValue(const json node, const std::string &name, Serializable &value) GetValue() argument 115 SetValue(json &node, const std::string &value, const std::string &name) SetValue() argument 126 SetValue(json &node, const uint8_t &value, const std::string &name) SetValue() argument 131 SetValue(json &node, const uint16_t &value, const std::string &name) SetValue() argument 136 SetValue(json &node, const uint32_t &value, const std::string &name) SetValue() argument 141 SetValue(json &node, const uint64_t &value, const std::string &name) SetValue() argument 146 SetValue(json &node, const int32_t &value, const std::string &name) SetValue() argument 151 SetValue(json &node, const int64_t &value, const std::string &name) SetValue() argument 156 SetValue(json &node, const bool &value, const std::string &name) SetValue() argument 167 SetValue(json &node, const std::vector<uint8_t> &value, const std::string &name) SetValue() argument 181 SetValue(json &node, const Serializable &value, const std::string &name) SetValue() argument [all...] |
/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_json_entity_ext_manage.cpp | 27 #include "json/value.h" 97 Json::Value value; in Stat2JsonValue() local 98 value["st_size"] = static_cast<int64_t>(sta.st_size); in Stat2JsonValue() 99 value["st_mode"] = static_cast<int32_t>(sta.st_mode); in Stat2JsonValue() 100 value["st_atim"]["tv_sec"] = static_cast<int64_t>(sta.st_atim.tv_sec); in Stat2JsonValue() 101 value["st_atim"]["tv_nsec"] = static_cast<int64_t>(sta.st_atim.tv_nsec); in Stat2JsonValue() 102 value["st_mtim"]["tv_sec"] = static_cast<int64_t>(sta.st_mtim.tv_sec); in Stat2JsonValue() 103 value["st_mtim"]["tv_nsec"] = static_cast<int64_t>(sta.st_mtim.tv_nsec); in Stat2JsonValue() 104 return value; in Stat2JsonValue() 107 struct stat JsonValue2Stat(const Json::Value &value) in JsonValue2Stat() argument 144 Json::Value value; SetExtManageForClone() local 161 Json::Value value; SetExtManage() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/ |
H A D | stack_borderradius_test.cpp | 24 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; in TestStackBorderRadius001() local 25 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestStackBorderRadius001() 28 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_BORDER_RADIUS)->value[PARAM_0].f32, borderRadius); in TestStackBorderRadius001() 36 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; in TestStackBorderRadius002() local 37 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestStackBorderRadius002() 40 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_BORDER_RADIUS)->value[PARAM_0].f32, borderRadius); in TestStackBorderRadius002() 48 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; in TestStackBorderRadius003() local 49 ArkUI_AttributeItem value_item = {value, sizeo in TestStackBorderRadius003() 60 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; TestStackBorderRadius004() local 77 ArkUI_NumberValue value[] = {{.f32 = borderRadiusLeftTop}, TestStackBorderRadius005() local 95 ArkUI_NumberValue value[] = { TestStackBorderRadius006() local 111 ArkUI_NumberValue value[] = { TestStackBorderRadius007() local 130 ArkUI_NumberValue value[] = {{.f32 = borderRadiusLeftTop}, TestStackBorderRadius008() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textinput/ |
H A D | textinput_type_test.cpp | 24 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_NORMAL}}; in TestTextInputType001() local 25 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextInputType001() 28 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_TEXT_INPUT_TYPE)->value[PARAM_0].i32, ARKUI_TEXTINPUT_TYPE_NORMAL); in TestTextInputType001() 36 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_NUMBER}}; in TestTextInputType002() local 37 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextInputType002() 40 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_TEXT_INPUT_TYPE)->value[PARAM_0].i32, ARKUI_TEXTINPUT_TYPE_NUMBER); in TestTextInputType002() 48 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_PHONE_NUMBER}}; in TestTextInputType003() local 49 ArkUI_AttributeItem value_item = {value, sizeo in TestTextInputType003() 61 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_EMAIL}}; TestTextInputType004() local 73 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_PASSWORD}}; TestTextInputType005() local 86 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_NUMBER_PASSWORD}}; TestTextInputType006() local 99 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_SCREEN_LOCK_PASSWORD}}; TestTextInputType007() local 112 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_USER_NAME}}; TestTextInputType008() local 125 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_NEW_PASSWORD}}; TestTextInputType009() local 138 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXTINPUT_TYPE_NUMBER_DECIMAL}}; TestTextInputType010() local 151 ArkUI_NumberValue value[] = {{.i32 = PARAM_NEGATIVE_100}}; TestTextInputType011() local [all...] |
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | filters.py | 58 def ignore_case(value): 61 return value.lower() if isinstance(value, string_types) else value 93 The value returned by the returned callable is a list of extracted 130 def do_forceescape(value): 132 if hasattr(value, "__html__"): 133 value = value.__html__() 134 return escape(text_type(value)) [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | filters.py | 58 def ignore_case(value): 61 return value.lower() if isinstance(value, string_types) else value 93 The value returned by the returned callable is a list of extracted 130 def do_forceescape(value): 132 if hasattr(value, "__html__"): 133 value = value.__html__() 134 return escape(text_type(value)) [all...] |
/foundation/distributeddatamgr/udmf/interfaces/cj/src/ |
H A D | unified_record_impl.cpp | 65 CJValueType CUnifiedRecord::ValueType2CJValueType(ValueType value) in ValueType2CJValueType() argument 68 if (std::holds_alternative<std::monostate>(value)) { in ValueType2CJValueType() 70 } else if (std::holds_alternative<nullptr_t>(value)) { in ValueType2CJValueType() 72 } else if (auto p = std::get_if<int32_t>(&value)) { in ValueType2CJValueType() 75 } else if (auto p = std::get_if<int64_t>(&value)) { in ValueType2CJValueType() 78 } else if (auto p = std::get_if<double>(&value)) { in ValueType2CJValueType() 81 } else if (auto p = std::get_if<bool>(&value)) { in ValueType2CJValueType() 84 } else if (auto p = std::get_if<std::string>(&value)) { in ValueType2CJValueType() 87 } else if (auto p = std::get_if<std::vector<uint8_t>>(&value)) { in ValueType2CJValueType() 90 } else if (auto p = std::get_if<std::shared_ptr<OHOS::Media::PixelMap>>(&value)) { in ValueType2CJValueType() 100 ValueType value; CJValueType2ValueType() local 165 ValueType value = CJValueType2ValueType(cjvalue); CUnifiedRecord() local 206 ValueType value = this->unifiedRecord_->GetValue(); GetValue() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/image/ |
H A D | image_borderradius_test.cpp | 37 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; in TestImageBorderRadius001() local 38 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestImageBorderRadius001() 41 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_RADIUS)->value[PARAM_0].f32, borderRadius); in TestImageBorderRadius001() 42 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_RADIUS)->value[PARAM_1].f32, borderRadius); in TestImageBorderRadius001() 43 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_RADIUS)->value[PARAM_2].f32, borderRadius); in TestImageBorderRadius001() 44 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_RADIUS)->value[PARAM_3].f32, borderRadius); in TestImageBorderRadius001() 52 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; in TestImageBorderRadius002() local 53 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeo in TestImageBorderRadius002() 67 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; TestImageBorderRadius003() local 85 ArkUI_NumberValue value[] = {{.f32 = borderRadiusLeftTop}, TestImageBorderRadius004() local 106 ArkUI_NumberValue value[] = {{.f32 = borderRadiusLeftTop}, TestImageBorderRadius005() local 127 ArkUI_NumberValue value[] = {{.f32 = borderRadiusLeftTop}, TestImageBorderRadius006() local 145 ArkUI_NumberValue value[] = {{.f32 = borderRadius}}; TestImageBorderRadius007() local 166 ArkUI_NumberValue value[] = {{.f32 = borderRadiusLeftTop}, TestImageBorderRadius008() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/text/ |
H A D | text_decoration_test.cpp | 22 * @tc.desc : testing decoration for text with default value 30 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_TEXT_DECORATION)->value[PARAM_0].i32, ARKUI_TEXT_DECORATION_TYPE_NONE); in TestTextDecoration001() 37 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXT_DECORATION_TYPE_UNDERLINE}}; in TestTextDecoration002() local 38 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextDecoration002() 41 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_TEXT_DECORATION)->value[PARAM_0].i32, in TestTextDecoration002() 49 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXT_DECORATION_TYPE_OVERLINE}}; in TestTextDecoration003() local 50 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextDecoration003() 53 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_TEXT_DECORATION)->value[PARAM_ in TestTextDecoration003() 61 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXT_DECORATION_TYPE_LINE_THROUGH}}; TestTextDecoration004() local 75 ArkUI_NumberValue value[] = {{.i32 = exceptionValue}}; TestTextDecoration005() local 89 ArkUI_NumberValue value[] = {{.i32 = ARKUI_TEXT_DECORATION_TYPE_UNDERLINE}, {.u32 = color}}; TestTextDecoration006() local 102 ArkUI_NumberValue value[] = {{.i32 = decorationType}, {}, {.i32 = decorationStyle}}; TestTextDecoration007() local 116 ArkUI_NumberValue value[] = {{.i32 = decorationType}, {}, {.i32 = decorationStyle}}; TestTextDecoration008() local 130 ArkUI_NumberValue value[] = {{.i32 = decorationType}, {}, {.i32 = decorationStyle}}; TestTextDecoration009() local 144 ArkUI_NumberValue value[] = {{.i32 = decorationType}, {}, {.i32 = decorationStyle}}; TestTextDecoration010() local 158 ArkUI_NumberValue value[] = {{.i32 = decorationType}, {}, {.i32 = decorationStyle}}; TestTextDecoration011() local 172 ArkUI_NumberValue value[] = {{.i32 = decorationType}, {}, {.i32 = decorationStyle}}; TestTextDecoration012() local 186 ArkUI_NumberValue value[] = {{.i32 = decorationType}, {}, {.i32 = decorationStyle}}; TestTextDecoration013() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animation_util.cpp | 117 for (const auto& [keyStyle, value] : animationNameKeyframe) { in ParseAnimationStyle() 121 KeyframesAddKeyFrame(keyStyle, value, timeStr); in ParseAnimationStyle() 133 const std::string& keyStyle, const std::string& value, const std::string& timeStr) in KeyframesAddKeyFrame() 139 [](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame() 140 util.AddAnimatable(util.ParseColor(value), time, AnimatableType::PROPERTY_BG_COLOR); in KeyframesAddKeyFrame() 143 [](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame() 145 if (!Framework::ParseBackgroundImageSize(value, backgroundImageSize)) { in KeyframesAddKeyFrame() 152 [](const std::string& value, const double& time, const std::string& timeStr, AnimationUtil& util) { in KeyframesAddKeyFrame() 154 if (!Framework::ParseBackgroundImagePosition(value, backgroundImagePosition)) { in KeyframesAddKeyFrame() 161 [](const std::string& value, cons in KeyframesAddKeyFrame() 132 KeyframesAddKeyFrame( const std::string& keyStyle, const std::string& value, const std::string& timeStr) KeyframesAddKeyFrame() argument 545 ParseColor(const std::string& value, uint32_t maskAlpha) const ParseColor() argument [all...] |
/third_party/protobuf/python/google/protobuf/ |
H A D | json_format.py | 223 for field, value in fields: 230 v_field = field.message_type.fields_by_name['value'] 232 for key in value: 241 v_field, value[key]) 246 for k in value] 249 js[name] = self._FieldToJsonObject(field, value) 251 js[name] = self._FieldToJsonObject(field, value) 253 # Serialize default value if including_default_value_fields is True. 282 def _FieldToJsonObject(self, field, value): 283 """Converts field value accordin [all...] |
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | tlv_object.h | 31 std::uint8_t value[0];
member 48 size_t Count(const std::string &value);
49 size_t Count(const std::vector<uint8_t> &value);
50 size_t Count(const OHOS::AAFwk::Want &value);
51 size_t Count(const std::monostate &value);
52 size_t Count(const void *value);
54 bool Write(TAG tag, const std::string &value);
55 bool Write(TAG tag, const std::vector<uint8_t> &value);
56 bool Write(TAG tag, const OHOS::AAFwk::Want &value);
57 bool Write(TAG tag, const std::monostate &value);
92 CountBasic(const T &value) CountBasic() argument 100 WriteBasic(TAG type, const T &value) WriteBasic() argument 117 ReadBasic(T &value, const TLVHead &head) ReadBasic() argument [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_aligncontent_test.cpp | 23 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_TOP_START}}; in TestCommonAttrsAlignContent001() local 24 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsAlignContent001() 27 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_STACK_ALIGN_CONTENT)->value[PARAM_0].i32, ARKUI_ALIGNMENT_TOP_START); in TestCommonAttrsAlignContent001() 34 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_TOP}}; in TestCommonAttrsAlignContent002() local 35 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsAlignContent002() 38 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_STACK_ALIGN_CONTENT)->value[PARAM_0].i32, ARKUI_ALIGNMENT_TOP); in TestCommonAttrsAlignContent002() 45 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_TOP_END}}; in TestCommonAttrsAlignContent003() local 46 ArkUI_AttributeItem value_item = {value, sizeo in TestCommonAttrsAlignContent003() 56 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_START}}; TestCommonAttrsAlignContent004() local 67 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_CENTER}}; TestCommonAttrsAlignContent005() local 78 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_END}}; TestCommonAttrsAlignContent006() local 89 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_BOTTOM_START}}; TestCommonAttrsAlignContent007() local 100 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_BOTTOM}}; TestCommonAttrsAlignContent008() local 111 ArkUI_NumberValue value[] = {{.i32 = ARKUI_ALIGNMENT_BOTTOM_END}}; TestCommonAttrsAlignContent009() local [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | filters.py | 56 def ignore_case(value): 59 return value.lower() if isinstance(value, string_types) else value 87 def do_forceescape(value): 89 if hasattr(value, '__html__'): 90 value = value.__html__() 91 return escape(text_type(value)) 94 def do_urlencode(value) [all...] |
/third_party/openssl/test/helpers/ |
H A D | ssl_test_ctx.c | 23 static int parse_boolean(const char *value, int *result) in parse_boolean() argument 25 if (OPENSSL_strcasecmp(value, "Yes") == 0) { in parse_boolean() 29 else if (OPENSSL_strcasecmp(value, "No") == 0) { in parse_boolean() 33 TEST_error("parse_boolean given: '%s'", value); in parse_boolean() 38 static int parse_##name##_##field(struct_type *ctx, const char *value) \ 40 return parse_boolean(value, &ctx->field); \ 44 static int parse_##name##_##field(struct_type *ctx, const char *value) \ 47 ctx->field = OPENSSL_strdup(value); \ 52 static int parse_##name##_##field(struct_type *ctx, const char *value) \ 54 ctx->field = atoi(value); \ 61 int value; global() member 65 parse_enum(const test_enum *enums, size_t num_enums, int *value, const char *name) parse_enum() argument 78 enum_name(const test_enum *enums, size_t num_enums, int value) enum_name() argument 101 parse_expected_result(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_result() argument 129 parse_alert(int *alert, const char *value) parse_alert() argument 134 parse_client_alert(SSL_TEST_CTX *test_ctx, const char *value) parse_client_alert() argument 139 parse_server_alert(SSL_TEST_CTX *test_ctx, const char *value) parse_server_alert() argument 161 parse_protocol(SSL_TEST_CTX *test_ctx, const char *value) parse_protocol() argument 181 parse_client_verify_callback(SSL_TEST_CLIENT_CONF *client_conf, const char *value) parse_client_verify_callback() argument 209 parse_servername(SSL_TEST_CLIENT_CONF *client_conf, const char *value) parse_servername() argument 221 parse_expected_servername(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_servername() argument 252 parse_servername_callback(SSL_TEST_SERVER_CONF *server_conf, const char *value) parse_servername_callback() argument 278 parse_session_ticket(SSL_TEST_CTX *test_ctx, const char *value) parse_session_ticket() argument 308 parse_session_id(SSL_TEST_CTX *test_ctx, const char *value) parse_session_id() argument 333 parse_test_method(SSL_TEST_CTX *test_ctx, const char *value) parse_test_method() argument 380 parse_handshake_mode(SSL_TEST_CTX *test_ctx, const char *value) parse_handshake_mode() argument 408 parse_key_update_type(SSL_TEST_CTX *test_ctx, const char *value) parse_key_update_type() argument 427 parse_ct_validation(SSL_TEST_CLIENT_CONF *client_conf, const char *value) parse_ct_validation() argument 459 parse_certstatus(SSL_TEST_SERVER_CONF *server_conf, const char *value) parse_certstatus() argument 495 parse_max_fragment_len_mode(SSL_TEST_CLIENT_CONF *client_conf, const char *value) parse_max_fragment_len_mode() argument 517 parse_expected_key_type(int *ptype, const char *value) parse_expected_key_type() argument 541 parse_expected_tmp_key_type(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_tmp_key_type() argument 547 parse_expected_server_cert_type(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_server_cert_type() argument 554 parse_expected_server_sign_type(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_server_sign_type() argument 561 parse_expected_client_cert_type(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_client_cert_type() argument 568 parse_expected_client_sign_type(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_client_sign_type() argument 578 parse_expected_sign_hash(int *ptype, const char *value) parse_expected_sign_hash() argument 593 parse_expected_server_sign_hash(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_server_sign_hash() argument 600 parse_expected_client_sign_hash(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_client_sign_hash() argument 619 parse_expected_server_ca_names(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_server_ca_names() argument 625 parse_expected_client_ca_names(SSL_TEST_CTX *test_ctx, const char *value) parse_expected_client_ca_names() argument [all...] |
/third_party/vixl/src/ |
H A D | compiler-intrinsics-vixl.h | 93 inline bool IsPowerOf2(V value) { in IsPowerOf2() argument 94 return (value != 0) && ((value & (value - 1)) == 0); in IsPowerOf2() 99 int CountLeadingSignBitsFallBack(int64_t value, int width); 100 int CountLeadingZerosFallBack(uint64_t value, int width); 101 int CountSetBitsFallBack(uint64_t value, int width); 102 int CountTrailingZerosFallBack(uint64_t value, int width); 112 inline int CountLeadingSignBits(V value, int width = (sizeof(V) * 8)) { in CountLeadingSignBits() argument 115 VIXL_ASSERT((LLONG_MIN <= value) in CountLeadingSignBits() 130 CountLeadingZeros(V value, int width = (sizeof(V) * 8)) CountLeadingZeros() argument 143 CountSetBits(V value, int width = (sizeof(V) * 8)) CountSetBits() argument 156 CountTrailingZeros(V value, int width = (sizeof(V) * 8)) CountTrailingZeros() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | frame_capture_utils_autogen.h | 335 T GetParamVal(const ParamValue &value); 339 const AHardwareBuffer *>(const ParamValue &value) in GetParamVal() 341 return value.AHardwareBufferConstPointerVal; in GetParamVal() 346 const ParamValue &value) in GetParamVal() 348 return value.AlphaTestFuncVal; in GetParamVal() 353 const ParamValue &value) in GetParamVal() 355 return value.BufferBindingVal; in GetParamVal() 359 inline gl::BufferID GetParamVal<ParamType::TBufferID, gl::BufferID>(const ParamValue &value) in GetParamVal() argument 361 return value.BufferIDVal; in GetParamVal() 366 const ParamValue &value) in GetParamVal() 338 GetParamVal(const ParamValue &value) GetParamVal() argument 345 GetParamVal( const ParamValue &value) GetParamVal() argument 352 GetParamVal( const ParamValue &value) GetParamVal() argument 365 GetParamVal( const ParamValue &value) GetParamVal() argument 372 GetParamVal( const ParamValue &value) GetParamVal() argument 379 GetParamVal( const ParamValue &value) GetParamVal() argument 387 GetParamVal(const ParamValue &value) GetParamVal() argument 393 GetParamVal( const ParamValue &value) GetParamVal() argument 400 GetParamVal( const ParamValue &value) GetParamVal() argument 407 GetParamVal( const ParamValue &value) GetParamVal() argument 414 GetParamVal(const ParamValue &value) GetParamVal() argument 420 GetParamVal(const ParamValue &value) GetParamVal() argument 426 GetParamVal( const ParamValue &value) GetParamVal() argument 433 GetParamVal(const ParamValue &value) GetParamVal() argument 439 GetParamVal(const ParamValue &value) GetParamVal() argument 445 GetParamVal( const ParamValue &value) GetParamVal() argument 452 GetParamVal(const ParamValue &value) GetParamVal() argument 458 GetParamVal(const ParamValue &value) GetParamVal() argument 464 GetParamVal( const ParamValue &value) GetParamVal() argument 471 GetParamVal( const ParamValue &value) GetParamVal() argument 478 GetParamVal(const ParamValue &value) GetParamVal() argument 484 GetParamVal(const ParamValue &value) GetParamVal() argument 490 GetParamVal( const ParamValue &value) GetParamVal() argument 497 GetParamVal( const ParamValue &value) GetParamVal() argument 504 GetParamVal( const ParamValue &value) GetParamVal() argument 511 GetParamVal(const ParamValue &value) GetParamVal() argument 517 GetParamVal( const ParamValue &value) GetParamVal() argument 524 GetParamVal(const ParamValue &value) GetParamVal() argument 530 GetParamVal(const ParamValue &value) GetParamVal() argument 536 GetParamVal(const ParamValue &value) GetParamVal() argument 542 GetParamVal(const ParamValue &value) GetParamVal() argument 548 GetParamVal(const ParamValue &value) GetParamVal() argument 554 GetParamVal(const ParamValue &value) GetParamVal() argument 560 GetParamVal(const ParamValue &value) GetParamVal() argument 566 GetParamVal( const ParamValue &value) GetParamVal() argument 573 GetParamVal(const ParamValue &value) GetParamVal() argument 579 GetParamVal(const ParamValue &value) GetParamVal() argument 585 GetParamVal( const ParamValue &value) GetParamVal() argument 592 GetParamVal( const ParamValue &value) GetParamVal() argument 599 GetParamVal( const ParamValue &value) GetParamVal() argument 606 GetParamVal(const ParamValue &value) GetParamVal() argument 613 GetParamVal( const ParamValue &value) GetParamVal() argument 620 GetParamVal(const ParamValue &value) GetParamVal() argument 626 GetParamVal( const ParamValue &value) GetParamVal() argument 633 GetParamVal(const ParamValue &value) GetParamVal() argument 639 GetParamVal(const ParamValue &value) GetParamVal() argument 645 GetParamVal( const ParamValue &value) GetParamVal() argument 652 GetParamVal(const ParamValue &value) GetParamVal() argument 658 GetParamVal(const ParamValue &value) GetParamVal() argument 664 GetParamVal( const ParamValue &value) GetParamVal() argument 671 GetParamVal( const ParamValue &value) GetParamVal() argument 679 GetParamVal(const ParamValue &value) GetParamVal() argument 685 GetParamVal(const ParamValue &value) GetParamVal() argument 691 GetParamVal(const ParamValue &value) GetParamVal() argument 697 GetParamVal(const ParamValue &value) GetParamVal() argument 703 GetParamVal( const ParamValue &value) GetParamVal() argument 710 GetParamVal(const ParamValue &value) GetParamVal() argument 716 GetParamVal( const ParamValue &value) GetParamVal() argument 723 GetParamVal(const ParamValue &value) GetParamVal() argument 729 GetParamVal(const ParamValue &value) GetParamVal() argument 735 GetParamVal( const ParamValue &value) GetParamVal() argument 742 GetParamVal(const ParamValue &value) GetParamVal() argument 748 GetParamVal(const ParamValue &value) GetParamVal() argument 754 GetParamVal( const ParamValue &value) GetParamVal() argument 761 GetParamVal(const ParamValue &value) GetParamVal() argument 767 GetParamVal(const ParamValue &value) GetParamVal() argument 773 GetParamVal( const ParamValue &value) GetParamVal() argument 780 GetParamVal(const ParamValue &value) GetParamVal() argument 786 GetParamVal(const ParamValue &value) GetParamVal() argument 792 GetParamVal(const ParamValue &value) GetParamVal() argument 798 GetParamVal( const ParamValue &value) GetParamVal() argument 805 GetParamVal(const ParamValue &value) GetParamVal() argument 811 GetParamVal(const ParamValue &value) GetParamVal() argument 817 GetParamVal( const ParamValue &value) GetParamVal() argument 824 GetParamVal(const ParamValue &value) GetParamVal() argument 830 GetParamVal( const ParamValue &value) GetParamVal() argument 837 GetParamVal(const ParamValue &value) GetParamVal() argument 843 GetParamVal( const ParamValue &value) GetParamVal() argument 850 GetParamVal(const ParamValue &value) GetParamVal() argument 856 GetParamVal(const ParamValue &value) GetParamVal() argument 862 GetParamVal( const ParamValue &value) GetParamVal() argument 869 GetParamVal(const ParamValue &value) GetParamVal() argument 875 GetParamVal(const ParamValue &value) GetParamVal() argument 881 GetParamVal( const ParamValue &value) GetParamVal() argument 888 GetParamVal(const ParamValue &value) GetParamVal() argument 894 GetParamVal(const ParamValue &value) GetParamVal() argument 900 GetParamVal(const ParamValue &value) GetParamVal() argument 906 GetParamVal( const ParamValue &value) GetParamVal() argument 913 GetParamVal(const ParamValue &value) GetParamVal() argument 919 GetParamVal( const ParamValue &value) GetParamVal() argument 926 GetParamVal(const ParamValue &value) GetParamVal() argument 932 GetParamVal(const ParamValue &value) GetParamVal() argument 938 GetParamVal( const ParamValue &value) GetParamVal() argument 945 GetParamVal(const ParamValue &value) GetParamVal() argument 951 GetParamVal( const ParamValue &value) GetParamVal() argument 959 GetParamVal(const ParamValue &value) GetParamVal() argument 966 GetParamVal(const ParamValue &value) GetParamVal() argument 972 GetParamVal(const ParamValue &value) GetParamVal() argument 978 GetParamVal( const ParamValue &value) GetParamVal() argument 985 GetParamVal( const ParamValue &value) GetParamVal() argument 992 GetParamVal( const ParamValue &value) GetParamVal() argument 999 GetParamVal(const ParamValue &value) GetParamVal() argument 1005 GetParamVal( const ParamValue &value) GetParamVal() argument 1012 GetParamVal(const ParamValue &value) GetParamVal() argument 1019 GetParamVal( const ParamValue &value) GetParamVal() argument 1026 GetParamVal(const ParamValue &value) GetParamVal() argument 1032 GetParamVal( const ParamValue &value) GetParamVal() argument 1039 GetParamVal( const ParamValue &value) GetParamVal() argument 1046 GetParamVal( const ParamValue &value) GetParamVal() argument 1054 GetParamVal( const ParamValue &value) GetParamVal() argument 1062 GetParamVal(const ParamValue &value) GetParamVal() argument 1069 GetParamVal( const ParamValue &value) GetParamVal() argument 1076 GetParamVal(const ParamValue &value) GetParamVal() argument 1082 GetParamVal( const ParamValue &value) GetParamVal() argument 1089 GetParamVal(const ParamValue &value) GetParamVal() argument 1095 GetParamVal(const ParamValue &value) GetParamVal() argument 1101 GetParamVal( const ParamValue &value) GetParamVal() argument 1108 GetParamVal(const ParamValue &value) GetParamVal() argument 1115 GetParamVal( const ParamValue &value) GetParamVal() argument 1122 GetParamVal(const ParamValue &value) GetParamVal() argument 1128 GetParamVal( const ParamValue &value) GetParamVal() argument 1135 GetParamVal( const ParamValue &value) GetParamVal() argument 1142 GetParamVal( const ParamValue &value) GetParamVal() argument 1150 GetParamVal(const ParamValue &value) GetParamVal() argument 1156 GetParamVal( const ParamValue &value) GetParamVal() argument 1163 GetParamVal( const ParamValue &value) GetParamVal() argument 1170 GetParamVal(const ParamValue &value) GetParamVal() argument 1177 GetParamVal( const ParamValue &value) GetParamVal() argument 1184 GetParamVal(const ParamValue &value) GetParamVal() argument 1190 GetParamVal( const ParamValue &value) GetParamVal() argument 1198 GetParamVal(const ParamValue &value) GetParamVal() argument 1204 GetParamVal( const ParamValue &value) GetParamVal() argument 1211 GetParamVal(const ParamValue &value) GetParamVal() argument 1217 GetParamVal( const ParamValue &value) GetParamVal() argument 1224 GetParamVal( const ParamValue &value) GetParamVal() argument 1231 GetParamVal( const ParamValue &value) GetParamVal() argument 1238 GetParamVal( const ParamValue &value) GetParamVal() argument 1245 GetParamVal(const ParamValue &value) GetParamVal() argument 1252 GetParamVal(const ParamValue &value) GetParamVal() argument 1259 GetParamVal( const ParamValue &value) GetParamVal() argument 1266 GetParamVal(const ParamValue &value) GetParamVal() argument 1273 GetParamVal( const ParamValue &value) GetParamVal() argument 1280 GetParamVal( const ParamValue &value) GetParamVal() argument 1287 GetParamVal( const ParamValue &value) GetParamVal() argument 1294 GetParamVal(const ParamValue &value) GetParamVal() argument 1301 GetParamVal( const ParamValue &value) GetParamVal() argument 1308 GetParamVal( const ParamValue &value) GetParamVal() argument 1315 GetParamVal(const ParamValue &value) GetParamVal() argument 1321 GetParamVal(const ParamValue &value) GetParamVal() argument 1327 GetParamVal( const ParamValue &value) GetParamVal() argument 1334 GetParamVal(const ParamValue &value) GetParamVal() argument 1340 GetParamVal(const ParamValue &value) GetParamVal() argument 1346 GetParamVal(const ParamValue &value) GetParamVal() argument 1353 AccessParamValue(ParamType paramType, const ParamValue &value) AccessParamValue() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_xml_config.h | 88 ConfigItem(const ConfigItem& value) in ConfigItem() 90 *this = value; in ConfigItem() 92 ConfigItem& operator=(const ConfigItem& value) in operator =() 95 switch (value.type) { in operator =() 97 mapValue = new std::map<std::string, ConfigItem>(*value.mapValue); in operator =() 100 boolValue = value.boolValue; in operator =() 103 new(&stringValue)std::string(value.stringValue); in operator =() 106 intsValue = new std::vector<int>(*value.intsValue); in operator =() 109 floatsValue = new std::vector<float>(*value.floatsValue); in operator =() 112 stringsValue = new std::vector<std::string>(*value in operator =() [all...] |