/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 49 __sanitizer_syscall_post_impl_gettid(res) 60 __sanitizer_syscall_post_impl_getpid(res) 63 __sanitizer_syscall_post_impl_getppid(res) 66 __sanitizer_syscall_post_impl_getuid(res) 69 __sanitizer_syscall_post_impl_geteuid(res) 72 __sanitizer_syscall_post_impl_getgid(res) 75 __sanitizer_syscall_post_impl_getegid(res) 94 __sanitizer_syscall_post_impl_getpgrp(res) 146 __sanitizer_syscall_post_impl_setsid(res) 436 __sanitizer_syscall_post_impl_pause(res) [all …]
|
H A D | netbsd_syscall_hooks.h | 48 __sanitizer_syscall_post_impl_fork(res) 137 __sanitizer_syscall_post_impl_getpid(res) 157 __sanitizer_syscall_post_impl_getuid(res) 160 __sanitizer_syscall_post_impl_geteuid(res) 225 __sanitizer_syscall_post_impl_sync(res) 238 __sanitizer_syscall_post_impl_getppid(res) 251 __sanitizer_syscall_post_impl_pipe(res) 254 __sanitizer_syscall_post_impl_getegid(res) 277 __sanitizer_syscall_post_impl_getgid(res) 374 __sanitizer_syscall_post_impl_vfork(res) [all …]
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | test.c | 17 bzero((char *)&res, sizeof(res)); 33 bzero((char *)&res, sizeof(res)); 50 bzero((char *)&res, sizeof(res)); 65 bzero((char *)&res, sizeof(res)); 80 bzero((char *)&res, sizeof(res)); 95 bzero((char *)&res, sizeof(res)); 110 bzero((char *)&res, sizeof(res)); 126 bzero((char *)&res, sizeof(res)); 141 bzero((char *)&res, sizeof(res)); 156 bzero((char *)&res, sizeof(res)); [all …]
|
H A D | lock_proc.c | 454 return (&res); in nlm_test_1_svc() 531 return (&res); in nlm_lock_1_svc() 582 return (&res); in nlm_cancel_1_svc() 628 return (&res); in nlm_unlock_1_svc() 682 return (&res); in nlm_granted_1_svc() 801 return (&res); in nlm_share_3_svc() 821 return (&res); in nlm_unshare_3_svc() 845 return (&res); in nlm_nm_lock_3_svc() 918 return (&res); in nlm4_test_4_svc() 1002 return (&res); in nlm4_lock_4_svc() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | vint64ops.c | 29 vint64 res; in strtouv64() local 59 memset(&res, 0xFF, sizeof(res)); in strtouv64() 64 memset(&res, 0, sizeof(res)); in strtouv64() 78 res.Q_s = res.Q_s * base + digit; in strtouv64() 91 res.D_s.hi = res.D_s.hi * base + (accu >> 16); in strtouv64() 93 M_ADD(res.D_s.hi, res.D_s.lo, 0, digit); in strtouv64() 102 M_NEG(res.D_s.hi, res.D_s.lo); in strtouv64() 114 int res; in icmpv64() local 138 int res; in ucmpv64() local 243 M_ADD(res.D_s.hi, res.D_s.lo, 0, rhs); in addv64u32() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_restrict.c | 145 res, as, ms, res->count, res->rflags, res->mflags, in dump_restrict() 146 res->ippeerlimit, res->expire, res->link); in dump_restrict() 162 for (res = &restrict_def4; res != NULL; res = next) { in dump_restricts() 168 for (res = &restrict_def6; res != NULL; res = next) { in dump_restricts() 175 for (res = restrictlist4; res != NULL; res = next) { in dump_restricts() 182 for (res = restrictlist6; res != NULL; res = next) { in dump_restricts() 252 res = (void *)((char *)res - cb); in alloc_res4() 278 res = (void *)((char *)res - cb); in alloc_res6() 345 for (res = restrictlist4; res != NULL; res = next) { in match_restrict4_addr() 377 for (res = restrictlist6; res != NULL; res = next) { in match_restrict6_addr() [all …]
|
/freebsd/contrib/bc/tests/ |
H A D | bcl.c | 59 char* res; in main() local 135 free(res); in main() 146 free(res); in main() 156 free(res); in main() 160 free(res); in main() 170 free(res); in main() 174 free(res); in main() 187 free(res); in main() 198 free(res); in main() 208 free(res); in main() [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_entry_link_resolver.c | 109 if (res == NULL) in archive_entry_linkresolver_new() 112 res->buckets = calloc(res->number_buckets, sizeof(res->buckets[0])); in archive_entry_linkresolver_new() 114 free(res); in archive_entry_linkresolver_new() 117 return (res); in archive_entry_linkresolver_new() 163 if (res == NULL) in archive_entry_linkresolver_free() 169 free(res); in archive_entry_linkresolver_free() 272 free(res->spare); in find_entry() 304 res->spare = le; in find_entry() 321 free(res->spare); in next_entry() 364 if (res->number_entries > res->number_buckets * 2) in insert_entry() [all …]
|
/freebsd/sbin/hastd/ |
H A D | control.c | 60 res->hr_ctrl = NULL; in child_cleanup() 67 res->hr_conn = NULL; in child_cleanup() 82 if (res == NULL) { in control_set_role_common() 90 if (res == NULL) { in control_set_role_common() 104 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in control_set_role_common() 109 res->hr_role = role; in control_set_role_common() 110 pjdlog_prefix_set("[%s] (%s) ", res->hr_name, role2str(res->hr_role)); in control_set_role_common() 137 hook_exec(res->hr_exec, "role", res->hr_name, role2str(oldrole), in control_set_role_common() 169 if (hast_proto_send(res, res->hr_ctrl, cnvout, NULL, 0) == -1) { in control_status_worker() 248 if (res == NULL) { in control_status() [all …]
|
H A D | secondary.c | 313 if (hast_proto_send(res, res->hr_remotein, nvout, in init_remote() 323 (res->hr_secondary_localcnt > res->hr_primary_remotecnt && in init_remote() 341 if (res->hr_secondary_localcnt > res->hr_primary_remotecnt && in init_remote() 353 res->hr_primary_localcnt > res->hr_secondary_remotecnt) { in init_remote() 360 if (hast_proto_send(res, res->hr_remotein, nvout, in init_remote() 377 res->hr_primary_localcnt < res->hr_secondary_remotecnt); in init_remote() 382 if (res->hr_secondary_localcnt > res->hr_primary_remotecnt) { in init_remote() 455 gres = res; in hastd_secondary() 479 if (proto_timeout(res->hr_remoteout, res->hr_timeout) == -1) in hastd_secondary() 704 if (hast_proto_recv_data(res, res->hr_remotein, nv, in recv_thread() [all …]
|
H A D | metadata.c | 63 if (res->hr_localfd == -1) { in metadata_read() 64 if (provinfo(res, openrw) == -1) { in metadata_read() 75 res->hr_localpath); in metadata_read() 79 res->hr_localpath); in metadata_read() 114 res->hr_localpath); in metadata_read() 122 res->hr_localpath, res->hr_name); in metadata_read() 153 res->hr_localpath); in metadata_read() 161 close(res->hr_localfd); in metadata_read() 162 res->hr_localfd = -1; in metadata_read() 195 res->hr_role == HAST_ROLE_INIT) { in metadata_write() [all …]
|
H A D | primary.c | 179 ((res)->hr_remotein != NULL && (res)->hr_remoteout != NULL) 513 arc4random_buf(&res->hr_resuid, sizeof(res->hr_resuid)); in init_resuid() 530 if (activemap_init(&res->hr_amp, res->hr_datasize, res->hr_extentsize, in init_local() 531 res->hr_local_sectorsize, res->hr_keepdirty) == -1) { in init_local() 715 res->hr_remoteaddr, size, sizeof(res->hr_token)); in init_remote() 719 bcopy(token, res->hr_token, sizeof(res->hr_token)); in init_remote() 865 res->hr_replication = res->hr_original_replication; in init_remote() 1017 gres = res; in hastd_primary() 1041 cleanup(res); in hastd_primary() 1641 if (hast_proto_send(res, res->hr_remoteout, nv, data, in remote_send_thread() [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | Makefile.am | 84 auth.res \ 85 auth2.res \ 86 auth3.res \ 90 box.res \ 91 box2.res \ 92 box7.res \ 93 box8.res \ 111 hash.res \ 114 kdf.res \ 116 kx.res \ [all …]
|
/freebsd/contrib/libcbor/src/cbor/internal/ |
H A D | builder_callbacks.c | 145 CHECK_RES(ctx, res); in cbor_builder_uint8_callback() 146 cbor_mark_uint(res); in cbor_builder_uint8_callback() 154 CHECK_RES(ctx, res); in cbor_builder_uint16_callback() 155 cbor_mark_uint(res); in cbor_builder_uint16_callback() 163 CHECK_RES(ctx, res); in cbor_builder_uint32_callback() 164 cbor_mark_uint(res); in cbor_builder_uint32_callback() 172 CHECK_RES(ctx, res); in cbor_builder_uint64_callback() 173 cbor_mark_uint(res); in cbor_builder_uint64_callback() 181 CHECK_RES(ctx, res); in cbor_builder_negint8_callback() 190 CHECK_RES(ctx, res); in cbor_builder_negint16_callback() [all …]
|
/freebsd/contrib/netbsd-tests/fs/common/ |
H A D | fstest_ext2fs.c | 59 int res; in ext2fs_fstest_newfs() local 68 return res; in ext2fs_fstest_newfs() 72 return res; in ext2fs_fstest_newfs() 85 return res; in ext2fs_fstest_newfs() 91 return res; in ext2fs_fstest_newfs() 97 int res; in ext2fs_fstest_delfs() local 102 return res; in ext2fs_fstest_delfs() 116 int res; in ext2fs_fstest_mount() local 125 return res; in ext2fs_fstest_mount() 131 int res; in ext2fs_fstest_unmount() local [all …]
|
H A D | fstest_sysvbfs.c | 59 int res; in sysvbfs_fstest_newfs() local 68 return res; in sysvbfs_fstest_newfs() 72 return res; in sysvbfs_fstest_newfs() 85 return res; in sysvbfs_fstest_newfs() 97 int res; in sysvbfs_fstest_delfs() local 102 return res; in sysvbfs_fstest_delfs() 106 return res; in sysvbfs_fstest_delfs() 116 int res; in sysvbfs_fstest_mount() local 125 return res; in sysvbfs_fstest_mount() 131 int res; in sysvbfs_fstest_unmount() local [all …]
|
H A D | fstest_v7fs.c | 59 int res; in v7fs_fstest_newfs() local 68 return res; in v7fs_fstest_newfs() 72 return res; in v7fs_fstest_newfs() 86 return res; in v7fs_fstest_newfs() 98 int res; in v7fs_fstest_delfs() local 103 return res; in v7fs_fstest_delfs() 107 return res; in v7fs_fstest_delfs() 117 int res; in v7fs_fstest_mount() local 126 return res; in v7fs_fstest_mount() 132 int res; in v7fs_fstest_unmount() local [all …]
|
H A D | fstest_msdosfs.c | 59 int res; in msdosfs_fstest_newfs() local 68 return res; in msdosfs_fstest_newfs() 72 return res; in msdosfs_fstest_newfs() 86 return res; in msdosfs_fstest_newfs() 98 int res; in msdosfs_fstest_delfs() local 103 return res; in msdosfs_fstest_delfs() 107 return res; in msdosfs_fstest_delfs() 117 int res; in msdosfs_fstest_mount() local 126 return res; in msdosfs_fstest_mount() 132 int res; in msdosfs_fstest_unmount() local [all …]
|
H A D | fstest_lfs.c | 66 int res; in lfs_fstest_newfs() local 75 return res; in lfs_fstest_newfs() 79 return res; in lfs_fstest_newfs() 94 return res; in lfs_fstest_newfs() 106 int res; in lfs_fstest_delfs() local 111 return res; in lfs_fstest_delfs() 115 return res; in lfs_fstest_delfs() 156 int res; in lfs_fstest_mount() local 169 if (res) in lfs_fstest_mount() 181 int res; in lfs_fstest_unmount() local [all …]
|
H A D | fstest_udf.c | 60 int res; in udf_fstest_newfs() local 76 return res; in udf_fstest_newfs() 80 return res; in udf_fstest_newfs() 94 return res; in udf_fstest_newfs() 107 int res; in udf_fstest_delfs() local 118 return res; in udf_fstest_delfs() 129 int res; in udf_fstest_mount() local 134 return res; in udf_fstest_mount() 138 return res; in udf_fstest_mount() 144 int res; in udf_fstest_unmount() local [all …]
|
H A D | fstest_ffs.c | 60 int res; in ffs_fstest_newfs() local 73 return res; in ffs_fstest_newfs() 77 return res; in ffs_fstest_newfs() 90 return res; in ffs_fstest_newfs() 103 int res; in ffs_fstest_delfs() local 114 return res; in ffs_fstest_delfs() 125 int res; in ffs_fstest_mount() local 130 return res; in ffs_fstest_mount() 134 return res; in ffs_fstest_mount() 147 int res; in ffs_fstest_unmount() local [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | copyhostent.c | 45 struct hostent *res; in copyhostent() local 49 res = malloc (sizeof (*res)); in copyhostent() 50 if (res == NULL) in copyhostent() 59 freehostent (res); in copyhostent() 64 res->h_aliases = malloc ((n + 1) * sizeof(*res->h_aliases)); in copyhostent() 66 freehostent (res); in copyhostent() 74 freehostent (res); in copyhostent() 81 res->h_addr_list = malloc ((n + 1) * sizeof(*res->h_addr_list)); in copyhostent() 83 freehostent (res); in copyhostent() 92 freehostent (res); in copyhostent() [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hast/ |
H A D | hast_snmp.c | 159 free(res); in free_resources() 299 res = calloc(1, sizeof(*res)); in update_resources() 306 strncpy(res->name, str, sizeof(res->name) - 1); in update_resources() 314 strncpy(res->provname, str, sizeof(res->provname) - 1); in update_resources() 354 res->send_queue = in update_resources() 356 res->recv_queue = in update_resources() 358 res->done_queue = in update_resources() 360 res->idle_queue = in update_resources() 417 if (res == NULL) in op_hastResourceTable() 426 if (res == NULL) in op_hastResourceTable() [all …]
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
H A D | test_nvlist.py | 38 res = {} 40 with nvlist_out(res) as nv_out: 42 return res 90 self.assertEqual(props, res) 95 self.assertEqual(props, res) 100 self.assertEqual(props, res) 125 self.assertEqual(props, res) 130 self.assertEqual(props, res) 345 self.assertEqual(props, res) 350 self.assertEqual(props, res) [all …]
|
/freebsd/usr.sbin/ypldap/ |
H A D | yp.c | 298 return (&res); in ypproc_domain_2_svc() 309 return (&res); in ypproc_domain_nonack_2_svc() 328 return (&res); in ypproc_match_2_svc() 372 return (&res); in ypproc_match_2_svc() 386 return (&res); in ypproc_match_2_svc() 396 return (&res); in ypproc_match_2_svc() 444 return (&res); in ypproc_match_2_svc() 471 return (&res); in ypproc_first_2_svc() 584 memset(&res, 0, sizeof(res)); in ypproc_master_2_svc() 594 return (&res); in ypproc_master_2_svc() [all …]
|