Home
last modified time | relevance | path

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

12345678910>>...98

/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 …]
H A Dsyzkaller8.sh83 intptr_t res = 0;
85 res = syscall(SYS_socket, 0x1cul, 3ul, 0x3a);
86 if (res != -1)
87 r[0] = res;
88 res = syscall(SYS_fcntl, r[0], 1ul, -1);
89 if (res != -1)
90 r[1] = res;
95 res = syscall(SYS_freebsd10_pipe, 0x20000080ul);
96 if (res != -1)
/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/wpa/hs20/client/
H A Dest.c127 int res; in est_load_cacerts() local
253 int res; in add_csrattrs_oid() local
259 if (res < 0 || res >= (int) sizeof(txt)) in add_csrattrs_oid()
284 if (res < 0 || res >= (int) sizeof(txt)) in add_csrattrs_ext_req()
313 if (res < 0 || res >= (int) sizeof(txt)) in add_csrattrs_attr()
326 if (res < 0 || res >= (int) sizeof(txt2)) in add_csrattrs_attr()
445 int res; in generate_csr() local
458 if (!res) in generate_csr()
606 int res; in est_build_csr() local
671 return res; in est_build_csr()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Ddfs.c361 res = i; in dfs_get_start_chan_idx()
414 res++; in dfs_check_chans_radar()
463 res++; in dfs_check_chans_unavailable()
466 res++; in dfs_check_chans_unavailable()
718 res++; in dfs_are_channels_overlapped()
804 if (res) in hostapd_handle_dfs()
811 res, res ? "yes": "no"); in hostapd_handle_dfs()
1175 int res; in hostapd_dfs_radar_detected() local
1191 if (!res) in hostapd_dfs_radar_detected()
1250 if (res) in hostapd_is_dfs_required()
[all …]
/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.c888 type = res ? atoi(res) : -1; in wext_hostap_ifname()
1246 if (res->res.freq) in wext_get_scan_freq()
1253 res->res.freq = 2484; in wext_get_scan_freq()
1276 res->res.qual = iwe->u.qual.qual; in wext_get_scan_qual()
1277 res->res.noise = iwe->u.qual.noise; in wext_get_scan_qual()
1278 res->res.level = iwe->u.qual.level; in wext_get_scan_qual()
1291 res->res.level -= 0x100; in wext_get_scan_qual()
1293 res->res.noise -= 0x100; in wext_get_scan_qual()
1487 tmp = os_realloc_array(res->res, res->num + 1, in wpa_driver_wext_add_scan_entry()
1494 res->res = tmp; in wpa_driver_wext_add_scan_entry()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Drobust_av.c726 pos += res; in write_ipv4_info()
741 pos += res; in write_ipv4_info()
750 pos += res; in write_ipv4_info()
759 pos += res; in write_ipv4_info()
768 pos += res; in write_ipv4_info()
795 pos += res; in write_ipv6_info()
810 pos += res; in write_ipv6_info()
819 pos += res; in write_ipv6_info()
828 pos += res; in write_ipv6_info()
838 pos += res; in write_ipv6_info()
[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/sys/amd64/include/
H A Datomic.h152 u_char res; \
168 u_char res; \
223 u_char res; in atomic_testandset_int() local
232 return (res); in atomic_testandset_int()
238 u_char res; in atomic_testandset_long() local
247 return (res); in atomic_testandset_long()
253 u_char res; in atomic_testandclear_int() local
262 return (res); in atomic_testandclear_int()
268 u_char res; in atomic_testandclear_long() local
277 return (res); in atomic_testandclear_long()
[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/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 …]
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_pkt_randomizer.c96 res = TRUE; in __osm_pkt_randomizer_is_path_in_fault_paths()
102 return res; in __osm_pkt_randomizer_is_path_in_fault_paths()
121 boolean_t res = FALSE; in __osm_pkt_randomizer_process_path() local
211 res = TRUE; in __osm_pkt_randomizer_process_path()
217 return res; in __osm_pkt_randomizer_process_path()
226 boolean_t res = FALSE; in osm_pkt_randomizer_mad_drop() local
245 res = TRUE; in osm_pkt_randomizer_mad_drop()
250 return res; in osm_pkt_randomizer_mad_drop()
264 res = IB_INSUFFICIENT_MEMORY; in osm_pkt_randomizer_init()
298 res = IB_INSUFFICIENT_MEMORY; in osm_pkt_randomizer_init()
[all …]

12345678910>>...98