Searched defs:sz (Results 1 - 25 of 529) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dextern-array.c9 unsigned sz = sizeof(v4l2_type_names); local
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_umem.c33 inj_alloc(size_t sz) argument
35 return (umem_alloc(sz, UMEM_NOFAIL));
39 inj_zalloc(size_t sz) argument
41 return (umem_zalloc(sz, UMEM_NOFAIL));
45 inj_free(void *buf, size_t sz) argument
47 umem_free(buf, sz);
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetident.c39 size_t sz = 0; local
57 sz = elf->ed_identsz;
61 sz = elf->ed_identsz;
67 *ptr = sz;
H A Drawfile.c39 register size_t sz; local
49 if ((sz = elf->ed_fsz) == 0) {
59 if ((p = _elf_read(elf->ed_fd, elf->ed_baseoff, sz)) != 0) {
63 sz = 0;
69 sz = 0;
73 *ptr = sz;
H A Doutput.c50 _elf_outmap(int fd, size_t sz, unsigned int *pflag) argument
59 if ((!*pflag) && (ftruncate(fd, (off_t)sz) == 0) &&
60 (p = mmap((char *)0, sz, PROT_READ+PROT_WRITE,
73 if ((p = (char *)calloc(1, sz)) == 0)
80 _elf_outsync(int fd, char *p, size_t sz, unsigned int flag) argument
85 if ((fd = msync(p, sz, MS_ASYNC)) == -1)
87 (void) munmap(p, sz);
89 return (sz);
94 (write(fd, p, sz) == sz)) {
[all...]
H A Dnewphdr.c70 size_t sz; local
106 if ((sz = count * _elf_msize(ELF_T_PHDR, work)) == 0) {
116 if ((ph = malloc(sz)) == 0) {
128 (void) memset(ph, 0, sz);
135 elf->ed_phdrsz = sz;
H A Dstrptr.c93 size_t sz = 0, j; local
95 if (((j = d->d_align) > 1) && (sz % j != 0)) {
96 j -= sz % j;
97 sz += j;
109 sz += d->d_size;
/illumos-gate/usr/src/lib/iconv_modules/euro/common/
H A Deuro.h39 signed char sz; member in struct:__anon2
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-rpool.c51 size_t sz = i * i * i; local
53 a[i] = sm_rpool_malloc_x(rpool, sz);
54 for (j = 0; j < sz; ++j)
H A Dt-memstat.c47 int r, r2, i, l, slp, sz; local
52 sz = slp = 0;
63 sz = strtol(optarg, NULL, 0);
93 if (sz > 0)
102 mem = malloc(sz);
104 printf("malloc(%d) failed\n", sz);
/illumos-gate/usr/src/cmd/tbl/
H A Dtg.c22 get_text(char *sp, int ilin, int icol, char *fn, char *sz) argument
42 if ((sz && *sz) || (vs && *vs))
46 if (sz && *sz)
47 fprintf(tabout, ".ps %s\n",sz);
66 if (sz && *sz) fprintf(tabout, ".br\n.ps\n.vs\n");
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash.c27 size_t sz; local
127 sz = iph.iph_size * sizeof(*table);
128 table = malloc(sz);
129 if ((*copyfunc)((char *)iph.iph_table, (char *)table, sz))
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpeek.c42 { reg ssize_t n, sz; local
46 if((sz = size) == 0 || !bp)
70 *bp = sfreserve(f, sz <= 0 ? 0 : sz > f->size ? f->size : sz, 0);
72 if(*bp && sz >= 0)
73 return sz;
77 if(sz < 0)
82 { if(sz > n)
83 sz
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream_reopen.c65 size_t sz; local
73 f = open_memstream(&c, &sz);
80 f = open_wmemstream(&wc, &sz);
/illumos-gate/usr/src/lib/libproject/common/
H A Dproject_walk.c47 size_t sz; local
50 while ((sz = projlist(projids, osz * sizeof (projid_t))) != osz) {
51 osz = sz;
53 if ((projids = realloc(projids, sz * sizeof (projid_t)))
66 for (curr_projid = projids; curr_projid < projids + sz; curr_projid++) {
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_overflow.c92 u_int32_t sz; local
95 memmove(&sz, (char *)p + sizeof(db_pgno_t), sizeof(u_int32_t));
96 *ssz = sz;
99 if (pg == P_INVALID || sz == 0)
103 if (*bufsz < sz) {
104 *buf = (char *)(*buf == NULL ? malloc(sz) : realloc(*buf, sz));
107 *bufsz = sz;
119 nb = MIN(sz, plen);
123 if ((sz
150 u_int32_t sz; local
202 u_int32_t sz; local
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Dsized_array.c47 int sz; member in struct:sized_array
55 sized_array(size_t n, size_t sz) argument
60 total = sizeof (struct sized_array) + n*sz;
70 sa->sz = sz;
121 return (sa->sz);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.daytimed/
H A Din.daytimed.c68 size_t sz)
67 daytime_dg(int s, const struct sockaddr *sap, int sa_size, const void *buf, size_t sz) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.discardd/
H A Din.discardd.c54 noop(int s, const struct sockaddr *sap, int sa_size, const void *buf, size_t sz) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.timed/
H A Din.timed.c73 size_t sz)
72 machtime_dg(int s, const struct sockaddr *sap, int sa_len, const void *buf, size_t sz) argument
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_fmri.c93 size_t sz; local
95 if ((sz = fmd_buf_size(hdl, NULL, fmri->fmri_packnm)) !=
96 fmri->fmri_packsz && sz != 0)
H A Dcmd_util.c46 size_t sz; local
48 if ((sz = fmd_buf_size(hdl, cp, bufname)) == 0) {
51 } else if (sz != bufsz) {
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_fmri.c91 size_t sz; local
93 if ((sz = fmd_buf_size(hdl, NULL, fmri->fmri_packnm)) !=
94 fmri->fmri_packsz && sz != 0)
/illumos-gate/usr/src/cmd/bnu/
H A Dunknown.c97 size_t sz; local
103 sz = strlen(ebuf);
104 if (ebuf[sz-1] != '\n') {
105 ebuf[sz] = '\n';
106 ebuf[sz+1] = '\0';
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dwrap_size_limit.c148 OM_uint32 sz = req_output_size; local
151 while (sz > 0 && krb5_encrypt_size(sz, ctx->enc->enctype) + 16 > req_output_size)
152 sz--;
154 if (sz > 16)
155 sz -= 16;
157 sz = 0;
161 if (sz > 65535)
162 sz -= 65535;
164 sz
[all...]

Completed in 93 milliseconds

1234567891011>>