/freebsd-11-stable/crypto/heimdal/appl/login/ |
H A D | tty.c | 45 char *res = tty; local 47 if (strncmp (res, _PATH_DEV, strlen(_PATH_DEV)) == 0) 48 res += strlen(_PATH_DEV); 49 if (strncmp (res, "pty/", 4) == 0) 50 res += 4; 51 if (strncmp (res, "ptym/", 5) == 0) 52 res += 5; 53 return res; 63 char *res = tty; local 65 if (strncmp (res, "pt [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_ext2fs.c | 59 int res; local 66 res = system(cmd); 67 if (res != 0) 68 return res; 70 res = rump_init(); 71 if (res != 0) 72 return res; 82 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 83 if (res != 0) { 85 return res; 97 int res; local 116 int res; local 131 int res; local [all...] |
H A D | fstest_msdosfs.c | 59 int res; local 66 res = system(cmd); 67 if (res != 0) 68 return res; 70 res = rump_init(); 71 if (res != 0) 72 return res; 83 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 84 if (res != 0) { 86 return res; 98 int res; local 117 int res; local 132 int res; local [all...] |
H A D | fstest_sysvbfs.c | 59 int res; local 66 res = system(cmd); 67 if (res != 0) 68 return res; 70 res = rump_init(); 71 if (res != 0) 72 return res; 82 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 83 if (res != 0) { 85 return res; 97 int res; local 116 int res; local 131 int res; local [all...] |
H A D | fstest_v7fs.c | 59 int res; local 66 res = system(cmd); 67 if (res != 0) 68 return res; 70 res = rump_init(); 71 if (res != 0) 72 return res; 83 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 84 if (res != 0) { 86 return res; 98 int res; local 117 int res; local 132 int res; local [all...] |
H A D | fstest_rumpfs.c | 51 int res; local 54 res = setenv("RUMP_MEMLIMIT", tmp, 0); 55 if (res == -1) 56 return res; 71 int res; local 73 res = rump_sys_mkdir(path, 0777); 74 if (res == -1) 75 return res; 83 int res; local 85 res [all...] |
H A D | fstest_ffs.c | 60 int res; local 70 res = system(cmd); 72 if (res != 0) 73 return res; 75 res = rump_init(); 76 if (res != 0) 77 return res; 87 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 88 if (res != 0) { 90 return res; 103 int res; local 125 int res; local 147 int res; local [all...] |
H A D | fstest_udf.c | 60 int res; local 73 res = system(cmd); 75 if (res != 0) 76 return res; 78 res = rump_init(); 79 if (res != 0) 80 return res; 91 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 92 if (res != 0) { 94 return res; 107 int res; local 129 int res; local 144 int res; local [all...] |
H A D | fstest_tmpfs.c | 56 int res; local 59 res = rump_init(); 60 if (res != 0) 61 return res; 89 int res; local 92 res = rump_sys_mkdir(path, 0777); 93 if (res == -1) 94 return res; 96 res = rump_sys_mount(MOUNT_TMPFS, path, flags, &args->ta_uargs, 98 return res; 104 int res; local [all...] |
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | copyhostent.c | 45 struct hostent *res; local 49 res = malloc (sizeof (*res)); 50 if (res == NULL) 52 res->h_name = NULL; 53 res->h_aliases = NULL; 54 res->h_addrtype = h->h_addrtype; 55 res->h_length = h->h_length; 56 res->h_addr_list = NULL; 57 res [all...] |
H A D | timegm.c | 56 time_t res = 0; local 73 res += is_leap(i) ? 366 : 365; 76 res += ndays[is_leap(tm->tm_year)][i]; 77 res += tm->tm_mday - 1; 78 res *= 24; 79 res += tm->tm_hour; 80 res *= 60; 81 res += tm->tm_min; 82 res *= 60; 83 res [all...] |
/freebsd-11-stable/contrib/gcc/config/ |
H A D | divmod.c | 7 long res; local 21 res = udivmodsi4 (a, b, 0); 24 res = -res; 26 return res; 33 long res; local 44 res = udivmodsi4 (a, b, 1); 47 res = -res; 49 return res; [all...] |
/freebsd-11-stable/contrib/ncurses/form/ |
H A D | frm_cursor.c | 54 int res; local 59 res = E_BAD_ARGUMENT; 63 res = E_NOT_POSTED; 65 res = _nc_Position_Form_Cursor(form); 67 RETURN(res);
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | nametokva.c | 20 ipfunc_resolve_t res; local 23 strncpy(res.ipfu_name, name, sizeof(res.ipfu_name)); 24 res.ipfu_addr = NULL; 32 (void) (*iocfunc)(fd, SIOCFUNCL, &res); 35 if (res.ipfu_addr == NULL) 36 res.ipfu_addr = (ipfunc_t)-1; 37 return res.ipfu_addr;
|
/freebsd-11-stable/sbin/hastd/ |
H A D | metadata.h | 47 int metadata_read(struct hast_resource *res, bool openrw); 48 int metadata_write(struct hast_resource *res);
|
H A D | hastd.h | 48 void descriptors_cleanup(struct hast_resource *res); 49 void descriptors_assert(const struct hast_resource *res, int pjdlogmode); 51 void hastd_primary(struct hast_resource *res); 52 void hastd_secondary(struct hast_resource *res, struct nv *nvin); 54 void primary_config_reload(struct hast_resource *res, struct nv *nv);
|
/freebsd-11-stable/usr.sbin/rpc.lockd/ |
H A D | test.c | 24 static nlm_testres res; local 26 bzero((char *)&res, sizeof(res)); 27 if (clnt_call(clnt, NLM_TEST, xdr_nlm_testargs, argp, xdr_nlm_testres, &res, TIMEOUT) != RPC_SUCCESS) { 30 return (&res); 40 static nlm_res res; local 42 bzero((char *)&res, sizeof(res)); 43 if (st = clnt_call(clnt, NLM_LOCK, xdr_nlm_lockargs, argp, xdr_nlm_res, &res, TIMEOUT) != RPC_SUCCESS) { 48 return (&res); 57 static nlm_res res; local 72 static nlm_res res; local 87 static nlm_res res; local 102 static char res; local 117 static char res; local 133 static char res; local 148 static char res; local 163 static char res; local 178 static char res; local 193 static char res; local 208 static char res; local 223 static char res; local 238 static char res; local 253 static nlm_shareres res; local 268 static nlm_shareres res; local 283 static nlm_res res; local 298 static char res; local [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | vint64ops.c | 48 vint64 res; local 78 memset(&res, 0xFF, sizeof(res)); 80 return res; 83 memset(&res, 0, sizeof(res)); 97 res.Q_s = res.Q_s * base + digit; 99 /* res *= base, using 16x16->32 bit 104 accu = (uint32_t)res 133 int res; local 157 int res; local 180 vint64 res; local 199 vint64 res; local 218 vint64 res; local 237 vint64 res; local 256 vint64 res; local 275 vint64 res; local [all...] |
/freebsd-11-stable/contrib/amd/amq/ |
H A D | amq_clnt.c | 53 static char res; local 55 memset((char *) &res, 0, sizeof(res)); 58 (XDRPROC_T_TYPE) xdr_void, &res, TIMEOUT) 62 return ((voidp) &res); 69 static amq_mount_tree_p res; local 71 memset((char *) &res, 0, sizeof(res)); 74 (XDRPROC_T_TYPE) xdr_amq_mount_tree_p, (SVC_IN_ARG_TYPE) &res, 78 return (&res); 85 static char res; local 101 static amq_sync_umnt res; local 118 static amq_mount_stats res; local 135 static amq_mount_tree_list res; local 151 static int res; local 166 static amq_mount_info_list res; local 180 static amq_map_info_list res; local 195 static int res; local 210 static amq_string res; local 225 static int res; local 240 static amq_string res; local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_entry_link_resolver.c | 102 struct archive_entry_linkresolver *res; local 109 res = calloc(1, sizeof(struct archive_entry_linkresolver)); 110 if (res == NULL) 112 res->number_buckets = links_cache_initial_size; 113 res->buckets = calloc(res->number_buckets, sizeof(res->buckets[0])); 114 if (res->buckets == NULL) { 115 free(res); 118 return (res); 122 archive_entry_linkresolver_set_strategy(struct archive_entry_linkresolver *res, int fmt) argument 160 archive_entry_linkresolver_free(struct archive_entry_linkresolver *res) argument 174 archive_entry_linkify(struct archive_entry_linkresolver *res, struct archive_entry **e, struct archive_entry **f) argument 261 find_entry(struct archive_entry_linkresolver *res, struct archive_entry *entry) argument 313 next_entry(struct archive_entry_linkresolver *res, int mode) argument 352 insert_entry(struct archive_entry_linkresolver *res, struct archive_entry *entry) argument 384 grow_hash(struct archive_entry_linkresolver *res) argument 421 archive_entry_partial_links(struct archive_entry_linkresolver *res, unsigned int *links) argument [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_flash.c | 62 int res = ERR; local 67 res = CallDriver_1(SP_PARM, doBeepOrFlash, FALSE); 72 res = NCURSES_PUTP2_FLUSH("flash_screen", flash_screen); 74 res = NCURSES_PUTP2_FLUSH("bell", bell); 78 returnCode(res);
|
H A D | lib_beep.c | 62 int res = ERR; local 68 res = CallDriver_1(SP_PARM, doBeepOrFlash, TRUE); 72 res = ERR; 74 res = NCURSES_PUTP2_FLUSH("bell", bell); 76 res = NCURSES_PUTP2_FLUSH("flash_screen", flash_screen); 81 returnCode(res);
|
/freebsd-11-stable/lib/libc/quad/ |
H A D | negdi2.c | 49 union uu aa, res; local 52 res.ul[L] = -aa.ul[L]; 53 res.ul[H] = -aa.ul[H] - (res.ul[L] > 0); 54 return (res.q);
|
/freebsd-11-stable/usr.sbin/rpc.statd/ |
H A D | test.c | 20 static struct sm_stat_res res; local 22 bzero((char *)&res, sizeof(res)); 23 if (clnt_call(clnt, SM_STAT, xdr_sm_name, argp, xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { 26 return (&res); 35 static struct sm_stat_res res; local 37 bzero((char *)&res, sizeof(res)); 38 if (clnt_call(clnt, SM_MON, xdr_mon, argp, xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { 41 return (&res); 50 static struct sm_stat res; local 65 static struct sm_stat res; local 80 static char res; local 121 struct sm_stat_res *res; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/ |
H A D | tst.selfarray.d | 40 self int res; 45 self->res = self->x[self->y, self->z]++; 46 printf("The result = %d\n", self->res);
|