Searched defs:tblsize (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/backup/restore/
H A Dsymtab.c681 off64_t tblsize; local
733 tblsize = stbuf.st_size - sizeof (hdr);
734 if (tblsize > ULONG_MAX) {
740 /* LINTED tblsize fits in a size_t */
741 base = calloc((size_t)sizeof (char), (size_t)tblsize);
748 /* LINTED tblsize fits in a size_t */
749 if (read(fd, base, (size_t)tblsize) < 0 ||
797 (base + tblsize - (entrytblsize * sizeof (*entry)));
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dresult.c1058 static int tblsize = 0; local
1061 if ( tblsize == 0 ) {
1063 tblsize = sysconf( _SC_OPEN_MAX );
1065 tblsize = getdtablesize();
1069 if ( tblsize >= FD_SETSIZE ) {
1073 tblsize = FD_SETSIZE - 1;
1083 rc = select( tblsize, &readfds, 0, 0, timeout ) );
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 );
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c769 size_t tblsize; local
777 tblsize = (nsyms + 1) * eltsize;
778 if ((buf = dst = malloc(tblsize)) == NULL) {
786 time(0), 0, 0, 0, tblsize + sym_strtbl.used);
798 arwrite(filename, fd, buf, tblsize);

Completed in 61 milliseconds