Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 2447) sorted by path

12345678910>>...98

/freebsd/bin/cat/
H A Dcat.c439 struct addrinfo hints, *res, *res0; in udom_open() local
465 for (res = res0; res != NULL; res = res->ai_next) { in udom_open()
466 fd = socket(res->ai_family, res->ai_socktype, in udom_open()
467 res->ai_protocol); in udom_open()
481 error = cap_connect(capnet, fd, res->ai_addr, res->ai_addrlen); in udom_open()
491 if (res == NULL) { in udom_open()
/freebsd/bin/dd/
H A Dargs.c184 uintmax_t res; in f_bs() local
187 if (res < 1 || res > SSIZE_MAX) in f_bs()
195 uintmax_t res; in f_cbs() local
198 if (res < 1 || res > SSIZE_MAX) in f_cbs()
206 uintmax_t res; in f_count() local
211 if (res == 0) in f_count()
214 cpy_cnt = res; in f_count()
239 uintmax_t res; in f_ibs() local
243 if (res < 1 || res > SSIZE_MAX) in f_ibs()
293 uintmax_t res; in f_obs() local
[all …]
H A Dmisc.c57 double secs, res; in secs_elapsed() local
65 res = ts_res.tv_sec + ts_res.tv_nsec * 1e-9; in secs_elapsed()
66 if (secs < res) in secs_elapsed()
67 secs = res; in secs_elapsed()
/freebsd/bin/pax/
H A Dar_io.c410 int res; in ar_drain() local
504 int res = 0; in ar_read() local
566 if (res < 0) in ar_read()
570 return(res); in ar_read()
587 int res; in ar_write() local
606 if (res < 0) in ar_write()
613 if ((res > 0) && (res % BLKMULT)) { in ar_write()
669 if (res > 0) in ar_write()
680 return(res); in ar_write()
691 return(res); in ar_write()
[all …]
H A Dar_subs.c70 int res; in list() local
147 int res; in extract() local
319 if (!res) in extract()
352 int res; in wr_archive() local
559 int res; in append() local
721 int res; in copy() local
803 res = 1; in copy()
971 int res; in next_head() local
991 if ((ret = rd_wrbuf(hdend, res)) == res) in next_head()
1087 res = 1; in next_head()
[all …]
H A Dbuf_subs.c204 int res; in appnd_start() local
304 int res; in rd_sync() local
387 off_t res; in rd_skip() local
440 res -= cnt; in rd_skip()
513 int res; in rd_wrbuf() local
600 int res = 0; in wr_rdfile() local
624 if (res < 0) in wr_rdfile()
662 int res = 0; in rd_wrfile() local
706 cnt = res; in rd_wrfile()
750 int res = 0; in cp_file() local
[all …]
H A Dfile_subs.c128 int res = 0; in file_close() local
149 if (!pmode || res) in file_close()
336 int res; in node_creat() local
354 res = mkdir(arcn->name, file_mode); in node_creat()
356 res = 0; in node_creat()
398 if (res == 0) in node_creat()
423 res = 0; in node_creat()
430 if (!pmode || res) in node_creat()
887 int res; in set_crc() local
912 cpcnt += res; in set_crc()
[all …]
H A Dpat_rep.c88 int res; in rep_add() local
582 int res = 0; in mod_name() local
641 return(res); in mod_name()
646 return(res); in mod_name()
653 if ((res = tty_rename(arcn)) != 0) in mod_name()
654 return(res); in mod_name()
659 return(res); in mod_name()
676 int res; in tty_rename() local
725 if (res < 0) in tty_rename()
837 int res; in rep_name() local
[all …]
H A Dtables.c1230 int res; in st_hash() local
1249 res = len % sizeof(u_int); in st_hash()
1267 if (res) { in st_hash()
1269 end = pt + res; in st_hash()
/freebsd/bin/test/
H A Dtest.c192 int res; in main() local
226 return res; in main()
242 int res; in oexpr() local
244 res = aexpr(n); in oexpr()
247 res; in oexpr()
250 return res; in oexpr()
256 int res; in aexpr() local
261 res; in aexpr()
264 return res; in aexpr()
279 int res; in primary() local
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c58 COMPOUND4res res; in dotest() local
87 bzero(&res, sizeof (res)); in dotest()
91 xdr_COMPOUND4res, (caddr_t)&res, in dotest()
H A Dtst.call3.c349 caddr_t args, res; in dotest() local
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.unpriv_funcs.ksh75 res=$?
79 exit $res
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/
H A Derr.D_ARR_LOCAL.thisarray.d39 this int res; variable
44 this->res = this->x[this->y, this->z]++;
H A Dtst.selfarray.d40 self int res; variable
45 self->res = self->x[self->y, self->z]++;
46 printf("The result = %d\n", self->res);
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c526 struct servent *sv, res; in pfprint_port() local
529 if ((sv = getservbyport_r(port, NULL, &res, buf, sizeof (buf))) != NULL) in pfprint_port()
531 if (getservbyport_r(port, NULL, &res, buf, sizeof (buf), &sv) > 0) in pfprint_port()
545 struct hostent *host, res; in pfprint_inetaddr() local
556 AF_INET, &res, buf, sizeof (buf), &e)) != NULL) in pfprint_inetaddr()
559 AF_INET, &res, buf, sizeof (buf), &host, &e) > 0) in pfprint_inetaddr()
H A Ddt_strtab.c287 ssize_t res, total = 0; in dt_strtab_write() local
291 for (i = 0; i < sp->str_nbufs; i++, total += res) { in dt_strtab_write()
297 if ((res = func(sp->str_bufs[i], n, total, private)) <= 0) in dt_strtab_write()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.c210 ssize_t res, total = 0; in strtab_write() local
214 for (i = 0; i < sp->str_nbufs; i++, total += res) { in strtab_write()
220 if ((res = func(sp->str_bufs[i], n, priv)) <= 0) in strtab_write()
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dmathtest.c1512 int res, print_errno; in runtests() local
1518 res = runtest(test); in runtests()
1519 if (res == test_pass) { in runtests()
1523 } else if (res == test_decline) { in runtests()
1527 } else if (res == test_fail) { in runtests()
1536 } else if (res == test_invalid) { in runtests()
H A Dulp.c251 float res[n]; in svretf() local
252 svst1(svptrue_b32(), res, vec); in svretf()
253 return res[0]; in svretf()
257 double res[n]; in svretd() local
258 svst1(svptrue_b64(), res, vec); in svretd()
259 return res[0]; in svretd()
/freebsd/contrib/arm-optimized-routines/string/bench/
H A Dstrlen.c141 size_t res = 0, strlen_size = 0, mask = maskv; in main() local
152 res = funtab[f].fun (a + strlen_tests[c] + (res & mask)); in main()
/freebsd/contrib/arm-optimized-routines/string/include/
H A Dbenchlib.h28 uint32_t res = state >> 32; in rand32() local
30 return res; in rand32()
/freebsd/contrib/arm-optimized-routines/string/test/
H A Dmte.h34 int res = prctl (PR_SET_TAGGED_ADDR_CTRL, in mte_enabled() local
38 enabled = (res == 0); in mte_enabled()
/freebsd/contrib/atf/atf-c++/detail/
H A Dtext.cpp68 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); in match() local
70 if (res != 0 && res != REG_NOMATCH) in match()
73 found = res == 0; in match()
/freebsd/contrib/atf/atf-c/
H A Dutils.c85 int res; in grep_string() local
91 res = regexec(&preg, str, 0, NULL, 0); in grep_string()
92 ATF_REQUIRE(res == 0 || res == REG_NOMATCH); in grep_string()
96 return res == 0; in grep_string()
343 bool res; in atf_utils_grep_string() local
353 res = grep_string(atf_dynstr_cstring(&formatted), str); in atf_utils_grep_string()
357 return res; in atf_utils_grep_string()

12345678910>>...98