/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | h_gai.c | 62 print1(const char *title, const struct addrinfo *res, char *h, char *s) argument 68 if (res->ai_addr) { 69 error = getnameinfo(res->ai_addr, res->ai_addr->sa_len, 85 printf("%sflags 0x%x%s", start, res->ai_flags, end); 86 printf("%sfamily %d%s", start, res->ai_family, end); 87 printf("%ssocktype %d%s", start, res->ai_socktype, end); 88 printf("%sprotocol %d%s", start, res->ai_protocol, end); 89 printf("%saddrlen %d%s", start, res->ai_addrlen, end); 97 if (res 108 struct addrinfo *res; local [all...] |
/freebsd-11-stable/contrib/netcat/ |
H A D | atomicio.c | 43 ssize_t res; local 49 res = (f) (fd, s + pos, n - pos); 50 switch (res) { 63 pos += (size_t)res;
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | ofw_machdep.c | 46 int flags, res; local 48 res = ofw_reg_to_paddr(dev, regno, &addr, &size, &pci_hi); 49 if (res < 0) 50 return (res);
|
/freebsd-11-stable/lib/libc/uuid/ |
H A D | uuid_compare.c | 50 int res; local 70 res = memcmp(a->node, b->node, sizeof(a->node)); 71 if (res) 72 return ((res < 0) ? -1 : 1);
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | get_default_realm.c | 65 char *res; local 75 res = strdup (context->default_realms[0]); 76 if (res == NULL) { 81 *realm = res;
|
H A D | aname_to_localname.c | 46 const char *res; local 64 res = aname->name.name_string.val[0]; 70 res = "root"; 76 userok = krb5_kuserok(context, rootprinc, res); 84 len = strlen (res); 87 strlcpy (lname, res, lnsize);
|
/freebsd-11-stable/sys/kgssapi/ |
H A D | gss_release_cred.c | 46 struct release_cred_res res; local 62 stat = gssd_release_cred_1(&args, &res, cl); 72 *minor_status = res.minor_status; 73 return (res.major_status);
|
H A D | gss_delete_sec_context.c | 47 struct delete_sec_context_res res; local 72 bzero(&res, sizeof(res)); 73 stat = gssd_delete_sec_context_1(&args, &res, cl); 81 kgss_copy_buffer(&res.output_token, 83 xdr_free((xdrproc_t) xdr_delete_sec_context_res, &res);
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | ofw_machdep.c | 46 int flags, res; local 48 res = ofw_reg_to_paddr(dev, regno, &addr, &size, &pci_hi); 49 if (res < 0) 50 return (res);
|
/freebsd-11-stable/tools/bus_space/C/ |
H A D | lang.c | 108 int res; local 110 res = bd_tag_create(dev, align, bndry, maxaddr, maxsz, nsegs, maxsegsz, 112 if (res == -1) 114 *out_p = res; 123 int res; local 125 res = bd_tag_derive(tag, align, bndry, maxaddr, maxsz, nsegs, maxsegsz, 127 if (res == -1) 129 *out_p = res; 143 int res; local 145 res 162 int res; local [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/regress/ |
H A D | opensslvertest.c | 58 int res; local 64 res = version_tests[i].result; 65 if (ssh_compatible_openssl(hver, lver) != res) 66 fail(hver, lver, res);
|
/freebsd-11-stable/stand/userboot/userboot/ |
H A D | copy.c | 53 ssize_t res, s; local 57 res = 0; 69 res += s; 72 return (res);
|
/freebsd-11-stable/stand/powerpc/ofw/ |
H A D | start.c | 73 startup(void *vpd, int res, int (*openfirm)(void *), char *arg, int argl) argument
|
/freebsd-11-stable/sys/dev/proto/ |
H A D | proto_bus_isa.c | 69 struct resource *res; local 74 res = bus_alloc_resource_any(dev, type, &rid, RF_ACTIVE); 75 if (res == NULL) { 77 res = bus_alloc_resource_any(dev, type, &rid, RF_ACTIVE); 79 if (res == NULL) 83 sbuf_printf(sb, "%s:%#jx", proto_isa_prefix, rman_get_start(res)); 87 bus_release_resource(dev, type, rid, res); 94 struct resource *res; local 101 res = bus_alloc_resource_any(dev, type, &rid, RF_ACTIVE); 102 if (res [all...] |
/freebsd-11-stable/usr.sbin/nscd/ |
H A D | agent.c | 43 int res; local 45 res = strcmp(ap1->name, ap2->name); 46 if (res == 0) { 48 res = 0; 50 res = -1; 52 res = 1; 55 return (res); 98 struct agent **res; local 105 res = bsearch(&model_p, at->agents, at->agents_num, 109 return ( res [all...] |
/freebsd-11-stable/sbin/hastd/ |
H A D | subr.h | 54 int provinfo(struct hast_resource *res, bool dowrite); 56 int drop_privs(const struct hast_resource *res);
|
H A D | hast_proto.h | 42 int hast_proto_send(const struct hast_resource *res, struct proto_conn *conn, 45 int hast_proto_recv_data(const struct hast_resource *res,
|
/freebsd-11-stable/contrib/gdb/gdb/gdbserver/ |
H A D | target.c | 63 int res; local 64 res = (*the_target->read_memory) (memaddr, myaddr, len); 66 return res; 76 int res; local 84 res = (*the_target->write_memory) (memaddr, buffer, len); 88 return res;
|
/freebsd-11-stable/lib/libc/db/test/hash.tests/ |
H A D | tseq.c | 59 DBT item, key, res; local 73 for ( stat = (dbp->seq) (dbp, &res, &item, 1 ); 75 stat = (dbp->seq) (dbp, &res, &item, 0 ) ) { 77 bcopy ( res.data, wp, res.size ); 78 wp[res.size] = 0;
|
/freebsd-11-stable/sbin/comcontrol/ |
H A D | comcontrol.c | 59 int res = 0; local 79 res = 1; 86 res = 1; 116 res = 1; 122 res = 1; 129 return res;
|
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | authenc.c | 93 char *res; local 98 res = fgets(result, length, stdin); 99 } else if ((res = getpass(prom))) { 100 strncpy(result, res, length); 101 res = result; 104 return(res);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 905 void *res; 907 res = REAL(memchr)(s, c, n); 909 res = internal_memchr(s, c, n); 912 void *res = REAL(memchr)(s, c, n); 914 uptr len = res ? (char *)res - (const char *)s + 1 : n; 916 return res; 943 double res = REAL(frexp)(x, exp); 944 return res; 959 float res [all...] |
/freebsd-11-stable/sys/isa/ |
H A D | pnpparse.c | 61 pnp_parse_desc(device_t dev, u_char tag, u_char *res, int len, argument 95 bcopy(res, &compat_id, 4); 105 if (I16(res) == 0) { 113 I16(res)); 114 config->ic_irqmask[config->ic_nirq] = I16(res); 123 if (res[0] == 0) { 131 res[0]); 132 config->ic_drqmask[config->ic_ndrq] = res[0]; 141 if (res[6] == 0) { 154 I16(res [all...] |
/freebsd-11-stable/lib/librpcsvc/ |
H A D | yp_update.c | 63 unsigned int res; local 131 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { 133 res = YPERR_ACCESS; 135 res = YPERR_RPC; 148 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { 150 res = YPERR_ACCESS; 152 res = YPERR_RPC; 163 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { 165 res = YPERR_ACCESS; 167 res [all...] |
/freebsd-11-stable/sys/dev/fdc/ |
H A D | fdc_cbus.c | 54 struct resource *res; local 59 res = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, fdc_iat, 3, 61 if (res == NULL) { 65 isa_load_resourcev(res, fdc_iat, 3); 67 fdc->resio[i] = res; 70 fdc->ioh[i] = rman_get_bushandle(res); 72 fdc->iot = rman_get_bustag(res); 76 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 77 if (res == NULL) { 81 fdc->resio[3] = res; [all...] |