Searched refs:res (Results 1 - 25 of 2069) sorted by relevance

1234567891011>>

/freebsd-head/crypto/heimdal/appl/login/
H A Dtty.c45 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-head/crypto/heimdal/lib/roken/
H A Dcopyhostent.c45 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 Dtimegm.c56 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-head/contrib/netbsd-tests/fs/common/
H A Dfstest_ext2fs.c59 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 Dfstest_msdosfs.c59 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 Dfstest_sysvbfs.c59 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 Dfstest_v7fs.c59 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 Dfstest_rumpfs.c51 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 Dfstest_ffs.c60 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 Dfstest_udf.c60 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 Dfstest_tmpfs.c56 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-head/contrib/gcc/config/
H A Ddivmod.c7 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-head/contrib/ncurses/form/
H A Dfrm_cursor.c54 int res; local
59 res = E_BAD_ARGUMENT;
63 res = E_NOT_POSTED;
65 res = _nc_Position_Form_Cursor(form);
67 RETURN(res);
/freebsd-head/contrib/ipfilter/lib/
H A Dnametokva.c20 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-head/sbin/hastd/
H A Dmetadata.h47 int metadata_read(struct hast_resource *res, bool openrw);
48 int metadata_write(struct hast_resource *res);
H A Dhastd.h48 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-head/usr.sbin/rpc.lockd/
H A Dtest.c24 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-head/contrib/ntp/libntp/
H A Dvint64ops.c48 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-head/contrib/amd/amq/
H A Damq_clnt.c53 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-head/usr.sbin/rpc.statd/
H A Dtest.c20 static struct sm_stat_res res; local
22 bzero((char *)&res, sizeof(res));
24 (xdrproc_t)xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) {
27 return (&res);
36 static struct sm_stat_res res; local
38 bzero((char *)&res, sizeof(res));
40 (xdrproc_t)xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) {
43 return (&res);
52 static struct sm_stat res; local
68 static struct sm_stat res; local
84 static char res; local
126 struct sm_stat_res *res; local
[all...]
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_entry_link_resolver.c102 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-head/contrib/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h17 // long long res = syscall(SYS_getfoo, ...args...);
18 // __sanitizer_syscall_post_getfoo(res, ...args...);
36 #define __sanitizer_syscall_post_syscall(res, code, arg0, arg1, arg2, arg3, \
39 res, (long long)(code), (long long)(arg0), (long long)(arg1), \
44 #define __sanitizer_syscall_post_exit(res, rval) \
45 __sanitizer_syscall_post_impl_exit(res, (long long)(rval))
47 #define __sanitizer_syscall_post_fork(res) \
48 __sanitizer_syscall_post_impl_fork(res)
52 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \
53 __sanitizer_syscall_post_impl_read(res, (lon
[all...]
/freebsd-head/contrib/ncurses/ncurses/base/
H A Dlib_flash.c62 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);
/freebsd-head/lib/libc/quad/
H A Dnegdi2.c50 union uu aa, res; local
53 res.ul[L] = -aa.ul[L];
54 res.ul[H] = -aa.ul[H] - (res.ul[L] > 0);
55 return (res.q);
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/
H A Dtst.selfarray.d40 self int res;
45 self->res = self->x[self->y, self->z]++;
46 printf("The result = %d\n", self->res);

Completed in 366 milliseconds

1234567891011>>