Home
last modified time | relevance | path

Searched refs:ret (Results 2001 – 2025 of 5051) sorted by relevance

1...<<81828384858687888990>>...203

/freebsd/usr.sbin/utx/
H A Dutx.c56 int ret = 0; in rm() local
68 ret = 1; in rm()
75 ret = 1; in rm()
78 return (ret); in rm()
/freebsd/sbin/fsck_msdosfs/
H A Dmain.c66 int ret = 0, erg; in main() local
119 if (erg > ret) in main()
120 ret = erg; in main()
123 return ret; in main()
/freebsd/crypto/openssl/demos/bio/
H A Dsaccept.c55 int ret = EXIT_FAILURE, i; in main() local
115 ret = EXIT_SUCCESS; in main()
117 if (ret != EXIT_SUCCESS) in main()
120 return ret; in main()
/freebsd/stand/libsa/
H A Dinet_ntoa.c44 static char ret[sizeof "255.255.255.255"]; in inet_ntoa() local
47 sprintf(ret, fmt, src[0], src[1], src[2], src[3]); in inet_ntoa()
48 return (ret); in inet_ntoa()
/freebsd/contrib/unbound/contrib/
H A Drc_d_unbound27 ret=$?
28 if test $ret -eq 0; then
31 exit $ret
/freebsd/crypto/openssh/
H A Dsftp-server.c223 int ret = 0; in errno_to_portable() local
251 return ret; in errno_to_portable()
283 *ret = '\0'; in string_from_portable()
287 strlcat(ret, ",", sizeof(ret)); \ in string_from_portable()
288 strlcat(ret, str, sizeof(ret)); \ in string_from_portable()
304 return ret; in string_from_portable()
460 int ret = -1; in handle_close() local
473 return ret; in handle_close()
834 ret = 0; in process_read()
1616 size_t ret; in process_extended_copy_data() local
[all …]
H A Dssh-pkcs11-client.c259 int r, ret = -1; in rsa_encrypt() local
294 ret = slen; in rsa_encrypt()
302 return (ret); in rsa_encrypt()
332 ECDSA_SIG *ret = NULL; in ecdsa_do_sign() local
376 ret = d2i_ECDSA_SIG(NULL, &cp, slen); in ecdsa_do_sign()
384 return (ret); in ecdsa_do_sign()
438 struct sshkey *ret; in pkcs11_make_cert() local
457 RSA_set_method(ret->rsa, helper->rsa_meth); in pkcs11_make_cert()
474 ret->flags |= SSHKEY_FLAG_EXT; in pkcs11_make_cert()
475 if ((r = sshkey_to_certified(ret)) != 0 || in pkcs11_make_cert()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c26 int ret; in iwl_mvm_send_cmd() local
49 return ret; in iwl_mvm_send_cmd()
55 if (!ret || ret == -ERFKILL || ret == -EHOSTDOWN) in iwl_mvm_send_cmd()
57 return ret; in iwl_mvm_send_cmd()
108 return ret; in iwl_mvm_send_cmd_status()
115 ret = -EIO; in iwl_mvm_send_cmd_status()
123 return ret; in iwl_mvm_send_cmd_status()
359 int ret; in iwl_mvm_request_statistics() local
370 if (ret) in iwl_mvm_request_statistics()
386 if (ret) { in iwl_mvm_request_statistics()
[all …]
/freebsd/sys/amd64/vmm/io/
H A Dvrtc.c1027 int ret; in vrtc_snapshot() local
1031 SNAPSHOT_VAR_OR_LEAVE(vrtc->addr, meta, ret, done); in vrtc_snapshot()
1034 SNAPSHOT_VAR_OR_LEAVE(vrtc->base_rtctime, meta, ret, done); in vrtc_snapshot()
1036 SNAPSHOT_VAR_OR_LEAVE(vrtc->rtcdev.sec, meta, ret, done); in vrtc_snapshot()
1038 SNAPSHOT_VAR_OR_LEAVE(vrtc->rtcdev.min, meta, ret, done); in vrtc_snapshot()
1040 SNAPSHOT_VAR_OR_LEAVE(vrtc->rtcdev.hour, meta, ret, done); in vrtc_snapshot()
1044 SNAPSHOT_VAR_OR_LEAVE(vrtc->rtcdev.month, meta, ret, done); in vrtc_snapshot()
1045 SNAPSHOT_VAR_OR_LEAVE(vrtc->rtcdev.year, meta, ret, done); in vrtc_snapshot()
1051 meta, ret, done); in vrtc_snapshot()
1054 meta, ret, done); in vrtc_snapshot()
[all …]
/freebsd/lib/libc/string/
H A Dtimingsafe_bcmp.c26 int ret = 0; in __timingsafe_bcmp() local
29 ret |= *p1++ ^ *p2++; in __timingsafe_bcmp()
30 return (ret != 0); in __timingsafe_bcmp()
/freebsd/lib/libc/stdio/
H A Dferror.c46 int ret; in ferror() local
49 ret = __sferror(fp); in ferror()
51 return (ret); in ferror()
H A Dfeof.c46 int ret; in feof() local
49 ret= __sfeof(fp); in feof()
51 return (ret); in feof()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c426 int ret; in lstat_file() local
466 if (ret < 0) { in lstat_file()
470 return ret; in lstat_file()
483 if (ret < 0) in lstat_file()
484 return ret; in lstat_file()
537 ret = -1; in list_files()
546 if (ret) in list_files()
732 return ret; in list_files()
768 int ret; in list_dir() local
880 int ret; in builtin_ls() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRMemoryMap.cpp66 return ret; in FindSpace()
78 return ret; in FindSpace()
87 ret = 0x0; in FindSpace()
124 ret = LLDB_INVALID_ADDRESS; in FindSpace()
130 return ret; in FindSpace()
139 ret = LLDB_INVALID_ADDRESS; in FindSpace()
157 ret = alloc_address; in FindSpace()
163 ret = 0x8000ull; in FindSpace()
166 ret = 0xee000000ull; in FindSpace()
169 ret = 0xdead0fff00000000ull; in FindSpace()
[all …]
/freebsd/contrib/bearssl/tools/
H A Dskey.c117 int ret; in print_rsa() local
130 ret = 1; in print_rsa()
157 return ret; in print_rsa()
236 return ret; in print_rsa()
240 ret = 0; in print_rsa()
466 int err, ret; in decode_key() local
483 ret = 1; in decode_key()
491 ret = print_rsa(rk, os); in decode_key()
498 ret = print_ec(ek, os); in decode_key()
504 ret = 0; in decode_key()
[all …]
/freebsd/crypto/openssl/crypto/err/
H A Derr.c174 unsigned long ret, l; in err_string_data_hash() local
177 ret = l ^ ERR_GET_LIB(l); in err_string_data_hash()
178 return (ret ^ ret % 19 * 13); in err_string_data_hash()
452 unsigned long ret; in get_error_values() local
487 ret = es->err_buffer[i]; in get_error_values()
519 return ret; in get_error_values()
580 if (ret == NULL) in ERR_error_string()
581 ret = buf; in ERR_error_string()
583 return ret; in ERR_error_string()
765 int ret; in ERR_get_next_error_library() local
[all …]
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dhkdf.c255 int ret = 0; in setinfo_fromparams() local
277 ret = 1; in setinfo_fromparams()
280 return ret; in setinfo_fromparams()
402 int ret, sz; in HKDF() local
419 return ret; in HKDF()
511 int ret = 0, sz; in HKDF_Expand() local
565 ret = 1; in HKDF_Expand()
570 return ret; in HKDF_Expand()
632 int ret; in prov_tls13_hkdf_generate_secret() local
639 if (ret <= 0) in prov_tls13_hkdf_generate_secret()
[all …]
/freebsd/sys/dev/altera/softdma/
H A Dsoftdma.c493 int ret; in softdma_process_descriptors() local
510 if (ret == 0) { in softdma_process_descriptors()
519 if (ret >= 0) { in softdma_process_descriptors()
521 st.transferred = ret; in softdma_process_descriptors()
523 st.error = ret; in softdma_process_descriptors()
530 if (ret >= 0) { in softdma_process_descriptors()
531 status->transferred += ret; in softdma_process_descriptors()
678 int ret; in softdma_channel_prep_sg() local
686 if (ret != 0) { in softdma_channel_prep_sg()
795 int ret; in softdma_channel_request() local
[all …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c117 int ret = 0; in c4iw_alloc_ucontext() local
146 if (ret) in c4iw_alloc_ucontext()
158 return ret; in c4iw_alloc_ucontext()
166 int ret = 0; in c4iw_mmap() local
205 ret); in c4iw_mmap()
206 return ret; in c4iw_mmap()
405 int ret; in c4iw_register_device() local
410 if (ret) in c4iw_register_device()
411 return (ret); in c4iw_register_device()
502 if (ret) { in c4iw_register_device()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dder_get.c58 *ret = val; in der_get_unsigned()
77 *ret = val; in der_get_unsigned64()
84 int *ret, size_t *size) in der_get_integer() argument
97 *ret = val; in der_get_integer()
117 *ret = val; in der_get_integer64()
553 size_t ret = 0; in der_get_tag() local
559 p++; len--; ret++; in der_get_tag()
573 p++; len--; ret++; in der_get_tag()
576 if(size) *size = ret; in der_get_tag()
621 size_t l, ret = 0; in der_match_tag_and_length() local
[all …]
/freebsd/sbin/swapon/
H A Dswapon.c165 ret = 0; in main()
189 ret = 1; in main()
204 ret = 1; in main()
220 exit(ret); in main()
474 ret = NULL; in swap_on_off_md()
481 ret = NULL; in swap_on_off_md()
494 ret = NULL; in swap_on_off_md()
535 ret = NULL; in swap_on_off_md()
542 ret = NULL; in swap_on_off_md()
558 ret = NULL; in swap_on_off_md()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c407 int ret; in op_hastResourceTable() local
435 ret = set_role(res->name, value->v.integer); in op_hastResourceTable()
440 ret = SNMP_ERR_NOT_WRITEABLE; in op_hastResourceTable()
443 return ret; in op_hastResourceTable()
451 ret = SNMP_ERR_NOERROR; in op_hastResourceTable()
458 ret = string_get(value, res->name, -1); in op_hastResourceTable()
464 ret = string_get(value, res->provname, -1); in op_hastResourceTable()
467 ret = string_get(value, res->localpath, -1); in op_hastResourceTable()
476 ret = string_get(value, res->remoteaddr, -1); in op_hastResourceTable()
536 ret = SNMP_ERR_RES_UNAVAIL; in op_hastResourceTable()
[all …]
/freebsd/contrib/libucl/src/
H A Ducl_internal.h404 bool ret = false, val = false; in ucl_maybe_parse_boolean() local
408 ret = true; in ucl_maybe_parse_boolean()
414 ret = true; in ucl_maybe_parse_boolean()
420 ret = true; in ucl_maybe_parse_boolean()
424 ret = true; in ucl_maybe_parse_boolean()
430 ret = true; in ucl_maybe_parse_boolean()
434 ret = true; in ucl_maybe_parse_boolean()
439 if (ret && obj != NULL) { in ucl_maybe_parse_boolean()
444 return ret; in ucl_maybe_parse_boolean()
/freebsd/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_trans.c71 struct mlx5_fpga_trans_priv *ret; in alloc_tid() local
78 ret = NULL; in alloc_tid()
82 ret = list_first_entry(&fdev->trans->free_queue, in alloc_tid()
84 list_del(&ret->list_item); in alloc_tid()
86 ret->state = TRANS_STATE_NONE; in alloc_tid()
89 return ret; in alloc_tid()
308 int ret = 0; in mlx5_fpga_trans_device_init() local
313 ret = -ENOMEM; in mlx5_fpga_trans_device_init()
327 return ret; in mlx5_fpga_trans_device_init()
/freebsd/lib/librt/
H A Dsigev_thread.c310 int ret; in sigev_thread_create() local
337 ret = _pthread_create(&tn->tn_thread, &sigev_default_attr, in sigev_thread_create()
341 if (ret != 0) { in sigev_thread_create()
373 int ret; in sigev_service_loop() local
384 ret = sigwaitinfo(&set, &si); in sigev_service_loop()
394 if (ret == -1) { in sigev_service_loop()
414 ret = _pthread_create(&td, &sn->sn_attr, worker_routine, sn); in sigev_service_loop()
415 if (ret != 0) { in sigev_service_loop()
417 warnc(ret, "%s:%s failed to create thread.\n", in sigev_service_loop()

1...<<81828384858687888990>>...203