/dragonfly/tools/regression/lib/libc-regex/ |
H A D | testregex.c | 875 if (ans) in matchprint() 1242 char* ans; in main() local 1566 if ((ans = setlocale(LC_COLLATE, s)) && streq(ans, "POSIX")) in main() 1567 ans = "C"; in main() 1568 if (!ans || !streq(ans, s) && streq(s, "C")) in main() 1569 ans = 0; in main() 1571 ans = "C"; in main() 1572 if (!ans || !streq(ans, s) && streq(s, "C")) in main() 2042 …if (!(test & (TEST_DECOMP|TEST_SUB)) && *ans && *ans != '(' && !streq(ans, "OK") && !streq(ans, "N… in main() 2059 else if (!*ans || ans[0]=='(' || cret == REG_BADPAT && streq(ans, "NOMATCH")) in main() [all …]
|
/dragonfly/tools/regression/lib/libm/ |
H A D | test-next.c | 45 #define test(exp, ans, ex) do { \ argument 46 double __ans = (ans); \ 50 #define testf(exp, ans, ex) do { \ argument 51 float __ans = (ans); \ 55 #define testl(exp, ans, ex) do { \ argument 56 long double __ans = (ans); \ 60 #define testboth(arg1, arg2, ans, ex, prec) do { \ argument 64 #define testall(arg1, arg2, ans, ex) do { \ argument 65 testboth((arg1), (arg2), (ans), (ex), ); \ 66 testboth((arg1), (arg2), (ans), (ex), f); \ [all …]
|
/dragonfly/contrib/gmp/mpn/generic/ |
H A D | perfpow.c | 45 int ans; in pow_equals() local 90 ans = 1; in pow_equals() 92 ans = 0; in pow_equals() 96 ans = 0; in pow_equals() 100 return ans; in pow_equals() 259 int ans = 0; in perfpow() local 293 ans = 1; in perfpow() 305 ans = 1; in perfpow() 312 return ans; in perfpow() 351 ans = 0; in mpn_perfect_power_p() [all …]
|
/dragonfly/usr.sbin/ppp/ |
H A D | chap.c | 374 u_char *ans; in chap_Respond() local 382 if (ans) { in chap_Respond() 384 ans, *ans + 1 + strlen(name), name); in chap_Respond() 389 free(ans); in chap_Respond() 692 char *name, *key, *ans; in chap_Input() local 722 ans = NULL; in chap_Input() 775 *ans = chap->auth.id; in chap_Input() 792 bp = mbuf_Read(bp, ans, len); in chap_Input() 793 ans[len] = '\0'; in chap_Input() 821 if (*ans) in chap_Input() [all …]
|
/dragonfly/contrib/cvs-1.12/contrib/ |
H A D | sccs2rcs.in | 148 set ans = $< 149 if ((_$ans == _) || (_$ans == _y) || (_$ans == _Y)) then 165 set ans = $< 166 if ((_$ans != _) && (_$ans != _n) && (_$ans != _N)) then
|
/dragonfly/usr.sbin/rpcbind/ |
H A D | pmap_svc.c | 165 long ans; in pmapproc_change() local 218 ans = FALSE; in pmapproc_change() 221 ans = map_set(&rpcbreg, rpcbreg.r_owner); in pmapproc_change() 230 ans = ans1 || ans2; in pmapproc_change() 232 ans = FALSE; in pmapproc_change() 235 if ((!svc_sendreply(xprt, (xdrproc_t) xdr_long, (caddr_t) &ans)) && in pmapproc_change() 244 fprintf(stderr, "%s\n", ans == TRUE ? "succeeded" : "failed"); in pmapproc_change() 247 rpcbs_set(RPCBVERS_2_STAT, ans); in pmapproc_change() 249 rpcbs_unset(RPCBVERS_2_STAT, ans); in pmapproc_change()
|
H A D | check_bound.c | 78 int ans; in check_bound() local 94 ans = bind(fd, (struct sockaddr *)na->buf, na->len); in check_bound() 100 return (ans == 0 ? FALSE : TRUE); in check_bound()
|
H A D | rpcb_svc_com.c | 130 static bool_t ans; in rpcbproc_set_com() local 139 ans = map_set(regp, getowner(transp, owner, sizeof owner)); in rpcbproc_set_com() 145 rpcbs_set(rpcbversnum - 2, ans); in rpcbproc_set_com() 146 return (void *)&ans; in rpcbproc_set_com() 218 static bool_t ans; in rpcbproc_unset_com() local 227 ans = map_unset(regp, getowner(transp, owner, sizeof owner)); in rpcbproc_unset_com() 233 rpcbs_unset(rpcbversnum - 2, ans); in rpcbproc_unset_com() 234 return (void *)&ans; in rpcbproc_unset_com() 240 int ans = 0; in map_unset() local 264 ans = 1; in map_unset() [all …]
|
/dragonfly/lib/libc/resolv/ |
H A D | res_send.c | 445 ans, anssiz, &resplen); in res_nsend() 494 buf, buflen, ans, anssiz, &terrno, in res_nsend() 531 ans, anssiz, &resplen); in res_nsend() 627 HEADER *anhp = (HEADER *) ans; 738 cp = ans; 770 resplen = ns_get16(ans); 789 cp = ans; 852 const u_char *buf, int buflen, u_char *ans, argument 857 HEADER *anhp = (HEADER *) ans; 1036 resplen = recvfrom(s, (char*)ans, anssiz,0, [all …]
|
H A D | res_data.c | 214 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { in res_send() argument 220 return (res_nsend(&_res, buf, buflen, ans, anssiz)); in res_send() 226 u_char *ans, int anssiz) in res_sendsigned() argument 233 return (res_nsendsigned(&_res, buf, buflen, key, ans, anssiz)); in res_sendsigned()
|
/dragonfly/libexec/dma/ |
H A D | dns.c | 139 unsigned char *ans; in dns_get_mx_list() local 154 ans = malloc(anssz); in dns_get_mx_list() 155 if (ans == NULL) in dns_get_mx_list() 162 err = res_search(searchhost, ns_c_in, ns_t_mx, ans, anssz); in dns_get_mx_list() 182 if (!ns_initparse(ans, anssz, &msg)) in dns_get_mx_list() 245 free(ans); in dns_get_mx_list()
|
/dragonfly/lib/libc/net/ |
H A D | getnetbydns.c | 163 char ans[MAXHOSTNAMELEN]; in getnetanswer() local 205 ans[0] = '\0'; in getnetanswer() 206 strncpy(&ans[0], bp, sizeof(ans) - 1); in getnetanswer() 207 ans[sizeof(ans) - 1] = '\0'; in getnetanswer() 235 n = strlen(ans) + 1; in getnetanswer() 241 strlcpy(bp, ans, ep - bp); in getnetanswer()
|
/dragonfly/usr.bin/top/ |
H A D | hash.c | 616 void *ans; in hash_remove_pos_uint() local 634 ans = hi->value; in hash_remove_pos_uint() 645 return ans; in hash_remove_pos_uint() 954 void *ans; in hash_remove_pos_pid() local 983 return ans; in hash_remove_pos_pid() 1292 void *ans; in hash_remove_pos_string() local 1321 return ans; in hash_remove_pos_string() 1630 void *ans; in hash_remove_pos_pidthr() local 1659 return ans; in hash_remove_pos_pidthr() 1969 void *ans; in hash_remove_pos_lwpid() local [all …]
|
H A D | utils.c | 252 char *ans; in homogenize() local 257 to = fr = ans = strdup(str); in homogenize() 267 return ans; in homogenize()
|
/dragonfly/usr.bin/units/ |
H A D | units.c | 639 double ans; in showanswer() local 669 ans = have->factor / want->factor; in showanswer() 671 printf("\t%s = %.8g * %s\n", havestr, ans, wantstr); in showanswer() 673 printf("\t* %.8g\n", ans); in showanswer() 676 printf("\t%s = (1 / %.8g) * %s\n", havestr, 1/ans, wantstr); in showanswer() 678 printf("\t/ %.8g\n", 1/ans); in showanswer()
|
/dragonfly/games/quiz/datfiles/ |
H A D | index | 4 /usr/share/games/quiz.db/arith:arith{metic}:ans{wer} 20 /usr/share/games/quiz.db/mult:mult{iplication}:ans{wer}
|
/dragonfly/usr.bin/chat/ |
H A D | chat.c | 176 void *ans = malloc (c); in dup_mem() local 177 if (!ans) in dup_mem() 180 memcpy (ans, b, c); in dup_mem() 181 return ans; in dup_mem()
|
/dragonfly/usr.bin/gzip/ |
H A D | gzip.c | 1112 char ans[10] = { 'n', '\0' }; /* default */ in check_outfile() local 1116 (void)fgets(ans, sizeof(ans) - 1, stdin); in check_outfile() 1117 if (ans[0] != 'y' && ans[0] != 'Y') { in check_outfile()
|
/dragonfly/share/i18n/csmapper/KAZAKH/ |
H A D | KZ1048%UCS.src | 25 # Ministry of economy and trade of Kazakhstan Republic ans was published in print by the
|
H A D | UCS%KZ1048.src | 25 # Ministry of economy and trade of Kazakhstan Republic ans was published in print by the
|
/dragonfly/sbin/fdisk/ |
H A D | fdisk.c | 58 #define Decimal(str, ans, tmp) if (decimal(str, &tmp, ans)) ans = tmp argument
|
/dragonfly/usr.bin/vmstat/ |
H A D | vmstat.c | 715 long ans; in pct() local 719 ans = (quad_t)top * 100 / bot; in pct() 720 return (ans); in pct()
|
/dragonfly/contrib/ee/ |
H A D | ee.c | 2441 char *ans; local 2447 ans = get_string(changes_made_prompt, TRUE); 2448 if (toupper((unsigned char)*ans) == toupper((unsigned char)*yes_char)) 2452 free(ans);
|