Searched refs:lp (Results 101 - 125 of 514) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpz/
H A Dlucnum2_ui.c28 mp_ptr lp, l1p, f1p; local
58 lp = PTR(ln);
65 c = mpn_addlsh1_n (lp, l1p, f1p, size);
67 c = mpn_lshift (lp, f1p, size, 1);
68 c += mpn_add_n (lp, lp, l1p, size);
70 lp[size] = c;
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dexecvp.c63 size_t lp, ln; local
99 lp = 1;
101 lp = path - p;
108 if (lp + ln + 2 > sizeof(buf)) {
110 (void)write(STDERR_FILENO, p, lp);
114 memcpy(buf, p, lp);
115 buf[lp] = '/';
116 memcpy(buf + lp + 1, name, ln);
117 buf[lp + ln + 1] = '\0';
/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Ddisklabel.c48 getdisklabel(const char *buf, struct disklabel *lp) argument
63 (void)memcpy(lp, dlp, sizeof *lp);
/netbsd-6-1-5-RELEASE/sys/arch/news68k/news68k/
H A Ddisksubr.c55 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, argument
63 if (lp->d_secsize == 0)
64 lp->d_secsize = DEV_BSIZE;
65 if (lp->d_secperunit == 0)
66 lp->d_secperunit = 0x1fffffff;
67 if (lp->d_npartitions < RAW_PART + 1)
68 lp->d_npartitions = RAW_PART + 1;
70 lp->d_partitions[i].p_size = 0;
71 lp->d_partitions[i].p_offset = 0;
73 if (lp
152 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/newsmips/
H A Ddisksubr.c55 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, argument
63 if (lp->d_secsize == 0)
64 lp->d_secsize = DEV_BSIZE;
65 if (lp->d_secperunit == 0)
66 lp->d_secperunit = 0x1fffffff;
67 if (lp->d_npartitions < RAW_PART + 1)
68 lp->d_npartitions = RAW_PART + 1;
70 lp->d_partitions[i].p_size = 0;
71 lp->d_partitions[i].p_offset = 0;
73 if (lp
152 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hp300/hp300/
H A Ddisksubr.c56 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, argument
64 if (lp->d_secsize == 0)
65 lp->d_secsize = DEV_BSIZE;
66 if (lp->d_secperunit == 0)
67 lp->d_secperunit = 0x1fffffff;
68 if (lp->d_npartitions < RAW_PART + 1)
69 lp->d_npartitions = RAW_PART + 1;
71 lp->d_partitions[i].p_size = 0;
72 lp->d_partitions[i].p_offset = 0;
74 if (lp
153 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
[all...]
/netbsd-6-1-5-RELEASE/lib/libcurses/
H A Dadd_wchstr.c172 __LDATA *lp, *tp;
198 lp = &win->alines[y]->line[x];
201 cw = WCOL(*lp);
207 for (tp = lp + cw; tp < lp; tp++) {
217 lp += cw;
247 lp->ch = (wchar_t)
249 if (_cursesi_copy_nsp(win->bnsp, lp)
252 lp->attr = win->battr;
253 SET_WCOL(*lp,
[all...]
H A Dchgat.c61 __LINE *lp; local
74 lp = win->alines[y];
75 lc = &lp->line[x];
77 if (x + win->ch_off < *lp->firstchp)
78 *lp->firstchp = x + win->ch_off;
79 if (x + win->ch_off + count > *lp->lastchp)
80 *lp->lastchp = x + win->ch_off + count;
83 lp->flags |= __ISDIRTY;
H A Din_wch.c101 __LDATA *lp = &win->alines[ win->cury ]->line[ win->curx ];
102 int cw = WCOL( *lp );
105 lp += cw;
106 wcval->vals[ 0 ] = lp->ch;
107 wcval->attributes = lp->attr;
109 np = lp->nsp;
H A Dnewwin.c121 __LINE *lp; local
151 lp = win->alines[i];
153 lp->flags = __ISDIRTY;
155 lp->flags = 0;
156 for (sp = lp->line, j = 0; j < maxx; j++, sp++) {
166 lp->hash = __hash((char *)(void *)lp->line,
183 __LINE *lp; local
213 for (lp = win->lspace, i = 0; i < win->maxy; i++, lp
225 __LINE *lp, *olp; local
278 __LINE *lp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/
H A Ddisksubr.c61 struct disklabel *lp, struct cpu_disklabel *osdep);
74 struct disklabel *lp, struct cpu_disklabel *osdep)
80 if (lp->d_npartitions == 0) { /* Assume no label */
81 lp->d_secperunit = 0x1fffffff;
82 lp->d_npartitions = 3;
83 lp->d_partitions[2].p_size = 0x1fffffff;
84 lp->d_partitions[2].p_offset = 0;
87 bp = geteblk((int)lp->d_secsize);
90 bp->b_bcount = lp->d_secsize;
92 bp->b_cylinder = LABELSECTOR / lp
73 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
131 compat_label(dev_t dev, void (*strat)(struct buf *bp), struct disklabel *lp, struct cpu_disklabel *osdep) argument
246 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/ddb/
H A Ddb_proc.c119 lwp_t *lp; local
163 lp = p.p_lwps.lh_first;
164 if (lp != NULL) {
165 db_read_bytes((db_addr_t)lp, sizeof(l), (char *)&l);
173 (long)(lp != NULL ? l.l_addr : 0),
177 while (lp != NULL) {
201 l.l_stat, cpuno, l.l_flag, (long)lp,
203 lp = LIST_NEXT((&l), l_sibling);
204 if (lp != NULL) {
206 db_read_bytes((db_addr_t)lp, sizeo
270 lwp_t *lp; local
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dobstack.c338 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
341 lp = (h)->chunk;
345 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj))
347 plp = lp->prev;
348 lp = plp;
350 return lp != 0;
362 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
365 lp
337 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ variable in typeref:struct:_obstack_chunk
360 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local
396 register struct _obstack_chunk* lp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/alpha/alpha/
H A Ddisksubr.c56 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp) argument
65 if (lp->d_secsize == 0)
66 lp->d_secsize = DEV_BSIZE;
67 if (lp->d_secperunit == 0)
68 lp->d_secperunit = 0x1fffffff;
69 lp->d_npartitions = RAW_PART + 1;
70 if (lp->d_partitions[RAW_PART].p_size == 0)
71 lp->d_partitions[RAW_PART].p_size = lp->d_secperunit;
72 lp
202 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp) argument
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/ac/
H A Dac.c362 struct user_list *lp; local
364 for (lp = list; lp; lp = lp->next)
365 show(lp->name, lp->secs);
375 struct utmp_list *lp; local
385 for (lp = logins; lp !
407 struct utmp_list *lp, *lp2, *tlp; local
447 struct utmp_list *lp; local
481 struct utmp_list *lp, *head = NULL; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/bebox/stand/boot/
H A Dwd.c53 static void wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp);
124 wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp) argument
127 memset(lp, 0, sizeof(struct disklabel));
129 lp->d_secsize = DEV_BSIZE;
130 lp->d_ntracks = wd->sc_params.atap_heads;
131 lp->d_nsectors = wd->sc_params.atap_sectors;
132 lp->d_ncylinders = wd->sc_params.atap_cylinders;
133 lp->d_secpercyl = lp->d_ntracks * lp
169 struct disklabel *lp; local
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/vi/
H A Dv_section.c72 const char *list, *lp; local
125 for (lp = list; *lp != '\0'; lp += 2 * sizeof(*lp))
126 if (lp[0] == p[1] &&
127 ((lp[1] == ' ' && len == 2) || lp[1] == p[2]) &&
180 const char *list, *lp; local
215 for (lp
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/format/
H A Dms_multattr-2.c26 foo (va_list ap, int *ip, long *lp) argument
29 my_vprintf_scanf ("%d", ap, "%ld", lp);
33 my_vprintf_scanf2 ("%d", ap, "%ld", lp);
37 my_vprintf_scanf3 ("%d", ap, "%ld", lp);
H A Dmultattr-2.c26 foo (va_list ap, int *ip, long *lp) argument
29 my_vprintf_scanf ("%d", ap, "%ld", lp);
33 my_vprintf_scanf2 ("%d", ap, "%ld", lp);
37 my_vprintf_scanf3 ("%d", ap, "%ld", lp);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/format/
H A Dmultattr-2.c25 foo (va_list ap, int *ip, long *lp) argument
28 my_vprintf_scanf ("%d", ap, "%ld", lp);
32 my_vprintf_scanf2 ("%d", ap, "%ld", lp);
36 my_vprintf_scanf3 ("%d", ap, "%ld", lp);
/netbsd-6-1-5-RELEASE/sys/arch/macppc/macppc/
H A Ddisksubr.c150 getFreeLabelEntry(struct disklabel *lp) argument
156 && (lp->d_partitions[i].p_fstype == FS_UNUSED))
263 getNamedType(struct part_map_entry *part, int num_parts, struct disklabel *lp, int type, int alt, int *maxslot) argument
278 setpartition(part + i, &lp->d_partitions[0], realtype);
284 setpartition(part + i, &lp->d_partitions[6], realtype);
288 setpartition(part + i, &lp->d_partitions[1], realtype);
292 setpartition(part + i, &lp->d_partitions[3], realtype);
328 read_mac_label(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
338 bp = geteblk((int)lp->d_secsize * NUM_PARTS);
343 bp->b_bcount = lp
398 read_bsd_label(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
473 read_dos_label(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
573 get_netbsd_label(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
626 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
716 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
[all...]
/netbsd-6-1-5-RELEASE/sbin/disklabel/
H A Dbswap.h48 #define dkcksum_target(lp) dkcksum_re(lp)
59 #define dkcksum_target(lp) dkcksum(lp)
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/mac68k/
H A Ddisksubr.c110 getFreeLabelEntry(struct disklabel *lp) argument
116 && (lp->d_partitions[i].p_fstype == FS_UNUSED))
179 getNamedType(struct part_map_entry *part, int num_parts, struct disklabel *lp, argument
194 setpartition(part + i, &lp->d_partitions[0], FS_BSDFFS);
200 setpartition(part + i, &lp->d_partitions[6], FS_BSDFFS);
204 setpartition(part + i, &lp->d_partitions[1], FS_SWAP);
246 read_mac_label(char *dlbuf, struct disklabel *lp, int *match) argument
269 lp->d_npartitions = RAW_PART + 1;
270 if (getNamedType(part, NUM_PARTS, lp, ROOT_PART, 0, &maxslot))
271 getNamedType(part, NUM_PARTS, lp, ROOT_PAR
325 read_mbr_label(char *dlbuf, struct disklabel *lp, int *match) argument
373 read_bsd_label(char *dlbuf, struct disklabel *lp, int *match) argument
410 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
526 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument
[all...]
/netbsd-6-1-5-RELEASE/sbin/dkscan_bsdlabel/
H A Ddkscan_util.c51 dkcksum(struct disklabel *lp) argument
53 return dkcksum_sized(lp, lp->d_npartitions);
57 dkcksum_sized(struct disklabel *lp, size_t npartitions) argument
62 start = (u_short *)lp;
63 end = (u_short *)&lp->d_partitions[npartitions];
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dlcl_ng.c240 struct linelist *lp, *olp; local
243 lp = pvt->linehead;
244 while (lp) {
245 olp = lp;
246 lp = lp->l_next;
281 struct linelist *lp = pvt->linehead; local
286 while (lp) {
287 if (!strcmp(group, lp->l_groupname))
289 lp
363 struct linelist *lp; local
[all...]

Completed in 260 milliseconds

1234567891011>>