Searched refs:dsize (Results 1 - 21 of 21) sorted by relevance

/barrelfish-2018-10-04/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;
/barrelfish-2018-10-04/lib/libc/db/recno/
H A Drec_utils.c97 if (rl->dsize + 1 > t->bt_rdata.size) {
98 p = realloc(t->bt_rdata.data, rl->dsize + 1);
102 t->bt_rdata.size = rl->dsize + 1;
104 memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
105 data->size = rl->dsize;
108 data->size = rl->dsize;
/barrelfish-2018-10-04/lib/libc/db/hash/
H A Dndbm.c99 dbtkey.size = key.dsize;
106 retdata.dsize = dbtretdata.size;
126 retkey.dsize = dbtretkey.size;
146 retkey.dsize = dbtretkey.size;
162 dbtkey.size = key.dsize;
182 dbtkey.size = key.dsize;
184 dbtdata.size = data.dsize;
H A Dhash.h68 int32_t dsize; /* Directory Size */ member in struct:hashhdr
273 #define DSIZE hdr.dsize
H A Dhash.c919 P_32_COPY(srcp->dsize, destp->dsize);
950 M_32_SWAP(hdrp->dsize);
/barrelfish-2018-10-04/lib/lwip2/src/netif/ppp/
H A Dmultilink.c212 key.dsize = p - bundle_id;
217 if (rec.dptr != NULL && rec.dsize > 0) {
219 rec.dptr[rec.dsize-1] = 0;
294 key.dsize = strlen(blinks_id);
312 key.dsize = strlen(blinks_id);
317 if (rec.dptr != NULL && rec.dsize > 0) {
318 rec.dptr[rec.dsize-1] = 0;
324 l = rec.dsize + strlen(entry);
336 rec.dsize = strlen(p) + 1;
352 key.dsize
[all...]
H A Deap.c1259 int dsize, fd, olen = len; local
1267 if ((dsize = len % SHA_DIGESTSIZE) == 0)
1268 dsize = SHA_DIGESTSIZE;
1269 len -= dsize;
/barrelfish-2018-10-04/include/lwip2/netif/ppp/
H A Dmultilink.c212 key.dsize = p - bundle_id;
217 if (rec.dptr != NULL && rec.dsize > 0) {
219 rec.dptr[rec.dsize-1] = 0;
294 key.dsize = strlen(blinks_id);
312 key.dsize = strlen(blinks_id);
317 if (rec.dptr != NULL && rec.dsize > 0) {
318 rec.dptr[rec.dsize-1] = 0;
324 l = rec.dsize + strlen(entry);
336 rec.dsize = strlen(p) + 1;
352 key.dsize
[all...]
H A Deap.c1259 int dsize, fd, olen = len; local
1267 if ((dsize = len % SHA_DIGESTSIZE) == 0)
1268 dsize = SHA_DIGESTSIZE;
1269 len -= dsize;
/barrelfish-2018-10-04/lib/libc/db/btree/
H A Dbtree.h171 u_int32_t dsize; /* size of data */ member in struct:_bleaf
181 #define NBLEAF(p) NBLEAFDBT((p)->ksize, (p)->dsize)
184 #define NBLEAFDBT(ksize, dsize) \
186 (ksize) + (dsize))
203 u_int32_t dsize; /* size of data */ member in struct:_rleaf
213 #define NRLEAF(p) NRLEAFDBT((p)->dsize)
216 #define NRLEAFDBT(dsize) \
217 LALIGN(sizeof(u_int32_t) + sizeof(u_char) + (dsize))
H A Dbt_utils.c112 if (bl->dsize + 1 > rdata->size) {
113 p = realloc(rdata->data, bl->dsize + 1);
117 rdata->size = bl->dsize + 1;
119 memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize);
120 data->size = bl->dsize;
123 data->size = bl->dsize;
H A Dbt_debug.c215 else if (bl->dsize)
217 (int)bl->dsize, bl->bytes + bl->ksize);
226 else if (rl->dsize)
228 "%.*s", (int)rl->dsize, rl->bytes);
/barrelfish-2018-10-04/lib/libc/yp/
H A Dxdryp.c49 int dsize; member in struct:__anon1052
55 if (!xdr_bytes(xdrs, (char **)&objp->dptr, (u_int *)&objp->dsize, YPMAXRECORD)) {
/barrelfish-2018-10-04/lib/openssl-1.0.0d/ssl/
H A Dt1_lib.c686 int dsize; local
693 n2s(data,dsize);
695 if (dsize > size )
702 while (dsize > 3)
706 dsize -= 3;
708 if (len > dsize)
756 dsize -= len;
758 if (dsize != 0)
900 int dsize; local
902 n2s(data,dsize);
[all...]
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dclnt_bcast.c271 u_int dsize; /* Size of the data buf */ member in struct:__anon1035
340 fdlist[fdlistno].dsize = __rpc_get_t_size(si.si_af, si.si_proto,
343 if (maxbufsize <= fdlist[fdlistno].dsize)
344 maxbufsize = fdlist[fdlistno].dsize;
348 udpbufsz = fdlist[fdlistno].dsize;
444 if (fdlist[i].dsize < outlen) {
549 inlen = _recvfrom(fdlist[i].fd, inbuf, fdlist[i].dsize,
/barrelfish-2018-10-04/usr/eclipseclp/GecodeInterface/
H A Dgfd.cpp1200 int dsize = darr.arity(); local
1201 int ranges[dsize][2];
1202 if (dsize == 0) return TYPE_ERROR;
1204 int res = get_domain_intervals_from_ec_array(dsize, darr, ranges);
1206 IntSet domset(ranges, dsize);
1674 int dsize; \
1676 dsize = solver->vInt[i].size(); \
1677 if (snapshotsolver->dom_snapshot[i] > dsize) { \
1678 if (dsize == 1) { \
1872 int dsize local
1942 int dsize = darr.arity(); local
2129 int dsize = darr.arity(); local
2749 int dsize = darr.arity(); local
5408 int dsize; local
5783 unsigned int it, dsize; local
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/pem/
H A Dpem_lib.c338 int dsize=0,i,j,ret=0; local
355 if ((dsize=i2d(x,NULL)) < 0)
358 dsize=0;
363 data=(unsigned char *)OPENSSL_malloc((unsigned int)dsize+20);
430 OPENSSL_cleanse(data,(unsigned int)dsize);
/barrelfish-2018-10-04/lib/dmalloc/
H A Ddmalloc.c4021 size_t dsize = m->dvsize += qsize; local
4023 set_size_and_pinuse_of_free_chunk(q, dsize);
4465 size_t dsize = m->dvsize += psize; local
4467 set_size_and_pinuse_of_free_chunk(p, dsize);
4807 size_t dsize = fm->dvsize += psize; local
4809 set_size_and_pinuse_of_free_chunk(p, dsize);
4906 size_t dsize = oldsize + dvs - nb; local
4907 if (dsize >= MIN_CHUNK_SIZE) {
4909 mchunkptr n = chunk_plus_offset(r, dsize);
4911 set_size_and_pinuse_of_free_chunk(r, dsize);
5734 size_t dsize = fm->dvsize += psize; local
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Dbip_load.c113 # define TD_SIZE(hr) (hr.tsize + hr.dsize)
H A Dbip_domain.c1633 word *dsize) /* output: intersection size */
1781 *dsize = size;
1630 _dom_intersection( register pword *d1, register pword *d2, word *dsize) argument

Completed in 225 milliseconds