Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 25 of 94) 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.c21 whash(FILE *ft, FILE *fa, FILE *fb, int nhash, int iflong, in whash() argument
47 if (iflong) putl(-1L, fb); in whash()
48 else putw(-1, fb); in whash()
60 putl(opoint = point, fb); in whash()
62 putw((int)(opoint = point), fb); in whash()
67 if (iflong) putl(-1L, fb); in whash()
68 else putw(-1, fb); in whash()
H A Dinv1.c39 FILE *fa, *fb, *fc, *fta, *ftb, *ftc; in main() local
111 fb = 0; in main()
113 if (fb = fopen(nmb, "r")) { in main()
118 nhash = recopy(ftb, fb, fopen(nma, "r")); in main()
149 fb = fopen(nmb, "w"); in main()
150 whash(fta, fa, fb, nhash, iflong, &keys, &hashes); in main()
H A Dhunt1.c57 static FILE *fa, *fb, *fc; in main() local
153 fclose(fb); in main()
161 fb = NULL; in main()
164 fb = fopen(nmb, "r"); in main()
167 if (fb == NULL || fc == NULL) { in main()
171 indexdate = gdate(fb); in main()
202 if (fb != NULL) { in main()
203 nfound = doquery(hpt, nhash, fb, nitem, qitem, master); in main()
H A Dhunt2.c35 doquery(long *hpt, int nhash, FILE *fb, int nitem, in doquery() argument
99 assert(fb != NULL); in doquery()
100 assert(fseek(fb, lp, 0) != -1); in doquery()
103 master.b[i] = getl(fb); in doquery()
105 master.a[i] = getw(fb); in doquery()
135 assert(fseek(fb, lp, 0) != -1); in doquery()
143 k = getl(fb); in doquery()
145 k = getw(fb); in doquery()
293 getl(FILE *fb) in getl() argument
295 return (getw(fb)); in getl()
H A Dinv5.c21 recopy(FILE *ft, FILE *fb, FILE *fa, int nhash) in recopy() argument
56 fseek(fb, lp, 0); in recopy()
57 while ((k = (*getfun)(fb)) != -1) in recopy()
60 fclose(fb); in recopy()
H A Dhunt8.c38 FILE *fa, *fb; in makefgrep() local
45 fb = iopen(indexname, ""); in makefgrep()
46 if (gdate(fb) > gdate(fa)) { in makefgrep()
54 unopen(fb); in makefgrep()
H A Dglue1.c61 static FILE *fa, *fb, *fc; in huntmain() local
146 unopen(fb); in huntmain()
154 fb = iopen(indexname, ".ib"); in huntmain()
158 fprintf(stderr, "opened f's as %o %o %o\n", fa, fb, fc); in huntmain()
160 indexdate = gdate(fb); in huntmain()
243 fprintf(stderr, "approaching doquery fb %o\n", fb); in huntmain()
245 nfound = doquery(hpt, nhash, fb, nitem, qitem, masterp); in huntmain()
/illumos-gate/usr/src/lib/libc/port/fp/
H A D__flt_decim.c268 __ieee_flags_type fb; in __fast_double_to_decimal() local
277 __get_ieee_flags(&fb); in __fast_double_to_decimal()
292 __set_ieee_flags(&fb); in __fast_double_to_decimal()
298 __set_ieee_flags(&fb); in __fast_double_to_decimal()
316 __get_ieee_flags(&fb); in __fast_double_to_decimal()
345 __set_ieee_flags(&fb); in __fast_double_to_decimal()
358 __set_ieee_flags(&fb); in __fast_double_to_decimal()
371 __set_ieee_flags(&fb); in __fast_double_to_decimal()
388 __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/
H A Dprintfr.c199 fakebpf_t *fb; local
203 i = fp->fr_dsize / sizeof(*fb);
205 for (fb = fp->fr_data, s = ""; i; i--, fb++, s = " ")
206 printf("%s%#x %#x %#x %#x", s, fb->fb_c, fb->fb_t,
207 fb->fb_f, fb->fb_k);
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A Dtst.random.out3 libdis_test+0x7: 66 0f c7 fb rdseed %bx
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