Searched refs:tres (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libc/port/stdio/
H A Dftell.c56 off64_t tres; local
77 tres = lseek64(FILENO(iop), 0, SEEK_CUR);
78 if (tres >= 0)
79 tres += adjust;
81 if (tres > LONG_MAX) {
88 return ((long)tres);
H A Dftello.c64 off64_t tres; local
82 tres = lseek64(FILENO(iop), 0, SEEK_CUR);
83 if (tres >= 0)
84 tres += (off64_t)adjust;
86 return (tres);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dsvc_generic.c234 struct t_bind *tres = NULL; /* bind info */ local
317 * In any case, try to get its bound info in tres
319 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
320 if (tres == NULL) {
366 tres) == -1) {
381 (memcmp(bindaddr->addr.buf, tres->addr.buf,
382 (int)tres->addr.len) != 0)) {
389 tres->qlen = 64; /* Chosen Arbitrarily */
390 tres->addr.len = 0;
391 if (t_bind(fd, tres, tre
[all...]
H A Drpc_soc.c281 struct t_bind tbindstr, *tres; local
325 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
326 if (tres == NULL)
342 res = t_bind(fd, &tbindstr, tres);
344 if ((tbindstr.addr.len == tres->addr.len) &&
345 (memcmp(tbindstr.addr.buf, tres->addr.buf,
346 (int)tres->addr.len) == 0))
357 (void) t_free((char *)tres, T_BIND);
H A Dsvc_vc.c403 struct netbuf tres = {0}; local
434 if (t_getname(fd, &tres, LOCALNAME) == -1)
435 tres.len = 0;
436 dummy->xp_ltaddr = tres;
/osnet-11/usr/src/lib/librpcsvc/common/
H A Dbindresvport.c73 struct t_bind *tbind, *tres; local
128 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
129 if (tres == NULL) {
176 res = t_bind(fd, tbind, tres);
178 if (memcmp(tbind->addr.buf, tres->addr.buf,
179 (int)tres->addr.len) == 0)
193 (void) t_free((char *)tres, T_BIND);
/osnet-11/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c902 struct t_bind tbindstr, *tres; local
953 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
954 if (tres == NULL) {
976 (void) t_free((char *)tres, T_BIND);
991 (void) t_free((char *)tres, T_BIND);
999 res = t_bind(fd, &tbindstr, tres);
1019 (void) t_free((char *)tres, T_BIND);
1026 (void) t_free((char *)tres, T_BIND);

Completed in 35 milliseconds