Searched refs:tblsize (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/backup/restore/ |
H A D | symtab.c | 681 off64_t tblsize; local 733 tblsize = stbuf.st_size - sizeof (hdr); 734 if (tblsize > ULONG_MAX) { 741 base = calloc((size_t)sizeof (char), (size_t)tblsize); 749 if (read(fd, base, (size_t)tblsize) < 0 || 797 (base + tblsize - (entrytblsize * sizeof (*entry)));
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | os-ip.c | 1126 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 D | result.c | 1058 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 ) );
|
/titanic_41/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 769 size_t tblsize; in writesymtab() local 777 tblsize = (nsyms + 1) * eltsize; in writesymtab() 778 if ((buf = dst = malloc(tblsize)) == NULL) { in writesymtab() 786 time(0), 0, 0, 0, tblsize + sym_strtbl.used); in writesymtab() 798 arwrite(filename, fd, buf, tblsize); in writesymtab()
|