/freebsd-9.3-release/contrib/groff/src/devices/xditview/ |
H A D | parse.c | 51 #define HorizontalMove(dw, delta) ((dw)->dvi.state->x += (delta)) 55 ParseInput(register DviWidget dw) argument 69 if (!dw->dvi.state) 70 push_env (dw); 72 switch (DviGetC(dw, &c)) { 79 push_env(dw); 82 pop_env(dw); 89 HorizontalMove(dw, (c-'0')*10 + 90 DviGetC(dw, 195 push_env(DviWidget dw) argument 213 pop_env(DviWidget dw) argument 223 InitTypesetter(DviWidget dw) argument 234 ParseDrawFunction(DviWidget dw, char *buf) argument 316 ParseDeviceControl(DviWidget dw) argument [all...] |
H A D | draw.c | 21 #define DeviceToX(dw, n) ((int)((n) * (dw)->dvi.scale_factor + .5)) 22 #define XPos(dw) (DeviceToX((dw), (dw)->dvi.state->x - \ 23 (dw)->dvi.text_device_width) + (dw)->dvi.text_x_width) 24 #define YPos(dw) (DeviceToX((dw), (dw) 32 HorizontalMove(DviWidget dw, int delta) argument 38 HorizontalGoto(DviWidget dw, int NewPosition) argument 44 VerticalMove(DviWidget dw, int delta) argument 50 VerticalGoto(DviWidget dw, int NewPosition) argument 56 AdjustCacheDeltas(DviWidget dw) argument 97 FlushCharCache(DviWidget dw) argument 118 Newline(DviWidget dw) argument 126 Word(DviWidget dw) argument 156 DoCharacter(DviWidget dw, int c, int wid) argument 243 FindCharWidth(DviWidget dw, char *buf, int *widp) argument 274 PutCharacter(DviWidget dw, char *buf) argument 300 FakeCharacter(DviWidget dw, char *buf, int wid) argument 342 PutNumberedCharacter(DviWidget dw, int c) argument 383 ClearPage(DviWidget dw) argument 389 setGC(DviWidget dw) argument 412 setFillGC(DviWidget dw) argument 438 DrawLine(DviWidget dw, int x, int y) argument 452 DrawCircle(DviWidget dw, int diam) argument 465 DrawFilledCircle(DviWidget dw, int diam) argument 481 DrawEllipse(DviWidget dw, int a, int b) argument 491 DrawFilledEllipse(DviWidget dw, int a, int b) argument 504 DrawArc(DviWidget dw, int x_0, int y_0, int x_1, int y_1) argument 530 DrawPolygon(DviWidget dw, int *v, int n) argument 559 DrawFilledPolygon(DviWidget dw, int *v, int n) argument 644 DrawSpline(DviWidget dw, int *v, int n) argument [all...] |
H A D | page.c | 19 MapPageNumberToFileMap (DviWidget dw, int number) argument 23 for (m = dw->dvi.file_map; m; m=m->next) 41 ForgetPagePositions (DviWidget dw) argument 43 DestroyFileMap (dw->dvi.file_map); 44 dw->dvi.file_map = 0; 48 RememberPagePosition(DviWidget dw, int number) argument 52 if (!(m = MapPageNumberToFileMap (dw, number))) { 55 m->next = dw->dvi.file_map; 56 dw->dvi.file_map = m; 58 if (dw 65 SearchPagePosition(DviWidget dw, int number) argument 75 FileSeek(DviWidget dw, long position) argument [all...] |
H A D | lex.c | 8 DviGetAndPut(DviWidget dw, int *cp) argument 10 if (dw->dvi.ungot) { 11 dw->dvi.ungot = 0; 12 *cp = getc (dw->dvi.file); 15 *cp = getc (dw->dvi.file); 17 putc (*cp, dw->dvi.tmpFile); 23 GetLine(DviWidget dw, char *Buffer, int Length) argument 29 while (DviGetC (dw, &c) != EOF) { 33 DviUngetC(dw, c); 43 GetWord(DviWidget dw, cha argument 64 GetNumber(DviWidget dw) argument [all...] |
H A D | Dvi.c | 60 #define MY_WIDTH(dw) ((int)(dw->dvi.paperwidth * dw->dvi.scale_factor + .5)) 61 #define MY_HEIGHT(dw) ((int)(dw->dvi.paperlength * dw->dvi.scale_factor + .5)) 200 DviWidget dw = (DviWidget) new_wd; local 202 dw->dvi.current_page = 0; 203 dw->dvi.font_map = 0; 204 dw 251 DviWidget dw = (DviWidget) w; local 308 DviWidget dw = (DviWidget) w; local 333 DviWidget dw = (DviWidget) w; local 408 DviWidget dw = (DviWidget)wdw; local 420 CloseFile(DviWidget dw) argument 427 OpenFile(DviWidget dw) argument 441 DviWidget dw = (DviWidget) w; local 456 SetDevice(DviWidget dw, const char *name) argument 493 ShowDvi(DviWidget dw) argument 514 FindPage(DviWidget dw) argument 568 DviWidget dw = (DviWidget)w; local [all...] |
H A D | font.c | 33 LookupFontByPosition (DviWidget dw, int position) argument 37 for (f = dw->dvi.fonts; f; f = f->next) 44 MaxFontPosition (DviWidget dw) argument 49 for (f = dw->dvi.fonts; f; f = f->next) 56 LookupFontSizeBySize (DviWidget dw, DviFontList *f, int size) argument 66 decipointsize = (10*size)/dw->dvi.sizescale; 79 fontName.ResolutionX = dw->dvi.display_resolution; 80 fontName.ResolutionY = dw->dvi.display_resolution; 89 if (dw->dvi.sizescale*fs->size <= 10*size 139 InstallFontSizes (DviWidget dw, cons argument 185 DisposeFontSizes(DviWidget dw, DviFontSizeList *fs) argument 202 InstallFont(DviWidget dw, int position, const char *dvi_name, const char *x_name) argument 252 ForgetFonts(DviWidget dw) argument 283 MapDviNameToXName(DviWidget dw, const char *dvi_name) argument 307 ParseFontMap(DviWidget dw) argument 359 SetFontPosition(DviWidget dw, int position, const char *dvi_name, const char *extra) argument 372 QueryFont(DviWidget dw, int position, int size) argument 397 QueryDeviceFont(DviWidget dw, int position) argument 408 QueryFontMap(DviWidget dw, int position) argument [all...] |
H A D | DviP.h | 186 #define DviGetIn(dw,cp)\ 187 (dw->dvi.tmpFile ? (\ 188 DviGetAndPut (dw, cp) \ 190 (*cp = getc (dw->dvi.file))\ 193 #define DviGetC(dw, cp)\ 194 (dw->dvi.readingTmp ? (\ 195 ((*cp = getc (dw->dvi.tmpFile)) == EOF) ? (\ 196 fseek (dw->dvi.tmpFile, 0l, 2),\ 197 (dw->dvi.readingTmp = 0),\ 198 DviGetIn (dw,c [all...] |
/freebsd-9.3-release/sys/contrib/ia64/libuwx/src/ |
H A D | uwx_swap.h | 26 extern void uwx_swap8(uint64_t *dw);
|
H A D | uwx_swap.c | 46 void uwx_swap8(uint64_t *dw) argument 51 p = (unsigned char *) dw;
|
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | dwarf.c | 147 mfgtid_next(dwarf_t *dw) argument 149 return (++dw->dw_mfgtid_last); 153 tdesc_add(dwarf_t *dw, tdesc_t *tdp) argument 155 hash_add(dw->dw_tidhash, tdp); 159 tdesc_lookup(dwarf_t *dw, int tid) argument 166 if (hash_find(dw->dw_tidhash, &tmpl, &tdp)) 266 die_off(dwarf_t *dw, Dwarf_Die die) argument 270 if (dwarf_dieoffset(die, &off, &dw->dw_err) == DW_DLV_OK) 274 dwarf_errmsg(&dw->dw_err)); 280 die_sibling(dwarf_t *dw, Dwarf_Di argument 298 die_child(dwarf_t *dw, Dwarf_Die die) argument 315 die_tag(dwarf_t *dw, Dwarf_Die die) argument 329 die_attr(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, int req) argument 352 die_signed(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Signed *valp, int req) argument 367 die_unsigned(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Unsigned *valp, int req) argument 382 die_bool(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Bool *valp, int req) argument 397 die_string(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, char **strp, int req) argument 416 die_attr_ref(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name) argument 429 die_name(dwarf_t *dw, Dwarf_Die die) argument 439 die_isdecl(dwarf_t *dw, Dwarf_Die die) argument 447 die_isglobal(dwarf_t *dw, Dwarf_Die die) argument 463 die_add(dwarf_t *dw, Dwarf_Off off) argument 475 die_lookup_pass1(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name) argument 487 die_mem_offset(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Unsigned *valp, int req __unused) argument 555 tdesc_intr_common(dwarf_t *dw, int tid, const char *name, size_t sz) argument 588 tdesc_intr_void(dwarf_t *dw) argument 597 tdesc_intr_long(dwarf_t *dw) argument 613 tdesc_intr_clone(dwarf_t *dw, tdesc_t *old, size_t bitsz) argument 638 tdesc_array_create(dwarf_t *dw, Dwarf_Die dim, tdesc_t *arrtdp, tdesc_t *dimtdp) argument 700 die_array_create(dwarf_t *dw, Dwarf_Die arr, Dwarf_Off off, tdesc_t *tdp) argument 745 dwarf_t *dw = private; local 793 die_enum_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 871 dwarf_t *dw = private; local 914 die_sou_create(dwarf_t *dw, Dwarf_Die str, Dwarf_Off off, tdesc_t *tdp, int type, const char *typename) argument 1069 die_struct_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1075 die_union_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1084 dwarf_t *dw = private; local 1163 die_funcptr_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1338 die_base_type2enc(dwarf_t *dw, Dwarf_Off off, Dwarf_Signed enc, size_t sz) argument 1366 die_base_from_dwarf(dwarf_t *dw, Dwarf_Die base, Dwarf_Off off, size_t sz) argument 1416 die_base_create(dwarf_t *dw, Dwarf_Die base, Dwarf_Off off, tdesc_t *tdp) argument 1467 die_through_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp, int type, const char *typename) argument 1498 die_typedef_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1504 die_const_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1510 die_pointer_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1516 die_restrict_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1522 die_volatile_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument 1529 die_function_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp __unused) argument 1621 die_variable_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp __unused) argument 1661 die_lexblk_descend(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off __unused, tdesc_t *tdp __unused) argument 1716 die_create_one(dwarf_t *dw, Dwarf_Die die) argument 1751 die_create(dwarf_t *dw, Dwarf_Die die) argument 1793 die_resolve(dwarf_t *dw) argument 1884 dwarf_t dw; local [all...] |
/freebsd-9.3-release/sys/crypto/camellia/ |
H A D | camellia.c | 444 uint32_t kw4l, kw4r, dw, tl, tr; local 520 dw = subl(1) & subl(9), subr(1) ^= CAMELLIA_RL1(dw); 525 dw = subl(1) & subl(17), subr(1) ^= CAMELLIA_RL1(dw); 537 dw = kw4l & subl(16), kw4r ^= CAMELLIA_RL1(dw); 542 dw = kw4l & subl(8), kw4r ^= CAMELLIA_RL1(dw); 562 dw 651 uint32_t kw4l, kw4r, dw, tl, tr; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/camellia/ |
H A D | camellia.c | 478 u32 kw4l, kw4r, dw, tl, tr; local 617 dw = subl(1) & subl(9), subr(1) ^= CAMELLIA_RL1(dw); /* modified for 629 dw = subl(1) & subl(17), subr(1) ^= CAMELLIA_RL1(dw); /* modified for 657 dw = kw4l & subl(16), kw4r ^= CAMELLIA_RL1(dw); /* modified for FL(kl3) */ 668 dw = kw4l & subl(8), kw4r ^= CAMELLIA_RL1(dw); /* modified for FL(kl1) */ 696 dw 808 u32 kw4l, kw4r, dw, tl, tr; local [all...] |
/freebsd-9.3-release/usr.sbin/makefs/cd9660/ |
H A D | cd9660_conversion.c | 99 cd9660_bothendian_dword(uint32_t dw, unsigned char *eightchar) argument 103 le = dw; 104 be = bswap32(dw); 107 be = dw; 108 le = bswap32(dw); 121 cd9660_bothendian_word(uint16_t dw, unsigned char *fourchar) argument 125 le = dw; 126 be = bswap16(dw); 129 be = dw; 130 le = bswap16(dw); [all...] |
/freebsd-9.3-release/sys/dev/mge/ |
H A D | if_mge.c | 134 struct mge_desc_wrapper *dw); 405 struct mge_desc_wrapper *dw; local 411 dw = &(tab[i]); 413 (void**)&(dw->mge_desc), 415 &(dw->desc_dmap)); 419 dw->mge_desc = NULL; 423 error = bus_dmamap_load(sc->mge_desc_dtag, dw->desc_dmap, 424 dw->mge_desc, sizeof(struct mge_desc), mge_get_dma_addr, 425 &(dw->mge_desc_paddr), BUS_DMA_NOWAIT); 429 bus_dmamem_free(sc->mge_desc_dtag, dw 476 struct mge_desc_wrapper *dw; local 512 struct mge_desc_wrapper *dw; local 557 struct mge_desc_wrapper *dw; local 863 struct mge_desc_wrapper *dw; local 1047 struct mge_desc_wrapper* dw; local 1144 struct mge_desc_wrapper *dw; local 1366 struct mge_desc_wrapper *dw = NULL; local 1518 struct mge_desc_wrapper *dw; local 1618 mge_offload_setup_descriptor(struct mge_softc *sc, struct mge_desc_wrapper *dw) argument [all...] |
/freebsd-9.3-release/lib/libutil/ |
H A D | login_times.c | 36 const char *dw; member in struct:__anon5375 83 while (dws[i].dw && strncmp(p, dws[i].dw, dws[i].cn) != 0) 85 if (dws[i].dw == NULL)
|
/freebsd-9.3-release/contrib/dialog/ |
H A D | util.c | 78 #define UseShadow(dw) ((dw) != 0 && (dw)->normal != 0 && (dw)->shadow != 0) 1366 window_at_cell(DIALOG_WINDOWS * dw, int y, int x) argument 1370 int y_want = y + getbegy(dw->shadow); 1371 int x_want = x + getbegx(dw->shadow); 1374 if (dw->normal != p->normal 1375 && dw->shadow != p->normal 1421 last_shadow(DIALOG_WINDOWS * dw, in argument 1437 repaint_cell(DIALOG_WINDOWS * dw, bool draw, int y, int x) argument 1472 repaint_shadow(DIALOG_WINDOWS * dw, bool draw, int y, int x, int height, int width) argument 1503 draw_childs_shadow(DIALOG_WINDOWS * dw) argument 1520 erase_childs_shadow(DIALOG_WINDOWS * dw) argument [all...] |
/freebsd-9.3-release/usr.bin/ncal/ |
H A D | ncal.c | 767 int dw; /* width of numbers */ local 803 /* Set ds (daystring) and dw (daywidth) according to the jd_flag. */ 806 dw = 4; 809 dw = 3; 819 for (j = firstm + i, k = 0; j < last; j += 7, k += dw) { 828 ds + dt.d * dw, dw, &l); 831 ds + dt.d * dw, dw); 833 memcpy(mlines->lines[i] + k + l, " ", dw); 858 int dw; /* width of numbers */ local [all...] |
/freebsd-9.3-release/contrib/amd/amq/ |
H A D | amq.c | 91 int dw = strlen(mt->mt_directory); local 95 if (dw > *dwid) 96 *dwid = dw; 216 int dw = strlen(mi->mi_mountpt); local 220 if (dw > *dwid) 221 *dwid = dw;
|
/freebsd-9.3-release/contrib/gcclibs/libdecnumber/ |
H A D | decimal128.c | 80 decNumber dw; /* work */ local 97 decNumberPlus (&dw, dn, &dc); /* (round and check) */ 100 dn = &dw; /* use the work number */
|
H A D | decimal32.c | 80 decNumber dw; /* work */ local 97 decNumberPlus (&dw, dn, &dc); /* (round and check) */ 100 dn = &dw; /* use the work number */
|
H A D | decimal64.c | 80 decNumber dw; /* work */ local 97 decNumberPlus (&dw, dn, &dc); /* (round and check) */ 100 dn = &dw; /* use the work number */
|
/freebsd-9.3-release/sys/geom/bde/ |
H A D | g_bde.c | 94 g_bde_access(struct g_provider *pp, int dr, int dw, int de) argument 106 if ((cp->acr + dr) == 0 && (cp->acw + dw) == 0 && (cp->ace + de) == 1) { 110 return (g_access(cp, dr, dw, de));
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | sched-deps.c | 403 dw_t dw; 405 dw = estimate_dep_weak (mem1, mem2); 406 ds = set_dep_weak (ds, BEGIN_DATA, dw); 2085 set_dep_weak (ds_t ds, ds_t type, dw_t dw) 2087 gcc_assert (MIN_DEP_WEAK <= dw && dw <= MAX_DEP_WEAK); 2092 case BEGIN_DATA: ds |= ((ds_t) dw) << BEGIN_DATA_BITS_OFFSET; break; 2093 case BE_IN_DATA: ds |= ((ds_t) dw) << BE_IN_DATA_BITS_OFFSET; break; 2094 case BEGIN_CONTROL: ds |= ((ds_t) dw) << BEGIN_CONTROL_BITS_OFFSET; break; 2095 case BE_IN_CONTROL: ds |= ((ds_t) dw) << BE_IN_CONTROL_BITS_OFFSE 397 dw_t dw; local 2075 set_dep_weak(ds_t ds, ds_t type, dw_t dw) argument 2110 ds_t dw; local [all...] |
/freebsd-9.3-release/sys/geom/ |
H A D | geom_fox.c | 286 g_fox_access(struct g_provider *pp, int dr, int dw, int de) argument 297 if (dr <= 0 && dw <= 0 && de <= 0) 329 error = g_access(sc->path, dr, dw, de); 332 sc->cw += dw;
|
/freebsd-9.3-release/sys/dev/oce/ |
H A D | oce_hw.h | 593 uint32_t dw[59]; member in union:oce_mbx_payload::__anon8597 664 uint32_t dw[4]; member in union:oce_mq_cqe::__anon8601 721 uint32_t dw[4]; member in union:oce_async_cqe_link_state::__anon8603 748 uint32_t dw[6]; member in union:oce_mq_ext_ctx_u 964 uint32_t dw[4]; member in union:mbx_hdr::__anon8607 967 /* dw 0 */ 972 /* dw 1 */ 974 /* dw 2 */ 976 /* dw 3 */ 980 /* dw 1092 uint32_t dw; member in union:mbx_set_common_link_speed::__anon8613 1148 uint32_t dw[2]; member in union:mbx_set_common_iface_mac::__anon8619 1172 uint32_t dw[49]; member in union:mbx_set_common_iface_multicast::__anon8622 1215 uint32_t dw[4]; member in union:mbx_create_common_iface::__anon8627 1231 uint32_t dw; member in union:mbx_destroy_common_iface::__anon8630 1316 uint32_t dw[5]; member in union:oce_cq_ctx_u 1448 uint32_t dw[5]; member in union:oce_mq_ctx_u 2445 uint32_t dw[4]; member in union:oce_nic_hdr_wqe::__anon8713 2461 uint32_t dw[4]; member in union:oce_nic_frag_wqe::__anon8715 2516 uint32_t dw[4]; member in union:oce_nic_tx_cqe::__anon8717 2529 uint32_t dw[2]; member in union:oce_nic_rqe::__anon8719 2613 uint32_t dw[4]; member in union:oce_nic_rx_cqe::__anon8721 2694 uint32_t dw[4]; member in union:oce_nic_rx_cqe_v1::__anon8723 2724 uint32_t dw[17]; member in union:oce_wq_ctx_u [all...] |