Home
last modified time | relevance | path

Searched refs:style (Results 1 - 25 of 652) sorted by relevance

12345678910>>...27

/third_party/python/Lib/tkinter/test/test_ttk/
H A Dtest_style.py25 self.style = ttk.Style(self.root)
29 style = self.style
30 style.configure('TButton', background='yellow')
31 self.assertEqual(style.configure('TButton', 'background'),
33 self.assertIsInstance(style.configure('TButton'), dict)
37 style = self.style
42 style.map('TButton', background=[(*states, 'white')])
44 self.assertEqual(style
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DPath.h58 Style S = Style::native; ///< The path style to use.
61 friend const_iterator begin(StringRef path, Style style);
84 Style S = Style::native; ///< The path style to use.
86 friend reverse_iterator rbegin(StringRef path, Style style);
101 const_iterator begin(StringRef path, Style style = Style::native);
111 reverse_iterator rbegin(StringRef path, Style style = Style::native);
134 void remove_filename(SmallVectorImpl<char> &path, Style style = Style::native);
149 Style style = Style::native);
173 /// @param style The path separator style
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DPath.cpp39 inline Style real_style(Style style) { in real_style() argument
41 return (style == Style::posix) ? Style::posix : Style::windows; in real_style()
43 return (style == Style::windows) ? Style::windows : Style::posix; in real_style()
47 inline const char *separators(Style style) { in separators() argument
48 if (real_style(style) == Style::windows) in separators()
53 inline char preferred_separator(Style style) { in preferred_separator() argument
54 if (real_style(style) == Style::windows) in preferred_separator()
59 StringRef find_first_component(StringRef path, Style style) { in find_first_component() argument
69 if (real_style(style) == Style::windows) { in find_first_component()
77 if ((path.size() > 2) && is_separator(path[0], style) in find_first_component()
95 filename_pos(StringRef str, Style style) filename_pos() argument
114 root_dir_start(StringRef str, Style style) root_dir_start() argument
137 parent_path_end(StringRef path, Style style) parent_path_end() argument
224 begin(StringRef path, Style style) begin() argument
[all...]
/third_party/icu/icu4c/source/io/
H A Dlocbund.cpp39 int32_t style; in locbund_cleanup() local
40 for (style = 0; style < ULOCALEBUNDLE_NUMBERFORMAT_COUNT; style++) { in locbund_cleanup()
41 unum_close(gPosixNumberFormat[style]); in locbund_cleanup()
42 gPosixNumberFormat[style] = NULL; in locbund_cleanup()
48 static inline UNumberFormat * copyInvariantFormatter(ULocaleBundle *result, UNumberFormatStyle style) { in copyInvariantFormatter() argument
52 if (result->fNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
53 if (gPosixNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
55 UNumberFormat *formatAlias = unum_open(style, NUL in copyInvariantFormatter()
160 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style) u_locbund_getNumberFormat() argument
[all...]
/third_party/skia/third_party/externals/icu/source/io/
H A Dlocbund.cpp39 int32_t style; in locbund_cleanup() local
40 for (style = 0; style < ULOCALEBUNDLE_NUMBERFORMAT_COUNT; style++) { in locbund_cleanup()
41 unum_close(gPosixNumberFormat[style]); in locbund_cleanup()
42 gPosixNumberFormat[style] = NULL; in locbund_cleanup()
48 static inline UNumberFormat * copyInvariantFormatter(ULocaleBundle *result, UNumberFormatStyle style) { in copyInvariantFormatter() argument
52 if (result->fNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
53 if (gPosixNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
55 UNumberFormat *formatAlias = unum_open(style, NUL in copyInvariantFormatter()
160 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style) u_locbund_getNumberFormat() argument
[all...]
/third_party/skia/src/gpu/
H A DGrStyle.cpp4 * Use of this source code is governed by a BSD-style license that can be
11 int GrStyle::KeySize(const GrStyle &style, Apply apply, uint32_t flags) { in KeySize() argument
14 if (style.isDashed()) { in KeySize()
16 size += 2 + style.dashIntervalCnt(); in KeySize()
17 } else if (style.pathEffect()) { in KeySize()
26 if (style.strokeRec().needToApply()) { in KeySize()
27 // One for res scale, one for style/cap/join, one for miter limit, and one for width. in KeySize()
33 void GrStyle::WriteKey(uint32_t *key, const GrStyle &style, Apply apply, SkScalar scale, in WriteKey() argument
36 SkASSERT(KeySize(style, apply) >= 0); in WriteKey()
46 if (style in WriteKey()
175 applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src, SkScalar resScale) const applyToPath() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmovtextdec.c75 StyleBox style; member
132 static void mov_text_parse_style_record(StyleBox *style, const uint8_t **ptr) in mov_text_parse_style_record() argument
135 style->font_id = bytestream_get_be16(ptr); in mov_text_parse_style_record()
136 // face-style-flags in mov_text_parse_style_record()
137 style->flags = bytestream_get_byte(ptr); in mov_text_parse_style_record()
138 style->bold = !!(style->flags & STYLE_FLAG_BOLD); in mov_text_parse_style_record()
139 style->italic = !!(style->flags & STYLE_FLAG_ITALIC); in mov_text_parse_style_record()
140 style in mov_text_parse_style_record()
290 StyleBox *style = &m->s[i]; decode_styl() local
370 const StyleBox *style = &m->s[entry]; text_to_ass() local
[all...]
H A Dttmlenc.c102 if (dialog->style) { in ttml_encode_frame()
104 av_bprint_escape(&s->buffer, dialog->style, NULL, in ttml_encode_frame()
126 if (dialog->style) in ttml_encode_frame()
198 static void ttml_get_origin(ASSScriptInfo script_info, ASSStyle style, in ttml_get_origin() argument
201 *origin_left = av_rescale(style.margin_l, 100, script_info.play_res_x); in ttml_get_origin()
203 av_rescale((style.alignment >= 7) ? style.margin_v : 0, in ttml_get_origin()
207 static void ttml_get_extent(ASSScriptInfo script_info, ASSStyle style, in ttml_get_extent() argument
210 *width = av_rescale(script_info.play_res_x - style.margin_r, in ttml_get_extent()
212 *height = av_rescale((style in ttml_get_extent()
218 ttml_write_region(AVCodecContext *avctx, AVBPrint *buf, ASSScriptInfo script_info, ASSStyle style) ttml_write_region() argument
[all...]
H A Dmovtextenc.c112 but will come from ASS style in the future*/ in encode_styl()
115 const StyleBox *style = &s->style_attributes[j]; in encode_styl() local
118 bytestream_put_be16(&p, style->style_start); in encode_styl()
119 bytestream_put_be16(&p, style->style_end); in encode_styl()
120 bytestream_put_be16(&p, style->style_fontID); in encode_styl()
121 bytestream_put_byte(&p, style->style_flag); in encode_styl()
122 bytestream_put_byte(&p, style->style_fontsize); in encode_styl()
123 bytestream_put_be32(&p, style->style_color); in encode_styl()
180 ASSStyle *style; in encode_sample_description() local
201 // 0x00, // uint8_t face-style in encode_sample_description()
378 mov_text_style_to_flag(const char style) mov_text_style_to_flag() argument
406 mov_text_style_cb(void *priv, const char style, int close) mov_text_style_cb() argument
545 mov_text_ass_style_set(MovTextContext *s, ASSStyle *style) mov_text_ass_style_set() argument
569 ASSStyle *style = ff_ass_style_get(s->ass_ctx, dialog->style); mov_text_dialog() local
578 ASSStyle *style; mov_text_cancel_overrides_cb() local
[all...]
/third_party/spirv-headers/tools/buildHeaders/
H A Dheader.cpp145 static std::string fmtStyleVal(unsigned v, enumStyle_t style);
159 std::string TPrinter::fmtStyleVal(unsigned v, enumStyle_t style) in fmtStyleVal() argument
161 switch (style) { in fmtStyleVal()
338 for (enumStyle_t style = (isMask ? enumShift : enumCount); in printDefs()
339 style <= (isMask ? enumMask : enumCount); style = enumStyle_t(int(style)+1)) { in printDefs()
341 out << enumBeg(opName, style); in printDefs()
343 if (style == enumMask) in printDefs()
350 bool printMax = (style ! in printDefs()
[all...]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
H A DHolidayBorderPanel.java55 /** Default style (IN). */
80 private int style; field in HolidayBorderPanel
95 style = DEFAULT_STYLE; in HolidayBorderPanel()
114 style = IN; in HolidayBorderPanel()
127 style = SOLID; in HolidayBorderPanel()
133 * Constructor. Makes a border of the given style with the default
134 * thickness for that style.
136 * @param style The style for this border.
138 public HolidayBorderPanel(int style) { in HolidayBorderPanel() argument
161 HolidayBorderPanel(int style, int thickness) HolidayBorderPanel() argument
201 setStyle(int style) setStyle() argument
[all...]
/third_party/libwebsockets/test-apps/
H A Dlws-common.js75 tnode.style.position = "absolute";
76 tnode.style.top = "0px";
77 tnode.style.left = "0px";
78 tnode.style.overflow = "hidden";
79 tnode.style.display ="none";
85 dark.style.opacity = opaque;
86 dark.style.MozOpacity = opaque;
87 // dark.style.filter ='alpha(opacity='+opacity+')';
88 dark.style.zIndex = zindex;
89 dark.style
[all...]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
H A Dlws-common.js75 tnode.style.position = "absolute";
76 tnode.style.top = "0px";
77 tnode.style.left = "0px";
78 tnode.style.overflow = "hidden";
79 tnode.style.display ="none";
85 dark.style.opacity = opaque;
86 dark.style.MozOpacity = opaque;
87 // dark.style.filter ='alpha(opacity='+opacity+')';
88 dark.style.zIndex = zindex;
89 dark.style
[all...]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/
H A Dheader.cpp145 static std::string fmtStyleVal(unsigned v, enumStyle_t style);
159 std::string TPrinter::fmtStyleVal(unsigned v, enumStyle_t style) in fmtStyleVal() argument
161 switch (style) { in fmtStyleVal()
336 for (enumStyle_t style = (isMask ? enumShift : enumCount); in printDefs()
337 style <= (isMask ? enumMask : enumCount); style = enumStyle_t(int(style)+1)) { in printDefs()
339 out << enumBeg(opName, style); in printDefs()
341 if (style == enumMask) in printDefs()
348 bool printMax = (style ! in printDefs()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
H A Dheader.cpp145 static std::string fmtStyleVal(unsigned v, enumStyle_t style);
159 std::string TPrinter::fmtStyleVal(unsigned v, enumStyle_t style) in fmtStyleVal() argument
161 switch (style) { in fmtStyleVal()
336 for (enumStyle_t style = (isMask ? enumShift : enumCount); in printDefs()
337 style <= (isMask ? enumMask : enumCount); style = enumStyle_t(int(style)+1)) { in printDefs()
339 out << enumBeg(opName, style); in printDefs()
341 if (style == enumMask) in printDefs()
348 bool printMax = (style ! in printDefs()
[all...]
/third_party/libevdev/doc/html/search/
H A Dsearch.js147 searchSelectWindow.style.display='block';
149 searchSelectWindow.style.left = left + 'px';
150 searchSelectWindow.style.top = top + 'px';
159 searchSelectWindow.style.display='block';
160 searchSelectWindow.style.left = left + 'px';
161 searchSelectWindow.style.top = top + 'px';
214 this.DOMPopupSearchResultsWindow().style.display = 'none';
215 this.DOMSearchClose().style.display = 'none';
234 this.DOMPopupSearchResultsWindow().style.display = 'none';
235 this.DOMSearchClose().style
[all...]
/third_party/skia/third_party/externals/oboe/docs/reference/search/
H A Dsearch.js144 searchSelectWindow.style.display='block';
146 searchSelectWindow.style.left = left + 'px';
147 searchSelectWindow.style.top = top + 'px';
156 searchSelectWindow.style.display='block';
157 searchSelectWindow.style.left = left + 'px';
158 searchSelectWindow.style.top = top + 'px';
212 this.DOMPopupSearchResultsWindow().style.display = 'none';
213 this.DOMSearchClose().style.display = 'none';
232 this.DOMPopupSearchResultsWindow().style.display = 'none';
233 this.DOMSearchClose().style
[all...]
/third_party/skia/src/ports/
H A DSkFontMgr_preview.h4 * Use of this source code is governed by a BSD-style license that can be
33 SkTypeface_Preview(const SkFontStyle& style, in SkTypeface_Preview() argument
36 : INHERITED(style, isFixedPitch) in SkTypeface_Preview()
59 const SkFontStyle& style, in SkTypeface_PreviewSystem()
64 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_PreviewSystem()
134 const SkFontStyle& style, in SkTypeface_PreviewStream()
137 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_PreviewStream()
203 SkFontStyle style; in SkFontStyleSet_Preview() local
208 &familyName, &style, &isFixedWidth, &axisDefinitions)) { in SkFontStyleSet_Preview()
214 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style in SkFontStyleSet_Preview()
56 SkTypeface_PreviewSystem(const SkString& pathName, int index, const SkFixed* axes, int axesCount, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName, const SkTArray<SkLanguage, true>& lang, FontVariant variantStyle) SkTypeface_PreviewSystem() argument
133 SkTypeface_PreviewStream(std::unique_ptr<SkFontData> data, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) SkTypeface_PreviewStream() argument
[all...]
H A DSkFontMgr_android.cpp4 * Use of this source code is governed by a BSD-style license that can be
36 SkTypeface_Android(const SkFontStyle& style, in SkTypeface_Android() argument
39 : INHERITED(style, isFixedPitch) in SkTypeface_Android()
60 const SkFontStyle& style, in SkTypeface_AndroidSystem()
65 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_AndroidSystem()
130 const SkFontStyle& style, in SkTypeface_AndroidStream()
133 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_AndroidStream()
197 SkFontStyle style; in SkFontStyleSet_Android() local
201 &familyName, &style, &isFixedWidth, &axisDefinitions)) in SkFontStyleSet_Android()
208 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style in SkFontStyleSet_Android()
56 SkTypeface_AndroidSystem(const SkString& pathName, const bool cacheFontFiles, int index, const SkFixed* axes, int axesCount, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName, const SkTArray<SkLanguage, true>& lang, FontVariant variantStyle) SkTypeface_AndroidSystem() argument
129 SkTypeface_AndroidStream(std::unique_ptr<SkFontData> data, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) SkTypeface_AndroidStream() argument
361 find_family_style_character( const SkString& familyName, const SkTArray<NameToFamily, true>& fallbackNameToFamilyMap, const SkFontStyle& style, bool elegant, const SkString& langTag, SkUnichar character) find_family_style_character() argument
446 SkFontStyle style; global() variable
460 SkFontStyle style; global() variable
[all...]
/third_party/skia/src/ports/skia_ohos/
H A DFontInfo_ohos.h2 // Use of this source code is governed by a BSD-style license that can be
23 style(SkFontStyle::Normal()), isFixedWidth(false), stream(nullptr) in FontInfo()
32 style(font.style), isFixedWidth(font.isFixedWidth), stream(nullptr) in FontInfo()
46 style(font.style), isFixedWidth(font.isFixedWidth), stream(nullptr) in FontInfo()
61 style(SkFontStyle::Normal()), isFixedWidth(false), stream(nullptr) in FontInfo()
85 style = font.style; in operator =()
106 style in operator =()
152 SkFontStyle style; // the font style global() member
[all...]
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DCalendarICU.java119 public String getDisplayName(int field, int style, Locale locale) { in getDisplayName() argument
120 if (field < 0 || field >= FIELD_COUNT || (style != SHORT && style != LONG && style != ALL_STYLES)) { in getDisplayName()
121 throw new IllegalArgumentException("Bad field or style."); in getDisplayName()
124 String[] array = getFieldStrings(field, style, dfs); in getDisplayName()
135 public Map<String,Integer> getDisplayNames(int field, int style, Locale locale) { in getDisplayNames() argument
136 if (field < 0 || field >= FIELD_COUNT || (style != SHORT && style != LONG && style ! in getDisplayNames()
303 getFieldStrings(int field, int style, DateFormatSymbols dfs) getFieldStrings() argument
323 getFieldStringsMap(int field, int style, DateFormatSymbols dfs) getFieldStringsMap() argument
[all...]
/third_party/node/deps/npm/node_modules/npmlog/lib/
H A Dlog.js171 var logline = this._format(disp, log.style[last.level])
296 this.write(disp, log.style[m.level])
308 log._format = function (msg, style) {
315 style = style || {}
317 if (style.fg) {
318 settings.push(style.fg)
321 if (style.bg) {
322 settings.push('bg' + style.bg[0].toUpperCase() + style
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DTrieMapTest.java138 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { in checkGet() argument
142 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build(); in checkGet()
151 assertEquals(style + "\tGet of '" + key + "' = {" + Utility.hex(key) + "}", value, foundValue); in checkGet()
167 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) { in timeIteration() argument
168 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration()
173 if (style == null) { in timeIteration()
205 logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeIteration()
207 errln(style + "\tTime iteration takes too long. Expected:\t< " + ratioToMap * comparisonTime + ", Actual:\t" + trieTime); in timeIteration()
220 public void checkContents(Map<String, Integer> testMap, Style style) { in checkContents() argument
224 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Optio in checkContents()
258 checkSearch(Style style) checkSearch() argument
312 timeBuilding(Map<String, Integer> testmap, long comparisonTime, Style style, Option option, double ratioToMap) timeBuilding() argument
372 checkSize(int comparisonSize, Style style, Option option, double ratioToMap) checkSize() argument
429 timeGet(ArrayList<String> keys, Map<String, Integer> testmap, long comparisonTime, Style style, int ratioToMap) timeGet() argument
484 Style style; global() field in TrieMapTest.MyLoop
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DTrieMapTest.java135 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { in checkGet() argument
139 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build(); in checkGet()
148 assertEquals(style + "\tGet of '" + key + "' = {" + Utility.hex(key) + "}", value, foundValue); in checkGet()
164 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) { in timeIteration() argument
165 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration()
170 if (style == null) { in timeIteration()
202 logln("\titeration time\t" + style + "\tn/a\t" + t.toString(testMap.size(), comparisonTime) + "\titerations=" + t.getIterations()); in timeIteration()
204 errln(style + "\tTime iteration takes too long. Expected:\t< " + ratioToMap * comparisonTime + ", Actual:\t" + trieTime); in timeIteration()
217 public void checkContents(Map<String, Integer> testMap, Style style) { in checkContents() argument
221 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Optio in checkContents()
255 checkSearch(Style style) checkSearch() argument
309 timeBuilding(Map<String, Integer> testmap, long comparisonTime, Style style, Option option, double ratioToMap) timeBuilding() argument
369 checkSize(int comparisonSize, Style style, Option option, double ratioToMap) checkSize() argument
426 timeGet(ArrayList<String> keys, Map<String, Integer> testmap, long comparisonTime, Style style, int ratioToMap) timeGet() argument
481 Style style; global() field in TrieMapTest.MyLoop
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
H A DViewableTaggedData.java30 private final Style style; field in ViewableTaggedData
37 private ViewableTaggedData(List<Marker> markers, Style style, Metrics metrics) { in ViewableTaggedData() argument
39 this.style = style; in ViewableTaggedData()
116 DrawContext context = new DrawContext(style, metrics, g, x, y); in draw()
134 DrawContext context = new DrawContext(style, metrics, null, 0, 0); in measure()
335 private final Style style; field in ViewableTaggedData.DrawContext
348 private DrawContext(Style style, Metrics metrics, Graphics g, int x, int y) { in DrawContext() argument
349 this.style = style; in DrawContext()
[all...]

Completed in 13 milliseconds

12345678910>>...27