Searched refs:ans (Results 1 - 10 of 10) sorted by relevance

/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Deg_c_main.c48 pword ans; local
54 if (PSUCCEED == ec_var_lookup(Vars,"X",&ans) &&
55 PSUCCEED == ec_get_string(ans,&s))
/barrelfish-2018-10-04/include/netbench/
H A Dnetbench.h32 float ans;
33 ans = cycles / MACHINE_CLOCK_SPEED;
34 ans = ans / MACHINE_CLK_UNIT;
35 return ans;
/barrelfish-2018-10-04/usr/tests/msun/
H A Dnext_test.c46 #define test(exp, ans, ex) do { \
47 double __ans = (ans); \
51 #define testf(exp, ans, ex) do { \
52 float __ans = (ans); \
56 #define testl(exp, ans, ex) do { \
57 long double __ans = (ans); \
61 #define testboth(arg1, arg2, ans, ex, prec) do { \
62 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \
63 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \
65 #define testall(arg1, arg2, ans, e
[all...]
/barrelfish-2018-10-04/usr/tests/net_tests/udp_throughput/
H A Dudp_test.c136 int ans; local
137 while ((ans = is_lwip_loaded()) > 0) {
138 // printf("is_lwip_loaded returned %d\n", ans);
139 ++stats[ans];
140 /* if(ans == 1) {
151 ++stats[ans];
182 uint8_t ans; local
187 ans = lwip_driver_benchmark_state(connection_type, &delta, &cl);
188 if (ans == BMS_RUNNING) {
191 assert(ans
204 uint8_t ans; local
[all...]
/barrelfish-2018-10-04/lib/libc/resolv/
H A Dres_send.c304 const u_char *buf, int buflen, u_char *ans, int anssiz)
440 ans, anssiz, &resplen);
476 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno,
489 buf, buflen, ans, anssiz, &terrno,
508 ans, (resplen > anssiz) ? anssiz : resplen);
526 ans, anssiz, &resplen);
621 const u_char *buf, int buflen, u_char *ans, int anssiz,
625 HEADER *anhp = (HEADER *) ans;
723 cp = ans;
751 resplen = ns_get16(ans);
303 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument
620 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument
822 send_dg(res_state statp, int kq, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int tries, int *v_circuit, int *gotsomewhere) argument
[all...]
H A Dres_data.c195 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { argument
202 return (res_nsend(statp, buf, buflen, ans, anssiz));
208 u_char *ans, int anssiz)
216 return (res_nsendsigned(statp, buf, buflen, key, ans, anssiz));
207 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, u_char *ans, int anssiz) argument
/barrelfish-2018-10-04/lib/netbench/
H A Dnetbench.c35 float ans; local
36 ans = cycles / MACHINE_CLOCK_SPEED;
37 ans = ans / MACHINE_CLK_UNIT;
38 return ans;
/barrelfish-2018-10-04/lib/libc/net/
H A Dgetnetbydns.c166 char ans[MAXHOSTNAMELEN]; local
208 ans[0] = '\0';
209 (void)strncpy(&ans[0], bp, sizeof(ans) - 1);
210 ans[sizeof(ans) - 1] = '\0';
238 n = strlen(ans) + 1;
244 strlcpy(bp, ans, ep - bp);
/barrelfish-2018-10-04/lib/lwip2/src/core/
H A Ddns.c1139 struct dns_answer ans; local
1222 if (pbuf_copy_partial(p, &ans, SIZEOF_DNS_ANSWER, res_idx) != SIZEOF_DNS_ANSWER) {
1227 if (ans.cls == PP_HTONS(DNS_RRCLASS_IN)) {
1229 if ((ans.type == PP_HTONS(DNS_RRTYPE_A)) && (ans.len == PP_HTONS(sizeof(ip4_addr_t)))) {
1242 dns_correct_response(i, lwip_ntohl(ans.ttl));
1248 if ((ans.type == PP_HTONS(DNS_RRTYPE_AAAA)) && (ans.len == PP_HTONS(sizeof(ip6_addr_t)))) {
1261 dns_correct_response(i, lwip_ntohl(ans.ttl));
1268 if ((int)(res_idx + lwip_htons(ans
[all...]
/barrelfish-2018-10-04/lib/lwip/src/core/
H A Ddns.c751 struct dns_answer ans; local
839 MEMCPY(&ans, pHostname, SIZEOF_DNS_ANSWER);
840 if ((ntohs(ans.type) == DNS_RRTYPE_A)
841 && (ntohs(ans.class) == DNS_RRCLASS_IN)
842 && (ntohs(ans.len) == sizeof(struct ip_addr))) {
844 pEntry->ttl = ntohl(ans.ttl);
866 pHostname + SIZEOF_DNS_ANSWER + htons(ans.len);

Completed in 159 milliseconds