/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/ |
H A D | SByteTests.cs | 172 NumberStyles defaultStyle = NumberStyles.Integer; in ParseValidData() 179 yield return new object[] { "0", defaultStyle, defaultFormat, (sbyte)0 }; in ParseValidData() 188 yield return new object[] { "123", defaultStyle, emptyNfi, (sbyte)123 }; in ParseValidData() 197 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Valid_TestData() 203 yield return new object[] { "-123", defaultStyle, null, (sbyte)-123 }; in Parse_Valid_TestData() 204 yield return new object[] { "0", defaultStyle, null, (sbyte)0 }; in Parse_Valid_TestData() 205 yield return new object[] { "123", defaultStyle, null, (sbyte)123 }; in Parse_Valid_TestData() 206 yield return new object[] { "+123", defaultStyle, null, (sbyte)123 }; in Parse_Valid_TestData() 207 yield return new object[] { " 123 ", defaultStyle, null, (sbyte)123 }; in Parse_Valid_TestData() 208 yield return new object[] { "127", defaultStyle, null, (sbyte)127 }; in Parse_Valid_TestData() [all …]
|
H A D | Int64Tests.cs | 174 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Valid_TestData() 181 yield return new object[] { "-123", defaultStyle, null, (long)-123 }; in Parse_Valid_TestData() 182 yield return new object[] { "0", defaultStyle, null, (long)0 }; in Parse_Valid_TestData() 183 yield return new object[] { "123", defaultStyle, null, (long)123 }; in Parse_Valid_TestData() 184 yield return new object[] { "+123", defaultStyle, null, (long)123 }; in Parse_Valid_TestData() 185 yield return new object[] { " 123 ", defaultStyle, null, (long)123 }; in Parse_Valid_TestData() 194 yield return new object[] { "123", defaultStyle, emptyFormat, (long)123 }; in Parse_Valid_TestData() 235 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Invalid_TestData() 242 yield return new object[] { "", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() 252 yield return new object[] { "+-123", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() [all …]
|
H A D | Int16Tests.cs | 176 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Valid_TestData() 182 yield return new object[] { "-32768", defaultStyle, null, (short)-32768 }; in Parse_Valid_TestData() 183 yield return new object[] { "-123", defaultStyle, null, (short)-123 }; in Parse_Valid_TestData() 184 yield return new object[] { "0", defaultStyle, null, (short)0 }; in Parse_Valid_TestData() 185 yield return new object[] { "123", defaultStyle, null, (short)123 }; in Parse_Valid_TestData() 186 yield return new object[] { "+123", defaultStyle, null, (short)123 }; in Parse_Valid_TestData() 187 yield return new object[] { " 123 ", defaultStyle, null, (short)123 }; in Parse_Valid_TestData() 188 yield return new object[] { "32767", defaultStyle, null, (short)32767 }; in Parse_Valid_TestData() 196 yield return new object[] { "123", defaultStyle, emptyFormat, (short)123 }; in Parse_Valid_TestData() 237 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Invalid_TestData() [all …]
|
H A D | ByteTests.cs | 164 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Valid_TestData() 170 yield return new object[] { "0", defaultStyle, null, (byte)0 }; in Parse_Valid_TestData() 171 yield return new object[] { "123", defaultStyle, null, (byte)123 }; in Parse_Valid_TestData() 172 yield return new object[] { "+123", defaultStyle, null, (byte)123 }; in Parse_Valid_TestData() 173 yield return new object[] { " 123 ", defaultStyle, null, (byte)123 }; in Parse_Valid_TestData() 174 yield return new object[] { "255", defaultStyle, null, (byte)255 }; in Parse_Valid_TestData() 179 yield return new object[] { "123", defaultStyle, emptyFormat, (byte)123 }; in Parse_Valid_TestData() 222 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Invalid_TestData() 229 yield return new object[] { "", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() 239 yield return new object[] { "+-123", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() [all …]
|
H A D | UInt16Tests.cs | 164 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Valid_TestData() 170 yield return new object[] { "0", defaultStyle, null, (ushort)0 }; in Parse_Valid_TestData() 171 yield return new object[] { "123", defaultStyle, null, (ushort)123 }; in Parse_Valid_TestData() 172 yield return new object[] { "+123", defaultStyle, null, (ushort)123 }; in Parse_Valid_TestData() 173 yield return new object[] { " 123 ", defaultStyle, null, (ushort)123 }; in Parse_Valid_TestData() 174 yield return new object[] { "65535", defaultStyle, null, (ushort)65535 }; in Parse_Valid_TestData() 179 yield return new object[] { "123", defaultStyle, emptyFormat, (ushort)123 }; in Parse_Valid_TestData() 222 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Invalid_TestData() 229 yield return new object[] { "", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() 239 yield return new object[] { "+-123", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() [all …]
|
H A D | UInt64Tests.cs | 164 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Valid_TestData() 170 yield return new object[] { "0", defaultStyle, null, (ulong)0 }; in Parse_Valid_TestData() 171 yield return new object[] { "123", defaultStyle, null, (ulong)123 }; in Parse_Valid_TestData() 172 yield return new object[] { "+123", defaultStyle, null, (ulong)123 }; in Parse_Valid_TestData() 173 yield return new object[] { " 123 ", defaultStyle, null, (ulong)123 }; in Parse_Valid_TestData() 179 yield return new object[] { "123", defaultStyle, emptyFormat, (ulong)123 }; in Parse_Valid_TestData() 222 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Invalid_TestData() 229 yield return new object[] { "", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() 239 yield return new object[] { "+-123", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() 240 yield return new object[] { "-+123", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() [all …]
|
H A D | UInt32Tests.cs | 165 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Valid_TestData() 171 yield return new object[] { "0", defaultStyle, null, (uint)0 }; in Parse_Valid_TestData() 172 yield return new object[] { "123", defaultStyle, null, (uint)123 }; in Parse_Valid_TestData() 173 yield return new object[] { "+123", defaultStyle, null, (uint)123 }; in Parse_Valid_TestData() 174 yield return new object[] { " 123 ", defaultStyle, null, (uint)123 }; in Parse_Valid_TestData() 175 yield return new object[] { "4294967295", defaultStyle, null, 4294967295 }; in Parse_Valid_TestData() 180 yield return new object[] { "123", defaultStyle, emptyFormat, (uint)123 }; in Parse_Valid_TestData() 223 NumberStyles defaultStyle = NumberStyles.Integer; in Parse_Invalid_TestData() 231 yield return new object[] { "", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() 241 yield return new object[] { "+-123", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() [all …]
|
H A D | DoubleTests.cs | 330 NumberStyles defaultStyle = NumberStyles.Float; in Parse_Valid_TestData() 347 yield return new object[] { "-123", defaultStyle, null, (double)-123 }; in Parse_Valid_TestData() 348 yield return new object[] { "0", defaultStyle, null, (double)0 }; in Parse_Valid_TestData() 349 yield return new object[] { "123", defaultStyle, null, (double)123 }; in Parse_Valid_TestData() 350 yield return new object[] { " 123 ", defaultStyle, null, (double)123 }; in Parse_Valid_TestData() 351 yield return new object[] { (567.89).ToString(), defaultStyle, null, 567.89 }; in Parse_Valid_TestData() 352 yield return new object[] { (-567.89).ToString(), defaultStyle, null, -567.89 }; in Parse_Valid_TestData() 353 yield return new object[] { "1E23", defaultStyle, null, 1E23 }; in Parse_Valid_TestData() 410 NumberStyles defaultStyle = NumberStyles.Float; in Parse_Invalid_TestData() 419 yield return new object[] { "", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() [all …]
|
H A D | SingleTests.cs | 329 NumberStyles defaultStyle = NumberStyles.Float; in Parse_Valid_TestData() 346 yield return new object[] { "-123", defaultStyle, null, (float)-123 }; in Parse_Valid_TestData() 347 yield return new object[] { "0", defaultStyle, null, (float)0 }; in Parse_Valid_TestData() 348 yield return new object[] { "123", defaultStyle, null, (float)123 }; in Parse_Valid_TestData() 349 yield return new object[] { " 123 ", defaultStyle, null, (float)123 }; in Parse_Valid_TestData() 350 yield return new object[] { (567.89f).ToString(), defaultStyle, null, (float)567.89 }; in Parse_Valid_TestData() 352 yield return new object[] { "1E23", defaultStyle, null, (float)1E23 }; in Parse_Valid_TestData() 409 NumberStyles defaultStyle = NumberStyles.Float; in Parse_Invalid_TestData() 416 yield return new object[] { "", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() 417 yield return new object[] { " ", defaultStyle, null, typeof(FormatException) }; in Parse_Invalid_TestData() [all …]
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/text/ |
H A D | sctext_shared.cpp | 22 pstyleContext.setDefaultStyle( & defaultStyle ); in ScText_Shared() 23 defaultStyle.setContext( pstyles ); in ScText_Shared() 25 orphanedCharStyle.setContext( defaultStyle.charStyle().context() ); in ScText_Shared() 32 defaultStyle(other.defaultStyle), in ScText_Shared() 39 pstyleContext.setDefaultStyle( &defaultStyle ); in ScText_Shared() 41 orphanedCharStyle.setContext( defaultStyle.charStyle().context() ); in ScText_Shared() 79 defaultStyle = other.defaultStyle; in operator =() 82 pstyleContext.setDefaultStyle( &defaultStyle ); in operator =() 83 defaultStyle.setContext( other.defaultStyle.context() ); in operator =() 85 orphanedCharStyle.setContext( other.defaultStyle.charStyle().context() ); in operator =()
|
/dports/www/moodle310/moodle/lib/spout/src/Spout/Writer/ODS/Manager/Style/ |
H A D | StyleManager.php | 66 $defaultStyle = $this->getDefaultStyle(); 75 <style:text-properties fo:color="#{$defaultStyle->getFontColor()}" 76 …ont-size="{$defaultStyle->getFontSize()}pt" style:font-size-asian="{$defaultStyle->getFontSize()}p… 77 …:font-name="{$defaultStyle->getFontName()}" style:font-name-asian="{$defaultStyle->getFontName()}"… 234 $defaultStyle = $this->getDefaultStyle(); 239 if ($fontColor !== $defaultStyle->getFontColor()) { 244 if ($fontName !== $defaultStyle->getFontName()) { 249 if ($fontSize !== $defaultStyle->getFontSize()) {
|
/dports/www/moodle39/moodle/lib/spout/src/Spout/Writer/ODS/Manager/Style/ |
H A D | StyleManager.php | 66 $defaultStyle = $this->getDefaultStyle(); 75 <style:text-properties fo:color="#{$defaultStyle->getFontColor()}" 76 …ont-size="{$defaultStyle->getFontSize()}pt" style:font-size-asian="{$defaultStyle->getFontSize()}p… 77 …:font-name="{$defaultStyle->getFontName()}" style:font-name-asian="{$defaultStyle->getFontName()}"… 234 $defaultStyle = $this->getDefaultStyle(); 239 if ($fontColor !== $defaultStyle->getFontColor()) { 244 if ($fontName !== $defaultStyle->getFontName()) { 249 if ($fontSize !== $defaultStyle->getFontSize()) {
|
/dports/x11-toolkits/scintilla/scite/src/ |
H A D | ExportRTF.cxx | 134 defaultStyle.font = fontFace; in SaveToStreamRTF() 135 } else if (defaultStyle.font.length() == 0) { in SaveToStreamRTF() 136 defaultStyle.font = RTF_FONTFACE; in SaveToStreamRTF() 140 defaultStyle.size = fontSize << 1; in SaveToStreamRTF() 141 } else if (defaultStyle.size == 0) { in SaveToStreamRTF() 142 defaultStyle.size = 10 << 1; in SaveToStreamRTF() 144 defaultStyle.size <<= 1; in SaveToStreamRTF() 156 fonts.push_back(defaultStyle.font); in SaveToStreamRTF() 158 colors.push_back(defaultStyle.fore); in SaveToStreamRTF() 159 colors.push_back(defaultStyle.back); in SaveToStreamRTF() [all …]
|
/dports/editors/scite/scite/src/ |
H A D | ExportRTF.cxx | 134 defaultStyle.font = fontFace; in SaveToStreamRTF() 135 } else if (defaultStyle.font.length() == 0) { in SaveToStreamRTF() 136 defaultStyle.font = RTF_FONTFACE; in SaveToStreamRTF() 140 defaultStyle.size = fontSize << 1; in SaveToStreamRTF() 141 } else if (defaultStyle.size == 0) { in SaveToStreamRTF() 142 defaultStyle.size = 10 << 1; in SaveToStreamRTF() 144 defaultStyle.size <<= 1; in SaveToStreamRTF() 156 fonts.push_back(defaultStyle.font); in SaveToStreamRTF() 158 colors.push_back(defaultStyle.fore); in SaveToStreamRTF() 159 colors.push_back(defaultStyle.back); in SaveToStreamRTF() [all …]
|
/dports/www/moodle311/moodle/lib/spout/src/Spout/Writer/ODS/Manager/Style/ |
H A D | StyleManager.php | 67 $defaultStyle = $this->getDefaultStyle(); 76 <style:text-properties fo:color="#{$defaultStyle->getFontColor()}" 77 …ont-size="{$defaultStyle->getFontSize()}pt" style:font-size-asian="{$defaultStyle->getFontSize()}p… 78 …:font-name="{$defaultStyle->getFontName()}" style:font-name-asian="{$defaultStyle->getFontName()}"… 237 $defaultStyle = $this->getDefaultStyle(); 241 if ($fontColor !== $defaultStyle->getFontColor()) { 246 if ($fontName !== $defaultStyle->getFontName()) { 251 if ($fontSize !== $defaultStyle->getFontSize()) {
|
/dports/www/kf5-khtml/khtml-5.89.0/src/rendering/ |
H A D | SVGRenderStyle.cpp | 42 static SVGRenderStyle *defaultStyle = new SVGRenderStyle(CreateDefault); in SVGRenderStyle() local 44 fill = defaultStyle->fill; in SVGRenderStyle() 45 stroke = defaultStyle->stroke; in SVGRenderStyle() 46 text = defaultStyle->text; in SVGRenderStyle() 47 stops = defaultStyle->stops; in SVGRenderStyle() 48 clip = defaultStyle->clip; in SVGRenderStyle() 49 mask = defaultStyle->mask; in SVGRenderStyle() 50 misc = defaultStyle->misc; in SVGRenderStyle() 51 markers = defaultStyle->markers; in SVGRenderStyle()
|
/dports/net/tunneller/tunneller-release-0.6/vendor/github.com/gizak/termui/v3/ |
H A D | style_parser.go | 54 func readStyle(runes []rune, defaultStyle Style) Style { 55 style := defaultStyle 77 func ParseStyles(s string, defaultStyle Style) []Cell { 93 cells = append(cells, RunesToStyledCells(styledText, defaultStyle)...) 94 cells = append(cells, RunesToStyledCells(styleItems, defaultStyle)...) 111 cells = append(cells, Cell{_rune, defaultStyle}) 128 cells = append(cells, Cell{_rune, defaultStyle}) 146 style := readStyle(chop(styleItems), defaultStyle)
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/javax/swing/plaf/basic/ |
H A D | BasicTextPaneUI.java | 84 Style defaultStyle = tp.getStyle(StyleContext.DEFAULT_STYLE); in installUI() local 85 defaultStyle.addAttribute(StyleConstants.Foreground, in installUI() 87 defaultStyle.addAttribute(StyleConstants.FontFamily, "Serif"); in installUI() 88 defaultStyle.addAttribute(StyleConstants.Italic, Boolean.FALSE); in installUI() 89 defaultStyle.addAttribute(StyleConstants.Bold, Boolean.FALSE); in installUI() 90 defaultStyle.addAttribute(StyleConstants.FontSize, new Integer(12)); in installUI()
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/javax/swing/plaf/basic/ |
H A D | BasicTextPaneUI.java | 84 Style defaultStyle = tp.getStyle(StyleContext.DEFAULT_STYLE); in installUI() local 85 defaultStyle.addAttribute(StyleConstants.Foreground, in installUI() 87 defaultStyle.addAttribute(StyleConstants.FontFamily, "Serif"); in installUI() 88 defaultStyle.addAttribute(StyleConstants.Italic, Boolean.FALSE); in installUI() 89 defaultStyle.addAttribute(StyleConstants.Bold, Boolean.FALSE); in installUI() 90 defaultStyle.addAttribute(StyleConstants.FontSize, new Integer(12)); in installUI()
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/javax/swing/plaf/basic/ |
H A D | BasicTextPaneUI.java | 84 Style defaultStyle = tp.getStyle(StyleContext.DEFAULT_STYLE); in installUI() local 85 defaultStyle.addAttribute(StyleConstants.Foreground, in installUI() 87 defaultStyle.addAttribute(StyleConstants.FontFamily, "Serif"); in installUI() 88 defaultStyle.addAttribute(StyleConstants.Italic, Boolean.FALSE); in installUI() 89 defaultStyle.addAttribute(StyleConstants.Bold, Boolean.FALSE); in installUI() 90 defaultStyle.addAttribute(StyleConstants.FontSize, new Integer(12)); in installUI()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/javax/swing/plaf/basic/ |
H A D | BasicTextPaneUI.java | 84 Style defaultStyle = tp.getStyle(StyleContext.DEFAULT_STYLE); in installUI() local 85 defaultStyle.addAttribute(StyleConstants.Foreground, in installUI() 87 defaultStyle.addAttribute(StyleConstants.FontFamily, "Serif"); in installUI() 88 defaultStyle.addAttribute(StyleConstants.Italic, Boolean.FALSE); in installUI() 89 defaultStyle.addAttribute(StyleConstants.Bold, Boolean.FALSE); in installUI() 90 defaultStyle.addAttribute(StyleConstants.FontSize, new Integer(12)); in installUI()
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/javax/swing/plaf/basic/ |
H A D | BasicTextPaneUI.java | 84 Style defaultStyle = tp.getStyle(StyleContext.DEFAULT_STYLE); in installUI() local 85 defaultStyle.addAttribute(StyleConstants.Foreground, in installUI() 87 defaultStyle.addAttribute(StyleConstants.FontFamily, "Serif"); in installUI() 88 defaultStyle.addAttribute(StyleConstants.Italic, Boolean.FALSE); in installUI() 89 defaultStyle.addAttribute(StyleConstants.Bold, Boolean.FALSE); in installUI() 90 defaultStyle.addAttribute(StyleConstants.FontSize, new Integer(12)); in installUI()
|
/dports/java/sablevm-classpath/sablevm-classpath-1.13/javax/swing/plaf/basic/ |
H A D | BasicTextPaneUI.java | 92 Style defaultStyle = tp.getStyle(StyleContext.DEFAULT_STYLE); in installUI() local 93 defaultStyle.addAttribute(StyleConstants.Foreground, in installUI() 95 defaultStyle.addAttribute(StyleConstants.FontFamily, "Serif"); in installUI() 96 defaultStyle.addAttribute(StyleConstants.Italic, Boolean.FALSE); in installUI() 97 defaultStyle.addAttribute(StyleConstants.Bold, Boolean.FALSE); in installUI() 98 defaultStyle.addAttribute(StyleConstants.FontSize, new Integer(12)); in installUI()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/gui/ |
H A D | qgslegendpatchshapebutton.cpp | 24 , mShape( QgsStyle::defaultStyle()->defaultPatch( QgsSymbol::Fill, QSizeF( 10, 5 ) ) ) in QgsLegendPatchShapeButton() 111 mShape = QgsStyle::defaultStyle()->defaultPatch( QgsSymbol::Marker, QSizeF( 10, 5 ) ); in setToDefault() 115 mShape = QgsStyle::defaultStyle()->defaultPatch( QgsSymbol::Line, QSizeF( 10, 5 ) ); in setToDefault() 119 mShape = QgsStyle::defaultStyle()->defaultPatch( QgsSymbol::Fill, QSizeF( 10, 5 ) ); in setToDefault() 149 mShape = QgsStyle::defaultStyle()->defaultPatch( QgsSymbol::Marker, QSizeF( 10, 5 ) ); in setShape() 153 mShape = QgsStyle::defaultStyle()->defaultPatch( QgsSymbol::Line, QSizeF( 10, 5 ) ); in setShape() 157 mShape = QgsStyle::defaultStyle()->defaultPatch( QgsSymbol::Fill, QSizeF( 10, 5 ) ); in setShape() 198 const QgsLegendPatchShape shape = QgsStyle::defaultStyle()->legendPatchShape( name ); in prepareMenu() 201 if ( const QgsSymbol *symbol = QgsStyle::defaultStyle()->previewSymbolForPatchShape( shape ) ) in prepareMenu() 215 if ( !QgsStyle::defaultStyle()->legendPatchShapeNames().contains( name ) ) in loadPatchFromStyle() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/src/gui/ |
H A D | qgslegendpatchshapebutton.cpp | 29 , mShape( QgsStyle::defaultStyle()->defaultPatch( Qgis::SymbolType::Fill, QSizeF( 10, 5 ) ) ) in QgsLegendPatchShapeButton() 118 mShape = QgsStyle::defaultStyle()->defaultPatch( Qgis::SymbolType::Marker, QSizeF( 10, 5 ) ); in setToDefault() 122 mShape = QgsStyle::defaultStyle()->defaultPatch( Qgis::SymbolType::Line, QSizeF( 10, 5 ) ); in setToDefault() 126 mShape = QgsStyle::defaultStyle()->defaultPatch( Qgis::SymbolType::Fill, QSizeF( 10, 5 ) ); in setToDefault() 156 … mShape = QgsStyle::defaultStyle()->defaultPatch( Qgis::SymbolType::Marker, QSizeF( 10, 5 ) ); in setShape() 160 mShape = QgsStyle::defaultStyle()->defaultPatch( Qgis::SymbolType::Line, QSizeF( 10, 5 ) ); in setShape() 164 mShape = QgsStyle::defaultStyle()->defaultPatch( Qgis::SymbolType::Fill, QSizeF( 10, 5 ) ); in setShape() 205 const QgsLegendPatchShape shape = QgsStyle::defaultStyle()->legendPatchShape( name ); in prepareMenu() 208 if ( const QgsSymbol *symbol = QgsStyle::defaultStyle()->previewSymbolForPatchShape( shape ) ) in prepareMenu() 222 if ( !QgsStyle::defaultStyle()->legendPatchShapeNames().contains( name ) ) in loadPatchFromStyle() [all …]
|