/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/ |
H A D | authenc.c | 86 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 D | rtime.c | 77 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 D | gss_acquire_cred.c | 55 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 D | gss_export_name.c | 47 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 D | gss_canonicalize_name.c | 49 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 D | gss_import_name.c | 49 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 D | err.D_ARR_LOCAL.thisarray.d | 39 this int res; 44 this->res = this->x[this->y, this->z]++;
|
/freebsd-9.3-release/contrib/ncurses/form/ |
H A D | fld_just.c | 50 int res = E_BAD_ARGUMENT; local 63 res = _nc_Synchronize_Attributes(field); 66 res = E_OK; 68 RETURN(res);
|
H A D | fld_opts.c | 56 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 D | scan.h | 30 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 D | boolean.c | 51 bool res = true; local 74 res = false; 79 res = false; 86 od->optArg.argBool = res;
|
/freebsd-9.3-release/sys/dev/random/ |
H A D | ivy.c | 100 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 D | dns_utils.c | 62 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 D | test_config.c | 40 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 D | hastd.c | 102 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 D | secondary.c | 210 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 D | hast_checksum.h | 39 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 D | hast_compression.h | 39 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 D | primary.c | 179 #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 D | nfs_subr.c | 122 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 D | wpas-dbus-new-getall.py | 37 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 D | h_errno.c | 43 __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 D | sal_stub.c | 88 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 D | rsort.c | 15 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 D | t-fget.c | 66 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...] |