Searched refs:res (Results 51 - 75 of 1247) sorted by relevance

1234567891011>>

/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dauthenc.c86 char *res; local
91 res = fgets(result, length, stdin);
92 } else if ((res = getpass(prompt))) {
93 strlcpy(result, res, length);
94 res = result;
97 return(res);
/freebsd-9.3-release/lib/libc/rpc/
H A Drtime.c77 int res; local
103 res = _sendto(s, (char *)&thetime, sizeof(thetime), 0,
105 if (res < 0) {
112 res = _select(_rpc_dtablesize(), &readfds,
114 } while (res < 0 && errno == EINTR);
115 if (res <= 0) {
116 if (res == 0) {
123 res = _recvfrom(s, (char *)&thetime, sizeof(thetime), 0,
126 if (res < 0) {
134 res
[all...]
/freebsd-9.3-release/sys/kgssapi/
H A Dgss_acquire_cred.c55 struct acquire_cred_res res; local
76 bzero(&res, sizeof(res));
77 stat = gssd_acquire_cred_1(&args, &res, cl);
84 if (res.major_status != GSS_S_COMPLETE) {
85 *minor_status = res.minor_status;
86 return (res.major_status);
90 cred->handle = res.output_cred;
97 for (i = 0; i < res.actual_mechs->count; i++) {
99 &res
[all...]
H A Dgss_export_name.c47 struct export_name_res res; local
59 bzero(&res, sizeof(res));
60 stat = gssd_export_name_1(&args, &res, cl);
67 if (res.major_status != GSS_S_COMPLETE) {
68 *minor_status = res.minor_status;
69 return (res.major_status);
72 kgss_copy_buffer(&res.exported_name, exported_name);
73 xdr_free((xdrproc_t) xdr_export_name_res, &res);
H A Dgss_canonicalize_name.c49 struct canonicalize_name_res res; local
63 bzero(&res, sizeof(res));
64 stat = gssd_canonicalize_name_1(&args, &res, cl);
71 if (res.major_status != GSS_S_COMPLETE) {
72 *minor_status = res.minor_status;
73 return (res.major_status);
77 name->handle = res.output_name;
H A Dgss_import_name.c49 struct import_name_res res; local
65 bzero(&res, sizeof(res));
66 stat = gssd_import_name_1(&args, &res, cl);
73 if (res.major_status != GSS_S_COMPLETE) {
74 *minor_status = res.minor_status;
75 return (res.major_status);
79 name->handle = res.output_name;
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars/
H A Derr.D_ARR_LOCAL.thisarray.d39 this int res;
44 this->res = this->x[this->y, this->z]++;
/freebsd-9.3-release/contrib/ncurses/form/
H A Dfld_just.c50 int res = E_BAD_ARGUMENT; local
63 res = _nc_Synchronize_Attributes(field);
66 res = E_OK;
68 RETURN(res);
H A Dfld_opts.c56 int res = E_BAD_ARGUMENT; local
62 res = _nc_Synchronize_Options(Normalize_Field(field), opts);
63 RETURN(res);
97 int res = E_BAD_ARGUMENT; local
105 res = _nc_Synchronize_Options(field, field->opts | opts);
107 RETURN(res);
125 int res = E_BAD_ARGUMENT; local
133 res = _nc_Synchronize_Options(field, field->opts & ~opts);
135 RETURN(res);
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dscan.h30 const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie);
31 const u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res,
33 struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res,
35 void wpa_scan_results_free(struct wpa_scan_results *res);
/freebsd-9.3-release/contrib/ntp/sntp/libopts/
H A Dboolean.c51 bool res = true; local
74 res = false;
79 res = false;
86 od->optArg.argBool = res;
/freebsd-9.3-release/sys/dev/random/
H A Divy.c100 int count, res, retry; local
102 for (count = c, b = buf; count > 0; count -= res, b += res) {
104 res = ivy_rng_store(&tmp);
105 if (res != 0)
108 if (res == 0)
110 if (res > count)
111 res = count;
112 memcpy(b, &tmp, res);
/freebsd-9.3-release/usr.sbin/pkg/
H A Ddns_utils.c62 int res; local
70 res = ((l > r) - (l < r));
72 if (res == 0) {
75 res = ((wr > wl) - (wr < wl));
78 return (res);
116 struct dns_srvinfo **res, *first; local
140 res = calloc(ancount, sizeof(struct dns_srvinfo *));
141 if (res == NULL)
150 free(res[i]);
151 free(res);
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dtest_config.c40 check_config_file(krb5_context context, char *filelist, char **res, int def) argument
56 for (i = 0; res[i] && pp[i]; i++)
57 if (strcmp(pp[i], res[i]) != 0)
58 krb5_errx(context, 1, "'%s' != '%s'", pp[i], res[i]);
60 if (res[i] != NULL)
61 krb5_errx(context, 1, "pp ended before res list");
81 krb5_errx(context, 1, "pp ended after res (and def) list");
94 char **res; member in struct:__anon4658
112 test[0].res = list0;
113 test[1].res
[all...]
/freebsd-9.3-release/sbin/hastd/
H A Dhastd.c102 descriptors_cleanup(struct hast_resource *res) argument
108 if (tres == res) {
109 PJDLOG_VERIFY(res->hr_role == HAST_ROLE_SECONDARY ||
110 (res->hr_remotein == NULL &&
111 res->hr_remoteout == NULL));
166 descriptors_assert(const struct hast_resource *res, int pjdlogmode) argument
185 pjdlog_prefix_set("[%s] (%s) ", res->hr_name,
186 role2str(res->hr_role));
213 } else if (fd == proto_descriptor(res->hr_event)) {
226 } else if (fd == proto_descriptor(res
326 struct hast_resource *res; local
439 resource_reload(const struct hast_resource *res) argument
726 struct hast_resource *res; local
745 struct hast_resource *res; local
987 connection_migrate(struct hast_resource *res) argument
1068 struct hast_resource *res; local
[all...]
H A Dsecondary.c210 init_local(struct hast_resource *res) argument
213 if (metadata_read(res, true) == -1)
218 init_remote(struct hast_resource *res, struct nv *nvin) argument
227 if (proto_send(res->hr_remoteout, NULL, 0) == -1)
232 nv_add_int64(nvout, (int64_t)res->hr_datasize, "datasize");
233 nv_add_int32(nvout, (int32_t)res->hr_extentsize, "extentsize");
235 res->hr_primary_localcnt = nv_get_uint64(nvin, "localcnt");
236 res->hr_primary_remotecnt = nv_get_uint64(nvin, "remotecnt");
237 nv_add_uint64(nvout, res->hr_secondary_localcnt, "localcnt");
238 nv_add_uint64(nvout, res
412 hastd_secondary(struct hast_resource *res, struct nv *nvin) argument
555 requnpack(struct hast_resource *res, struct hio *hio, struct nv *nv) argument
655 struct hast_resource *res = arg; local
748 struct hast_resource *res = arg; local
862 struct hast_resource *res = arg; local
[all...]
H A Dhast_checksum.h39 int checksum_send(const struct hast_resource *res, struct nv *nv,
41 int checksum_recv(const struct hast_resource *res, struct nv *nv,
H A Dhast_compression.h39 int compression_send(const struct hast_resource *res, struct nv *nv,
41 int compression_recv(const struct hast_resource *res, struct nv *nv,
H A Dprimary.c179 #define ISCONNECTED(res, no) \
180 ((res)->hr_remotein != NULL && (res)->hr_remoteout != NULL)
281 cleanup(struct hast_resource *res) argument
289 if (res->hr_ggateunit >= 0) {
294 ggiod.gctl_unit = res->hr_ggateunit;
296 if (ioctl(res->hr_ggatefd, G_GATE_CMD_DESTROY, &ggiod) == -1) {
299 res->hr_provname);
301 res->hr_ggateunit = -1;
333 /* Expects res
335 hast_activemap_flush(struct hast_resource *res) argument
371 real_remote(const struct hast_resource *res) argument
506 init_resuid(struct hast_resource *res) argument
524 init_local(struct hast_resource *res) argument
571 primary_connect(struct hast_resource *res, struct proto_conn **connp) argument
614 enable_direct_reads(struct hast_resource *res) argument
632 init_remote(struct hast_resource *res, struct proto_conn **inp, struct proto_conn **outp) argument
908 init_ggate(struct hast_resource *res) argument
965 hastd_primary(struct hast_resource *res) argument
1137 remote_close(struct hast_resource *res, int ncomp) argument
1180 write_complete(struct hast_resource *res, struct hio *hio) argument
1226 struct hast_resource *res = arg; local
1386 struct hast_resource *res = arg; local
1504 keepalive_send(struct hast_resource *res, unsigned int ncomp) argument
1547 struct hast_resource *res = arg; local
1704 struct hast_resource *res = arg; local
1866 struct hast_resource *res = arg; local
1958 struct hast_resource *res = arg; local
2215 primary_config_reload(struct hast_resource *res, struct nv *nv) argument
2343 guard_one(struct hast_resource *res, unsigned int ncomp) argument
2404 struct hast_resource *res = arg; local
[all...]
/freebsd-9.3-release/contrib/amd/amd/
H A Dnfs_subr.c122 static char res; local
124 return (voidp) &res;
131 static nfsattrstat res; local
148 res.ns_status = nfs_error(retry);
149 return &res;
152 res = mp->am_attr;
156 (int) res.ns_u.ns_attr_u.na_size,
157 (long) res.ns_u.ns_attr_u.na_mtime.nt_seconds,
158 (long) res.ns_u.ns_attr_u.na_mtime.nt_useconds);
166 return &res;
173 static nfsattrstat res; local
187 static char res; local
196 static nfsdiropres res; local
256 nfsdiropres res; local
296 static nfsreadlinkres res; local
329 static nfsreadres res; local
341 static char res; local
350 static nfsattrstat res; local
364 static nfsdiropres res; local
378 static nfsstat res; local
432 static nfsstat res; local
455 static nfsstat res; local
469 static nfsstat res; local
483 static nfsdiropres res; local
504 static nfsreaddirres res; local
535 static nfsstatfsres res; local
[all...]
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-getall.py37 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'BSSs',
39 if len(res) > 0:
40 bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
44 print "GetAll(fi.w1.wpa_supplicant1.BSS, %s):" % (res[0])
47 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'Networks',
49 if len(res) > 0:
50 net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
54 print "GetAll(fi.w1.wpa_supplicant1.Network, %s):" % (res[0])
/freebsd-9.3-release/lib/libc/resolv/
H A Dh_errno.c43 __h_errno_set(res_state res, int err) argument
45 h_errno = res->res_h_errno = err;
/freebsd-9.3-release/sys/boot/ia64/ski/
H A Dsal_stub.c88 struct ia64_sal_result res; local
90 res.sal_status = -3;
91 res.sal_result[0] = 0;
92 res.sal_result[1] = 0;
93 res.sal_result[2] = 0;
96 res.sal_status = 0;
97 res.sal_result[0] = 133338184;
105 return (res);
/freebsd-9.3-release/share/examples/sunrpc/sort/
H A Drsort.c15 struct sortstrings args, res; local
25 res.ss.ss_val = (char **)NULL;
28 xdr_sortstrings, &args, xdr_sortstrings, &res)))
36 for (i = 0; i < res.ss.ss_len; i++) {
37 printf("%s\n", res.ss.ss_val[i]);
40 /* should free res here */
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dt-fget.c66 char res[256]; local
75 l = snprintf(res, sizeof(res), "%c%s\n", '\0', "test ing");
76 check(res, l);
78 l = snprintf(res, sizeof(res), "%c%s%c\n", '\0', "test ing", '\0');
79 check(res, l);
81 l = snprintf(res, sizeof(res), "%c%s%c%s\n",
83 check(res,
[all...]

Completed in 287 milliseconds

1234567891011>>