Home
last modified time | relevance | path

Searched refs:styles (Results 1 - 25 of 65) sorted by relevance

123

/third_party/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/
H A Dindex.js9 const styles = {
68 export const modifierNames = Object.keys(styles.modifier);
69 export const foregroundColorNames = Object.keys(styles.color);
70 export const backgroundColorNames = Object.keys(styles.bgColor);
76 for (const [groupName, group] of Object.entries(styles)) {
78 styles[styleName] = {
83 group[styleName] = styles[styleName];
88 Object.defineProperty(styles, groupName, {
94 Object.defineProperty(styles, 'codes', {
99 styles
[all...]
/third_party/node/deps/npm/node_modules/ansi-styles/
H A Dindex.js9 const styles = {
68 export const modifierNames = Object.keys(styles.modifier);
69 export const foregroundColorNames = Object.keys(styles.color);
70 export const backgroundColorNames = Object.keys(styles.bgColor);
76 for (const [groupName, group] of Object.entries(styles)) {
78 styles[styleName] = {
83 group[styleName] = styles[styleName];
88 Object.defineProperty(styles, groupName, {
94 Object.defineProperty(styles, 'codes', {
99 styles
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
H A DReplaceableTest.java69 || tr.styles.hasMetaData()) { in check()
80 * Set the styles to the style of the first character replaced.<br>
87 ReplaceableString styles; field in ReplaceableTest.TestReplaceable
93 TestReplaceable (String text, String styles) { in TestReplaceable() argument
97 if (styles != null && i < styles.length()) { in TestReplaceable()
98 s.append(styles.charAt(i)); in TestReplaceable()
107 this.styles = new ReplaceableString(s.toString()); in TestReplaceable()
111 return styles.toString(); in getStyles()
116 return chars.toString() + "{" + styles in toString()
[all...]
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DReplaceableTest.java66 || tr.styles.hasMetaData()) { in check()
77 * Set the styles to the style of the first character replaced.<br>
84 ReplaceableString styles; field in ReplaceableTest.TestReplaceable
90 TestReplaceable (String text, String styles) { in TestReplaceable() argument
94 if (styles != null && i < styles.length()) { in TestReplaceable()
95 s.append(styles.charAt(i)); in TestReplaceable()
104 this.styles = new ReplaceableString(s.toString()); in TestReplaceable()
108 return styles.toString(); in getStyles()
113 return chars.toString() + "{" + styles in toString()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DrecursiveTypeRelations.js19 export function css<S extends { [K in keyof S]: string }>(styles: S, ...classNames: ClassNameArg<S>[]): string {
25 return styles[arg];
29 const exportedClassName = styles[key];
49 function css(styles) {
59 return styles[arg];
63 var exportedClassName = styles[key];
H A DsymbolLinkDeclarationEmitModuleNamesImportRef.js4 export declare const styles: import("styled-components").InterpolationValue[];
16 import { styles } from "package-a";
19 return styles;
29 return package_a_1.styles;
H A DcontrolFlowPropertyDeclarations.js110 // Ignore text content of textareas and styles, as it will have already been moved
139 * Handles parsing of inline styles
142 styles = {};
144 for (var key in this.styles) {
145 if (!this.styles.hasOwnProperty(key)) {
250 // Ignore text content of textareas and styles, as it will have already been moved
278 * Handles parsing of inline styles
283 this.styles = {};
285 for (var key in _this.styles) {
286 if (!_this.styles
[all...]
H A DintersectionAsWeakTypeSource.js17 declare function create<T extends { [s: string]: ViewStyle }>(styles: T): { [P in keyof T]: Brand<T[P]> };
/third_party/icu/icu4c/source/test/intltest/
H A Dreptest.cpp36 * Set the styles to the style of the first character replaced.<br>
43 UnicodeString styles; member in TestReplaceable
71 this->styles = s; in TestReplaceable()
75 return new TestReplaceable(chars, styles);
81 return styles; in getStyles()
87 s.append(styles); in toString()
125 if (start != limit && styles.charAt(start) != NO_STYLE) { in fixStyles()
126 newStyle = styles.charAt(start); in fixStyles()
128 newStyle = styles.charAt(start-1); in fixStyles()
129 } else if (limit < styles in fixStyles()
[all...]
/third_party/rust/crates/codespan/codespan-reporting/src/term/
H A Drenderer.rs129 fn styles(&self) -> &'config Styles { in chars() functions
130 &self.config.styles in chars()
160 self.set_color(self.styles().header(severity))?; in chars()
183 self.set_color(&self.styles().header_message)?; in chars()
210 self.set_color(&self.styles().source_border)?; in render_snippet_start()
295 self.set_color(self.styles().label(severity, LabelStyle::Primary))?; in render_snippet_source()
437 self.set_color(self.styles().label(severity, label_style))?; in render_snippet_source()
463 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source()
519 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source()
650 self.set_color(&self.styles() in render_snippet_note()
[all...]
H A Dconfig.rs17 pub styles: Styles,
35 styles: Styles::default(), in default()
/third_party/node/deps/npm/node_modules/chalk/source/
H A Dindex.js1 import ansiStyles from '#ansi-styles';
22 const styles = Object.create(null);
57 styles[styleName] = {
66 styles.visible = {
97 styles[model] = {
108 styles[bgModel] = {
120 ...styles,
202 Object.defineProperties(createChalk.prototype, styles);
218 } from './vendor/ansi-styles/index.js';
/third_party/icu/tools/multi/proj/provider/
H A Ddatediff.cpp51 UDateFormatStyle styles[] = { UDAT_FULL, UDAT_SHORT }; in main()
57 for(uint32_t s=0;s<sizeof(styles)/sizeof(styles[0]);s++) { in main()
77 UDateFormat *dat = udat_open(styles[s],styles[s], locID, NULL, -1, NULL, 0, &subStatus); in main()
H A Dcaldiff.cpp51 UDateFormatStyle styles[] = { UDAT_FULL, UDAT_SHORT }; in main() local
57 for(uint32_t s=0;s<sizeof(styles)/sizeof(styles[0]);s++) { in main()
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A Dstyles.js26 var styles = {};
27 module['exports'] = styles;
78 // legacy styles for colors pre v1.0.0
92 var style = styles[key] = [];
H A Dcolors.js37 var ansiStyles = colors.styles = require('./styles');
67 // Stylize should work for non-ANSI styles, too
96 var styles = (function() {
111 var proto = defineProps(function colors() {}, styles);
176 Object.keys(styles).forEach(function(name) {
/third_party/node/test/sequential/
H A Dtest-util-debug.js72 const { colors, styles } = util.inspect;
74 const num = addCodes(colors[styles.number]);
75 const str = addCodes(colors[styles.string]);
76 const regexp = addCodes(colors[styles.regexp]);
/third_party/skia/gm/
H A Dinversepaths.cpp51 Style styles[] {
97 for (size_t styleIndex = 0; styleIndex < SK_ARRAY_COUNT(styles); in DEF_SIMPLE_GM()
111 paint.setStyle(styles[styleIndex].fPaintStyle); in DEF_SIMPLE_GM()
112 paint.setPathEffect(styles[styleIndex].fPathEffect); in DEF_SIMPLE_GM()
/third_party/skia/modules/skparagraph/src/
H A DIterators.h16 LangIterator(SkSpan<const char> utf8, SkSpan<Block> styles, const TextStyle& defaultStyle) in LangIterator() argument
18 , fTextStyles(styles) in LangIterator()
/third_party/skia/src/ports/
H A DSkFontMgr_fuchsia.cpp277 std::vector<SkFontStyle> styles) in SkFontStyleSet_Fuchsia()
278 : fFontManager(font_manager), fFamilyName(familyName), fStyles(styles) {} in SkFontStyleSet_Fuchsia()
342 if (result != ZX_OK || !familyInfo.has_styles() || familyInfo.styles().empty()) return nullptr; in onMatchFamily()
344 std::vector<SkFontStyle> styles; in onMatchFamily()
345 for (auto& style : familyInfo.styles()) { in onMatchFamily()
346 styles.push_back(SkFontStyle(style.weight(), FuchsiaToSkWidth(style.width()), in onMatchFamily()
350 return new SkFontStyleSet_Fuchsia(sk_ref_sp(this), familyInfo.name().name, std::move(styles)); in onMatchFamily()
276 SkFontStyleSet_Fuchsia(sk_sp<SkFontMgr_Fuchsia> font_manager, std::string familyName, std::vector<SkFontStyle> styles) SkFontStyleSet_Fuchsia() argument
/third_party/skia/modules/svg/src/
H A DCssStyleParser.cpp23 auto styles = splitString(style.substr(1), "}."); in parseCssStyle() local
24 for (auto& style : styles) { in parseCssStyle()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/htmldiff/
H A Dhtmldiff.pl81 # Improved handling of old text and changed styles.
304 my $styles = q(<style type='text/css'>
327 $styles .= q(
362 print HEADER $styles;
/third_party/ffmpeg/libavcodec/
H A Dmovtextenc.c227 style = &ass->styles[0]; in encode_sample_description()
270 if (!ass->styles[i].font_name) in encode_sample_description()
273 if (!strcmp(s->fonts[j], ass->styles[i].font_name)) { in encode_sample_description()
280 ass->styles[i].font_name); in encode_sample_description()
281 font_names_total_len += strlen(ass->styles[i].font_name); in encode_sample_description()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DTimeUnitTest.java174 int[] styles = new int[] {TimeUnitFormat.FULL_NAME, TimeUnitFormat.ABBREVIATED_NAME}; in TestGreek()
250 for ( int styleIndex = 0; styleIndex < styles.length; ++styleIndex ) { in TestGreek()
254 timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
259 + ", style: " + styles[styleIndex] in TestGreek()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DTimeUnitTest.java171 int[] styles = new int[] {TimeUnitFormat.FULL_NAME, TimeUnitFormat.ABBREVIATED_NAME}; in TestGreek()
247 for ( int styleIndex = 0; styleIndex < styles.length; ++styleIndex ) { in TestGreek()
251 timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
256 + ", style: " + styles[styleIndex] in TestGreek()

Completed in 16 milliseconds

123