Searched refs:res (Results 1 - 25 of 2025) sorted by path

1234567891011>>

/freebsd-11-stable/bin/cat/
H A Dcat.c331 struct addrinfo hints, *res, *res0; local
349 for (res = res0; res != NULL; res = res->ai_next) {
350 fd = socket(res->ai_family, res->ai_socktype,
351 res->ai_protocol);
356 error = connect(fd, res->ai_addr, res
[all...]
/freebsd-11-stable/bin/dd/
H A Dargs.c183 uintmax_t res; local
185 res = get_num(arg);
186 if (res < 1 || res > SSIZE_MAX)
188 in.dbsz = out.dbsz = (size_t)res;
194 uintmax_t res; local
196 res = get_num(arg);
197 if (res < 1 || res > SSIZE_MAX)
199 cbsz = (size_t)res;
205 intmax_t res; local
238 uintmax_t res; local
259 uintmax_t res; local
[all...]
H A Dmisc.c62 double secs, res; local
70 res = ts_res.tv_sec + ts_res.tv_nsec * 1e-9;
71 if (secs < res)
72 secs = res;
/freebsd-11-stable/bin/pax/
H A Dar_io.c426 int res; local
440 while ((res = read(arfd, drbuf, sizeof(drbuf))) > 0)
442 lstrval = res;
520 int res = 0; local
533 if ((res = read(arfd, buf, cnt)) > 0) {
542 if (res != rdblksz) {
552 rdblksz = res;
556 return(res);
571 if ((res = read(arfd, buf, cnt)) > 0) {
573 return(res);
603 int res; local
999 int res; local
[all...]
H A Dar_subs.c76 int res; local
105 if ((res = pat_match(arcn)) < 0)
108 if ((res == 0) && (sel_chk(arcn) == 0)) {
119 if ((res = mod_name(arcn)) < 0)
121 if (res == 0)
153 int res; local
189 if ((res = pat_match(arcn)) < 0)
192 if ((res > 0) || (sel_chk(arcn) != 0)) {
232 if ((pat_sel(arcn) < 0) || ((res = mod_name(arcn)) < 0))
234 if (res >
358 int res; local
564 int res; local
726 int res; local
976 int res; local
1127 int res; local
[all...]
H A Dbuf_subs.c210 int res; local
260 if ((res = ar_read(bufpt, rdblksz)) <= 0)
262 bufpt += res;
310 int res; local
333 if ((res = ar_read(buf, blksz)) > 0) {
338 bufend = buf + res;
339 rdcnt += res;
393 off_t res; local
405 res = MIN((bufend - bufpt), skcnt);
406 bufpt += res;
519 int res; local
606 int res = 0; local
668 int res = 0; local
756 int res = 0; local
[all...]
H A Dfile_subs.c134 int res = 0; local
148 res = set_ids(arcn->name, arcn->sb.st_uid, arcn->sb.st_gid);
155 if (!pmode || res)
342 int res; local
360 res = mkdir(arcn->name, file_mode);
362 res = 0;
366 res = mknod(arcn->name, file_mode, arcn->sb.st_rdev);
370 res = mknod(arcn->name, file_mode, arcn->sb.st_rdev);
373 res = mkfifo(arcn->name, file_mode);
384 res
893 int res; local
[all...]
H A Dpat_rep.c103 int res; local
137 if ((res = regcomp(&(rep->rcmp), str+1, 0)) != 0) {
138 regerror(res, &(rep->rcmp), rebuf, sizeof(rebuf));
610 int res = 0; local
668 if ((res = rep_name(arcn->name, &(arcn->nlen), 1)) != 0)
669 return(res);
673 ((res = rep_name(arcn->ln_name, &(arcn->ln_nlen), 0)) != 0))
674 return(res);
681 if ((res = tty_rename(arcn)) != 0)
682 return(res);
704 int res; local
865 int res; local
[all...]
H A Dtables.c1236 int res; local
1255 res = len % sizeof(u_int);
1273 if (res) {
1275 end = pt + res;
/freebsd-11-stable/bin/test/
H A Dtest.c197 int res; local
224 res = oexpr(t_lex(*t_wp));
226 res = !oexpr(t_lex(*t_wp));
231 return res;
247 int res; local
249 res = aexpr(n);
252 res;
255 return res;
261 int res; local
263 res
284 int res; local
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c58 COMPOUND4res res; local
87 bzero(&res, sizeof (res));
91 xdr_COMPOUND4res, (caddr_t)&res,
H A Dtst.call3.c349 caddr_t args, res; local
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.unpriv_funcs.ksh75 res=$?
79 exit $res
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/
H A Derr.D_ARR_LOCAL.thisarray.d39 this int res;
44 this->res = this->x[this->y, this->z]++;
H A Dtst.selfarray.d40 self int res;
45 self->res = self->x[self->y, self->z]++;
46 printf("The result = %d\n", self->res);
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c520 struct servent *sv, res; local
523 if ((sv = getservbyport_r(port, NULL, &res, buf, sizeof (buf))) != NULL)
525 if (getservbyport_r(port, NULL, &res, buf, sizeof (buf), &sv) > 0)
539 struct hostent *host, res; local
550 AF_INET, &res, buf, sizeof (buf), &e)) != NULL)
553 AF_INET, &res, buf, sizeof (buf), &host, &e) > 0)
H A Ddt_strtab.c280 ssize_t res, total = 0; local
284 for (i = 0; i < sp->str_nbufs; i++, total += res) {
290 if ((res = func(sp->str_bufs[i], n, total, private)) <= 0)
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_avl.c198 int res = info->ac_compare(r, info->ac_right, info->ac_private); local
200 if (res == 0) {
205 if (res < 0)
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c367 cv_timedwait_hires(kcondvar_t *cv, kmutex_t *mp, hrtime_t tim, hrtime_t res, argument
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h335 hrtime_t res, int flag);
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.c210 ssize_t res, total = 0; local
214 for (i = 0; i < sp->str_nbufs; i++, total += res) {
220 if ((res = func(sp->str_bufs[i], n, priv)) <= 0)
/freebsd-11-stable/contrib/amd/amd/
H A Damfs_host.c206 struct fhstatus res; local
263 (SVC_IN_ARG_TYPE) &res,
270 if (res.fhs_status) {
271 errno = res.fhs_status;
275 memmove(&fhp->v2, &res.fhs_fh, NFS_FHSIZE);
H A Damq_subr.c57 static char res; local
59 return (voidp) &res;
82 static int res = AMQ_UMNT_OK; local
88 return &res;
231 static amq_string res; local
233 res = get_version_string();
234 return &res;
242 static int res; local
244 res = getpid();
245 return &res;
261 static amq_string res; local
[all...]
H A Dinfo_ldap.c377 LDAPMessage *res = NULL, *entry; local
395 &res);
398 if (res) {
399 ldap_msgfree(res);
400 res = NULL;
418 if (res)
419 ldap_msgfree(res);
423 nentries = ldap_count_entries(a->ldap, res);
427 ldap_msgfree(res);
431 entry = ldap_first_entry(a->ldap, res);
474 LDAPMessage *entry, *res = NULL; local
[all...]
H A Dinfo_nis.c251 int res; local
302 res = yp_match(gopt.nis_domain, map, key, strlen(key), pval, &outlen);
303 if (m->cfm && (m->cfm->cfm_flags & CFM_SUN_MAP_SYNTAX) && res == 0) {
315 switch (res) {
323 plog(XLOG_ERROR, "nis_search: %s: %s", map, yperr_string(res));

Completed in 275 milliseconds

1234567891011>>