/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpz/ |
H A D | tdiv_qr.c | 37 mp_ptr np, dp, qp, rp; local 73 dp = PTR (den); 81 if (dp == rp || dp == qp) 85 MPN_COPY (tp, dp, dl); 86 dp = tp; 98 mpn_tdiv_qr (qp, rp, 0L, np, nl, dp, dl);
|
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpn/generic/ |
H A D | tdiv_qr.c | 1 /* mpn_tdiv_qr -- Divide the numerator (np,nn) by the denominator (dp,dn) and 38 mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn) 44 ASSERT (dn == 0 || dp[dn - 1] != 0); 46 ASSERT (! MPN_OVERLAP_P (qp, nn - dn + 1 + qxn, dp, dn)); 55 rp[0] = mpn_divrem_1 (qp, (mp_size_t) 0, np, nn, dp[0]); 65 if ((dp[1] & GMP_NUMB_HIGHBIT) == 0) 69 count_leading_zeros (cnt, dp[1]); 72 d2p[1] = (dp[1] << cnt) | (dp[0] >> (GMP_NUMB_BITS - cnt)); 73 d2p[0] = (dp[ 37 mpn_tdiv_qr(mp_ptr qp, mp_ptr rp, mp_size_t qxn, mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn) argument [all...] |
H A D | divrem.c | 30 mp_srcptr dp, mp_size_t dn) 35 ASSERT (dp[dn-1] & GMP_NUMB_HIGHBIT); 36 ASSERT (! MPN_OVERLAP_P (np, nn, dp, dn)); 38 ASSERT (! MPN_OVERLAP_P (qp, nn-dn+qxn, dp, dn)); 40 ASSERT_MPN (dp, dn); 52 np[0] = mpn_divrem_1 (q2p, qxn, np, nn, dp[0]); 62 return mpn_divrem_2 (qp, qxn, np, nn, dp); 80 mpn_tdiv_qr (q2p, rp, 0L, n2p, nn + qxn, dp, dn); 90 mpn_tdiv_qr (q2p, rp, 0L, np, nn, dp, dn); 28 mpn_divrem(mp_ptr qp, mp_size_t qxn, mp_ptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn) argument
|
H A D | trialdiv.c | 72 struct gmp_primes_dtab *dp; local 94 dp = &gmp_primes_dtab[idx] + np; 97 q = r * dp[j].binv; 98 if (q <= dp[j].lim) 101 return dp[j].binv;
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/stand/common/ |
H A D | devopen.c | 97 struct devsw *dp = devsw; local 100 for (i = 0; i < ndevs; i++, dp++) { 101 if (dp->dv_name && strncmp(dp->dv_name, d, len) == 0) { 133 for (dp = devsw, i = 0; i < ndevs; i++, dp++) 134 if (dp->dv_name) 135 printf(" %s", dp->dv_name); 245 struct devsw *dp = &devsw[0]; local 280 dp [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/ |
H A D | grf_machdep.c | 91 grfbusattach(device_t pdp, device_t dp, void *auxp) argument 95 config_search_ia(grfbussearch, dp, "grfb", NULL); 99 grfbussearch(device_t dp, cfdata_t match, const int *ldesc, void *aux) argument 102 config_found(dp, &match->cf_loc[GRFBCF_ADDR], grfbusprint); 133 grfattach(device_t parent, device_t dp, void *aux) argument 139 cf = device_cfdata(dp); 142 gp = device_private(dp); 143 gp->g_device = dp; 158 config_found(dp, gp, grfprint);
|
/netbsd-6-1-5-RELEASE/sys/dev/nand/ |
H A D | nand_micron.c | 135 const struct nand_micron_devices *dp; local 138 dp = nand_micron_device_lookup(devid); 139 if (dp == NULL) { 151 if (dp->width == 16) 157 chip->nc_lun_blocks = dp->lun_blocks; 158 chip->nc_num_luns = dp->num_luns; 160 dp->lun_blocks * dp->num_luns; 163 vendor, dp->name, chip->nc_size >> 20);
|
/netbsd-6-1-5-RELEASE/lib/libcurses/ |
H A D | tscroll.c | 86 char *dp; local 105 for (dp = result; (c = *cap++) != '\0';) { 107 *dp++ = c; 145 *dp++ = (n / 100) | '0'; 157 two: *dp++ = n / 10 | '0'; 158 one: *dp++ = n % 10 | '0'; 195 *dp++ = n; 210 *dp++ = c; 247 *dp = '\0';
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/format/ |
H A D | ext-7.c | 8 foo (char **sp, wchar_t **lsp, int *ip, float *fp, void **pp, double *dp) argument 16 scanf ("%las", dp); 20 scanf ("%la[bcd]", dp); 28 scanf ("%9las", dp); 30 scanf ("%48la[bcd]", dp);
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/libsa/ |
H A D | devopen.c | 95 struct devsw *dp = &devsw[0]; local 101 dp = &devsw[dev]; 103 if (dp->dv_open == NULL) 106 f->f_dev = dp; 108 if ((error = (*dp->dv_open)(f, unit, part)) == 0)
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | kern_hook.c | 144 struct hook_desc *dp; local 146 while ((dp = LIST_FIRST(&shutdownhook_list)) != NULL) { 147 LIST_REMOVE(dp, hk_list); 148 (*dp->hk_fn)(dp->hk_arg); 157 free(dp, M_DEVBUF); 349 struct powerhook_desc *dp; local 351 CIRCLEQ_FOREACH(dp, &powerhook_list, sfd_list) 352 if (dp == vhook) 369 struct powerhook_desc *dp; local [all...] |
H A D | uipc_domain.c | 109 domain_attach(struct domain *dp) argument 113 STAILQ_INSERT_TAIL(&domains, dp, dom_link); 114 if (dp->dom_family < __arraycount(domain_array)) 115 domain_array[dp->dom_family] = dp; 117 if (dp->dom_init) 118 (*dp->dom_init)(); 121 if (dp->dom_mowner.mo_name[0] == '\0') { 122 strncpy(dp->dom_mowner.mo_name, dp 141 struct domain *dp; local 155 struct domain *dp; local 172 struct domain *dp; local 403 char *dp; local 556 struct domain *dp; local 570 struct domain *dp; local 595 struct domain *dp; local 611 struct domain *dp; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/fsinfo/ |
H A D | fsi_analyze.c | 322 fixup_required_disk_info(disk_fs *dp) argument 327 if (ISSET(dp->d_mask, DF_FSTYPE)) { 328 if (STREQ(dp->d_fstype, "swap")) { 333 if (!ISSET(dp->d_mask, DF_PASSNO)) { 334 dp->d_passno = 0; 335 BITSET(dp->d_mask, DF_PASSNO); 336 } else if (dp->d_freq != 0) { 337 lwarning(dp->d_ioloc, 339 dp->d_host->h_hostname, dp 462 disk_fs *dp; local [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/ |
H A D | bn_mp_div.c | 177 ++(q.dp[n - t]); 194 if (x.dp[i] == y.dp[t]) { 195 q.dp[i - t - 1] = ((((mp_digit)1) << DIGIT_BIT) - 1); 198 tmp = ((mp_word) x.dp[i]) << ((mp_word) DIGIT_BIT); 199 tmp |= ((mp_word) x.dp[i - 1]); 200 tmp /= ((mp_word) y.dp[t]); 203 q.dp[i - t - 1] = (mp_digit) (tmp & (mp_word) (MP_MASK)); 211 q.dp[i - t - 1] = (q.dp[ [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/ |
H A D | tbl_term.c | 66 const struct tbl_dat *dp; local 126 dp = sp->first; 157 tbl_data(tp, sp->tbl, dp, col); 178 if (dp) { 179 spans = dp->spans; 180 dp = dp->next; 281 const struct tbl_dat *dp, 285 if (NULL == dp) { 289 assert(dp 280 tbl_data(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument 369 tbl_literal(struct termp *tp, const struct tbl_dat *dp, const struct roffcol *col) argument 404 tbl_number(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument [all...] |
H A D | out.c | 144 const struct tbl_dat *dp; local 169 for (dp = sp->first; dp; dp = dp->next) { 173 spans = dp->spans; 176 assert(dp->layout); 177 col = &tbl->cols[dp->layout->head->ident]; 178 tblcalc_data(tbl, col, sp->tbl, dp); 204 const struct tbl *tp, const struct tbl_dat *dp) 203 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl *tp, const struct tbl_dat *dp) argument 239 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp) argument 253 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl *tp, const struct tbl_dat *dp) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | vasnprintf.c | 148 DIRECTIVE *dp; local 216 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 218 if (cp != dp->dir_start) 220 size_t n = dp->dir_start - cp; 231 if (dp->conversion == '%') 235 if (!(dp->arg_index == ARG_NONE)) 244 if (!(dp->arg_index != ARG_NONE)) 247 if (dp [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/intl/ |
H A D | vasnprintf.c | 141 DIRECTIVE *dp; local 209 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 211 if (cp != dp->dir_start) 213 size_t n = dp->dir_start - cp; 224 if (dp->conversion == '%') 228 if (!(dp->arg_index == ARG_NONE)) 237 if (!(dp->arg_index != ARG_NONE)) 240 if (dp [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/rmi/ |
H A D | rmixl_cpu.c | 418 rmixl_cpu_data_print(struct cpu_data *dp) argument 420 printf("cpu_biglock_wanted %p\n", dp->cpu_biglock_wanted); 421 printf("cpu_callout %p\n", dp->cpu_callout); 422 printf("cpu_unused1 %p\n", dp->cpu_unused1); 423 printf("cpu_unused2 %d\n", dp->cpu_unused2); 424 printf("&cpu_schedstate %p\n", &dp->cpu_schedstate); /* TBD */ 425 printf("&cpu_xcall %p\n", &dp->cpu_xcall); /* TBD */ 426 printf("cpu_xcall_pending %d\n", dp->cpu_xcall_pending); 427 printf("cpu_onproc %p\n", dp->cpu_onproc); 428 printf("&cpu_qchain %p\n", &dp [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-runtime/intl/ |
H A D | vasnprintf.c | 144 DIRECTIVE *dp; local 212 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 214 if (cp != dp->dir_start) 216 size_t n = dp->dir_start - cp; 227 if (dp->conversion == '%') 231 if (!(dp->arg_index == ARG_NONE)) 240 if (!(dp->arg_index != ARG_NONE)) 243 if (dp [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-runtime/libasprintf/ |
H A D | vasnprintf.c | 144 DIRECTIVE *dp; local 212 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 214 if (cp != dp->dir_start) 216 size_t n = dp->dir_start - cp; 227 if (dp->conversion == '%') 231 if (!(dp->arg_index == ARG_NONE)) 240 if (!(dp->arg_index != ARG_NONE)) 243 if (dp [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/ |
H A D | unwind-ia64.c | 350 #define UNW_DEC_SPILL_MASK(fmt, dp, arg) \ 354 unsigned const char *imaskp = dp; \ 368 dp = imaskp; \ 588 unw_decode_x1 (const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, argument 594 byte1 = *dp++; 595 t = unw_decode_uleb128 (&dp); 596 off = unw_decode_uleb128 (&dp); 602 return dp; 606 unw_decode_x2 (const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, argument 612 byte1 = *dp 626 unw_decode_x3(const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, void *arg ATTRIBUTE_UNUSED) argument 648 unw_decode_x4(const unsigned char *dp, unsigned int code ATTRIBUTE_UNUSED, void *arg ATTRIBUTE_UNUSED) argument 672 unw_decode_r1(const unsigned char *dp, unsigned int code, void *arg) argument 683 unw_decode_r2(const unsigned char *dp, unsigned int code, void *arg) argument 698 unw_decode_r3(const unsigned char *dp, unsigned int code, void *arg) argument 708 unw_decode_p1(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 718 unw_decode_p2_p5(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 797 unw_decode_p6(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 811 unw_decode_p7_p10(const unsigned char *dp, unsigned int code, void *arg) argument 984 unw_decode_b1(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 997 unw_decode_b2(const unsigned char *dp, unsigned int code, void *arg ATTRIBUTE_UNUSED) argument 1008 unw_decode_b3_x4(const unsigned char *dp, unsigned int code, void *arg) argument 1074 unw_decode(const unsigned char *dp, int inside_body, void *ptr_inside_body) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | radeonfb.c | 727 struct radeonfb_display *dp = &sc->sc_displays[i]; local 742 dp->rd_ncrtcs = 2; 743 dp->rd_crtcs[0].rc_number = 0; 744 dp->rd_crtcs[1].rc_number = 1; 746 dp->rd_ncrtcs = 1; 747 dp->rd_crtcs[0].rc_number = i; 751 for (j = 0; j < dp->rd_ncrtcs; j++) { 752 dp->rd_crtcs[j].rc_port = 753 &sc->sc_ports[dp->rd_crtcs[j].rc_number]; 756 dp 956 struct radeonfb_display *dp; local 1107 struct radeonfb_display *dp; local 1897 radeonfb_modeswitch(struct radeonfb_display *dp) argument 1932 radeonfb_setcrtc(struct radeonfb_display *dp, int index) argument 2111 radeonfb_isblank(struct radeonfb_display *dp) argument 2126 radeonfb_blank(struct radeonfb_display *dp, int blank) argument 2163 struct radeonfb_display *dp = cookie; local 2416 struct radeonfb_display *dp = scr->scr_cookie; local 2506 struct radeonfb_display *dp = scr->scr_cookie; local 2605 struct radeonfb_display *dp = scr->scr_cookie; local 2616 struct radeonfb_display *dp = scr->scr_cookie; local 2636 struct radeonfb_display *dp = scr->scr_cookie; local 2655 struct radeonfb_display *dp = scr->scr_cookie; local 2675 struct radeonfb_display *dp = scr->scr_cookie; local 2694 struct radeonfb_display *dp = scr->scr_cookie; local 2731 radeonfb_rectfill(struct radeonfb_display *dp, int dstx, int dsty, int width, int height, uint32_t color) argument 2758 radeonfb_bitblt(struct radeonfb_display *dp, int srcx, int srcy, int dstx, int dsty, int width, int height, int rop, uint32_t mask) argument 2858 radeonfb_engine_init(struct radeonfb_display *dp) argument 2984 radeonfb_set_curpos(struct radeonfb_display *dp, struct wsdisplay_curpos *pos) argument 3014 radeonfb_set_cursor(struct radeonfb_display *dp, struct wsdisplay_cursor *wc) argument 3112 radeonfb_cursor_shape(struct radeonfb_display *dp) argument 3182 radeonfb_cursor_position(struct radeonfb_display *dp) argument 3265 radeonfb_cursor_visible(struct radeonfb_display *dp) argument 3287 radeonfb_cursor_cmap(struct radeonfb_display *dp) argument 3308 radeonfb_cursor_update(struct radeonfb_display *dp, unsigned which) argument 3431 radeonfb_pickres(struct radeonfb_display *dp, uint16_t *x, uint16_t *y, int pan) argument 3572 radeonfb_get_backlight(struct radeonfb_display *dp) argument 3597 radeonfb_switch_backlight(struct radeonfb_display *dp, int on) argument 3606 radeonfb_set_backlight(struct radeonfb_display *dp, int level) argument 3677 struct radeonfb_display *dp = arg; local 3693 struct radeonfb_display *dp = &sc->sc_displays[0]; local 3709 struct radeonfb_display *dp = &sc->sc_displays[0]; local [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_open.c | 275 const DICT_OPEN_INFO *dp; local 281 for (dp = dict_open_info; dp->type; dp++) 282 htable_enter(dict_open_hash, dp->type, (char *) dp); 309 DICT_OPEN_INFO *dp; local 317 if ((dp = (DICT_OPEN_INFO *) htable_find(dict_open_hash, dict_type)) == 0) 319 if ((dict = dp->open(dict_name, open_flags, dict_flags)) == 0) 342 DICT_OPEN_INFO *dp; local 367 DICT_OPEN_INFO *dp; local [all...] |
/netbsd-6-1-5-RELEASE/common/lib/libc/string/ |
H A D | memset2.c | 154 uint8_t *dp, *ep; 157 for (dp = (uint8_t *)dstp, ep = dp + fill_count; 158 dp != ep; dp++) 159 *dp = fill; 205 uint8_t *dp, *ep; 206 for (dp = (uint8_t *)dstp, ep = dp + len; 207 dp ! [all...] |