Home
last modified time | relevance | path

Searched refs:res (Results 76 – 100 of 2447) sorted by relevance

12345678910>>...98

/freebsd/contrib/wpa/hostapd/
H A Dhostapd_cli.c279 int res; in hostapd_cli_exec() local
447 int res; in hostapd_cli_cmd_wps_check_pin() local
514 int res; in hostapd_cli_cmd_wps_nfc_config_token() local
536 int res; in hostapd_cli_cmd_wps_nfc_token() local
557 int res; in hostapd_cli_cmd_nfc_get_handover_sel() local
654 int res; in hostapd_cli_cmd_disassoc_imminent() local
674 int res; in hostapd_cli_cmd_ess_disassoc() local
827 int res; in hostapd_cli_cmd_set_qos_map_set() local
847 int res; in hostapd_cli_cmd_send_qos_map_conf() local
866 int res; in hostapd_cli_cmd_hs20_wnm_notif() local
[all …]
/freebsd/contrib/netbsd-tests/fs/common/
H A Dfstest_rumpfs.c51 int res; in rumpfs_fstest_newfs() local
55 if (res == -1) in rumpfs_fstest_newfs()
56 return res; in rumpfs_fstest_newfs()
71 int res; in rumpfs_fstest_mount() local
73 res = rump_sys_mkdir(path, 0777); in rumpfs_fstest_mount()
74 if (res == -1) in rumpfs_fstest_mount()
75 return res; in rumpfs_fstest_mount()
83 int res; in rumpfs_fstest_unmount() local
85 res = rump_sys_unmount(path, flags); in rumpfs_fstest_unmount()
86 if (res == -1) in rumpfs_fstest_unmount()
[all …]
/freebsd/sys/dev/puc/
H A Dpucdata.c1377 intptr_t *res) in puc_config_amc() argument
1395 intptr_t *res) in puc_config_diva() argument
1448 intptr_t *res) in puc_config_moxa() argument
1607 *res = 0x2f8; in puc_config_syba()
1610 *res = 0x2e8; in puc_config_syba()
1613 *res = 0x3f8; in puc_config_syba()
1616 *res = 0x3e8; in puc_config_syba()
1619 *res = 0x278; in puc_config_syba()
1786 *res = 0x200; in puc_config_oxford_pcie()
1844 *res = (*res == PUC_TYPE_SERIAL) ? (port & 3) * 8 : 0; in puc_config_sunix()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp54 return res; in INTERCEPTOR()
62 return res; in INTERCEPTOR()
75 return res; in INTERCEPTOR()
83 return res; in INTERCEPTOR()
91 return res; in INTERCEPTOR()
111 return res; in INTERCEPTOR()
119 return res; in INTERCEPTOR()
128 return res; in INTERCEPTOR()
136 return res; in INTERCEPTOR()
144 return res; in INTERCEPTOR()
[all …]
/freebsd/contrib/ncurses/form/
H A Dfty_generic.c112 FIELDTYPE *res = (FIELDTYPE *)0; in _nc_generic_fieldtype() local
127 if (res) in _nc_generic_fieldtype()
129 *res = *_nc_Default_FieldType; in _nc_generic_fieldtype()
134 res->freearg = freecallback; in _nc_generic_fieldtype()
135 res->enum_next.gnext = next; in _nc_generic_fieldtype()
136 res->enum_prev.gprev = prev; in _nc_generic_fieldtype()
146 returnFieldType(res); in _nc_generic_fieldtype()
207 return res; in GenericArgument()
283 WINDOW *res = (WINDOW *)0; in _nc_form_cursor() local
289 res = form->w; in _nc_form_cursor()
[all …]
/freebsd/usr.sbin/keyserv/
H A Dkeyserv.c331 static cryptkeyres res; in key_encrypt_pk_2_svc_prog() local
351 return (&res); in key_encrypt_pk_2_svc_prog()
357 static cryptkeyres res; in key_decrypt_pk_2_svc_prog() local
377 return (&res); in key_decrypt_pk_2_svc_prog()
439 res.status = pk_get_conv_key(uid, arg, &res); in key_get_conv_2_svc_prog()
451 return (&res); in key_get_conv_2_svc_prog()
458 static cryptkeyres res; in key_encrypt_1_svc_prog() local
478 return (&res); in key_encrypt_1_svc_prog()
504 return (&res); in key_decrypt_1_svc_prog()
533 static getcredres res; in key_getcred_1_svc_prog() local
[all …]
/freebsd/tools/test/gpioevents/
H A Dgpioevents.c232 if (res < 0) in run_read()
257 int res; in run_poll() local
295 int res; in run_select() local
383 ssize_t res; in run_aio_read() local
412 if (res < 0) in run_aio_read()
417 if (res < 0) in run_aio_read()
420 if (res < 0) in run_aio_read()
437 int res; in run_sigio() local
449 if (res < 0) in run_sigio()
453 if (res < 0) in run_sigio()
[all …]
/freebsd/contrib/ldns/drill/
H A Dchasetrace.c153 ldns_resolver *res = NULL; in do_trace() local
166 res = ldns_resolver_new(); in do_trace()
168 if (!res) { in do_trace()
175 ldns_resolver_set_ip6(res, in do_trace()
177 ldns_resolver_set_port(res, in do_trace()
179 ldns_resolver_set_debug(res, in do_trace()
183 ldns_resolver_set_fail(res, in do_trace()
289 res, global_dns_root); in do_trace()
312 if (res) { in do_trace()
315 ldns_resolver_free(res); in do_trace()
[all …]
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params_validate.c54 int *res, BN_GENCB *cb) in ossl_ffc_params_FIPS186_4_validate() argument
77 *res = FFC_CHECK_INVALID_PQ; in ossl_ffc_params_FIPS186_2_validate()
105 if (res == NULL) in ossl_ffc_params_simple_validate()
106 res = &tmpres; in ossl_ffc_params_simple_validate()
117 res, NULL); in ossl_ffc_params_simple_validate()
121 res, NULL); in ossl_ffc_params_simple_validate()
124 && (*res & FFC_ERROR_NOT_SUITABLE_GENERATOR) != 0) { in ossl_ffc_params_simple_validate()
140 int paramstype, int *res) in ossl_ffc_params_full_validate() argument
147 if (res == NULL) in ossl_ffc_params_full_validate()
148 res = &tmpres; in ossl_ffc_params_full_validate()
[all …]
/freebsd/contrib/libcbor/test/
H A Duint_test.c14 struct cbor_load_result res; variable
24 number = cbor_load(data1, 2, &res); in test_very_short_int()
30 assert_true(res.error.code == 0); in test_very_short_int()
31 assert_true(res.read == 1); in test_very_short_int()
50 assert_true(res.error.code == 0); in test_short_int()
51 assert_true(res.read == 2); in test_short_int()
64 assert_true(res.error.code == 0); in test_half_int()
65 assert_true(res.read == 3); in test_half_int()
78 assert_true(res.error.code == 0); in test_int()
79 assert_true(res.read == 5); in test_int()
[all …]
/freebsd/contrib/wpa/src/fst/
H A Dfst_session.c275 int res; in fst_session_send_action() local
332 int res; in fst_session_send_tear_down() local
348 if (!res) in fst_session_send_tear_down()
684 os_memset(&res, 0, sizeof(res)); in fst_session_handle_ack_request()
816 int res; in fst_session_initiate_setup() local
966 os_memset(&res, 0, sizeof(res)); in fst_session_respond()
973 res.stie.length = sizeof(res.stie) - 2; in fst_session_respond()
1433 os_memset(&res, 0, sizeof(res)); in fst_test_req_send_fst_response()
1447 res.stie.length = sizeof(res.stie) - 2; in fst_test_req_send_fst_response()
1469 res.stie.new_band_id = res.stie.old_band_id; in fst_test_req_send_fst_response()
[all …]
/freebsd/bin/pax/
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 …]
/freebsd/lib/libc/rpc/
H A Dkey_call.c134 cryptkeyres res; in key_encryptsession_pk() local
155 cryptkeyres res; in key_decryptsession_pk() local
176 cryptkeyres res; in key_encryptsession() local
196 cryptkeyres res; in key_decryptsession() local
244 cryptkeyres res; in key_get_conv() local
421 cryptkeyres *res; in key_call() local
423 *(cryptkeyres*)rslt = *res; in key_call()
426 cryptkeyres *res; in key_call() local
428 *(cryptkeyres*)rslt = *res; in key_call()
431 des_block *res; in key_call() local
[all …]
/freebsd/sys/kgssapi/
H A Dgss_ip_to_dns.c47 struct ip_to_dns_res res; in gss_ip_to_dns() local
61 bzero(&res, sizeof(res)); in gss_ip_to_dns()
62 stat = gssd_ip_to_dns_1(&args, &res, cl); in gss_ip_to_dns()
69 if (res.major_status != GSS_S_COMPLETE) { in gss_ip_to_dns()
70 *minor_status = res.minor_status; in gss_ip_to_dns()
71 return (res.major_status); in gss_ip_to_dns()
74 if (res.dns_name.dns_name_len == 0 || in gss_ip_to_dns()
75 res.dns_name.dns_name_len >= NI_MAXHOST) { in gss_ip_to_dns()
80 memcpy(dns_name, res.dns_name.dns_name_val, res.dns_name.dns_name_len); in gss_ip_to_dns()
81 dns_name[res.dns_name.dns_name_len] = '\0'; in gss_ip_to_dns()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-timegm.c55 time_t res = 0; in timegm() local
69 res += is_leap(i) ? 366 : 365; in timegm()
72 res += ndays[is_leap(tm->tm_year)][i]; in timegm()
73 res += tm->tm_mday - 1; in timegm()
74 res *= 24; in timegm()
75 res += tm->tm_hour; in timegm()
76 res *= 60; in timegm()
77 res += tm->tm_min; in timegm()
78 res *= 60; in timegm()
79 res += tm->tm_sec; in timegm()
[all …]
/freebsd/contrib/netbsd-tests/net/sys/
H A Dt_rfc6056.c56 struct addrinfo hints, *res; in test() local
75 error = getaddrinfo(hostname, service, &hints, &res); in test()
80 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in test()
88 ss.ss_len = res->ai_addrlen; in test()
89 ss.ss_family = res->ai_family; in test()
95 res->ai_addr, res->ai_addrlen) == -1) in test()
101 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in test()
108 if (connect(s, res->ai_addr, res->ai_addrlen) == -1) in test()
117 freeaddrinfo(res); in test()
/freebsd/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c68 if (res->ai_addr) { in print1()
69 error = getnameinfo(res->ai_addr, res->ai_addr->sa_len, in print1()
85 printf("%sflags 0x%x%s", start, res->ai_flags, end); in print1()
86 printf("%sfamily %d%s", start, res->ai_family, end); in print1()
87 printf("%ssocktype %d%s", start, res->ai_socktype, end); in print1()
89 printf("%saddrlen %d%s", start, res->ai_addrlen, end); in print1()
97 if (res->ai_canonname) in print1()
108 struct addrinfo *res; in main() local
170 error = getaddrinfo(p, q, &ai, &res); in main()
179 print1(nbuf, res, NULL, NULL); in main()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc116 if (res > 0) {
127 if (res > 0) {
139 if (res > 0) {
172 if (res == 0) {
190 if (res == 0) {
205 if (res == 0) {
228 if (res == 0) {
243 if (res == 0) {
285 if (res == 0) {
409 if (res > 0) {
[all …]
/freebsd/contrib/tcp_wrappers/
H A Dscaffold.c84 struct addrinfo hints, *res; in find_inet_addr() local
90 if (getaddrinfo(host, NULL, &hints, &res) == 0) in find_inet_addr()
91 return (res); in find_inet_addr()
101 if (res->ai_family != AF_INET6 && res->ai_family != AF_INET) { in find_inet_addr()
103 freeaddrinfo(res); in find_inet_addr()
106 if (!res->ai_canonname) { in find_inet_addr()
109 } else if (STR_NE(host, res->ai_canonname)) { in find_inet_addr()
113 return (res); in find_inet_addr()
166 struct addrinfo *hp, *res; local
184 for (res = hp, count = 0; res; res = res->ai_next, count++) {
[all …]
/freebsd/sys/dev/siis/
H A Dsiis.h429 #define ATA_INB(res, offset) \ argument
430 bus_read_1((res), (offset))
431 #define ATA_INW(res, offset) \ argument
432 bus_read_2((res), (offset))
433 #define ATA_INL(res, offset) \ argument
434 bus_read_4((res), (offset))
443 #define ATA_OUTB(res, offset, value) \ argument
444 bus_write_1((res), (offset), (value))
445 #define ATA_OUTW(res, offset, value) \ argument
446 bus_write_2((res), (offset), (value))
[all …]
/freebsd/crypto/openssl/test/
H A Dhttp_test.c122 int res = 0; in test_http_x509() local
154 return res; in test_http_x509()
175 for (res = 1, i = 1; res && i <= 2; i++) { in test_http_keep_alive()
186 res = res && TEST_ptr_null(rsp) in test_http_keep_alive()
189 res = res && TEST_ptr(rsp) in test_http_keep_alive()
200 return res; in test_http_keep_alive()
208 int res; in test_http_url_ok() local
231 return res; in test_http_url_ok()
237 int res; in test_http_url_path_query_ok() local
245 return res; in test_http_url_path_query_ok()
[all …]
/freebsd/sbin/hastd/
H A Devent.c43 event_send(const struct hast_resource *res, int event) in event_send() argument
48 PJDLOG_ASSERT(res != NULL); in event_send()
64 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) { in event_send()
68 if (hast_proto_recv_hdr(res->hr_event, &nvin) == -1) { in event_send()
84 event_recv(const struct hast_resource *res) in event_recv() argument
91 PJDLOG_ASSERT(res != NULL); in event_recv()
95 if (hast_proto_recv_hdr(res->hr_event, &nvin) == -1) { in event_recv()
136 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in event_recv()
137 hook_exec(res->hr_exec, evstr, res->hr_name, NULL); in event_recv()
148 if (hast_proto_send(res, res->hr_event, nvout, NULL, 0) == -1) { in event_recv()
/freebsd/usr.bin/logger/
H A Dlogger.c287 for (res = res0; res; res = res->ai_next) { in socksetup()
288 switch (res->ai_family) { in socksetup()
295 ss_src[res->ai_family] = in socksetup()
299 memcpy(ss_src[res->ai_family], res->ai_addr, in socksetup()
300 res->ai_addrlen); in socksetup()
321 for (res = res0; res; res = res->ai_next) in socksetup()
326 for (res = res0; res; res = res->ai_next) { in socksetup()
329 s = socket(res->ai_family, res->ai_socktype, in socksetup()
330 res->ai_protocol); in socksetup()
336 if (ss_src[res->ai_family]) { in socksetup()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Decp_nistz256.c241 res = is_zero(res); in is_one()
548 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
552 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
553 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
554 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
588 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
589 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
590 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
591 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
594 ecp_nistz256_sqr_mont(res, res); in ecp_nistz256_mod_inverse()
[all …]
/freebsd/tools/regression/kgssapi/
H A Dgsstest.c102 struct gsstest_2_res res; in main() local
158 res.output_token.length = 0; in main()
159 res.output_token.value = 0; in main()
174 &res.output_token, in main()
193 res.min_stat); in main()
215 if (GSS_ERROR(res.maj_stat)) { in main()
217 report_error(mech_type, res.maj_stat, res.min_stat); in main()
241 if (GSS_ERROR(res.maj_stat)) { in main()
243 report_error(mech_type, res.maj_stat, res.min_stat); in main()
268 if (GSS_ERROR(res.maj_stat)) { in main()
[all …]

12345678910>>...98