| /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/external/mit/lua/dist/src/ |
| lmem.c | 32 ** void *frealloc (void *ud, void *ptr, size_t osize, size_t nsize); 33 ** ('osize' is the old size, 'nsize' is the new size) 154 void luaM_free_ (lua_State *L, void *block, size_t osize) { 156 lua_assert((osize == 0) == (block == NULL)); 157 callfrealloc(g, block, osize, 0); 158 g->GCdebt -= osize; 167 size_t osize, size_t nsize) { 171 return callfrealloc(g, block, osize, nsize); /* try again */ 180 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { 183 lua_assert((osize == 0) == (block == NULL)) [all...] |
| 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/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/usr.bin/moduli/qsieve/ |
| qfile.c | 50 uint32_t osize, uint32_t ogenerator, BIGNUM * omodulus) 69 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/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/tests/sbin/resize_ffs/ |
| common.sh | 113 local osize=$3 121 if [ $avail -lt $osize ] || [ $avail -lt $nsize ]; then 136 -s ${osize} ${i} -F ${IMG} 138 newfs -O${fslevel} -b ${bs} -f ${fragsz} -s ${osize} ${i} \ 156 if [ ${nsize} -lt ${osize} ]; then 158 local remove=$((numdata-numdata*nsize/osize)) 170 if [ ${nsize} -lt ${osize} ]; then
|
| /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/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/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/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/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/sys/ufs/ufs/ |
| ufs_readwrite.c | 248 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local 285 osize = ip->i_size; 323 preallocoff = round_page(ufs_blkroundup(fs, MAX(osize, uio->uio_offset))); 325 nsize = MAX(osize, uio->uio_offset + uio->uio_resid); 333 if (nsize > osize && ufs_lblkno(fs, osize) < UFS_NDADDR && 334 ufs_lblkno(fs, osize) != ufs_lblkno(fs, nsize) && 335 ufs_blkroundup(fs, osize) != osize) { 338 eob = ufs_blkroundup(fs, osize); 470 off_t osize; local [all...] |
| /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...] |
| ffs_inode.c | 220 off_t osize; local 261 osize = oip->i_din2->di_extsize; 275 bsize = ffs_sblksize(fs, osize, i); 312 osize = oip->i_size; 318 * value of osize is 0, length will be at least 1. 321 if (osize < length) { 322 if (ffs_lblkno(fs, osize) < UFS_NDADDR && 323 ffs_lblkno(fs, osize) != ffs_lblkno(fs, length) && 324 ffs_blkroundup(fs, osize) != osize) { [all...] |
| /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) {
|
| /src/external/gpl3/gcc/dist/libgomp/ |
| hashtab.h | 300 size_t osize, elts; local 302 osize = htab->size; 303 olimit = htab->entries + osize; 308 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) 311 nhtab = htab_create (osize - 1);
|
| /src/external/gpl3/gcc.old/dist/libgomp/ |
| hashtab.h | 300 size_t osize, elts; local 302 osize = htab->size; 303 olimit = htab->entries + osize; 308 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) 311 nhtab = htab_create (osize - 1);
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| lz4.c | 38 int osize); 43 int isize, int osize); 45 int isize, int osize); 466 int osize) 479 const BYTE *const oend = (BYTE *) dest + osize; 661 int osize) 674 const BYTE *const oend = (BYTE *) dest + osize; 841 real_LZ4_compress(const char *source, char *dest, int isize, int osize) 860 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize); 862 result = LZ4_compressCtx(ctx, source, dest, isize, osize); [all...] |
| /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);
|
| /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) {
|