Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 100) sorted by relevance

1234

/original-bsd/lib/libc/db/btree/
H A Dbt_overflow.c63 size_t nb, plen, sz; local
67 *ssz = sz;
74 if (*bufsz < sz) {
77 *bufsz = sz;
89 nb = MIN(sz, plen);
93 if ((sz -= nb) == 0)
119 size_t nb, plen, sz; local
136 nb = MIN(sz, plen);
145 if ((sz -= nb) == 0) {
170 size_t plen, sz; local
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/tbl/
H A Dtextblocks.c25 gettext(sp, ilin, icol, fn, sz) in gettext() argument
26 char *sp, *fn, *sz; in gettext()
54 if((sz && *sz) || (vs && *vs)){
58 if(sz && *sz)
59 printf(".ps %s\n", sz);
83 if(sz && *sz)
/original-bsd/old/tbl/
H A Dtg.c11 gettext(sp, ilin,icol, fn, sz) in gettext() argument
12 char *sp, *fn, *sz; in gettext()
32 if ((sz && *sz) || (vs && *vs))
36 if (sz && *sz)
37 fprintf(tabout, ".ps %s\n",sz);
56 if (sz && *sz) fprintf(tabout, ".br\n.ps\n.vs\n");
/original-bsd/sys/pmax/pmax/
H A Dvm_machdep.c217 register vm_size_t sz; local
228 sz = round_page(bp->b_bcount + off);
229 kva = kmem_alloc_wait(phys_map, sz);
231 sz = atop(sz);
232 while (sz--) {
252 register vm_size_t sz; local
257 sz = round_page(bp->b_bcount + ((int)addr & PGOFSET));
259 kmem_free_wakeup(phys_map, kva, sz);
/original-bsd/usr.sbin/config.new/
H A Dhash.c48 #define HASHFRACTION(sz) ((sz) * 3 / 2) argument
86 ht_init(ht, sz) in ht_init() argument
88 size_t sz;
93 h = emalloc(sz * sizeof *h);
95 ht->ht_size = sz;
96 ht->ht_mask = sz - 1;
97 for (n = 0; n < sz; n++)
100 ht->ht_lim = HASHFRACTION(sz);
/original-bsd/lib/libplot/imagen/
H A Dopen.c33 setfont(c, sz) char *c; int sz; in setfont() argument
35 imPcsize = sz;
/original-bsd/lib/libc/stdlib/
H A Dmalloc.c194 register int sz; /* size of desired block */ local
202 sz = 1 << (bucket + 3);
204 ASSERT(sz > 0);
206 if (sz <= 0)
209 if (sz < pagesz) {
211 nblks = amt / sz;
213 amt = sz + pagesz;
226 op->ov_next = (union overhead *)((caddr_t)op + sz);
227 op = (union overhead *)((caddr_t)op + sz);
/original-bsd/sys/dev/
H A Dvn.c145 int sz, flags, error; local
159 sz = howmany(bp->b_bcount, DEV_BSIZE);
188 sz = bsize - off;
190 sz = (1 + nra) * bsize;
191 if (resid < sz)
192 sz = resid;
196 vn->sc_vp, vp, bn, nbn, sz);
201 nbp->b_bcount = sz;
232 bp->b_resid -= (resid - sz);
247 bn += sz;
[all …]
/original-bsd/old/pcc/ccom.vax/
H A Dlocal.c246 incode( p, sz ) register NODE *p; { in incode() argument
254 inoff += sz;
256 if((sz+inwd) > SZINT) cerror("incode: field > int");
257 word |= ((unsigned)(p->tn.lval<<(32-sz))) >> (32-sz-inwd);
258 inwd += sz;
265 fincode( d, sz ) double d; { in fincode() argument
273 printf(" %s 0%c%.20e\n", sz == SZDOUBLE ? ".double" : ".float",
274 sz == SZDOUBLE ? 'd' : 'f', d);
275 inoff += sz;
278 cinit( p, sz ) NODE *p; { in cinit() argument
[all …]
/original-bsd/usr.bin/ar/
H A Darchive.c254 off_t sz; local
258 if (!(sz = size))
263 sz = size;
264 while (sz && (nr = read(from, buf, MIN(sz, sizeof(buf)))) > 0) {
265 sz -= nr;
270 if (sz) {
/original-bsd/sys/sparc/include/
H A Dbsd_openprom.h70 caddr_t (*v2_malloc)(caddr_t va, u_int sz);
71 void (*v2_free)(caddr_t va, u_int sz);
74 caddr_t (*v2_mmap)(caddr_t va, int asi, u_int pa, u_int sz);
75 void (*v2_munmap)(caddr_t va, u_int sz);
/original-bsd/old/pcc/ccom.tahoe/
H A Dlocal.c234 incode( p, sz ) register NODE *p; { in incode() argument
243 inwd += sz;
245 word |= (p->tn.lval&((1L<<sz)-1)) << (SZINT-inwd);
246 inoff += sz;
253 fincode( d, sz ) double d; register int sz; { in fincode() argument
266 if(sz == SZFLOAT) { /* force rounding */
273 if(sz == SZDOUBLE) {
278 inoff += sz;
281 cinit( p, sz ) NODE *p; { in cinit() argument
311 inoff += sz;
/original-bsd/sys/luna68k/stand/
H A Dmachdep.c95 dumpmem(ptr, sz, ustack) in dumpmem() argument
97 int sz;
102 for (i = 0; i < sz; i++) {
/original-bsd/old/adb/common_source/
H A Dformat.c128 register int sz; local
179 sz = fsize[ftp->ft_type];
182 if (sz != 0)
183 (void) adbread(space, dot, &obj, sz);
269 if (sz)
270 dotinc = sz;
/original-bsd/usr.sbin/amd/config/
H A Dos-aux.h73 #define alloca(sz) __builtin_alloca(sz) argument
H A Dos-irix3.h111 #define alloca(sz) __builtin_alloca(sz) argument
H A Dos-irix.h85 #define alloca(sz) __builtin_alloca(sz) argument
H A Dos-irix4.h114 #define alloca(sz) __builtin_alloca(sz) argument
/original-bsd/lib/libc/db/recno/
H A Drec_get.c152 size_t sz; local
158 for (p = t->bt_dbuf, sz = t->bt_dbufsz;; *p++ = ch, --sz) {
169 if (sz == 0) {
171 t->bt_dbufsz += (sz = 256);
/original-bsd/old/pcc/mip/
H A Dpftn.c595 if( sz == 0 ){ in dclstruct()
602 if( sz > strucoff ) strucoff = sz; /* for use with unions */ in dclstruct()
1309 sz = dimtab[s];
1316 sz = SZCHAR;
1322 sz = SZSHORT;
1328 sz = SZINT;
1335 sz = SZLONG;
1346 sz =SZINT;
1350 if( w > sz ) {
1352 w = sz;
[all …]
/original-bsd/bin/pax/
H A Dbuf_subs.c725 int sz = MINFBSZ; local
735 sz = (int)sb.st_blksize;
738 rem = sz;
756 if ((res = file_write(ofd,bufpt,cnt,&rem,&isem,sz,fnm)) <= 0) {
822 int sz = MINFBSZ; local
838 sz = sb.st_blksize;
841 rem = sz;
852 res = file_write(fd2, buf, cnt, &rem, &isem, sz, fnm);
/original-bsd/local/sccscmds/sccscmds.2/com/
H A Ddohist.c59 register int done, sz; local
65 sz = sizeof(line) - size(repstr);
66 while (!done && fgets(line,sz,stdin) != NULL) {
/original-bsd/local/sccscmds/sccscmds.ok/com/
H A Ddohist.c59 register int done, sz; local
65 sz = sizeof(line) - size(repstr);
66 while (!done && fgets(line,sz,stdin) != NULL) {
/original-bsd/sys/vm/
H A Dvm_swap.c135 int sz, off, seg, index; local
150 sz = howmany(bp->b_bcount, DEV_BSIZE);
151 if (bp->b_blkno + sz > nswap) {
162 if (off+sz > dmmax) {
186 bp->b_blkno+sz > swp->sw_nblks) {
196 if (off+sz > dmmax) {
/original-bsd/sys/tahoe/vba/
H A Dmpreg.h207 #define adjptr(x,sz) ((x) = ((++(x) == (sz)) ? 0 : (x))) argument
208 #define adjptrbk(x,sz) ((x) = ((x) == 0) ? (sz) : --(x)) argument

1234