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

1234567891011>>

/freebsd-9.3-release/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-9.3-release/crypto/heimdal/lib/roken/
H A Dcopyhostent.c48 struct hostent *res; local
52 res = malloc (sizeof (*res));
53 if (res == NULL)
55 res->h_name = NULL;
56 res->h_aliases = NULL;
57 res->h_addrtype = h->h_addrtype;
58 res->h_length = h->h_length;
59 res->h_addr_list = NULL;
60 res
[all...]
H A Dtimegm.c59 time_t res = 0; local
76 res += is_leap(i) ? 366 : 365;
79 res += ndays[is_leap(tm->tm_year)][i];
80 res += tm->tm_mday - 1;
81 res *= 24;
82 res += tm->tm_hour;
83 res *= 60;
84 res += tm->tm_min;
85 res *= 60;
86 res
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/amd/amq/
H A Damq_clnt.c57 static char res; local
59 memset((char *) &res, 0, sizeof(res));
62 (XDRPROC_T_TYPE) xdr_void, &res, TIMEOUT)
66 return ((voidp) &res);
73 static amq_mount_tree_p res; local
75 memset((char *) &res, 0, sizeof(res));
78 (XDRPROC_T_TYPE) xdr_amq_mount_tree_p, (SVC_IN_ARG_TYPE) &res,
82 return (&res);
89 static char res; local
105 static amq_mount_stats res; local
122 static amq_mount_tree_list res; local
138 static int res; local
153 static amq_mount_info_list res; local
168 static int res; local
183 static amq_string res; local
198 static int res; local
213 static amq_string res; local
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_beep.c58 int res = ERR; local
64 res = ERR;
67 res = putp(bell);
71 res = putp(flash_screen);
75 returnCode(res);
H A Dlib_flash.c57 int res = ERR; local
64 res = putp(flash_screen);
68 res = putp(bell);
72 returnCode(res);
/freebsd-9.3-release/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-9.3-release/sbin/hastd/
H A Dmetadata.h45 int metadata_read(struct hast_resource *res, bool openrw);
46 int metadata_write(struct hast_resource *res);
H A Dhastd.h46 void descriptors_cleanup(struct hast_resource *res);
47 void descriptors_assert(const struct hast_resource *res, int pjdlogmode);
49 void hastd_primary(struct hast_resource *res);
50 void hastd_secondary(struct hast_resource *res, struct nv *nvin);
52 void primary_config_reload(struct hast_resource *res, struct nv *nv);
H A Dcontrol.c57 child_cleanup(struct hast_resource *res) argument
60 proto_close(res->hr_ctrl);
61 res->hr_ctrl = NULL;
62 if (res->hr_event != NULL) {
63 proto_close(res->hr_event);
64 res->hr_event = NULL;
66 if (res->hr_conn != NULL) {
67 proto_close(res->hr_conn);
68 res->hr_conn = NULL;
70 res
74 control_set_role_common(struct hastd_config *cfg, struct nv *nvout, uint8_t role, struct hast_resource *res, const char *name, unsigned int no) argument
143 control_set_role(struct hast_resource *res, uint8_t role) argument
150 control_status_worker(struct hast_resource *res, struct nv *nvout, unsigned int no) argument
238 control_status(struct hastd_config *cfg, struct nv *nvout, struct hast_resource *res, const char *name, unsigned int no) argument
366 struct hast_resource *res; local
434 struct hast_resource *res = arg; local
[all...]
/freebsd-9.3-release/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-9.3-release/crypto/heimdal/lib/asn1/
H A Dtimegm.c57 time_t res = 0; local
74 res += is_leap(i) ? 366 : 365;
77 res += ndays[is_leap(tm->tm_year)][i];
78 res += tm->tm_mday - 1;
79 res *= 24;
80 res += tm->tm_hour;
81 res *= 60;
82 res += tm->tm_min;
83 res *= 60;
84 res
[all...]
/freebsd-9.3-release/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-9.3-release/lib/libkse/arch/ia64/include/
H A Datomic_ops.h33 atomic_swap_int(volatile int *dst, int val, int *res) argument
35 __asm("xchg4 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst));
39 atomic_swap_long(volatile long *dst, long val, long *res) argument
41 __asm("xchg8 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst));
/freebsd-9.3-release/lib/libc/quad/
H A Dnegdi2.c49 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-9.3-release/usr.sbin/rpc.statd/
H A Dtest.c20 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-9.3-release/contrib/libarchive/libarchive/
H A Darchive_entry_link_resolver.c97 struct archive_entry_linkresolver *res; local
100 res = malloc(sizeof(struct archive_entry_linkresolver));
101 if (res == NULL)
103 memset(res, 0, sizeof(struct archive_entry_linkresolver));
104 res->number_buckets = links_cache_initial_size;
105 res->buckets = malloc(res->number_buckets *
106 sizeof(res->buckets[0]));
107 if (res->buckets == NULL) {
108 free(res);
117 archive_entry_linkresolver_set_strategy(struct archive_entry_linkresolver *res, int fmt) argument
147 archive_entry_linkresolver_free(struct archive_entry_linkresolver *res) argument
164 archive_entry_linkify(struct archive_entry_linkresolver *res, struct archive_entry **e, struct archive_entry **f) argument
248 find_entry(struct archive_entry_linkresolver *res, struct archive_entry *entry) argument
304 next_entry(struct archive_entry_linkresolver *res) argument
338 insert_entry(struct archive_entry_linkresolver *res, struct archive_entry *entry) argument
371 grow_hash(struct archive_entry_linkresolver *res) argument
[all...]
/freebsd-9.3-release/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);
/freebsd-9.3-release/lib/libkse/arch/sparc64/include/
H A Datomic_ops.h36 * Atomic (tmp = *dst, *dst = val), then *res = tmp
38 * void atomic_swap_long(long *dst, long val, long *res);
41 atomic_swap_long(volatile long *dst, long val, long *res) argument
53 *res = tmp;
57 atomic_swap_int(volatile int *dst, int val, int *res) argument
69 *res = tmp;
72 #define atomic_swap_ptr(dst, val, res) \
73 atomic_swap_long((volatile long *)dst, (long)val, (long *)res)
/freebsd-9.3-release/contrib/ofed/management/opensm/osmtest/
H A Dosmt_mtl_regular_qp.c78 * Given in res: port_num, max_outs_sq, max_outs_rq
80 VAPI_ret_t osmt_mtl_get_qp_resources(IN OUT osmt_mtl_mad_res_t * res) argument
90 VAPI_query_hca_port_prop(res->hca_hndl, res->port_num,
93 res->slid = hca_port_info.lid;
96 ret = VAPI_alloc_pd(res->hca_hndl, &(res->pd_hndl));
101 VAPI_create_cq(res->hca_hndl, res->max_outs_sq + 1,
102 &(res
140 osmt_mtl_qp_init(osmt_mtl_mad_res_t * res) argument
172 osmt_mtl_qp_2_rtr_rts(osmt_mtl_mad_res_t * res) argument
213 osmt_mtl_mad_create_mr(osmt_mtl_mad_res_t * res) argument
249 osmt_mtl_init_opened_hca(osmt_mtl_mad_res_t * res) argument
297 osmt_mtl_mad_cleanup(osmt_mtl_mad_res_t * res) argument
329 osmt_mtl_create_av(osmt_mtl_mad_res_t * res, int16_t dlid, VAPI_ud_av_hndl_t * avh_p) argument
352 osmt_mtl_mad_send(osmt_mtl_mad_res_t * res, VAPI_wr_id_t id, void *mad, VAPI_qp_num_t dest_qp, IB_sl_t sl, u_int32_t dest_qkey, VAPI_ud_av_hndl_t avh) argument
387 osmt_mtl_mad_post_recv_bufs(osmt_mtl_mad_res_t * res, void *buf_array, u_int32_t num_o_bufs, u_int32_t size, VAPI_wr_id_t start_id) argument
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_restrict.c162 restrict_u * res; local
165 UNLINK_HEAD_SLIST(res, resfree4, link);
166 if (res != NULL)
167 return res;
171 res = (void *)((char *)rl + (count - 1) * cb);
173 LINK_SLIST(resfree4, res, link);
174 res = (void *)((char *)res - cb);
176 INSIST(rl == res);
178 return res;
188 restrict_u * res; local
209 free_res( restrict_u * res, int v6 ) argument
264 restrict_u * res; local
288 restrict_u * res; local
323 restrict_u *res; local
494 restrict_u * res; local
630 restrict_u * res; local
[all...]
/freebsd-9.3-release/contrib/amd/hlfsd/
H A Dstubs.c94 static char res; local
96 return (voidp) &res;
111 static nfsattrstat res; local
126 res.ns_status = NFSERR_STALE;
127 return &res;
141 res.ns_status = NFS_OK;
142 res.ns_u.ns_attr_u = rootfattr;
161 res.ns_status = NFS_OK;
162 res.ns_u.ns_attr_u = slinkfattr;
165 res
187 static nfsattrstat res = {NFSERR_ROFS}; local
196 static char res; local
205 static nfsdiropres res; local
306 static nfsreadlinkres res; local
392 static nfsreadres res = {NFSERR_ACCES}; local
401 static char res; local
410 static nfsattrstat res = {NFSERR_ROFS}; local
419 static nfsdiropres res = {NFSERR_ROFS}; local
428 static nfsstat res = {NFSERR_ROFS}; local
437 static nfsstat res = {NFSERR_ROFS}; local
446 static nfsstat res = {NFSERR_ROFS}; local
455 static nfsstat res = {NFSERR_ROFS}; local
464 static nfsdiropres res = {NFSERR_ROFS}; local
473 static nfsstat res = {NFSERR_ROFS}; local
482 static nfsreaddirres res; local
520 static nfsstatfsres res = {NFS_OK}; local
[all...]
/freebsd-9.3-release/contrib/gcclibs/libgomp/config/linux/x86/
H A Dfutex.h42 long res; local
45 : "=a" (res)
54 long res; local
57 : "=a" (res)
71 long res; local
76 : "=a" (res)
87 long res; local
90 : "=a" (res)

Completed in 306 milliseconds

1234567891011>>