Home
last modified time | relevance | path

Searched refs:tblsize (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/backup/restore/
H A Dsymtab.c654 off64_t tblsize; in initsymtable() local
714 tblsize = stbuf.st_size - sizeof (hdr); in initsymtable()
715 if (tblsize > ULONG_MAX) { in initsymtable()
722 base = calloc((size_t)sizeof (char), (size_t)tblsize); in initsymtable()
730 if (read(fd, base, (size_t)tblsize) < 0 || in initsymtable()
778 (base + tblsize - (entrytblsize * sizeof (*entry))); in initsymtable()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c1126 static int tblsize = 0; /* static */ local
1128 if ( tblsize == 0 ) {
1130 tblsize = FOPEN_MAX; /* ANSI spec. */
1133 tblsize = sysconf( _SC_OPEN_MAX );
1135 tblsize = getdtablesize();
1139 if ( tblsize >= FD_SETSIZE ) {
1143 tblsize = FD_SETSIZE - 1;
1147 return( tblsize );
H A Dresult.c1056 static int tblsize = 0; local
1059 if ( tblsize == 0 ) {
1061 tblsize = sysconf( _SC_OPEN_MAX );
1063 tblsize = getdtablesize();
1067 if ( tblsize >= FD_SETSIZE ) {
1071 tblsize = FD_SETSIZE - 1;
1081 rc = select( tblsize, &readfds, 0, 0, timeout ) );
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c770 size_t tblsize; in writesymtab() local
778 tblsize = (nsyms + 1) * eltsize; in writesymtab()
779 if ((buf = dst = malloc(tblsize)) == NULL) { in writesymtab()
787 time(0), 0, 0, 0, tblsize + sym_strtbl.used); in writesymtab()
799 arwrite(filename, fd, buf, tblsize); in writesymtab()