Home
last modified time | relevance | path

Searched refs:bg (Results 1 - 25 of 115) sorted by relevance

12345

/third_party/python/Lib/idlelib/
H A Dhelp_about.py40 self.bg = "#bbbbbb"
69 frame_background = Frame(frame, bg=self.bg)
73 bg=self.bg, font=('courier', 24, 'bold'))
81 logo = Label(frame_background, image=self.icon_image, bg=self.bg)
86 fg=self.fg, bg=self.bg)
89 justify=LEFT, fg=self.fg, bg
[all...]
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dreadme_preview.rs138 pre .bg.black {{ background-color: #1d1f21; }} in main()
139 pre .bg.red {{ background-color: #cc6666; }} in main()
140 pre .bg.green {{ background-color: #b5bd68; }} in main()
141 pre .bg.yellow {{ background-color: #f0c674; }} in main()
142 pre .bg.blue {{ background-color: #81a2be; }} in main()
143 pre .bg.magenta {{ background-color: #b294bb; }} in main()
144 pre .bg.cyan {{ background-color: #8abeb7; }} in main()
145 pre .bg.white {{ background-color: #c5c8c6; }} in main()
147 pre .bg.black.bright {{ background-color: #969896; }} in main()
148 pre .bg in main()
[all...]
/third_party/alsa-utils/alsamixer/
H A Dcolors.c28 int get_color_pair(short fg, short bg) in get_color_pair() argument
35 if (pair_fg == fg && pair_bg == bg) in get_color_pair()
41 init_pair(color_pairs_defined, fg, bg); in get_color_pair()
48 void reinit_colors(short bg) in reinit_colors() argument
50 if (bg == background_color) in reinit_colors()
52 init_pair(1, COLOR_CYAN, bg); in reinit_colors()
53 init_pair(2, COLOR_YELLOW, bg); in reinit_colors()
54 init_pair(4, COLOR_RED, bg); in reinit_colors()
55 init_pair(5, COLOR_WHITE, bg); in reinit_colors()
56 background_color = bg; in reinit_colors()
[all...]
H A Dcolors.h39 void reinit_colors(short bg);
40 int get_color_pair(short fg, short bg);
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
H A Drpng2-win.c156 #define alpha_composite(composite, fg, alpha, bg) { \
158 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
241 } bg[] = { variable
259 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern);
450 "Usage: %s [-gamma exp] [-bgcolor bg | -bgpat pat] [-timing]\n" in WinMain()
456 " bg \tdesired background color in 7-character hex RGB format\n" in WinMain()
847 int invert_gradient2 = (bg[pat].type & 0x08);
870 if ((bg[pat].type & 0x07) == 0) {
871 uch r1_min = rgb[bg[pat].rgb1_min].r;
872 uch g1_min = rgb[bg[pa
[all...]
H A Drpng2-x.c169 #define alpha_composite(composite, fg, alpha, bg) { \
171 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
267 } bg[] = { variable
286 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern);
478 "%s [-display xdpy] [-gamma exp] [-bgcolor bg | -bgpat pat]\n" in main()
494 " bg \tdesired background color in 7-character hex RGB format\n" in main()
1094 int invert_gradient2 = (bg[pat].type & 0x08); in rpng2_x_load_bg_image()
1122 if ((bg[pat].type & 0x07) == 0) { in rpng2_x_load_bg_image()
1123 uch r1_min = rgb[bg[pat].rgb1_min].r; in rpng2_x_load_bg_image()
1124 uch g1_min = rgb[bg[pa in rpng2_x_load_bg_image()
[all...]
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dansi-print.hh159 bg (0), fg (0), unicolor (true),
174 bg = 0;
176 if (freq[bg] < freq[i])
177 bg = i;
180 if (i != bg && freq[fg] < freq[i])
182 if (fg == bg || freq[fg] == 0) {
183 fg = bg;
196 color_t bgc = color_t::from_ansi (bg);
215 unsigned int bg;
396 if (last_bg != bi.bg) {
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DResourceUsageTrackingTests.cpp107 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}, {1, buffer}}); in TEST_F() local
112 pass.SetBindGroup(0, bg); in TEST_F()
129 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}}); in TEST_F() local
136 pass.SetBindGroup(0, bg); in TEST_F()
150 wgpu::BindGroup bg = in TEST_F() local
161 pass.SetBindGroup(0, bg); in TEST_F()
172 pass.SetBindGroup(0, bg); in TEST_F()
191 wgpu::BindGroup bg = in TEST_F() local
200 pass.SetBindGroup(0, bg); in TEST_F()
213 pass.SetBindGroup(0, bg); in TEST_F()
320 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}}); TEST_F() local
493 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer0}}); TEST_F() local
655 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}, {1, buffer}}); TEST_F() local
673 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}, {1, buffer}}); TEST_F() local
700 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}}); TEST_F() local
721 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}, {1, buffer}}); TEST_F() local
831 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}}); TEST_F() local
856 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}, {1, view}}); TEST_F() local
899 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}}); TEST_F() local
942 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}}); TEST_F() local
982 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}, {1, view}}); TEST_F() local
1332 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view1}}); TEST_F() local
1465 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}, {1, view}}); TEST_F() local
1484 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}, {1, view}}); TEST_F() local
1517 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}}); TEST_F() local
1536 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view}, {1, view}}); TEST_F() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUComputePassEncoder.cpp88 wgpu::BindGroup bg{}; in setBindGroup()
91 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
95 enc_.SetBindGroup(index, bg, num_offsets, offsets); in setBindGroup()
106 wgpu::BindGroup bg{}; in setBindGroup()
107 if (!conv(bg, bindGroup)) { in setBindGroup()
111 enc_.SetBindGroup(index, bg, dynamicOffsetsDataLength, in setBindGroup()
H A DGPURenderBundleEncoder.cpp48 wgpu::BindGroup bg{}; in setBindGroup()
51 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
55 enc_.SetBindGroup(index, bg, num_offsets, offsets); in setBindGroup()
66 wgpu::BindGroup bg{}; in setBindGroup()
67 if (!conv(bg, bindGroup)) { in setBindGroup()
71 enc_.SetBindGroup(index, bg, dynamicOffsetsDataLength, in setBindGroup()
H A DGPURenderPassEncoder.cpp123 wgpu::BindGroup bg{}; in setBindGroup()
126 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
130 enc_.SetBindGroup(index, bg, num_offsets, offsets); in setBindGroup()
141 wgpu::BindGroup bg{}; in setBindGroup()
142 if (!conv(bg, bindGroup)) { in setBindGroup()
146 enc_.SetBindGroup(index, bg, dynamicOffsetsDataLength, in setBindGroup()
/third_party/node/deps/npm/node_modules/npmlog/lib/
H A Dlog.js321 if (style.bg) {
322 settings.push('bg' + style.bg[0].toUpperCase() + style.bg.slice(1))
384 log.headingStyle = { fg: 'white', bg: 'black' }
390 log.addLevel('verbose', 1000, { fg: 'cyan', bg: 'black' }, 'verb')
392 log.addLevel('timing', 2500, { fg: 'green', bg: 'black' })
393 log.addLevel('http', 3000, { fg: 'green', bg: 'black' })
394 log.addLevel('notice', 3500, { fg: 'cyan', bg: 'black' })
395 log.addLevel('warn', 4000, { fg: 'black', bg
[all...]
/third_party/ffmpeg/libavfilter/
H A Df_drawgraph.c41 uint8_t bg[4]; member
69 { "bg", "set background color", OFFSET(bg), AV_OPT_TYPE_COLOR, {.str="white"}, 0, 0, FLAGS },
150 int bg = AV_RN32(s->bg); in clear_image() local
154 AV_WN32(out->data[0] + i * out->linesize[0] + j * 4, bg); in clear_image()
219 uint32_t fg, bg; in filter_frame() local
244 bg = AV_RN32(s->bg); in filter_frame()
276 draw_dot(bg, in filter_frame()
359 uint32_t fg, bg; request_frame() local
[all...]
H A Dvf_xbr.c377 int bg, rg, g; in init() local
379 for (bg = -255; bg < 256; bg++) { in init()
381 const uint32_t u = (uint32_t)((-169*rg + 500*bg)/1000) + 128; in init()
382 const uint32_t v = (uint32_t)(( 500*rg - 81*bg)/1000) + 128; in init()
383 int startg = FFMAX3(-bg, -rg, 0); in init()
384 int endg = FFMIN3(255-bg, 255-rg, 255); in init()
385 uint32_t y = (uint32_t)(( 299*rg + 1000*startg + 114*bg)/1000); in init()
386 c = bg in init()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dansi.c65 int bg; /**< background color */ member
89 s->bg = DEFAULT_BG_COLOR; in decode_init()
167 int bg = s->bg; in draw_char() local
172 bg += 8; in draw_char()
174 FFSWAP(int, fg, bg); in draw_char()
176 fg = bg; in draw_char()
178 s->frame->linesize[0], s->font, s->font_height, c, fg, bg); in draw_char()
312 s->bg = DEFAULT_BG_COLOR; in execute_code()
324 s->bg in execute_code()
[all...]
H A Dtmv.c46 unsigned x, y, fg, bg, c; in tmv_decode_frame() local
70 bg = *src >> 4; in tmv_decode_frame()
73 avpriv_cga_font, 8, c, fg, bg); in tmv_decode_frame()
/third_party/cups-filters/cupsfilters/
H A Dimage-png.c59 png_color_16 bg; /* Background color */ in _cupsImageReadPNG() local
158 bg.red = 65535; in _cupsImageReadPNG()
159 bg.green = 65535; in _cupsImageReadPNG()
160 bg.blue = 65535; in _cupsImageReadPNG()
162 png_set_background(pp, &bg, PNG_BACKGROUND_GAMMA_SCREEN, 0, 1.0); in _cupsImageReadPNG()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBManager.java490 BundleGroup bg = bundle.getBundleGroup(groupName); in editItem()
491 if (bg == null) bg = bundle.getUngroupedGroup(); in editItem()
492 oldItem.setParentGroup(bg); in editItem()
493 bg.addBundleItem(oldItem); in editItem()
515 BundleGroup bg = mainBundle.getBundleGroup(i); in createItem()
516 if (bg.getName().equals(groupName)) {mainGroup = bg; break;} in createItem()
534 BundleGroup bg = bundle.getBundleGroup(j); in createItem()
535 if (bg in createItem()
[all...]
H A DBundle.java224 BundleGroup bg = new BundleGroup(this, groupName); in addBundleGroup()
225 bg.setComment(groupComment); in addBundleGroup()
226 addBundleGroup(bg); in addBundleGroup()
385 public void addBundleGroup(BundleGroup bg) { in addBundleGroup() argument
386 groups.add(bg); in addBundleGroup()
/third_party/rust/crates/codespan/codespan-reporting/tests/support/
H A Dcolor_buffer.rs16 /// - Background color as `bg:Color`
102 if let Some(bg) = spec.bg() { in set_color()
104 write!(self, "bg:{:?}", bg)?; in set_color()
/third_party/skia/gm/
H A Dxfermodes2.cpp107 SkBitmap bg; variable
108 bg.allocN32Pixels(2, 2, true);
109 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData));
113 fBG = bg.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, SkSamplingOptions(), lm);
H A Dcolor4f.cpp75 SkPaint bg; in DEF_SIMPLE_GM() local
78 bg.setColor(0xFFFFFFFF); in DEF_SIMPLE_GM()
88 surface->getCanvas()->drawPaint(bg); in DEF_SIMPLE_GM()
H A Dxfermodes3.cpp183 SkBitmap bg; variable
184 bg.allocN32Pixels(2, 2, true);
185 memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData));
189 fBGShader = bg.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat,
/third_party/toybox/toys/pending/
H A Dmke2fs.c653 struct ext2_group *bg = (struct ext2_group *)toybuf; in mke2fs_main() local
674 if (j) xwrite(TT.fsfd, bg, TT.blocksize); in mke2fs_main()
675 memset(bg, 0, TT.blocksize); in mke2fs_main()
688 bg[slot].free_inodes_count = SWAP_LE16(temp); in mke2fs_main()
700 bg[slot].free_blocks_count = SWAP_LE32(temp); in mke2fs_main()
704 bg[slot].block_bitmap = SWAP_LE32(used++); in mke2fs_main()
705 bg[slot].inode_bitmap = SWAP_LE32(used++); in mke2fs_main()
706 bg[slot].inode_table = SWAP_LE32(used); in mke2fs_main()
707 bg[slot].used_dirs_count = 0; // (TODO) in mke2fs_main()
709 xwrite(TT.fsfd, bg, T in mke2fs_main()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_context.c121 float *vertices = hud->bg.vertices + hud->bg.num_vertices*2; in hud_draw_background_quad()
124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
138 hud->bg.num_vertices += num/2; in hud_draw_background_quad()
553 if (hud->bg.num_vertices) { in hud_draw_results()
565 cso_set_vertex_buffers(cso, 0, 1, 0, false, &hud->bg.vbuf); in hud_draw_results()
566 cso_draw_arrays(cso, PIPE_PRIM_QUADS, 0, hud->bg.num_vertices); in hud_draw_results()
568 pipe_resource_reference(&hud->bg.vbuf.buffer.resource, NULL); in hud_draw_results()
650 hud_prepare_vertices(hud, &hud->bg, 1 in hud_stop_queries()
[all...]

Completed in 26 milliseconds

12345