Home
last modified time | relevance | path

Searched refs:sret (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/lib/libc/tests/string/
H A Dstrerror_test.c37 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 Dqcom_cpu_kpssv2.c79 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 Ddumpdata.c63 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 Drkpty.c210 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 Dfgetws.c47 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 Ddfsan_interceptors.cpp103 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 Dsendauth.c86 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 Dkcm.c563 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 Dpac.c983 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 Dfcache.c153 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 Dhwasan_allocation_functions.cpp110 __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 Dsbi.c291 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 Dexception.S224 sret
234 sret
H A Dswtch.S432 sret
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp248 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 Drpc.c725 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 Dprotocol.c462 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 Dvmm_switch.S120 sret
219 sret
/freebsd/crypto/heimdal/lib/kadm5/
H A Dipropd_slave.c187 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 DM68kCallingConv.td92 // TODO: Support for 'sret'
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.td49 // 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 DSparcCallingConv.td131 // 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 DTargetCallingConv.td90 /// CCIfSRet - If this argument is marked with the 'sret' attribute, apply
/freebsd/contrib/bsnmp/snmpd/
H A Dmain.c489 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 DX86CallingConv.td554 // 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.

12