/freebsd-current/contrib/openpam/lib/libpam/ |
H A D | pam_set_item.c | 62 size_t nsize, osize; local 66 osize = nsize = 0; 84 osize = strlen(*slot) + 1; 89 osize = nsize = sizeof(struct pam_repository); 92 osize = nsize = sizeof(struct pam_conv); 98 memset(*slot, 0xd0, osize);
|
/freebsd-current/contrib/lua/src/ |
H A D | lmem.c | 28 ** void *frealloc (void *ud, void *ptr, size_t osize, size_t nsize); 29 ** ('osize' is the old size, 'nsize' is the new size) 150 void luaM_free_ (lua_State *L, void *block, size_t osize) { argument 152 lua_assert((osize == 0) == (block == NULL)); 153 callfrealloc(g, block, osize, 0); 154 g->GCdebt -= osize; 163 size_t osize, size_t nsize) { 167 return callfrealloc(g, block, osize, nsize); /* try again */ 176 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { argument 179 lua_assert((osize 162 tryagain(lua_State *L, void *block, size_t osize, size_t nsize) argument 192 luaM_saferealloc_(lua_State *L, void *block, size_t osize, size_t nsize) argument [all...] |
H A D | lstring.c | 62 static void tablerehash (TString **vect, int osize, int nsize) { argument 64 for (i = osize; i < nsize; i++) /* clear new elements */ 66 for (i = 0; i < osize; i++) { /* rehash old part of the array */ 87 int osize = tb->size; local 89 if (nsize < osize) /* shrinking table? */ 90 tablerehash(tb->hash, osize, nsize); /* depopulate shrinking part */ 91 newvect = luaM_reallocvector(L, tb->hash, osize, nsize, TString*); 93 if (nsize < osize) /* was it shrinking table? */ 94 tablerehash(tb->hash, nsize, osize); /* restore to original size */ 100 if (nsize > osize) [all...] |
H A D | lmem.h | 84 LUAI_FUNC void luaM_free_ (lua_State *L, void *block, size_t osize);
|
H A D | ltests.h | 102 size_t osize, size_t nsize);
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | parseipfexpr.c | 37 int not, items, asize, *oplist, osize, i; local 114 * osize will mark the end of where we have filled up to 117 osize = asize; 127 ipfe = (ipfexp_t *)(oplist + osize); 128 osize += 4; 135 for (s = arg; (*s != '\0') && (osize < asize); s = t) { 167 oplist[osize++] = addr.in4.s_addr; 168 oplist[osize++] = mask.in4.s_addr; 196 oplist[osize++] = addr.i6[0]; 197 oplist[osize [all...] |
/freebsd-current/sys/contrib/openzfs/module/lua/ |
H A D | lmem.c | 24 ** void * frealloc (void *ud, void *ptr, size_t osize, size_t nsize); 25 ** (`osize' is the old size, `nsize' is the new size) 73 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { argument 76 size_t realosize = (block) ? osize : 0; 82 newblock = (*g->frealloc)(g->ud, block, osize, nsize); 88 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */
|
/freebsd-current/sys/dev/dcons/ |
H A D | dcons.c | 132 int osize; local 137 osize = size * 3 / 4; 139 dc->o.size = osize; 140 dc->i.size = size - osize; 142 dc->i.buf = dc->o.buf + osize; 148 buf->osize[port] = htonl(osize); 149 buf->isize[port] = htonl(size - osize); 151 buf->ioffset[port] = htonl(offset + osize); 170 dc->o.size = ntohl(buf->osize[por [all...] |
H A D | dcons.h | 54 V u_int32_t osize[DCONS_NPORT]; member in struct:dcons_buf
|
/freebsd-current/contrib/netbsd-tests/sbin/resize_ffs/ |
H A D | common.sh | 113 local osize=$3 130 -s ${osize} ${i} -F ${IMG} 132 newfs -O${fslevel} -b ${bs} -f ${fragsz} -s ${osize} ${i} \ 140 if [ ${nsize} -lt ${osize} ]; then 142 local remove=$((numdata-numdata*nsize/osize)) 154 if [ ${nsize} -lt ${osize} ]; then
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | cache.cc | 149 ssize_t osize = get<2>(GetParam()); local 152 ASSERT_LE(osize, bufsize); 163 expect_lookup(RELPATH, ino, osize, entry_valid, attr_valid); 166 expect_getattr(ino, 2, osize, attr_valid); 167 expect_read(ino, 0, osize, osize, CONTENTS); 172 ASSERT_EQ(osize, read(fd, buf, bufsize)) << strerror(errno); 173 ASSERT_EQ(0, memcmp(buf, CONTENTS, osize));
|
H A D | utils.hh | 183 * return the first osize bytes from contents 189 uint64_t osize, const void *contents, int flags = -1, 223 * It will return osize. 226 uint64_t osize, uint32_t flags_set, uint32_t flags_unset, 231 uint64_t osize, const void *contents);
|
H A D | bmap.cc | 219 size_t osize = in.body.read.size; 221 assert(osize < sizeof(out.body.bytes)); 222 out.header.len = sizeof(struct fuse_out_header) + osize; 223 bzero(out.body.bytes, osize);
|
/freebsd-current/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 86 int osize, nsize, num, i, error; local 110 osize = blksize(fs, ip, nb); 111 if (osize < fs->fs_bsize && osize > 0) { 149 osize = fragroundup(fs, blkoff(fs, ip->i_ffs1_size)); 151 if (nsize <= osize) { 161 osize, NULL, bpp); 343 int osize, nsize, num, i, error; local 367 osize = blksize(fs, ip, nb); 368 if (osize < f [all...] |
/freebsd-current/sys/vm/ |
H A D | uma_dbg.c | 148 int off, osize = size; local 178 mem, osize, zone ? zone->uz_name : "", *ksp, off, *p); 180 mem, osize, zone ? zone->uz_name : "", (*ksp)->ks_shortdesc, 184 mem, osize, zone ? zone->uz_name : "", *ksp, off, *p);
|
/freebsd-current/crypto/openssl/providers/implementations/kdfs/ |
H A D | 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) {
|
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 101 int deallocated, osize, nsize, num, i, error; local 137 osize = blksize(fs, ip, nb); 138 if (osize < fs->fs_bsize && osize > 0) { 142 &dp->di_db[0]), osize, (int)fs->fs_bsize, flags, 149 fs->fs_bsize, osize, bp); 194 osize = fragroundup(fs, blkoff(fs, ip->i_size)); 196 if (nsize <= osize) { 197 error = bread(vp, lbn, osize, NOCRED, &bp); 205 &dp->di_db[0]), osize, nsiz 608 int deallocated, osize, nsize, num, i, error; local [all...] |
H A D | ffs_inode.c | 252 off_t osize; local 314 osize = ip->i_din2->di_extsize; 328 sblksize(fs, osize, i), ip->i_number, 359 osize = ip->i_size; 363 * value of osize is 0, length will be at least 1. 365 if (osize < length) { 370 vnode_pager_setsize(vp, osize); 560 ip->i_size = osize; 561 DIP_SET(ip, i_size, osize);
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | lz4_zfs.c | 43 int osize); 45 int isize, int osize); 47 int isize, int osize); 118 * osize : is the output size, therefore the original size 123 * writes beyond dest + osize, and is therefore protected 475 int osize) 484 const BYTE *const oend = (BYTE *) dest + osize; 665 int osize) 674 const BYTE *const oend = (BYTE *) dest + osize; 841 real_LZ4_compress(const char *source, char *dest, int isize, int osize) argument 474 LZ4_compressCtx(void *ctx, const char *source, char *dest, int isize, int osize) argument 664 LZ4_compress64kCtx(void *ctx, const char *source, char *dest, int isize, int osize) argument [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_inode.c | 241 off_t osize; local 252 osize = oip->i_size; 256 * value of osize is 0, length will be at least 1. 258 if (osize < length) { 267 vnode_pager_setsize(vp, osize); 362 oip->i_size = osize; 475 off_t osize; local 479 osize = oip->i_size; 481 if (osize < length) { 491 vnode_pager_setsize(vp, osize); [all...] |
/freebsd-current/sys/cddl/contrib/opensolaris/common/lz4/ |
H A D | lz4.c | 62 int osize); 66 int isize, int osize); 68 int isize, int osize); 474 int osize) 487 const BYTE *const oend = (BYTE *) dest + osize; 669 int osize) 682 const BYTE *const oend = (BYTE *) dest + osize; 849 real_LZ4_compress(const char *source, char *dest, int isize, int osize) argument 868 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize); 870 result = LZ4_compressCtx(ctx, source, dest, isize, osize); 473 LZ4_compressCtx(void *ctx, const char *source, char *dest, int isize, int osize) argument 668 LZ4_compress64kCtx(void *ctx, const char *source, char *dest, int isize, int osize) argument [all...] |
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | 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);
|
/freebsd-current/stand/libsa/ |
H A D | smbios.c | 390 int proc, size, osize, type; local 483 osize = SMBIOS_GET8(addr, 0x0a) & 0x7f; 484 if (osize > 0 && osize < 22) 485 smbios.old_enabled_memory += 1 << (osize + 10);
|
/freebsd-current/stand/common/ |
H A D | interp_lua.c | 65 interp_lua_realloc(void *ud __unused, void *ptr, size_t osize __unused, size_t nsize)
|
/freebsd-current/sys/kern/ |
H A D | kern_malloc.c | 112 #define DEBUG_REDZONE_ARG_DEF , unsigned long osize 113 #define DEBUG_REDZONE_ARG , osize 602 va = redzone_setup(va, osize); 604 kasan_mark(va, osize, size, KASAN_MALLOC_REDZONE); 632 unsigned long osize = size; local 666 va = redzone_setup(va, osize); 670 kasan_mark((void *)va, osize, size, KASAN_MALLOC_REDZONE); 707 unsigned long osize = size; local 733 va = redzone_setup(va, osize); 737 kasan_mark((void *)va, osize, siz 763 unsigned long osize = size; local [all...] |