Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 25 of 93) sorted by relevance

1234

/illumos-gate/usr/src/common/ficl/emu/
H A Dgfx_fb.c131 (void) munmap((caddr_t)fb.fb_addr, fb.fb_size); in gfx_framework_fini()
167 if (x >= fb.fb_width || y >= fb.fb_height) in gfx_fb_setpixel()
170 offset = y * fb.fb_pitch + x * fb.fb_bpp; in gfx_fb_setpixel()
234 x2 = row2 * fb.font_width + fb.terminal_origin_x; in gfx_term_drawrect()
248 x1 = row2 * fb.font_width + fb.terminal_origin_x; in gfx_term_drawrect()
257 x2 = row1 * fb.font_width + fb.terminal_origin_x; in gfx_term_drawrect()
442 if (ux1 > fb.fb_width || uy1 > fb.fb_height) { in gfx_fb_putimage()
478 if (ux2 > fb.fb_width || uy2 > fb.fb_height) { in gfx_fb_putimage()
499 ux2 = fb.fb_width - fb.terminal_origin_x; in gfx_fb_putimage()
508 uy2 = fb.fb_height - fb.terminal_origin_y; in gfx_fb_putimage()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_bitmap.c165 softc->console->fb.fb); in bitmap_kdsettext()
239 if (softc->console->fb.fb == NULL) in bitmap_setup_fb()
280 bitmap_copy_fb(softc, console->fb.fb, console->fb.shadow_fb); in bitmap_devinit()
325 dst = console->fb.fb + toffset; in bitmap_cons_copy()
420 fbp = console->fb.fb + da->col * console->fb.bpp + in bitmap_cons_display()
458 fb = console->fb.fb + i * pitch; in bitmap_cons_clear()
461 fb = console->fb.shadow_fb + i * pitch; in bitmap_cons_clear()
484 fb = console->fb.fb + i * pitch; in bitmap_cons_clear()
541 fb8 = console->fb.fb + offset + i * pitch; in bitmap_display_cursor()
559 (console->fb.fb + offset + i * pitch); in bitmap_display_cursor()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c721 MD5Update(&md5_ctx, (void *)fb->fb_va, fb->fb_size); in fastboot_cksum_file()
736 fb->fb_va = 0; in fastboot_free_file()
747 if (fb->fb_pte_list_size && fb->fb_pte_list_pa < endaddr) { in fastboot_free_file_pte()
748 contig_free((void *)fb->fb_pte_list_va, fb->fb_pte_list_size); in fastboot_free_file_pte()
1026 fb->fb_va = va; in fastboot_load_kernel()
1035 if (fb->fb_pte_list_size && fb->fb_pte_list_size < pt_size) { in fastboot_load_kernel()
1058 bzero((void *)(fb->fb_pte_list_va), fb->fb_pte_list_size); in fastboot_load_kernel()
1101 fb->fb_sectcnt = sizeof (fb->fb_sections) / in fastboot_load_kernel()
1181 fb->fb_next_pa = fb->fb_dest_pa + fsize_roundup; in fastboot_load_kernel()
1192 fb->fb_va = fb->fb_dest_pa = FASTBOOT_SWTCH_PA; in fastboot_load_kernel()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dfunction-ptr.c13 fb(a); in arg()
16 fb(123); in arg()
19 fb(123L); in arg()
22 fb(ival); in arg()
61 fb(a); in glb()
64 fb(123); in glb()
67 fb(123L); in glb()
70 fb(ival); in glb()
114 ops->fb(a); in ops()
117 ops->fb(123); in ops()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Diconv.c399 *fb += fz; in _win_iconv()
594 *fb = (char*)f; in utf2bin()
668 *fb = (char*)f; in bin2utf()
1248 if (!fb || !*fb) in _ast_iconv()
1270 tfb = *fb; in _ast_iconv()
1278 *fb += i; in _ast_iconv()
1326 *fb += n; in _ast_iconv()
1412 (*fb)++; in _ast_iconv_write()
1439 char* fb; in _ast_iconv_move() local
1478 fs = fb; in _ast_iconv_move()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_fire.c46 #define FAB_FIRE_PEC_BIT(fb) "ereport.io." PCIEX_FIRE "." FIRE_PEC_ ## fb argument
47 #define FAB_FIRE_DMC_BIT(fb) "ereport.io." PCIEX_FIRE "." FIRE_DMC_ ## fb argument
48 #define FAB_N2_DMU_BIT(fb) "ereport.io.n2.dmu." fb argument
49 #define FAB_OB_PEC_BIT(fb) "ereport.io." PCIEX_OBERON "." FIRE_PEC_ ## fb argument
53 #define FAB_OB_UE(fb, bit, sts, bdg) \ argument
72 #define FAB_FIRE_CE(fb, bit) \ argument
87 #define FAB_FIRE_WUCRUC(fb) \ argument
89 #define FAB_FIRE_OE(fb, bit) \ argument
91 #define FAB_OB_OE(fb, bit) \ argument
103 #define FAB_FIRE_DMC(fb) \ argument
[all …]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Ddevices-local61 if [ -h /dev/fb ]; then
62 fblink=`ls -l /dev/fb | /usr/bin/awk '{ print $11 }'`
65 rm -f /dev/fb
66 ln -s $1 /dev/fb
69 rm -f /dev/fb
70 ln -s $1 /dev/fb
/illumos-gate/usr/src/cmd/refer/
H A Dinv6.c23 whash(FILE *ft, FILE *fa, FILE *fb, int nhash, int iflong, in whash() argument
49 if (iflong) putl(-1L, fb); in whash()
50 else putw(-1, fb); in whash()
62 putl(opoint = point, fb); in whash()
64 putw((int)(opoint = point), fb); in whash()
69 if (iflong) putl(-1L, fb); in whash()
70 else putw(-1, fb); in whash()
H A Dinv1.c41 FILE *fa, *fb, *fc, *fta, *ftb, *ftc; in main() local
113 fb = 0; in main()
115 if (fb = fopen(nmb, "r")) { in main()
120 nhash = recopy(ftb, fb, fopen(nma, "r")); in main()
151 fb = fopen(nmb, "w"); in main()
152 whash(fta, fa, fb, nhash, iflong, &keys, &hashes); in main()
H A Dhunt1.c59 static FILE *fa, *fb, *fc; in main() local
155 fclose(fb); in main()
163 fb = NULL; in main()
166 fb = fopen(nmb, "r"); in main()
169 if (fb == NULL || fc == NULL) { in main()
173 indexdate = gdate(fb); in main()
204 if (fb != NULL) { in main()
205 nfound = doquery(hpt, nhash, fb, nitem, qitem, master); in main()
H A Dhunt2.c37 doquery(long *hpt, int nhash, FILE *fb, int nitem, in doquery() argument
101 assert(fb != NULL); in doquery()
102 assert(fseek(fb, lp, 0) != -1); in doquery()
105 master.b[i] = getl(fb); in doquery()
107 master.a[i] = getw(fb); in doquery()
137 assert(fseek(fb, lp, 0) != -1); in doquery()
145 k = getl(fb); in doquery()
147 k = getw(fb); in doquery()
295 getl(FILE *fb) in getl() argument
297 return (getw(fb)); in getl()
H A Dinv5.c23 recopy(FILE *ft, FILE *fb, FILE *fa, int nhash) in recopy() argument
58 fseek(fb, lp, 0); in recopy()
59 while ((k = (*getfun)(fb)) != -1) in recopy()
62 fclose(fb); in recopy()
H A Dhunt8.c40 FILE *fa, *fb; in makefgrep() local
47 fb = iopen(indexname, ""); in makefgrep()
48 if (gdate(fb) > gdate(fa)) { in makefgrep()
56 unopen(fb); in makefgrep()
H A Dglue1.c63 static FILE *fa, *fb, *fc; in huntmain() local
148 unopen(fb); in huntmain()
156 fb = iopen(indexname, ".ib"); in huntmain()
160 fprintf(stderr, "opened f's as %o %o %o\n", fa, fb, fc); in huntmain()
162 indexdate = gdate(fb); in huntmain()
245 fprintf(stderr, "approaching doquery fb %o\n", fb); in huntmain()
247 nfound = doquery(hpt, nhash, fb, nitem, qitem, masterp); in huntmain()
/illumos-gate/usr/src/lib/libc/port/fp/
H A D__flt_decim.c270 __ieee_flags_type fb; in __fast_double_to_decimal() local
279 __get_ieee_flags(&fb); in __fast_double_to_decimal()
294 __set_ieee_flags(&fb); in __fast_double_to_decimal()
300 __set_ieee_flags(&fb); in __fast_double_to_decimal()
318 __get_ieee_flags(&fb); in __fast_double_to_decimal()
347 __set_ieee_flags(&fb); in __fast_double_to_decimal()
360 __set_ieee_flags(&fb); in __fast_double_to_decimal()
373 __set_ieee_flags(&fb); in __fast_double_to_decimal()
390 __set_ieee_flags(&fb); in __fast_double_to_decimal()
/illumos-gate/usr/src/cmd/mandoc/
H A Dread.c462 fb->buf = mmap(NULL, fb->sz, PROT_READ, MAP_SHARED, fd, 0); in read_whole_file()
463 if (fb->buf != MAP_FAILED) in read_whole_file()
497 fb->sz = 0; in read_whole_file()
498 fb->buf = NULL; in read_whole_file()
500 if (off == fb->sz) { in read_whole_file()
505 resize_buf(fb, 65536); in read_whole_file()
508 gzread(gz, fb->buf + (int)off, fb->sz - off) : in read_whole_file()
509 read(fd, fb->buf + (int)off, fb->sz - off); in read_whole_file()
511 fb->sz = off; in read_whole_file()
531 free(fb->buf); in read_whole_file()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dmain.c459 Ldup(int fa, int fb) in Ldup() argument
463 dup(fa | DUPFLG, fb); in Ldup()
465 ioctl(fb, FIOCLEX, 0); in Ldup()
470 if (fa != fb) { in Ldup()
471 close(fb); in Ldup()
472 fcntl(fa, 0, fb); /* normal dup */ in Ldup()
475 fcntl(fb, 2, 1); /* autoclose for fb */ in Ldup()
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dio.c358 Prom_node *fb; in display_ffb() local
374 for (fb = dev_find_node_by_type(board->nodes, "device_type", "display"); in display_ffb()
375 fb != NULL; in display_ffb()
376 fb = dev_next_node_by_type(fb, "device_type", "display")) { in display_ffb()
377 value = get_prop_val(find_prop(fb, "name")); in display_ffb()
393 card.slot = get_id(fb); in display_ffb()
397 value = get_prop_val(find_prop(fb, "board_type")); in display_ffb()
414 value = get_prop_val(find_prop(fb, in display_ffb()
424 value = get_prop_val(find_prop(fb, "model")); in display_ffb()
441 value = get_prop_val(find_prop(fb, "upa-portid")); in display_ffb()
[all …]
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_anal.c194 char fb[NDLBUFSZ]; in type_ident_decl1() local
206 type_ident_decl1(tup->up, fb, NDLBUFSZ, ident); in type_ident_decl1()
208 "", ti->type_name->n_sym->name, *fb ? " " : "", fb); in type_ident_decl1()
212 type_ident_decl1(tup->up, fb, NDLBUFSZ, ident); in type_ident_decl1()
214 "struct ", ti->type_name->n_sym->name, *fb ? " " : "", fb); in type_ident_decl1()
218 type_ident_decl1(tup->up, fb, NDLBUFSZ, ident); in type_ident_decl1()
220 "union ", ti->type_name->n_sym->name, *fb ? " " : "", fb); in type_ident_decl1()
229 p = fb; in type_ident_decl1()
233 p = fb; in type_ident_decl1()
246 p = fb; in type_ident_decl1()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfstat.c814 struct frentry fb, *fg; local
820 fb.fr_next = fp;
829 rule.iri_rule = &fb;
907 struct frentry fb, *fg; local
912 fb.fr_next = fp;
918 fp = fb.fr_next;
919 if (kmemcpy((char *)&fb, (u_long)fb.fr_next,
928 if (fb.fr_dsize) {
936 fb.fr_data = data;
960 if (fb.fr_data != NULL && fb.fr_dsize > 0)
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dshmem.h631 #define SHMEM_ARRAY_BITPOS(i, eb, fb) \ argument
632 ((((32/(fb)) - 1 - ((i)/((fb)/(eb))) % (32/(fb))) * (fb)) + \
633 (((i)%((fb)/(eb))) * (eb)))
635 #define SHMEM_ARRAY_GET(a, i, eb, fb) \ argument
636 ((a[SHMEM_ARRAY_ENTRY(i, eb)] >> SHMEM_ARRAY_BITPOS(i, eb, fb)) & \
639 #define SHMEM_ARRAY_SET(a, i, eb, fb, val) \ argument
642 SHMEM_ARRAY_BITPOS(i, eb, fb)); \
644 SHMEM_ARRAY_BITPOS(i, eb, fb)); \
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintfr.c201 fakebpf_t *fb; local
205 i = fp->fr_dsize / sizeof(*fb);
207 for (fb = fp->fr_data, s = ""; i; i--, fb++, s = " ")
208 printf("%s%#x %#x %#x %#x", s, fb->fb_c, fb->fb_t,
209 fb->fb_f, fb->fb_k);
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A Dtst.random.out3 libdis_test+0x8: 0f c7 fb rdseed %ebx
4 libdis_test+0xb: 0f c7 fb rdseed %ebx
H A D64.bmi2.out25 libdis_test+0x7a: c4 e3 fb f0 d8 03 rorx $0x3,%rax,%rbx
26 libdis_test+0x80: c4 e3 fb f0 18 03 rorx $0x3,(%rax),%rbx
31 libdis_test+0x9a: c4 e2 fb f7 cb shrx %rax,%rbx,%rcx
32 libdis_test+0x9f: c4 e2 fb f7 0b shrx %rax,(%rbx),%rcx
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dbase64.c51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) in base64encode() argument
64 fp = fe = (unsigned char*)fb; in base64encode()
162 base64decode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) in base64decode() argument
184 fp = (unsigned char*)fb; in base64decode()

1234