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

1234

/external/linux-tools-perf/util/ui/
H A Dlibslang.h19 #define sltt_set_color(obj, name, fg, bg) \
20 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
/external/e2fsprogs/lib/ext2fs/
H A Dcsum.c106 struct ext2_group_desc *bg = fs->group_desc; local
117 for (i = 0; i < fs->group_desc_count; i++, bg++) {
118 int old_csum = bg->bg_checksum;
119 int old_unused = bg->bg_itable_unused;
120 int old_flags = bg->bg_flags;
122 if (bg->bg_free_inodes_count == sb->s_inodes_per_group) {
123 bg->bg_flags |= EXT2_BG_INODE_UNINIT;
124 bg->bg_itable_unused = sb->s_inodes_per_group;
126 bg->bg_flags &= ~EXT2_BG_INODE_UNINIT;
127 bg
[all...]
H A Dopenfs.c34 int bg; local
42 bg = EXT2_DESC_PER_BLOCK(fs->super) * i;
43 if (ext2fs_bg_has_super(fs, bg))
45 ret_blk = ext2fs_group_first_block(fs, bg) + has_super;
50 * metablock group. Ideally we should be testing each bg
/external/clang/test/CodeGenCXX/
H A D2007-04-10-PackedUnion.cpp21 XYZ bg; member in union:ABCU
H A Dstatic-init-3.cpp27 X2< B > bg = X1< X2< B > >::get(); variable
H A Ddynamic-cast-hint.cpp47 volatile G *bg = dynamic_cast<G *>(b); local
/external/qemu/
H A Dvnchextile.h21 pixel_t bg = 0; local
35 bg = irow[i];
39 if (irow[i] != bg) {
45 if (irow[i] != bg && irow[i] != fg) {
48 if (irow[i] == bg)
65 fg = bg;
66 bg = tmp;
69 if (!*has_bg || *last_bg != bg) {
72 *last_bg = bg;
116 if (!*has_bg || *last_bg != bg)
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestpalette.c74 SDL_Surface *bg = SDL_CreateRGBSurface(SDL_SWSURFACE, screen->w, screen->h, local
76 if(!bg)
81 SDL_SetColors(bg, screen->format->palette->colors, 0, 256);
84 if(SDL_LockSurface(bg) < 0)
87 Uint8 *p = (Uint8 *)bg->pixels + i * bg->pitch;
94 v += p[-bg->pitch] + 65 - startcol;
99 SDL_UnlockSurface(bg);
100 return(bg);
135 SDL_Surface *bg; local
[all...]
/external/harfbuzz_ng/util/
H A Dansi-print.cc163 bg = 0;
165 if (freq[bg] < freq[i])
166 bg = i;
169 if (i != bg && freq[fg] < freq[i])
171 if (fg == bg || freq[fg] == 0) {
172 fg = bg;
185 color_t bgc = color_t::from_ansi (bg);
204 unsigned int bg;
384 if (last_bg != bi.bg) {
385 printf ("\e[%dm", 40 + bi.bg);
[all...]
H A Dhelper-cairo.cc324 unsigned int fr, fg, fb, fa, br, bg, bb, ba; local
325 br = bg = bb = 0; ba = 255;
326 sscanf (view_opts->back + (*view_opts->back=='#'), "%2x%2x%2x%2x", &br, &bg, &bb, &ba);
331 if (!view_opts->annotate && ba == 255 && br == bg && bg == bb && fr == fg && fg == fb)
365 cairo_set_source_rgba (cr, br / 255., bg / 255., bb / 255., ba / 255.);
/external/libpng/contrib/gregbook/
H A Drpng2-x.c151 #define alpha_composite(composite, fg, alpha, bg) { \
153 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
249 } bg[] = { variable in typeref:struct:background_pattern
268 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern);
470 "Usage: %s [-display xdpy] [-gamma exp] [-bgcolor bg | -bgpat pat]\n"
484 " bg \tdesired background color in 7-character hex RGB format\n"
1081 int invert_gradient2 = (bg[pat].type & 0x08);
1109 if ((bg[pat].type & 0x07) == 0) {
1110 uch r1_min = rgb[bg[pat].rgb1_min].r;
1111 uch g1_min = rgb[bg[pa
[all...]
H A Drpng2-win.c128 #define alpha_composite(composite, fg, alpha, bg) { \
130 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
213 } bg[] = { variable in typeref:struct:background_pattern
231 static int num_bgpat = sizeof(bg) / sizeof(struct background_pattern);
432 "Usage: %s [-gamma exp] [-bgcolor bg | -bgpat pat] [-timing]\n"
441 " bg \tdesired background color in 7-character hex RGB format\n"
816 int invert_gradient2 = (bg[pat].type & 0x08);
839 if ((bg[pat].type & 0x07) == 0) {
840 uch r1_min = rgb[bg[pat].rgb1_min].r;
841 uch g1_min = rgb[bg[pa
[all...]
/external/linux-tools-perf/util/
H A Dcolor.c54 int bg = -2; local
61 /* [fg [bg]] [attr] */
83 if (bg == -2) {
84 bg = val;
95 if (attr >= 0 || fg >= 0 || bg >= 0) {
114 if (bg >= 0) {
117 if (bg < 8) {
119 *dst++ = '0' + bg;
121 dst += sprintf(dst, "48;5;%d", bg);
/external/llvm/include/llvm/Support/
H A DProcess.h232 static const char *OutputColor(char c, bool bold, bool bg);
235 static const char *OutputBold(bool bg);
/external/replicaisland/src/com/replica/replicaisland/
H A DScrollerComponent.java94 TiledBackgroundVertexGrid bg = drawableFactory.allocateTiledBackgroundVertexGrid();
95 bg.setGrid(mVertGrid);
96 background = bg;
H A DDrawableFactory.java152 TiledBackgroundVertexGrid bg = (TiledBackgroundVertexGrid)entry;
153 bg.reset();
H A DLevelBuilder.java156 TiledVertexGrid bg = new TiledVertexGrid(textureLibrary.allocateTexture(tileMapIndex),
158 bg.setWorld(world);
173 width, height, bg);
/external/clang/test/Analysis/
H A Didempotent-operations.c72 for (unsigned bg = 0; bg < 1024; bg ++) {
73 result = bg * result; // no-warning
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DTreeToNFAConverter.g402 StateCluster bg = $b.g;
407 bg = factory.build_AlternativeBlockFromSet(bg);
409 $g = factory.build_Aoptional(bg);
419 StateCluster bg = $b.g;
422 bg = factory.build_AlternativeBlockFromSet(bg);
424 $g = factory.build_Astar(bg);
426 bg.right.setDescription("()* loopback of "+grammar.grammarTreeToString($start, false));
427 int d = grammar.assignDecisionNumber( bg
[all...]
/external/webkit/Source/WebCore/platform/efl/
H A DRenderThemeEfl.cpp362 int fr, fg, fb, fa, br, bg, bb, ba; local
364 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
367 that->setActiveSelectionColor(fr, fg, fb, fa, br, bg, bb, ba);
373 int fr, fg, fb, fa, br, bg, bb, ba; local
375 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
378 that->setInactiveSelectionColor(fr, fg, fb, fa, br, bg, bb, ba);
395 int fr, fg, fb, fa, br, bg, bb, ba; local
397 if (!edje_object_color_class_get(object, source, &fr, &fg, &fb, &fa, &br, &bg, &bb, &ba, 0, 0, 0, 0))
400 that->setButtonTextColor(fr, fg, fb, fa, br, bg, bb, ba);
406 int fr, fg, fb, fa, br, bg, b local
417 int fr, fg, fb, fa, br, bg, bb, ba; local
428 int fr, fg, fb, fa, br, bg, bb, ba; local
483 int fr, fg, fb, fa, br, bg, bb, ba; local
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_theme_service.cc403 GdkColor bg; local
406 bg = style->bg[GTK_STATE_NORMAL];
409 bg = GetGdkColor(COLOR_TOOLBAR);
416 color.red = (text.red + (bg.red * kBgWeight)) / (1 + kBgWeight);
417 color.green = (text.green + (bg.green * kBgWeight)) / (1 + kBgWeight);
418 color.blue = (text.blue + (bg.blue * kBgWeight)) / (1 + kBgWeight);
694 &window_style->bg[GTK_STATE_NORMAL]);
696 &window_style->bg[GTK_STATE_NORMAL]);
698 GdkColor toolbar_color = window_style->bg[GTK_STATE_NORMA
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DBatchNode.java143 protected void updateSubBatch(Geometry bg) { argument
144 Batch batch = batches.get(bg.getMaterial());
157 doTransformsTangents(posBuf, normBuf, tanBuf, bg.startIndex, bg.startIndex + bg.getVertexCount(), bg.cachedOffsetMat);
160 doTransforms(posBuf, normBuf, bg.startIndex, bg.startIndex + bg.getVertexCount(), bg
[all...]
/external/openssl/crypto/pkcs12/
H A Dpkcs12.h157 #define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type)
158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
/external/openssl/include/openssl/
H A Dpkcs12.h157 #define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type)
158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/
H A Dupload_page.js95 this.client_ = chrome.extension.getBackgroundPage().bg.client;
117 var newFiles = chrome.extension.getBackgroundPage().bg.getNewFiles();
291 chrome.extension.getBackgroundPage().bg.uploadFiles(files, album);

Completed in 804 milliseconds

1234