Home
last modified time | relevance | path

Searched refs:res (Results 226 – 250 of 2474) sorted by relevance

12345678910>>...99

/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params_generate.c194 int *res) in generate_p() argument
307 *res |= FFC_CHECK_P_NOT_PRIME; in generate_p()
534 *res = 0; in ossl_ffc_params_FIPS186_4_gen_verify()
564 *res = FFC_CHECK_BAD_LN_PAIR; in ossl_ffc_params_FIPS186_4_gen_verify()
594 *res = FFC_CHECK_INVALID_PQ; in ossl_ffc_params_FIPS186_4_gen_verify()
688 *res = FFC_CHECK_Q_MISMATCH; in ossl_ffc_params_FIPS186_4_gen_verify()
750 *res = FFC_CHECK_INVALID_G; in ossl_ffc_params_FIPS186_4_gen_verify()
755 *res = FFC_CHECK_G_MISMATCH; in ossl_ffc_params_FIPS186_4_gen_verify()
829 *res = 0; in ossl_ffc_params_FIPS186_2_gen_verify()
855 *res = FFC_CHECK_BAD_LN_PAIR; in ossl_ffc_params_FIPS186_2_gen_verify()
[all …]
/freebsd/tools/tools/kttcp/
H A Dkttcp.c111 struct addrinfo hints, *addr, *res; in main() local
206 for (res = addr; res != NULL; res = res->ai_next) { in main()
207 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
211 if (res == NULL) in main()
217 if (connect(s, res->ai_addr, res->ai_addrlen) < 0) in main()
220 getnameinfo(res->ai_addr, res->ai_addrlen, in main()
233 if (bind(s, res->ai_addr, res->ai_addrlen) < 0) in main()
/freebsd/sys/arm/allwinner/
H A Daw_usb3phy.c87 struct resource * res; member
106 #define RD4(res, o) bus_read_4(res, (o)) argument
107 #define WR4(res, o, v) bus_write_4(res, (o), (v)) argument
129 WR4(sc->res, USB3PHY_PHY_EXTERNAL_CONTROL, val); in awusb3phy_phy_enable()
131 val = RD4(sc->res, USB3PHY_PIPE_CLOCK_CONTROL); in awusb3phy_phy_enable()
135 WR4(sc->res, USB3PHY_PIPE_CLOCK_CONTROL, val); in awusb3phy_phy_enable()
137 val = RD4(sc->res, USB3PHY_APP); in awusb3phy_phy_enable()
141 WR4(sc->res, USB3PHY_APP, val); in awusb3phy_phy_enable()
143 WR4(sc->res, USB3PHY_PHY_TUNE_LOW, PTL_MAGIC); in awusb3phy_phy_enable()
145 val = RD4(sc->res, USB3PHY_PHY_TUNE_HIGH); in awusb3phy_phy_enable()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_interrupt.c42 struct resource *res; member
93 bus_teardown_intr(dev->bsddev, irqe->res, irqe->tag); in lkpi_irq_release()
94 if (irqe->res != NULL) in lkpi_irq_release()
96 rman_get_rid(irqe->res), irqe->res); in lkpi_irq_release()
117 struct resource *res; in lkpi_request_irq() local
134 if (res == NULL) in lkpi_request_irq()
142 irqe->res = res; in lkpi_request_irq()
148 error = bus_setup_intr(dev->bsddev, res, INTR_TYPE_NET | INTR_MPSAFE, in lkpi_request_irq()
159 bus_release_resource(dev->bsddev, SYS_RES_IRQ, rid, irqe->res); in lkpi_request_irq()
196 bus_teardown_intr(dev->bsddev, irqe->res, irqe->tag); in lkpi_disable_irq()
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_malloc.c89 void *res; in __thr_calloc() local
93 res = __crt_calloc(num, size); in __thr_calloc()
95 return (res); in __thr_calloc()
113 void *res; in __thr_malloc() local
117 res = __crt_malloc(nbytes); in __thr_malloc()
119 return (res); in __thr_malloc()
126 void *res; in __thr_realloc() local
130 res = __crt_realloc(cp, nbytes); in __thr_realloc()
132 return (res); in __thr_realloc()
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller1.sh120 int res = ev->state;
122 return res;
142 int res = ev->state;
144 return res;
201 intptr_t res;
206 if (res != -1)
207 r[0] = res;
211 if (res != -1)
212 r[1] = res;
225 if (res != -1)
[all …]
/freebsd/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-getall.py37 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'BSSs',
39 if len(res) > 0:
40 bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
44 print("GetAll(fi.w1.wpa_supplicant1.BSS, %s):" % (res[0]))
47 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'Networks',
49 if len(res) > 0:
50 net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
54 print("GetAll(fi.w1.wpa_supplicant1.Network, %s):" % (res[0]))
/freebsd/contrib/ntp/sntp/libevent/build-aux/
H A Dtest-driver117 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
118 0:*) col=$grn res=PASS recheck=no gcopy=no;;
119 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
120 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
121 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
122 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
132 echo "${col}${res}${std}: $test_name"
135 echo ":test-result: $res" > $trs_file
136 echo ":global-test-result: $res" >> $trs_file
/freebsd/contrib/openpam/
H A Dtest-driver122 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
123 0:*) col=$grn res=PASS recheck=no gcopy=no;;
124 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
125 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
126 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
127 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
137 echo "${col}${res}${std}: $test_name"
140 echo ":test-result: $res" > $trs_file
141 echo ":global-test-result: $res" >> $trs_file
/freebsd/contrib/libevent/build-aux/
H A Dtest-driver117 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
118 0:*) col=$grn res=PASS recheck=no gcopy=no;;
119 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
120 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
121 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
122 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
132 echo "${col}${res}${std}: $test_name"
135 echo ":test-result: $res" > $trs_file
136 echo ":global-test-result: $res" >> $trs_file
/freebsd/contrib/wpa/src/common/
H A Dcli.c174 char **res; in cli_txt_list_array() local
177 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array()
178 if (res == NULL) in cli_txt_list_array()
183 res[i] = os_strdup(e->txt); in cli_txt_list_array()
184 if (res[i] == NULL) in cli_txt_list_array()
189 return res; in cli_txt_list_array()
213 int i, res; in write_cmd() local
220 if (os_snprintf_error(end - pos, res)) in write_cmd()
222 pos += res; in write_cmd()
226 if (os_snprintf_error(end - pos, res)) in write_cmd()
[all …]
/freebsd/sys/x86/bios/
H A Dvpd.c73 struct resource * res; member
93 #define RES2VPD(res) ((struct vpd *)rman_get_virtual(res)) argument
156 struct resource *res; in vpd_probe() local
163 if (res == NULL) { in vpd_probe()
169 if (vpd_cksum(RES2VPD(res))) in vpd_probe()
173 if (res) in vpd_probe()
174 bus_release_resource(dev, SYS_RES_MEMORY, rid, res); in vpd_probe()
192 if (sc->res == NULL) { in vpd_attach()
197 sc->vpd = RES2VPD(sc->res); in vpd_attach()
230 if (sc->res) in vpd_attach()
[all …]
/freebsd/sys/kgssapi/
H A Dgss_set_cred_option.c48 struct set_cred_option_res res; in gss_set_cred_option() local
66 bzero(&res, sizeof(res)); in gss_set_cred_option()
67 stat = gssd_set_cred_option_1(&args, &res, cl); in gss_set_cred_option()
75 if (res.major_status != GSS_S_COMPLETE) { in gss_set_cred_option()
76 *minor_status = res.minor_status; in gss_set_cred_option()
77 return (res.major_status); in gss_set_cred_option()
/freebsd/share/examples/sunrpc/dir/
H A Ddir_proc.c20 static readdir_res res; /* must be static! */ local
27 res.errno = errno;
28 return (&res);
34 xdr_free(xdr_readdir_res, &res);
39 nlp = &res.readdir_res_u.list;
51 res.errno = 0;
53 return (&res);
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_wext.c889 type = res ? atoi(res) : -1; in wext_hostap_ifname()
1247 if (res->res.freq) in wext_get_scan_freq()
1254 res->res.freq = 2484; in wext_get_scan_freq()
1277 res->res.qual = iwe->u.qual.qual; in wext_get_scan_qual()
1278 res->res.noise = iwe->u.qual.noise; in wext_get_scan_qual()
1279 res->res.level = iwe->u.qual.level; in wext_get_scan_qual()
1292 res->res.level -= 0x100; in wext_get_scan_qual()
1294 res->res.noise -= 0x100; in wext_get_scan_qual()
1488 tmp = os_realloc_array(res->res, res->num + 1, in wpa_driver_wext_add_scan_entry()
1495 res->res = tmp; in wpa_driver_wext_add_scan_entry()
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c101 size_t res; in sha256_update() local
104 res = SHA256_CBLOCK - res; in sha256_update()
105 if (len < res) in sha256_update()
108 ptr += res; in sha256_update()
109 len -= res; in sha256_update()
113 len -= res; in sha256_update()
125 if (res) in sha256_update()
721 res = 0 - ((0 - res) >> (sizeof(res) * 8 - 1)); in aesni_cbc_hmac_sha256_cipher()
727 res = 0 - ((0 - res) >> (sizeof(res) * 8 - 1)); in aesni_cbc_hmac_sha256_cipher()
731 pad = (pad & ~res) | (maxpad & res); in aesni_cbc_hmac_sha256_cipher()
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_libtomcrypt.c306 int idx, res, rc4 = 0; in crypto_cipher_init() local
357 int res; in crypto_cipher_encrypt() local
369 if (res != CRYPT_OK) { in crypto_cipher_encrypt()
381 int res; in crypto_cipher_decrypt() local
393 if (res != CRYPT_OK) { in crypto_cipher_decrypt()
422 int res; in crypto_public_key_import() local
433 res, error_to_string(res)); in crypto_public_key_import()
454 int res; in crypto_private_key_import() local
465 res, error_to_string(res)); in crypto_private_key_import()
558 int res; in crypto_rsa_encrypt_pkcs1() local
[all …]
/freebsd/contrib/libcbor/test/
H A Dmap_test.c21 struct cbor_load_result res; variable
26 map = cbor_load(empty_map, 1, &res); in test_empty_map()
31 assert_true(res.read == 1); in test_empty_map()
41 map = cbor_load(simple_map, 5, &res); in test_simple_map()
47 assert_true(res.read == 5); in test_simple_map()
67 assert_true(res.read == 6); in test_indef_simple_map()
94 assert_true(res.read == 34); in test_def_nested_map()
118 assert_true(res.read == 8); in test_streamed_key_map()
140 assert_size_equal(res.read, 13); in test_streamed_kv_map()
167 assert_size_equal(res.read, 14); in test_streamed_streamed_kv_map()
[all …]
/freebsd/usr.sbin/devinfo/
H A Ddevinfo.c63 print_resource(struct devinfo_res *res) in print_resource() argument
68 rman = devinfo_handle_to_rman(res->dr_rman); in print_resource()
70 printf(hexmode ? "0x%jx" : "%ju", res->dr_start); in print_resource()
71 if (res->dr_size > 1) in print_resource()
73 res->dr_start + res->dr_size - 1); in print_resource()
84 print_device_matching_resource(struct devinfo_res *res, void *arg) in print_device_matching_resource() argument
90 if (devinfo_handle_to_device(res->dr_device) == dev) { in print_device_matching_resource()
96 print_resource(res); in print_device_matching_resource()
179 print_rman_resource(struct devinfo_res *res, void *arg __unused) in print_rman_resource() argument
184 print_resource(res); in print_rman_resource()
[all …]
/freebsd/sys/i386/include/
H A Dcounter.h73 uint64_t res; member
101 atomic_add_64(&arg->res, val); in counter_u64_fetch_cx8_one()
108 uint64_t res; in counter_u64_fetch_inline() local
111 res = 0; in counter_u64_fetch_inline()
121 res += *(uint64_t *)((char *)p + in counter_u64_fetch_inline()
127 arg.res = 0; in counter_u64_fetch_inline()
129 res = arg.res; in counter_u64_fetch_inline()
131 return (res); in counter_u64_fetch_inline()
/freebsd/sys/arm64/coresight/
H A Dcoresight_replicator.c58 bus_write_4(sc->res, CORESIGHT_LAR, CORESIGHT_UNLOCK); in replicator_init()
73 bus_write_4(sc->res, REPLICATOR_IDFILTER0, 0x00); in replicator_enable()
74 bus_write_4(sc->res, REPLICATOR_IDFILTER1, 0xff); in replicator_enable()
76 bus_write_4(sc->res, REPLICATOR_IDFILTER0, 0xff); in replicator_enable()
77 bus_write_4(sc->res, REPLICATOR_IDFILTER1, 0x00); in replicator_enable()
91 bus_write_4(sc->res, REPLICATOR_IDFILTER0, 0xff); in replicator_disable()
92 bus_write_4(sc->res, REPLICATOR_IDFILTER1, 0xff); in replicator_disable()
103 if (bus_alloc_resources(dev, replicator_spec, &sc->res) != 0) { in replicator_attach()
/freebsd/contrib/atf/test-programs/
H A Dsrcdir_test.sh47 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists
48 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res
70 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists
71 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res
80 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists
81 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res
101 atf_check -s eq:1 -o empty -e save:stderr "${hp}" -r res srcdir_exists
102 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res
128 atf_check -s eq:1 -o empty -e save:stderr "${hp}" -r res \
130 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res
/freebsd/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c289 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
290 len += res; in hostapd_ctrl_iface_sta_mib()
292 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
293 len += res; in hostapd_ctrl_iface_sta_mib()
295 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
296 len += res; in hostapd_ctrl_iface_sta_mib()
299 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
300 len += res; in hostapd_ctrl_iface_sta_mib()
302 if (res >= 0) in hostapd_ctrl_iface_sta_mib()
303 len += res; in hostapd_ctrl_iface_sta_mib()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_spawnattr.c47 int parent_pipe, res = EXIT_SUCCESS; in main() local
56 res = EXIT_FAILURE; in main()
60 res = EXIT_FAILURE; in main()
64 res = EXIT_FAILURE; in main()
69 res = EXIT_FAILURE; in main()
84 res = EXIT_FAILURE; in main()
89 return res; in main()
/freebsd/contrib/tcsh/
H A Dtw.init.c157 tw_dir_next(struct Strbuf *res, DIR *dfd) in tw_dir_next() argument
402 (res->len = 0, ret = tw_dir_next(res, tw_cmd_state.dfd)) == 0) && in tw_cmd_next()
410 res->len = 0; in tw_cmd_next()
411 Strbuf_append(res, ptr); in tw_cmd_next()
581 ret = tw_shvar_next(res, dir, flags); in tw_var_next()
583 ret = tw_envvar_next(res, dir, flags); in tw_var_next()
758 ret = tw_dir_next(res, tw_dir_fd); in tw_file_next()
908 Strbuf_append1(res, *ptr); in tw_bind_next()
945 Strbuf_append1(res, *ptr); in tw_limit_next()
983 Strbuf_append1(res, *ptr); in tw_sig_next()
[all …]

12345678910>>...99