Searched defs:dsize (Results 1 - 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstrlcpy.c26 * Copy string src to buffer dst of size dsize. At most dsize-1
27 * chars will be copied. Always NUL terminates (unless dsize == 0).
28 * Returns strlen(src); if retval >= dsize, truncation occurred.
31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) argument
34 size_t nleft = dsize;
46 if (dsize != 0)
H A Dstrlcat.c26 * Appends src to string dst of size dsize (unlike strncat, dsize is the
27 * full size of dst, not space left). At most dsize-1 characters
28 * will be copied. Always NUL terminates (unless dsize <= strlen(dst)).
29 * Returns strlen(src) + MIN(dsize, strlen(initial dst)).
30 * If retval >= dsize, truncation occurred.
33 strlcat(char * __restrict dst, const char * __restrict src, size_t dsize) argument
37 size_t n = dsize;
44 n = dsize - dlen;
/illumos-gate/usr/src/head/rpcsvc/
H A Ddbm.h66 int dsize; member in struct:__anon32
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kalloc.c81 t_scalar_t dsize; local
106 dsize = MAX(tiptr->tp_info.connect,
108 _alloc_buf(&p.call->opt, dsize);
/illumos-gate/usr/src/ucbhead/
H A Ddbm.h70 int dsize; member in struct:__anon10
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c66 unsigned int dsize; local
143 dsize = _T_MAX((int)info.CDATA_size,
145 if (_alloc_buf(&p.call->udata, (t_scalar_t)dsize,
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-ndbm.h59 int dsize; member in struct:__anon2684
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_xdr.c73 uint_t dsize; local
78 * datum.dsize is a long, we need a new temporary to pass to
82 if (pdatum->dsize > UINT_MAX)
85 dsize = (uint_t)pdatum->dsize;
86 res = (bool)xdr_bytes(xdrs, (char **)&(pdatum->dptr), &dsize,
89 pdatum->dsize = dsize;
320 kv.keydat.dsize = YPMAXRECORD;
321 kv.valdat.dsize
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dndbm.h50 int dsize; member in struct:__anon2871
/illumos-gate/usr/src/head/
H A Dndbm.h84 size_t dsize; member in struct:__anon24
89 long dsize; member in struct:__anon25
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dcopy.c75 memmap_find(EFI_MEMORY_DESCRIPTOR *map, size_t count, UINTN dsize, argument
80 for (i = 0; i < count; i++, map = NextMemoryDescriptor(map, dsize)) {
113 EFI_MEMORY_DESCRIPTOR *map, size_t count, UINTN dsize, size_t size)
125 off = memmap_find(map, count, dsize, off, size);
112 efi_physaddr(multiboot_tag_module_t *module, vm_offset_t addr, EFI_MEMORY_DESCRIPTOR *map, size_t count, UINTN dsize, size_t size) argument
/illumos-gate/usr/src/boot/sys/boot/i386/isoboot/
H A Dcd9660read.c229 size_t dsize, off; local
256 dsize = isonum_733(rec.size);
260 while (off < dsize) {
296 if (off >= dsize) {
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c511 FILE_ELF_SIZE_T dsize; local
516 dsize = sizeof (Elf_Dyn);
526 if (pread64(EI->elffd, &dyn, dsize, doff)
527 != dsize ||
535 doff += dsize;
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c445 char blocks[6], lsize[6], psize[6], dsize[6]; local
459 zfs_nicenum(dds->dds_dsize, dsize, sizeof (dsize));
467 blocks, lsize, psize, dsize,
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_bcast.c126 uint_t dsize; /* Size of the data buf */ member in struct:__anon3708
217 if ((fdlist[fdlistno].dsize = __rpc_get_t_size(0,
225 if (maxbufsize <= fdlist[fdlistno].dsize)
226 maxbufsize = fdlist[fdlistno].dsize;
230 udpbufsz = fdlist[fdlistno].dsize;
371 if (fdlist[i].dsize < t_udata.udata.len) {
489 t_rdata.udata.maxlen = fdlist[i].dsize;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c640 size_t dsize; local
652 dsize = _nsc_getdoorbsize(*bufsize);
654 /* setup a door buffer with a total length of dsize */
655 bp = lmalloc(dsize);
659 tsdbuf->buflen = dsize;
663 dsize = _nsc_getdoorbsize(*bufsize);
664 if (tsdbuf->buflen < dsize) {
666 bp = lmalloc(dsize);
670 tsdbuf->buflen = dsize;
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dfilehdr.c327 int dsize; local
352 dsize = isize + hdrp->data_size + sizeof (au_filehdr_t);
353 if (st.st_size < dsize) {
357 } else if (st.st_size > dsize) {
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_lan_hmc.h60 u8 dsize; member in struct:i40e_hmc_obj_rxq
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c214 int dsize; /* size for data structure */ member in struct:_class_
383 np->nvalue = (char*)calloc(sp->dsize,1);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvtree.c72 fp->dsize = 0;
1022 int flags=0, dsize=fp->dsize; local
1034 if(dsize && (flags&NV_EXPORT))
1092 nfp->dsize = sizeof(Namfun_t);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c106 uint_t dsize, n; local
130 dsize = MIN(dp->d_reclen, sizeof (u.dbuf));
131 (void) memmove((void *)u.dbuf, (void *)dp, (size_t)dsize);
145 idesc->id_loc - dsize),
146 (void *)u.dbuf, (size_t)dsize);
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c78 __nis_value_t *stringToValue(char *dptr, int dsize) { argument
99 if (dptr == 0 || dsize <= 0) {
101 dsize = 1;
104 val->val->length = dsize;
105 if (dptr[dsize - 1] != '\0') {
106 val->val->length = dsize + 1;
114 (void) memcpy(val->val->value, dptr, dsize);
279 i = addCol2RuleValue(vt_string, N2LKEY, key->dptr, key->dsize,
285 key->dsize, rvq);
294 if (checkIPaddress(key->dptr, key->dsize,
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dcd9660.c289 size_t buf_size, read, dsize, off; local
328 dsize = isonum_733(rec.size);
332 while (off < dsize) {
376 if (off >= dsize) {
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbtree.h189 u_int32_t dsize; /* size of data */ member in struct:_bleaf
199 #define NBLEAF(p) NBLEAFDBT((p)->ksize, (p)->dsize)
202 #define NBLEAFDBT(ksize, dsize) \
204 (ksize) + (dsize))
221 u_int32_t dsize; /* size of data */ member in struct:_rleaf
231 #define NRLEAF(p) NRLEAFDBT((p)->dsize)
234 #define NRLEAFDBT(dsize) \
235 LALIGN(sizeof(u_int32_t) + sizeof(u_char) + (dsize))
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dnval.h65 size_t dsize; member in struct:Namdisc
84 unsigned short dsize; member in struct:Namfun

Completed in 504 milliseconds

123