/freebsd-11-stable/contrib/netbsd-tests/sys/netatalk/ |
H A D | t_print.c | 95 char res[1024]; local 106 e = snprintf(res, sizeof(res), "%s", tst[i].str); 108 e = snprintf(res, sizeof(res), "%s:%zu", tst[i].str, i); 110 ATF_REQUIRE_STREQ(buf, res); 120 e = snprintf(res, l, "%s", tst[i].str); 122 e = snprintf(res, l, "%s:%zu", tst[i].str, i); 124 ATF_REQUIRE_STREQ(buf, res);
|
/freebsd-11-stable/sys/i386/include/ |
H A D | counter.h | 72 uint64_t res; member in struct:counter_u64_fetch_cx8_arg 100 atomic_add_64(&arg->res, val); 107 uint64_t res; local 110 res = 0; 120 res += *(uint64_t *)((char *)p + 126 arg.res = 0; 128 res = arg.res; 130 return (res);
|
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/ |
H A D | h_arc4.c | 49 int fd, res; local 61 res = ioctl(fd, CIOCGSESSION, &cs); 62 if (res < 0) 72 res = ioctl(fd, CIOCCRYPT, &co); 73 if (res < 0)
|
H A D | h_cbcdes.c | 50 int fd, res; local 62 res = ioctl(fd, CIOCGSESSION, &cs); 63 if (res < 0) 74 res = ioctl(fd, CIOCCRYPT, &co); 75 if (res < 0)
|
H A D | h_null.c | 45 int fd, res; local 57 res = ioctl(fd, CIOCGSESSION, &cs); 58 if (res < 0) 68 res = ioctl(fd, CIOCCRYPT, &co); 69 if (res < 0)
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/ |
H A D | t_snprintb.c | 42 h_snprintb(const char *fmt, uint64_t val, const char *res) argument 48 slen = (int) strlen(res); 50 ATF_REQUIRE_STREQ(res, buf); 71 h_snprintb_m(const char *fmt, uint64_t val, int line_max, const char *res, argument 80 ATF_REQUIRE_EQ(0, memcmp(res, buf, res_len + 1));
|
/freebsd-11-stable/contrib/gcc/ |
H A D | resource.c | 209 mark_referenced_resources (rtx x, struct resources *res, 232 mark_referenced_resources (SUBREG_REG (x), res, 0); 241 SET_HARD_REG_BIT (res->regs, r); 253 SET_HARD_REG_BIT (res->regs, r); 261 res->unch_memory = 1; 263 res->memory = 1; 264 res->volatil |= MEM_VOLATILE_P (x); 267 mark_referenced_resources (XEXP (x, 0), res, 0); 271 res->cc = 1; 277 res 205 mark_referenced_resources(rtx x, struct resources *res, int include_delayed_effects) argument 228 mark_referenced_resources (SUBREG_REG (x), res, 0); local 289 mark_referenced_resources (ASM_OPERANDS_INPUT (x, i), res, 0); local 304 mark_referenced_resources (SET_SRC (x), res, 0); local 415 mark_referenced_resources (XEXP (x, i), res, include_delayed_effects); local 420 mark_referenced_resources (XVECEXP (x, i, j), res, local 432 find_dead_or_set_registers(rtx target, struct resources *res, rtx *jump_target, int jump_count, struct resources set, struct resources needed) argument 624 mark_set_resources(rtx x, struct resources *res, int in_dest, enum mark_resource_type mark_type) argument 707 mark_set_resources (SET_DEST (x), res, local 712 mark_set_resources (SET_SRC (x), res, 0, MARK_SRC_DEST); local 762 mark_set_resources (SUBREG_REG (x), res, in_dest, mark_type); local 808 mark_set_resources (ASM_OPERANDS_INPUT (x, i), res, in_dest, local 822 mark_set_resources (XEXP (x, i), res, in_dest, mark_type); local 827 mark_set_resources (XVECEXP (x, i, j), res, in_dest, mark_type); local 886 mark_target_live_regs(rtx insns, rtx target, struct resources *res) argument [all...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | gethost.c | 60 struct addrinfo hints, *res; local 66 getaddrinfo(name, NULL, &hints, &res); 67 if (res != NULL) { 68 sin6 = (struct sockaddr_in6 *)res->ai_addr; 70 freeaddrinfo(res);
|
/freebsd-11-stable/contrib/sendmail/test/ |
H A D | t_setgid.c | 43 int res; local 56 res = setregid(effgid, effgid); 58 res = setgid(effgid); 61 printf("setgid(%d)=%d %s\n", (int) effgid, res, 62 res < 0 ? "failure" : "ok");
|
/freebsd-11-stable/lib/libstdthreads/ |
H A D | thrd.c | 98 thrd_exit(int res) argument 101 pthread_exit((void *)(intptr_t)res); 105 thrd_join(thrd_t thr, int *res) argument 111 if (res != NULL) 112 *res = (intptr_t)value_ptr;
|
/freebsd-11-stable/lib/libutil/ |
H A D | trimdomain.c | 100 int res; local 103 res = 0; 106 res = 1; /* NN */ 111 res = 1; /* NN.NN */ 114 return (res);
|
/freebsd-11-stable/release/picobsd/tinyware/passwd/ |
H A D | passwd.c | 88 int res = 0; local 156 res = use_yp(uname, 0, 0); 157 if (res == USER_YP_ONLY) { 167 } else if (res == USER_LOCAL_ONLY) { 173 } else if (res == USER_YP_AND_LOCAL) {
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | parse_units.c | 50 int (*func)(int res, int val, unsigned mult), 55 int res = init; local 94 res = (*func)(res, val, def_mult); 95 if (res < 0) 96 return res; 116 res = (*func)(res, val, u->mult); 117 if (res < 0) 118 return res; 48 parse_something(const char *s, const struct units *units, const char *def_unit, int (*func)(int res, int val, unsigned mult), int init, int accept_no_val_p) argument 147 acc_units(int res, int val, unsigned mult) argument 166 acc_flags(int res, int val, unsigned mult) argument [all...] |
/freebsd-11-stable/lib/libc/db/test/hash.tests/ |
H A D | tverify.c | 62 DBT key, res; local 91 stat = (dbp->get)(dbp, &key, &res,0); 99 if ( memcmp ( res.data, wp2, res.size ) ) { 100 fprintf ( stderr, "data for %s is incorrect. Data was %s. Should have been %s\n", key.data, res.data, wp2 );
|
/freebsd-11-stable/sys/kgssapi/ |
H A D | gss_release_name.c | 46 struct release_name_res res; local 64 stat = gssd_release_name_1(&args, &res, cl); 74 if (res.major_status != GSS_S_COMPLETE) { 75 *minor_status = res.minor_status; 76 return (res.major_status);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | recvmmsg.c | 47 int res; local 55 res = ppoll(&pfd[0], 1, timeout, NULL); 56 if (res == -1 || res == 0) 57 return (res);
|
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | scaffold.c | 86 struct addrinfo hints, *res; local 92 if (getaddrinfo(host, NULL, &hints, &res) == 0) 93 return (res); 99 if (getaddrinfo(host, NULL, &hints, &res) != 0) { 103 if (res->ai_family != AF_INET6 && res->ai_family != AF_INET) { 104 tcpd_warn("%d: not an internet host", res->ai_family); 105 freeaddrinfo(res); 108 if (!res->ai_canonname) { 110 tcpd_warn("(cannot obtain official name)", res 170 struct addrinfo *hp, *res; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/Common/ |
H A D | Reproduce.cpp | 33 SmallString<128> res; local 36 res = root.drop_back(); 38 res = root.substr(2); 40 path::append(res, path::relative_path(abs)); 41 return path::convert_to_slash(res);
|
/freebsd-11-stable/usr.sbin/keyserv/ |
H A D | keyserv.c | 380 static cryptkeyres res; local 387 res.cryptkeyres_u.deskey = arg->deskey; 388 res.status = pk_encrypt(uid, arg->remotename, &(arg->remotekey), 389 &res.cryptkeyres_u.deskey); 391 if (res.status == KEY_SUCCESS) { 393 res.cryptkeyres_u.deskey.key.high, 394 res.cryptkeyres_u.deskey.key.low); 396 (void) fprintf(stderr, "%s\n", strstatus(res.status)); 400 return (&res); 408 static cryptkeyres res; local 489 static cryptkeyres res; local 517 static cryptkeyres res; local 545 static cryptkeyres res; local 598 static getcredres res; local [all...] |
/freebsd-11-stable/contrib/apr/strings/ |
H A D | apr_strings.c | 71 char *res; local 78 res = apr_pmemdup(a, s, len); 79 return res; 84 char *res; local 93 res = apr_palloc(a, n + 1); 94 memcpy(res, s, n); 95 res[n] = '\0'; 96 return res; 101 char *res; local 106 res 114 void *res; local 125 char *cp, *argp, *res; local 183 char *res; local [all...] |
/freebsd-11-stable/contrib/pf/libevent/ |
H A D | evbuffer.c | 92 int res = 0; local 109 res = evbuffer_read(bufev->input, fd, howmuch); 110 if (res == -1) { 115 } else if (res == 0) { 120 if (res <= 0) 155 int res = 0; local 164 res = evbuffer_write(bufev->output, fd); 165 if (res == -1) { 180 } else if (res == 0) { 184 if (res < 293 int res; local 310 int res; local 405 int res; local [all...] |
/freebsd-11-stable/bin/dd/ |
H A D | args.c | 183 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...] |
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-all.h | 391 struct resource *res; member in struct:ata_resource 513 #define ATA_INB(res, offset) \ 514 bus_read_1((res), (offset)) 516 #define ATA_INW(res, offset) \ 517 bus_read_2((res), (offset)) 518 #define ATA_INW_STRM(res, offset) \ 519 bus_read_stream_2((res), (offset)) 520 #define ATA_INL(res, offset) \ 521 bus_read_4((res), (offset)) 522 #define ATA_INSW(res, offse [all...] |
/freebsd-11-stable/contrib/gcclibs/libdecnumber/ |
H A D | decNumber.c | 356 Unit *res; /* where result will be built */ local 558 res = dn->lsu; /* fits into given decNumber */ 562 res = resbuff; /* assume use local buffer */ 571 res = allocres; 574 /* res now -> number lsu, buffer, or allocated storage for Unit array */ 581 up = res + D2U (d) - 1; /* -> msu */ 595 if (up == res) 603 up = res; /* -> lsu */ 619 decSetCoeff (dn, set, res, d, &residue, &status); 643 /* res i 653 decNumberAbs(decNumber * res, const decNumber * rhs, decContext * set) argument 685 decNumberAdd(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 708 decNumberCompare(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 731 decNumberDivide(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 754 decNumberDivideInteger(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 777 decNumberMax(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 800 decNumberMin(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 824 decNumberMinus(decNumber * res, const decNumber * rhs, decContext * set) argument 858 decNumberPlus(decNumber * res, const decNumber * rhs, decContext * set) argument 889 decNumberMultiply(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 911 decNumberNormalize(decNumber * res, const decNumber * rhs, decContext * set) argument 976 decNumberPower(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 1263 decNumberQuantize(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 1292 decNumberRescale(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 1315 decNumberRemainder(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 1338 decNumberRemainderNear(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 1358 decNumberSameQuantum(decNumber * res, const decNumber * lhs, const decNumber * rhs) argument 1455 decNumberSquareRoot(decNumber * res, const decNumber * rhs, decContext * set) argument 1796 decNumberSubtract(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument 1825 decNumberToIntegralValue(decNumber * res, const decNumber * rhs, decContext * set) argument 2230 decAddOp(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set, uByte negate, uInt * status) argument 2707 decDivideOp(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set, Flag op, uInt * status) argument 3430 decMultiplyOp(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set, uInt * status) argument 3612 decQuantizeOp(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set, Flag quant, uInt * status) argument 3795 decCompareOp(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set, Flag op, uInt * status) argument 4577 decNumber *res; /* result structure */ local 5492 decNaNs(decNumber * res, const decNumber * lhs, const decNumber * rhs, uInt * status) argument 5708 decCheckOperands(decNumber * res, const decNumber * lhs, const decNumber * rhs, decContext * set) argument [all...] |
/freebsd-11-stable/bin/pax/ |
H A D | buf_subs.c | 210 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...] |