Searched refs:dw (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-11-stable/contrib/groff/src/devices/xditview/
H A Dparse.c51 #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 Ddraw.c21 #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 Dpage.c19 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 Dlex.c8 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 DDvi.c60 #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 Dfont.c33 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 DDviP.h186 #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-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Ddwarf.c144 mfgtid_next(dwarf_t *dw) argument
146 return (++dw->dw_mfgtid_last);
150 tdesc_add(dwarf_t *dw, tdesc_t *tdp) argument
152 hash_add(dw->dw_tidhash, tdp);
156 tdesc_lookup(dwarf_t *dw, int tid) argument
163 if (hash_find(dw->dw_tidhash, &tmpl, &tdp))
263 die_off(dwarf_t *dw, Dwarf_Die die) argument
267 if (dwarf_dieoffset(die, &off, &dw->dw_err) == DW_DLV_OK)
271 dwarf_errmsg(dw->dw_err));
277 die_sibling(dwarf_t *dw, Dwarf_Di argument
295 die_child(dwarf_t *dw, Dwarf_Die die) argument
312 die_tag(dwarf_t *dw, Dwarf_Die die) argument
326 die_attr(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, int req) argument
349 die_signed(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Signed *valp, int req) argument
364 die_unsigned(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Unsigned *valp, int req) argument
379 die_bool(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Bool *valp, int req) argument
394 die_string(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, char **strp, int req) argument
413 die_attr_ref(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name) argument
426 die_name(dwarf_t *dw, Dwarf_Die die) argument
438 die_isdecl(dwarf_t *dw, Dwarf_Die die) argument
446 die_isglobal(dwarf_t *dw, Dwarf_Die die) argument
462 die_add(dwarf_t *dw, Dwarf_Off off) argument
474 die_lookup_pass1(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name) argument
486 die_mem_offset(dwarf_t *dw, Dwarf_Die die, Dwarf_Half name, Dwarf_Unsigned *valp, int req __unused) argument
563 tdesc_intr_common(dwarf_t *dw, int tid, const char *name, size_t sz) argument
596 tdesc_intr_void(dwarf_t *dw) argument
605 tdesc_intr_long(dwarf_t *dw) argument
621 tdesc_intr_clone(dwarf_t *dw, tdesc_t *old, size_t bitsz) argument
646 tdesc_array_create(dwarf_t *dw, Dwarf_Die dim, tdesc_t *arrtdp, tdesc_t *dimtdp) argument
712 die_array_create(dwarf_t *dw, Dwarf_Die arr, Dwarf_Off off, tdesc_t *tdp) argument
764 dwarf_t *dw = private; local
813 die_enum_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
902 dwarf_t *dw = private; local
945 die_sou_create(dwarf_t *dw, Dwarf_Die str, Dwarf_Off off, tdesc_t *tdp, int type, const char *typename) argument
1118 die_struct_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1124 die_union_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1133 dwarf_t *dw = private; local
1217 die_funcptr_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1392 die_base_type2enc(dwarf_t *dw, Dwarf_Off off, Dwarf_Signed enc, size_t sz) argument
1420 die_base_from_dwarf(dwarf_t *dw, Dwarf_Die base, Dwarf_Off off, size_t sz) argument
1470 die_base_create(dwarf_t *dw, Dwarf_Die base, Dwarf_Off off, tdesc_t *tdp) argument
1528 die_through_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp, int type, const char *typename) argument
1559 die_typedef_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1565 die_const_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1571 die_pointer_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1577 die_restrict_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1583 die_volatile_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1590 die_function_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp __unused) argument
1682 die_variable_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp __unused) argument
1722 die_lexblk_descend(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off __unused, tdesc_t *tdp __unused) argument
1777 die_create_one(dwarf_t *dw, Dwarf_Die die) argument
1812 die_create(dwarf_t *dw, Dwarf_Die die) argument
1854 die_resolve(dwarf_t *dw) argument
1945 dwarf_t dw; local
[all...]
/freebsd-11-stable/sys/crypto/camellia/
H A Dcamellia.c444 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-11-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c101 cd9660_bothendian_dword(uint32_t dw, unsigned char *eightchar) argument
105 le = dw;
106 be = bswap32(dw);
109 be = dw;
110 le = bswap32(dw);
123 cd9660_bothendian_word(uint16_t dw, unsigned char *fourchar) argument
127 le = dw;
128 be = bswap16(dw);
131 be = dw;
132 le = bswap16(dw);
[all...]
/freebsd-11-stable/sys/dev/mge/
H A Dif_mge.c148 struct mge_desc_wrapper *dw);
559 struct mge_desc_wrapper *dw; local
565 dw = &(tab[i]);
567 (void**)&(dw->mge_desc),
569 &(dw->desc_dmap));
573 dw->mge_desc = NULL;
577 error = bus_dmamap_load(sc->mge_desc_dtag, dw->desc_dmap,
578 dw->mge_desc, sizeof(struct mge_desc), mge_get_dma_addr,
579 &(dw->mge_desc_paddr), BUS_DMA_NOWAIT);
583 bus_dmamem_free(sc->mge_desc_dtag, dw
630 struct mge_desc_wrapper *dw; local
666 struct mge_desc_wrapper *dw; local
712 struct mge_desc_wrapper *dw; local
1090 struct mge_desc_wrapper *dw; local
1330 struct mge_desc_wrapper* dw; local
1430 struct mge_desc_wrapper *dw; local
1648 struct mge_desc_wrapper *dw = NULL; local
1822 struct mge_desc_wrapper *dw; local
1923 mge_offload_setup_descriptor(struct mge_softc *sc, struct mge_desc_wrapper *dw) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DWindowsMMap.c126 DWORD dw = GetLastError(); local
129 if (!blocking && dw == ERROR_LOCK_VIOLATION)
134 if (dw != ERROR_IO_PENDING)
/freebsd-11-stable/lib/libutil/
H A Dlogin_times.c36 const char *dw; member in struct:__anon6942
83 while (dws[i].dw && strncmp(p, dws[i].dw, dws[i].cn) != 0)
85 if (dws[i].dw == NULL)
/freebsd-11-stable/contrib/libpcap/msdos/
H A Dpkt_rx1.s30 _rxOutOfs dw offset _pktRxBuf ; ring buffer offsets
31 _rxInOfs dw offset _pktRxBuf ; into _pktRxBuf
32 _pktDrop dw 0,0 ; packet drop counter
38 screenSeg dw 0B800h
39 newInOffset dw 0
42 fanIndex dw 0
H A Dpkt_rx0.asm46 firstCount dw 0 ; # of bytes on 1st call
47 secondCount dw 0 ; # of bytes on 2nd call
48 handle dw 0 ; handle for upcall
51 protocol dw 0 ; packet protocol number
55 _rxOutOfs dw offset _pktRxBuf ; ring buffer offsets
56 _rxInOfs dw offset _pktRxBuf ; into _pktRxBuf
57 _pktDrop dw 0,0 ; packet drop counter
63 screenSeg dw 0B800h
64 newInOffset dw 0
67 fanIndex dw
[all...]
/freebsd-11-stable/usr.bin/ncal/
H A Dncal.c771 int dw; /* width of numbers */ local
807 /* Set ds (daystring) and dw (daywidth) according to the jd_flag. */
810 dw = 4;
813 dw = 3;
823 for (j = firstm + i, k = 0; j < last; j += 7, k += dw) {
832 ds + dt.d * dw, dw, &l);
835 ds + dt.d * dw, dw);
837 memcpy(mlines->lines[i] + k + l, " ", dw);
862 int dw; /* width of numbers */ local
[all...]
/freebsd-11-stable/contrib/dialog/
H A Dutil.c92 #define UseShadow(dw) ((dw) != 0 && (dw)->normal != 0 && (dw)->shadow != 0)
1504 window_at_cell(DIALOG_WINDOWS * dw, int y, int x) argument
1508 int y_want = y + getbegy(dw->shadow);
1509 int x_want = x + getbegx(dw->shadow);
1512 if (dw->normal != p->normal
1513 && dw->shadow != p->normal
1559 last_shadow(DIALOG_WINDOWS * dw, in argument
1575 repaint_cell(DIALOG_WINDOWS * dw, bool draw, int y, int x) argument
1610 repaint_shadow(DIALOG_WINDOWS * dw, bool draw, int y, int x, int height, int width) argument
1641 draw_childs_shadow(DIALOG_WINDOWS * dw) argument
1658 erase_childs_shadow(DIALOG_WINDOWS * dw) argument
[all...]
/freebsd-11-stable/contrib/gcclibs/libdecnumber/
H A Ddecimal128.c80 decNumber dw; /* work */ local
97 decNumberPlus (&dw, dn, &dc); /* (round and check) */
100 dn = &dw; /* use the work number */
H A Ddecimal32.c80 decNumber dw; /* work */ local
97 decNumberPlus (&dw, dn, &dc); /* (round and check) */
100 dn = &dw; /* use the work number */
H A Ddecimal64.c80 decNumber dw; /* work */ local
97 decNumberPlus (&dw, dn, &dc); /* (round and check) */
100 dn = &dw; /* use the work number */
/freebsd-11-stable/sys/geom/bde/
H A Dg_bde.c94 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-11-stable/contrib/amd/amq/
H A Damq.c101 int dw = strlen(mt->mt_directory); local
105 if (dw > *dwid)
106 *dwid = dw;
220 int dw = strlen(mi->mi_mountpt); local
224 if (dw > *dwid)
225 *dwid = dw;
/freebsd-11-stable/contrib/gcc/
H A Dsched-deps.c403 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-11-stable/sys/geom/
H A Dgeom_fox.c288 g_fox_access(struct g_provider *pp, int dr, int dw, int de) argument
299 if (dr <= 0 && dw <= 0 && de <= 0)
331 error = g_access(sc->path, dr, dw, de);
334 sc->cw += dw;
/freebsd-11-stable/sys/dev/oce/
H A Doce_hw.h597 uint32_t dw[59]; member in union:oce_mbx_payload::__anon7344
668 uint32_t dw[4]; member in union:oce_mq_cqe::__anon7348
725 uint32_t dw[4]; member in union:oce_async_cqe_link_state::__anon7350
780 uint32_t dw[6]; member in union:oce_mq_ext_ctx_u
996 uint32_t dw[4]; member in union:mbx_hdr::__anon7356
999 /* dw 0 */
1004 /* dw 1 */
1006 /* dw 2 */
1008 /* dw 3 */
1012 /* dw
1124 uint32_t dw; member in union:mbx_set_common_link_speed::__anon7362
1180 uint32_t dw[2]; member in union:mbx_set_common_iface_mac::__anon7368
1204 uint32_t dw[49]; member in union:mbx_set_common_iface_multicast::__anon7371
1247 uint32_t dw[4]; member in union:mbx_create_common_iface::__anon7376
1263 uint32_t dw; member in union:mbx_destroy_common_iface::__anon7379
1348 uint32_t dw[5]; member in union:oce_cq_ctx_u
1480 uint32_t dw[5]; member in union:oce_mq_ctx_u
2477 uint32_t dw[4]; member in union:oce_nic_hdr_wqe::__anon7462
2493 uint32_t dw[4]; member in union:oce_nic_frag_wqe::__anon7464
2548 uint32_t dw[4]; member in union:oce_nic_tx_cqe::__anon7466
2561 uint32_t dw[2]; member in union:oce_nic_rqe::__anon7468
2645 uint32_t dw[4]; member in union:oce_nic_rx_cqe::__anon7470
2726 uint32_t dw[4]; member in union:oce_nic_rx_cqe_v1::__anon7472
2756 uint32_t dw[17]; member in union:oce_wq_ctx_u
[all...]

Completed in 365 milliseconds

123