Searched refs:sizep (Results 1 - 14 of 14) sorted by relevance

/barrelfish-master/lib/libc/gen/
H A Dsysctlnametomib.c43 sysctlnametomib(const char *name, int *mibp, size_t *sizep) argument
51 *sizep *= sizeof(int);
52 error = sysctl(oid, 2, mibp, sizep, name, strlen(name));
53 *sizep /= sizeof(int);
/barrelfish-master/lib/libc/stdio/
H A Dopen_memstream.c49 size_t *sizep; member in struct:memstream
86 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset;
174 open_memstream(char **bufp, size_t *sizep) argument
180 if (bufp == NULL || sizep == NULL) {
196 ms->sizep = sizep;
H A Dopen_wmemstream.c49 size_t *sizep; member in struct:wmemstream
87 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset;
235 open_wmemstream(wchar_t **bufp, size_t *sizep) argument
241 if (bufp == NULL || sizep == NULL) {
257 ms->sizep = sizep;
/barrelfish-master/lib/libc/xdr/
H A Dxdr_array.c61 * *addrp is a pointer to the array, *sizep is the number of elements.
62 * If addrp is NULL (*sizep * elsize) bytes are allocated.
67 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument
71 * u_int *sizep; // number of elements
84 if (!xdr_u_int(xdrs, sizep)) {
87 c = *sizep;
H A Dxdr.c556 * *cpp is a pointer to the bytes, *sizep is the count.
560 xdr_bytes(XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize) argument
568 if (! xdr_u_int(xdrs, sizep)) {
571 nodesize = *sizep;
/barrelfish-master/lib/nfs/
H A Dxdr.c280 * *cpp is a pointer to the bytes, *sizep is the count.
284 xdr_bytes(XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize) argument
292 if (! xdr_u_int(xdrs, sizep)) {
295 nodesize = *sizep;
626 * *addrp is a pointer to the array, *sizep is the number of elements.
627 * If addrp is NULL (*sizep * elsize) bytes are allocated.
634 u_int *sizep, /* number of elements */
646 if (!xdr_u_int(xdrs, sizep)) {
649 c = *sizep;
632 xdr_array(XDR *xdrs, char **addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument
/barrelfish-master/lib/lua/src/
H A Dlfunc.c115 f->sizep = 0;
137 luaM_freearray(L, f->p, f->sizep);
H A Dluac.c395 S(f->sizelocvars),S(f->sizek),S(f->sizep));
427 int i,n=f->sizep;
H A Dldump.c104 n=f->sizep;
H A Dlparser.c503 if (fs->np >= f->sizep) {
504 int oldsize = f->sizep;
505 luaM_growvector(L, f->p, fs->np, f->sizep, Proto *, MAXARG_Bx, "functions");
506 while (oldsize < f->sizep) f->p[oldsize++] = NULL;
567 luaM_reallocvector(L, f->p, f->sizep, fs->np, Proto *);
568 f->sizep = fs->np;
H A Dlundump.c126 f->sizep=n;
H A Dlobject.h481 int sizep; /* size of `p' */ member in struct:Proto
H A Dlgc.c466 for (i = 0; i < f->sizep; i++) /* mark nested protos */
471 sizeof(Proto *) * f->sizep +
H A Dlvm.c739 if (cl->p->sizep > 0) luaF_close(L, oci->u.l.base);
755 if (cl->p->sizep > 0) luaF_close(L, base);

Completed in 123 milliseconds