/dports/mail/rspamd-devel/rspamd-93430bb/src/libserver/css/ |
H A D | css_value.cxx | 42 -> std::optional<css_value> { in maybe_color_from_string() 75 -> std::optional<css_value> { in maybe_color_from_hex() 81 return css_value(col); in maybe_color_from_hex() 88 return css_value(col); in maybe_color_from_hex() 96 return css_value(col); in maybe_color_from_hex() 243 -> std::optional<css_value> { in maybe_color_from_function() 250 return css_value(col); in maybe_color_from_function() 258 return css_value(col); in maybe_color_from_function() 267 return css_value(col); in maybe_color_from_function() 277 return css_value(col); in maybe_color_from_function() [all …]
|
H A D | css_value.hxx | 86 struct css_value { struct 93 css_value() {} in css_value() argument 94 css_value(const css_color &color) : in css_value() argument 96 css_value(float num) : in css_value() argument 98 css_value(css_dimension dim) : in css_value() argument 100 css_value(css_display_value d) : in css_value() function 126 -> std::optional<css_value>; 128 -> std::optional<css_value>; 130 -> std::optional<css_value>; 132 -> std::optional<css_value>; [all …]
|
/dports/mail/rspamd/rspamd-3.1/src/libserver/css/ |
H A D | css_value.cxx | 42 -> std::optional<css_value> { in maybe_color_from_string() 75 -> std::optional<css_value> { in maybe_color_from_hex() 81 return css_value(col); in maybe_color_from_hex() 88 return css_value(col); in maybe_color_from_hex() 96 return css_value(col); in maybe_color_from_hex() 243 -> std::optional<css_value> { in maybe_color_from_function() 250 return css_value(col); in maybe_color_from_function() 258 return css_value(col); in maybe_color_from_function() 267 return css_value(col); in maybe_color_from_function() 277 return css_value(col); in maybe_color_from_function() [all …]
|
H A D | css_value.hxx | 86 struct css_value { struct 93 css_value() {} in css_value() function 94 css_value(const css_color &color) : in css_value() argument 96 css_value(float num) : in css_value() function 98 css_value(css_dimension dim) : in css_value() function 100 css_value(css_display_value d) : in css_value() argument 126 -> std::optional<css_value>; 128 -> std::optional<css_value>; 130 -> std::optional<css_value>; 132 -> std::optional<css_value>; [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/animation/ |
H A D | css_default_interpolation_type.cc | 14 const CSSValue* css_value) in CSSDefaultNonInterpolableValue() argument 15 : css_value_(css_value) { in CSSDefaultNonInterpolableValue() 26 const CSSValue* css_value = To<CSSPropertySpecificKeyframe>(keyframe).Value(); in MaybeConvertSingle() local 28 if (!css_value) { in MaybeConvertSingle() 34 css_value = To<CSSInterpolationEnvironment>(environment) in MaybeConvertSingle() 35 .Resolve(GetProperty(), css_value); in MaybeConvertSingle() 36 if (!css_value) in MaybeConvertSingle() 41 CSSDefaultNonInterpolableValue::Create(css_value)); in MaybeConvertSingle()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/animation/ |
H A D | css_default_interpolation_type.cc | 15 const CSSValue* css_value) in CSSDefaultNonInterpolableValue() argument 16 : css_value_(css_value) { in CSSDefaultNonInterpolableValue() 27 const CSSValue* css_value = To<CSSPropertySpecificKeyframe>(keyframe).Value(); in MaybeConvertSingle() local 29 if (!css_value) { in MaybeConvertSingle() 34 css_value = To<CSSInterpolationEnvironment>(environment) in MaybeConvertSingle() 35 .Resolve(GetProperty(), css_value); in MaybeConvertSingle() 36 if (!css_value) in MaybeConvertSingle() 40 CSSDefaultNonInterpolableValue::Create(css_value)); in MaybeConvertSingle()
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/tinycss/ |
H A D | tokenizer.py | 53 css_value = char 60 css_value = match.group() 69 css_value = char 70 length = len(css_value) 85 value = css_value[:-1] 89 value = css_value 96 value = simple_unescape(css_value) 106 value = css_value[1:-1] # Remove quotes 120 value = css_value[1:] # Remove quote 125 value = css_value [all …]
|
H A D | tokenizer.c | 283 …SINGLE(x) { type_ = -1; type_name = x; Py_INCREF(type_name); css_value = x; Py_INCREF(css_value); } in tokenize_flat() 305 if (css_value == NULL) { goto error; } in tokenize_flat() 313 if (css_value == NULL) { // No match in tokenize_flat() 315 if (css_value == NULL) { goto error; } in tokenize_flat() 319 length = PyUnicode_GET_LENGTH(css_value); in tokenize_flat() 347 value = css_value; Py_INCREF(value); in tokenize_flat() 376 … if (PyObject_IsTrue(css_value) && PyUnicode_GET_LENGTH(css_value) > 1) { // remove quotes in tokenize_flat() 379 value = css_value; Py_INCREF(value); in tokenize_flat() 388 … if (PyObject_IsTrue(css_value) && PyUnicode_GET_LENGTH(css_value) > 0) { // remove quote in tokenize_flat() 391 value = css_value; Py_INCREF(value); in tokenize_flat() [all …]
|
/dports/textproc/py-tinycss/tinycss-0.4/tinycss/ |
H A D | tokenizer.py | 54 css_value = char 61 css_value = match.group() 70 css_value = char 71 length = len(css_value) 86 value = css_value[:-1] 90 value = css_value 97 value = simple_unescape(css_value) 107 value = css_value[1:-1] # Remove quotes 121 value = css_value[1:] # Remove quote 126 value = css_value [all …]
|
H A D | speedups.pyx | 37 self._as_css = css_value 104 css_value = char 111 css_value = match.group() 121 css_value = char 122 length = len(css_value) 137 value = css_value[:-1] 141 value = css_value 148 value = simple_unescape(css_value) 172 value = css_value[1:] # Remove quote 177 value = css_value [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/css/ |
H A D | css_value_pool.h | 83 CSSIdentifierValue* css_value) { in SetIdentifierCacheValue() argument 84 return identifier_value_cache_[static_cast<int>(ident)] = css_value; in SetIdentifierCacheValue() 91 CSSNumericLiteralValue* css_value) { in SetPixelCacheValue() argument 92 return pixel_value_cache_[int_value] = css_value; in SetPixelCacheValue() 99 CSSNumericLiteralValue* css_value) { in SetPercentCacheValue() argument 100 return percent_value_cache_[int_value] = css_value; in SetPercentCacheValue() 107 CSSNumericLiteralValue* css_value) { in SetNumberCacheValue() argument 108 return number_value_cache_[int_value] = css_value; in SetNumberCacheValue()
|
H A D | css_identifier_value.cc | 16 CSSIdentifierValue* css_value = CssValuePool().IdentifierCacheValue(value_id); in Create() local 17 if (!css_value) { in Create() 18 css_value = CssValuePool().SetIdentifierCacheValue( in Create() 21 return css_value; in Create()
|
/dports/www/kf5-khtml/khtml-5.89.0/src/misc/ |
H A D | helper.cpp | 92 int css_value; member 122 int css_value; member 165 QColor khtml::colorForCSSValue(int css_value) in colorForCSSValue() argument 169 while (col->css_value && col->css_value != css_value) { in colorForCSSValue() 172 if (col->css_value) { in colorForCSSValue() 174 } else if (css_value == CSS_VAL_INVERT) { in colorForCSSValue() 179 while (uicol->css_value && uicol->css_value != css_value) { in colorForCSSValue() 183 if (!uicol->css_value) { in colorForCSSValue() 184 switch (css_value) { in colorForCSSValue()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/css/ |
H A D | css_value_pool.h | 89 CSSIdentifierValue* css_value) { in SetIdentifierCacheValue() argument 90 return identifier_value_cache_[static_cast<int>(ident)] = css_value; in SetIdentifierCacheValue() 97 CSSNumericLiteralValue* css_value) { in SetPixelCacheValue() argument 98 return pixel_value_cache_[int_value] = css_value; in SetPixelCacheValue() 105 CSSNumericLiteralValue* css_value) { in SetPercentCacheValue() argument 106 return percent_value_cache_[int_value] = css_value; in SetPercentCacheValue() 113 CSSNumericLiteralValue* css_value) { in SetNumberCacheValue() argument 114 return number_value_cache_[int_value] = css_value; in SetNumberCacheValue()
|
H A D | css_identifier_value.cc | 16 CSSIdentifierValue* css_value = CssValuePool().IdentifierCacheValue(value_id); in Create() local 17 if (!css_value) { in Create() 18 css_value = CssValuePool().SetIdentifierCacheValue( in Create() 21 return css_value; in Create()
|
/dports/x11-themes/gtk-oxygen-engine/oxygen-gtk2-1.4.6/src/ |
H A D | oxygengtktypenames.h | 86 std::string css_value; member 104 T findGtk( const char* css_value, const T& default_value ) in findGtk() argument 106 g_return_val_if_fail( css_value, default_value ); in findGtk() 109 if( _values[i].css_value == css_value ) in findGtk() 122 { return _values[i].css_value.c_str(); } in findCss()
|
/dports/x11-themes/gtk3-oxygen-engine/oxygen-gtk3-1.4.1/src/ |
H A D | oxygengtktypenames.h | 96 std::string css_value; member 114 T findGtk( const char* css_value, const T& default_value ) in findGtk() argument 116 g_return_val_if_fail( css_value, default_value ); in findGtk() 119 if( _values[i].css_value == css_value ) in findGtk() 132 { return _values[i].css_value.c_str(); } in findCss()
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkcssstylepropertyimpl.c | 114 const GtkCssValue *css_value, in query_length_as_int() argument 130 const GtkCssValue *css_value, in query_font_size() argument 146 const GtkCssValue *css_value, in query_border() argument 185 const GtkCssValue *css_value, in color_query() argument 242 const GtkCssValue *css_value, in font_family_query() argument 296 const GtkCssValue *css_value, in font_style_query() argument 324 const GtkCssValue *css_value, in font_weight_query() argument 352 const GtkCssValue *css_value, in font_variant_query() argument 380 const GtkCssValue *css_value, in font_stretch_query() argument 467 const GtkCssValue *css_value, in opacity_query() argument [all …]
|
H A D | gtkcsscustomproperty.c | 54 GtkCssValue *css_value; in gtk_css_custom_property_query() local 56 css_value = (* query_func) (_gtk_css_style_property_get_id (style), query_data); in gtk_css_custom_property_query() 57 if (css_value == NULL) in gtk_css_custom_property_query() 58 css_value = _gtk_css_style_property_get_initial_value (style); in gtk_css_custom_property_query() 61 g_value_copy (_gtk_css_typed_value_get (css_value), value); in gtk_css_custom_property_query() 70 GtkCssValue *css_value = _gtk_css_typed_value_new (value); in gtk_css_custom_property_assign() local 74 css_value); in gtk_css_custom_property_assign() 75 _gtk_css_value_unref (css_value); in gtk_css_custom_property_assign()
|
H A D | gtkcssstyleproperty.c | 132 GtkCssValue *css_value; in _gtk_css_style_property_assign() local 135 css_value = style->assign_value (style, value); in _gtk_css_style_property_assign() 140 css_value); in _gtk_css_style_property_assign() 141 _gtk_css_value_unref (css_value); in _gtk_css_style_property_assign() 151 GtkCssValue *css_value; in _gtk_css_style_property_query() local 153 css_value = (* query_func) (GTK_CSS_STYLE_PROPERTY (property)->id, query_data); in _gtk_css_style_property_query() 154 if (css_value == NULL) in _gtk_css_style_property_query() 155 css_value =_gtk_css_style_property_get_initial_value (style_property); in _gtk_css_style_property_query() 157 style_property->query_value (style_property, css_value, value); in _gtk_css_style_property_query()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/editing/ |
H A D | editing_style_utilities.cc | 202 bool EditingStyleUtilities::IsTransparentColorValue(const CSSValue* css_value) { in IsTransparentColorValue() argument 203 if (!css_value) in IsTransparentColorValue() 205 if (auto* color_value = DynamicTo<cssvalue::CSSColorValue>(css_value)) in IsTransparentColorValue() 207 if (auto* identifier_value = DynamicTo<CSSIdentifierValue>(css_value)) in IsTransparentColorValue() 214 const CSSValue* css_value = in HasTransparentBackgroundColor() local 216 return IsTransparentColorValue(css_value); in HasTransparentBackgroundColor() 221 const CSSValue* css_value = in HasTransparentBackgroundColor() local 223 return IsTransparentColorValue(css_value); in HasTransparentBackgroundColor()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/editing/ |
H A D | editing_style_utilities.cc | 203 bool EditingStyleUtilities::IsTransparentColorValue(const CSSValue* css_value) { in IsTransparentColorValue() argument 204 if (!css_value) in IsTransparentColorValue() 206 if (auto* color_value = DynamicTo<cssvalue::CSSColorValue>(css_value)) in IsTransparentColorValue() 208 if (auto* identifier_value = DynamicTo<CSSIdentifierValue>(css_value)) in IsTransparentColorValue() 215 const CSSValue* css_value = in HasTransparentBackgroundColor() local 217 return IsTransparentColorValue(css_value); in HasTransparentBackgroundColor() 222 const CSSValue* css_value = in HasTransparentBackgroundColor() local 224 return IsTransparentColorValue(css_value); in HasTransparentBackgroundColor()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/css/cssom/ |
H A D | style_value_factory.cc | 303 const CSSValue& css_value) { in CssValueToStyleValue() argument 306 CreateStyleValueWithProperty(name.Id(), css_value); in CssValueToStyleValue() 308 return MakeGarbageCollected<CSSUnsupportedStyleValue>(name, css_value); in CssValueToStyleValue() 347 const CSSValue& css_value) { in CssValueToStyleValueVector() argument 352 CreateStyleValueWithProperty(property_id, css_value); in CssValueToStyleValueVector() 359 const auto* css_value_list = DynamicTo<CSSValueList>(css_value); in CssValueToStyleValueVector() 372 CSSTransformComponent::FromCSSValue(css_value))) { in CssValueToStyleValueVector() 373 return UnsupportedCSSValue(name, css_value); in CssValueToStyleValueVector() 379 return UnsupportedCSSValue(name, css_value); in CssValueToStyleValueVector() 386 const CSSValue& css_value) { in CssValueToStyleValueVector() argument [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/css/cssom/ |
H A D | style_value_factory.cc | 303 const CSSValue& css_value) { in CssValueToStyleValue() argument 306 CreateStyleValueWithProperty(name.Id(), css_value); in CssValueToStyleValue() 308 return MakeGarbageCollected<CSSUnsupportedStyleValue>(name, css_value); in CssValueToStyleValue() 347 const CSSValue& css_value) { in CssValueToStyleValueVector() argument 352 CreateStyleValueWithProperty(property_id, css_value); in CssValueToStyleValueVector() 359 const auto* css_value_list = DynamicTo<CSSValueList>(css_value); in CssValueToStyleValueVector() 372 CSSTransformComponent::FromCSSValue(css_value))) { in CssValueToStyleValueVector() 373 return UnsupportedCSSValue(name, css_value); in CssValueToStyleValueVector() 379 return UnsupportedCSSValue(name, css_value); in CssValueToStyleValueVector() 386 const CSSValue& css_value) { in CssValueToStyleValueVector() argument [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/layout/style/ |
H A D | ServoBindings.h | 585 nsCSSValueBorrowedMut css_value, int32_t index); 588 nsCSSValueBorrowed css_value, int32_t index); 590 float Gecko_CSSValue_GetNumber(nsCSSValueBorrowed css_value); 591 float Gecko_CSSValue_GetPercentage(nsCSSValueBorrowed css_value); 595 void Gecko_CSSValue_SetKeyword(nsCSSValueBorrowedMut css_value, 597 void Gecko_CSSValue_SetPercentage(nsCSSValueBorrowedMut css_value, 600 void Gecko_CSSValue_SetCalc(nsCSSValueBorrowedMut css_value, 603 void Gecko_CSSValue_SetString(nsCSSValueBorrowedMut css_value, 611 void Gecko_CSSValue_SetURL(nsCSSValueBorrowedMut css_value, 617 void Gecko_CSSValue_SetPair(nsCSSValueBorrowedMut css_value, [all …]
|