Searched refs:arraysz (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dscandir.c45 long arraysz; local
57 arraysz = (stb.st_size / 24);
58 names = (struct direct **)malloc(arraysz * sizeof(struct direct *));
80 if (++nitems >= arraysz) {
83 arraysz = stb.st_size / 12;
85 arraysz * sizeof(struct direct *));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dscandir.c80 size_t arraysz, entlen; local
96 arraysz = INT_MAX;
98 arraysz = (size_t)tmp_arraysz;
99 names = malloc(arraysz * sizeof (struct dirent64 *));
119 if (nitems >= arraysz) {
127 arraysz += 512; /* no science here */
129 arraysz * sizeof (struct dirent64 *));
165 size_t arraysz, entlen; local
181 arraysz = INT_MAX;
183 arraysz
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_dir.c54 int arraysz, cnt, ret; local
63 for (arraysz = cnt = 0; (dp = readdir(dirp)) != NULL; ++cnt) {
64 if (cnt >= arraysz) {
65 arraysz += 100;
67 arraysz * sizeof(names[0]))) != 0)
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c80 long arraysz; local
92 arraysz = (stb.st_size / 24);
93 names = (struct direct64 **)malloc(arraysz *
117 if (++nitems >= arraysz) {
120 arraysz = stb.st_size / 12;
122 arraysz * sizeof (struct direct64 *));
147 long arraysz; local
162 arraysz = (stb.st_size / 24);
164 names = (struct direct **)malloc(arraysz * sizeof (struct direct *));
187 if (++nitems >= arraysz) {
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dutil.c656 call_array(Addr *array, uint_t arraysz, Rt_map *lmp, Word shtype) argument
659 uint_t arraycnt = (uint_t)(arraysz / sizeof (Addr));

Completed in 53 milliseconds