/freebsd/lib/libc/tests/string/ |
H A D | strerror_test.c | 37 static char *sret; variable 45 sret = strerror(INT_MAX); in ATF_TC_BODY() 47 ATF_CHECK(strcmp(sret, buf) == 0); in ATF_TC_BODY() 56 sret = strerror(0); in ATF_TC_BODY() 57 ATF_CHECK(strcmp(sret, "No error: 0") == 0); in ATF_TC_BODY() 66 sret = strerror(EPERM); in ATF_TC_BODY() 67 ATF_CHECK(strcmp(sret, "Operation not permitted") == 0); in ATF_TC_BODY() 76 sret = strerror(EPFNOSUPPORT); in ATF_TC_BODY() 77 ATF_CHECK(strcmp(sret, "Protocol family not supported") == 0); in ATF_TC_BODY() 86 sret = strerror(ELAST); in ATF_TC_BODY()
|
/freebsd/sys/arm/qualcomm/ |
H A D | qcom_cpu_kpssv2.c | 79 ssize_t sret; in qcom_cpu_kpssv2_regulator_start() local 99 sret = OF_getencprop(node, "qcom,acc", (void *) &acc_phandle, in qcom_cpu_kpssv2_regulator_start() 101 if (sret != sizeof(acc_phandle)) in qcom_cpu_kpssv2_regulator_start() 105 sret = OF_getencprop(node, "next-level-cache", (void *) &l2_phandle, in qcom_cpu_kpssv2_regulator_start() 107 if (sret != sizeof(l2_phandle)) in qcom_cpu_kpssv2_regulator_start() 111 sret = OF_getencprop(l2_phandle, "qcom,saw", (void *) &saw_phandle, in qcom_cpu_kpssv2_regulator_start() 113 if (sret != sizeof(saw_phandle)) in qcom_cpu_kpssv2_regulator_start()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | dumpdata.c | 63 ssize_t sret; in rk_undumpdata() local 81 sret = net_read(fd, *buf, *size); in rk_undumpdata() 82 if (sret < 0) in rk_undumpdata() 84 else if (sret != (ssize_t)*size) { in rk_undumpdata()
|
H A D | rkpty.c | 210 ssize_t sret; in eval_parent() local 219 while((sret = read(master, &in, sizeof(in))) > 0) { in eval_parent() 237 if (sret <= 0) in eval_parent()
|
/freebsd/lib/libc/stdio/ |
H A D | fgetws.c | 47 int sret; in fgetws_l() local 72 sret = 0; in fgetws_l() 100 (sret = __srefill(fp)) == 0)); in fgetws_l() 101 if (sret && !__sfeof(fp)) in fgetws_l()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cpp | 103 INTERCEPTOR(void, mallinfo, __sanitizer_struct_mallinfo *sret) { in INTERCEPTOR() argument 104 internal_memset(sret, 0, sizeof(*sret)); in INTERCEPTOR() 105 dfsan_set_label(0, sret, sizeof(*sret)); in INTERCEPTOR()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | sendauth.c | 86 ssize_t sret; in krb5_sendauth() local 107 sret = krb5_net_read (context, p_fd, &repl, sizeof(repl)); in krb5_sendauth() 108 if (sret < 0) { in krb5_sendauth() 112 } else if (sret != sizeof(repl)) { in krb5_sendauth()
|
H A D | kcm.c | 563 ssize_t sret; in kcm_get_first() local 567 sret = krb5_storage_read(response, &uuid, sizeof(uuid)); in kcm_get_first() 568 if (sret == 0) { in kcm_get_first() 571 } else if (sret != sizeof(uuid)) { in kcm_get_first() 623 ssize_t sret; in kcm_get_next() local 640 sret = krb5_storage_write(request, in kcm_get_next() 644 if (sret != sizeof(c->uuids[c->offset])) { in kcm_get_next() 807 ssize_t sret; in kcm_get_cache_first() local 811 sret = krb5_storage_read(response, &uuid, sizeof(uuid)); in kcm_get_cache_first() 812 if (sret == 0) { in kcm_get_cache_first() [all …]
|
H A D | pac.c | 983 ssize_t sret; in fill_zeros() local 990 sret = krb5_storage_write(sp, zeros, l); in fill_zeros() 991 if (sret <= 0) in fill_zeros() 994 len -= sret; in fill_zeros() 1132 size_t sret; in _krb5_pac_sign() local 1177 sret = krb5_storage_write(spdata, ptr, len); in _krb5_pac_sign() 1178 if (sret != len) { in _krb5_pac_sign()
|
H A D | fcache.c | 153 ssize_t sret; in write_storage() local 160 sret = write(fd, data.data, data.length); in write_storage() 161 ret = (sret != (ssize_t)data.length); in write_storage()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocation_functions.cpp | 110 __sanitizer_struct_mallinfo sret; in __sanitizer_mallinfo() local 111 internal_memset(&sret, 0, sizeof(sret)); in __sanitizer_mallinfo() 112 return sret; in __sanitizer_mallinfo()
|
/freebsd/sys/riscv/riscv/ |
H A D | sbi.c | 291 struct sbi_ret sret; in sbi_init() 297 sret = sbi_get_spec_version(); in sbi_init() 298 if (sret.error != 0) { in sbi_init() 305 sbi_spec_version = sret.value; in sbi_init() 272 struct sbi_ret sret; sbi_init() local
|
H A D | exception.S | 224 sret 234 sret
|
H A D | swtch.S | 432 sret
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 248 static NOINLINE void clear_mallinfo(T *sret) { in clear_mallinfo() argument 250 internal_memset(sret, 0, sizeof(*sret)); in clear_mallinfo() 251 __msan_unpoison(sret, sizeof(*sret)); in clear_mallinfo() 259 __sanitizer_struct_mallinfo sret; variable 260 clear_mallinfo(&sret); 261 return sret; 270 __sanitizer_struct_mallinfo2 sret; in INTERCEPTOR() local 271 clear_mallinfo(&sret); in INTERCEPTOR() 272 return sret; in INTERCEPTOR() 420 #define INTERCEPTOR_STRTO_SRET_BODY(func, sret, ...) \ argument [all …]
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | rpc.c | 725 ssize_t sret; in copyheader() local 732 sret = krb5_storage_read(sp, data->data, data->length); in copyheader() 733 INSIST(sret == off); in copyheader() 1058 ssize_t sret; in process_stream() local 1060 sret = krb5_storage_write(reply, data.data, data.length); in process_stream() 1061 INSIST((size_t)sret == data.length); in process_stream() 1085 ssize_t sret; in process_stream() local 1088 sret = krb5_storage_write(sp, data.data, data.length); in process_stream() 1089 INSIST((size_t)sret == data.length); in process_stream()
|
/freebsd/crypto/heimdal/kcm/ |
H A D | protocol.c | 462 ssize_t sret; in kcm_op_get_cred_uuid_list() local 463 sret = krb5_storage_write(response, &creds->uuid, sizeof(creds->uuid)); in kcm_op_get_cred_uuid_list() 464 if (sret != sizeof(creds->uuid)) { in kcm_op_get_cred_uuid_list() 495 ssize_t sret; in kcm_op_get_cred_by_uuid() local 509 sret = krb5_storage_read(request, &uuid, sizeof(uuid)); in kcm_op_get_cred_by_uuid() 510 if (sret != sizeof(uuid)) { in kcm_op_get_cred_by_uuid() 1033 ssize_t sret; in kcm_op_get_cache_by_uuid() local 1038 sret = krb5_storage_read(request, &uuid, sizeof(uuid)); in kcm_op_get_cache_by_uuid() 1039 if (sret != sizeof(uuid)) { in kcm_op_get_cache_by_uuid()
|
/freebsd/sys/riscv/vmm/ |
H A D | vmm_switch.S | 120 sret 219 sret
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | ipropd_slave.c | 187 ssize_t sret; in receive_loop() local 220 sret = write (server_context->log_context.log_fd, buf, right-left); in receive_loop() 221 if (sret != right - left) in receive_loop()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kCallingConv.td | 92 // TODO: Support for 'sret'
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64CallingConvention.td | 49 // The "sret" attribute identifies indirect returns. 51 // The position of the "sret" attribute identifies instance/non-instance 53 // "sret" on argument 0 means non-instance methods. 54 // "sret" on argument 1 means instance methods. 512 // - X8, used for sret
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcCallingConv.td | 131 // returns that are too big to fit into the registers is passed as an sret
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetCallingConv.td | 90 /// CCIfSRet - If this argument is marked with the 'sret' attribute, apply
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | main.c | 489 int sret; in snmp_input_start() local 500 switch (sret = snmp_pdu_snoop(&b)) { in snmp_input_start() 509 b.asn_len = *pdulen = (size_t)sret; in snmp_input_start()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86CallingConv.td | 554 // For Swift Calling Conventions, pass sret in %rax. 690 // Do not pass the sret argument in RCX, the Win64 thiscall calling 963 // Pass sret arguments indirectly through stack.
|