| /src/external/bsd/openpam/dist/lib/libpam/ |
| pam_set_item.c | 68 size_t nsize, osize; local 72 osize = nsize = 0; 91 osize = strlen(*slot) + 1; 96 osize = nsize = sizeof(struct pam_repository); 99 osize = nsize = sizeof(struct pam_conv); 102 osize = nsize = sizeof(struct sockaddr_storage); 108 memset(*slot, 0xd0, osize);
|
| /src/sys/fs/ptyfs/ |
| ptyfs_subr.c | 202 int osize, nsize; local 212 osize = pmnt->pmnt_bitmap_size; 216 if (osize > 0) 217 memcpy(pmnt->pmnt_bitmap, obitmap, osize); 218 memset(pmnt->pmnt_bitmap + osize, 0, nsize - osize); 220 if (osize > 0) 221 kmem_free(obitmap, osize);
|
| /src/usr.sbin/makefs/ffs/ |
| ffs_balloc.c | 95 int osize, nsize, num, i, error; local 119 osize = ffs_blksize(fs, ip, nb); 120 if (osize < fs->fs_bsize && osize > 0) { 156 osize = ffs_fragroundup(fs, ffs_blkoff(fs, ip->i_ffs1_size)); 158 if (nsize <= osize) { 167 error = bread(ip->i_devvp, lbn, osize, 341 int osize, nsize, num, i, error; local 365 osize = ffs_blksize(fs, ip, nb); 366 if (osize < fs->fs_bsize && osize > 0) [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| bio_comp_test.c | 42 int osize; local 54 osize = BIO_write(bcomp, original, size); 55 if (!TEST_int_eq(osize, size) 68 || !TEST_mem_eq(original, osize, result, rsize))
|
| /src/external/gpl2/libmalloc/dist/ |
| mcheck.c | 136 __malloc_size_t osize = hdr->size; local 139 if (size < osize) 140 flood ((char *) ptr + size, FREEFLOOD, osize - size); 154 if (size > osize) 155 flood ((char *) (hdr + 1) + osize, MALLOCFLOOD, size - osize);
|
| /src/bin/ksh/ |
| table.c | 53 int osize = tp->size; local 63 for (i = 0; i < osize; i++) {
|
| /src/sys/nfs/ |
| nfs_kq.c | 119 u_quad_t osize; local 136 osize = ke->vp->v_size; 145 if (attr.va_size != osize) { 146 int extended = (attr.va_size > osize);
|
| /src/sys/ufs/ext2fs/ |
| ext2fs_readwrite.c | 270 off_t osize; local 304 osize = ext2fs_size(ip); 352 error = ext2fs_post_write_update(vp, uio, ioflag, ap->a_cred, osize, 368 off_t osize; local 392 osize = ext2fs_size(ip); 432 error = ext2fs_post_write_update(vp, uio, ioflag, cred, osize, resid, 439 kauth_cred_t cred, off_t osize, int resid, int oerror) 473 (void) ext2fs_truncate(vp, osize, ioflag & IO_SYNC, cred);
|
| ext2fs_inode.c | 300 off_t osize; local 330 osize = ext2fs_size(oip); 335 * value of osize is 0, length will be at least 1. 337 if (osize < length) { 342 (void) ext2fs_truncate(ovp, osize, ioflag & IO_SYNC, 415 (void)ext2fs_setsize(oip, osize);
|
| /src/sys/ufs/ffs/ |
| ffs_balloc.c | 121 int deallocated, osize, nsize, num, i, error; local 150 osize = ffs_blksize(fs, ip, nb); 151 if (osize < fs->fs_bsize && osize > 0) { 156 osize, (int)fs->fs_bsize, flags, cred, bpp, 204 osize = ffs_fragroundup(fs, ffs_blkoff(fs, ip->i_size)); 206 if (nsize <= osize) { 215 error = bread(vp, lbn, osize, 233 osize, nsize, flags, cred, bpp, &newb); 539 int deallocated, osize, nsize, num, i, error local [all...] |
| /src/sys/ufs/lfs/ |
| lfs_balloc.c | 131 int error, frags, i, nsize, osize, num; local 187 osize = lfs_blksize(fs, ip, lastblock); 188 if (osize < lfs_sb_getbsize(fs) && osize > 0) { 189 if ((error = lfs_fragextend(vp, osize, lfs_sb_getbsize(fs), 213 osize = lfs_blksize(fs, ip, lbn); 244 if (nsize <= osize) { 246 if (bpp && (error = bread(vp, lbn, osize, 252 lfs_fragextend(vp, osize, nsize, lbn, 491 lfs_fragextend(struct vnode *vp, int osize, int nsize, daddr_t lbn [all...] |
| ulfs_readwrite.c | 239 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local 275 osize = ip->i_size; 284 preallocoff = round_page(lfs_blkroundup(fs, MAX(osize, uio->uio_offset))); 286 nsize = MAX(osize, uio->uio_offset + uio->uio_resid); 294 if (nsize > osize && lfs_lblkno(fs, osize) < ULFS_NDADDR && 295 lfs_lblkno(fs, osize) != lfs_lblkno(fs, nsize) && 296 lfs_blkroundup(fs, osize) != osize) { 299 eob = lfs_blkroundup(fs, osize); 422 off_t osize; local [all...] |
| /src/external/bsd/ipf/dist/lib/ |
| parseipfexpr.c | 41 int not, items, asize, *oplist, osize, i; local 122 * osize will mark the end of where we have filled up to 125 osize = asize; 135 ipfe = (ipfexp_t *)(oplist + osize); 136 osize += 4; 143 for (s = arg; (*s != '\0') && (osize < asize); s = t) { 175 oplist[osize++] = addr.in4.s_addr; 176 oplist[osize++] = mask.in4.s_addr; 204 oplist[osize++] = addr.i6[0]; 205 oplist[osize++] = addr.i6[1] [all...] |
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_map.c | 74 size_t osize = maxformat * sizeof (void *); local 82 bcopy(*data, new_data, osize); 135 size_t osize = max * sizeof (void *); local 137 bcopy(dtp->dt_pdesc, new_pdesc, osize); 140 bcopy(dtp->dt_edesc, new_edesc, osize);
|
| /src/external/gpl3/binutils/dist/opcodes/ |
| s12z-dis.c | 344 short osize = -1; local 346 decode_s12z (&operator, &osize, &n_operands, operands, 353 if (osize == -1) 359 if (operands[o] && operands[o]->osize != -1) 367 osize = operands[o]->osize; 369 if (osize < 0 || osize >= S12Z_N_SIZES) 373 shift_size_table[osize]); 379 if (osize < 0 || osize >= S12Z_N_SIZES [all...] |
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| s12z-dis.c | 344 short osize = -1; local 346 decode_s12z (&operator, &osize, &n_operands, operands, 353 if (osize == -1) 359 if (operands[o] && operands[o]->osize != -1) 367 osize = operands[o]->osize; 369 if (osize < 0 || osize >= S12Z_N_SIZES) 373 shift_size_table[osize]); 379 if (osize < 0 || osize >= S12Z_N_SIZES [all...] |
| /src/external/gpl3/gdb.old/dist/opcodes/ |
| s12z-dis.c | 344 short osize = -1; local 346 decode_s12z (&operator, &osize, &n_operands, operands, 353 if (osize == -1) 359 if (operands[o] && operands[o]->osize != -1) 367 osize = operands[o]->osize; 369 if (osize < 0 || osize >= S12Z_N_SIZES) 373 shift_size_table[osize]); 379 if (osize < 0 || osize >= S12Z_N_SIZES [all...] |
| /src/external/mit/lua/dist/src/ |
| lstring.c | 66 static void tablerehash (TString **vect, int osize, int nsize) { 68 for (i = osize; i < nsize; i++) /* clear new elements */ 70 for (i = 0; i < osize; i++) { /* rehash old part of the array */ 91 int osize = tb->size; local 93 if (nsize < osize) /* shrinking table? */ 94 tablerehash(tb->hash, osize, nsize); /* depopulate shrinking part */ 95 newvect = luaM_reallocvector(L, tb->hash, osize, nsize, TString*); 97 if (nsize < osize) /* was it shrinking table? */ 98 tablerehash(tb->hash, nsize, osize); /* restore to original size */ 104 if (nsize > osize) [all...] |
| /src/external/gpl3/gdb/dist/opcodes/ |
| s12z-dis.c | 344 short osize = -1; local 346 decode_s12z (&operator, &osize, &n_operands, operands, 353 if (osize == -1) 359 if (operands[o] && operands[o]->osize != -1) 367 osize = operands[o]->osize; 369 if (osize < 0 || osize >= S12Z_N_SIZES) 373 shift_size_table[osize]); 379 if (osize < 0 || osize >= S12Z_N_SIZES [all...] |
| /src/sbin/dump/ |
| rcache.c | 273 int osize = size, idx; local 384 rawread(oblkno, obuf, osize); 426 rawread(oblkno, obuf, osize);
|
| /src/sys/fs/msdosfs/ |
| msdosfs_denode.c | 482 u_long count, osize; local 520 osize = dep->de_FileSize; 524 ubc_zerorange(&DETOV(dep)->v_uobj, (off_t)osize, 525 (size_t)(round_page(dep->de_FileSize) - osize),
|
| /src/usr.bin/ul/ |
| ul.c | 509 size_t osize = *size; local 512 memset(*buf + osize, 0, (*size - osize) * sizeof(**buf));
|
| /src/usr.sbin/makefs/msdos/ |
| msdosfs_vnops.c | 433 size_t osize = dep->de_FileSize; local 452 DPRINTF(("%s(nsize=%zu, osize=%zu)\n", __func__, nsize, osize)); 453 if (nsize > osize) {
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/kdfs/ |
| krb5kdf.c | 388 size_t osize; local 436 for (osize = 0; osize < okey_len; osize += cipherlen) { 454 if (cipherlen > okey_len - osize) 455 cipherlen = okey_len - osize; 456 memcpy(okey + osize, cipherblock, cipherlen); 458 if (okey_len > osize + cipherlen) {
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/kdfs/ |
| krb5kdf.c | 365 size_t osize; local 408 for (osize = 0; osize < okey_len; osize += cipherlen) { 426 if (cipherlen > okey_len - osize) 427 cipherlen = okey_len - osize; 428 memcpy(okey + osize, cipherblock, cipherlen); 430 if (okey_len > osize + cipherlen) {
|