/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_zlib.c | 137 int res, n; local 157 res = inflate(p, getstate(state)); 167 if (res==Z_BUF_ERROR) { 174 assert(res == Z_OK || res == Z_STREAM_END); 191 int res, n; local 211 res = deflate(p, getstate(state)); 221 if (res==Z_BUF_ERROR) { 228 assert(res == Z_OK || res [all...] |
/freebsd-9.3-release/contrib/amd/amd/ |
H A D | amq_subr.c | 61 static char res; local 63 return (voidp) &res; 86 static char res; local 92 return (voidp) &res; 177 static amq_string res; local 179 res = get_version_string(); 180 return &res; 188 static int res; local 190 res = getpid(); 191 return &res; 207 static amq_string res; local [all...] |
/freebsd-9.3-release/contrib/pf/libevent/ |
H A D | poll.c | 153 int res, i, sec, nfds; local 159 res = poll(pop->event_set, nfds, sec); 161 if (res == -1) { 172 event_debug(("%s: poll reports %d", __func__, res)); 174 if (res == 0) 183 res = 0; 189 res |= EV_READ; 193 res |= EV_WRITE; 196 if (res == 0) 199 if (r_ev && (res [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 185 struct addrinfo **res) 221 *res = first; 277 struct addrinfo **res) 295 *res = first; 306 *res = first; 317 struct addrinfo **res) 355 *res = first; 375 struct addrinfo **res) 382 *res = NULL; 403 ret = get_number (nodename, hints, port, protocol, socktype, res); 183 get_null(const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 274 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 314 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 372 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/freebsd-9.3-release/sys/dev/ieee488/ |
H A D | tnt4882.c | 56 struct resource *res[3]; member in struct:tnt_softc 190 bus_write_1(sc->res[1], tp->reg, tp->val); 193 u = bus_read_1(sc->res[1], tp->reg); 236 error = bus_alloc_resources(dev, tnt_res_spec, sc->res); 240 error = bus_setup_intr(dev, sc->res[2], INTR_TYPE_MISC | INTR_MPSAFE, 244 bus_write_4(sc->res[0], 0xc0, rman_get_start(sc->res[1]) | 0x80); 255 version = bus_read_1(sc->res[1], csr); 268 bus_write_1(sc->res[1], imr3, 0x02); 271 sc->upd7210.reg_res[i] = sc->res[ [all...] |
/freebsd-9.3-release/usr.sbin/nscd/ |
H A D | parser.c | 97 int res; local 104 res = add_configuration_entry(config, entry); 105 assert(res == 0); 287 int res = 0; local 292 res = strtol(str, &end, 10); 296 if (((res >= low) || (low == -1)) && 297 ((res <= max) || (max == -1))) 298 return (res); 345 int res; local 357 res [all...] |
H A D | nscd.c | 108 int res; local 123 res = register_cache_entry(retval, (struct cache_entry_params *) 130 res = register_cache_entry(retval, (struct cache_entry_params *) 235 int res; local 268 res = kevent(env->queue, eventlist, 2, NULL, 0, &timeout); 269 if (res < 0) 283 int eof_res, res; local 289 res = 0; 349 res = qstate->process_func(qstate); 352 (res 568 struct timespec res; local 601 int i, res; local [all...] |
/freebsd-9.3-release/contrib/bind9/lib/irs/ |
H A D | resconf.c | 206 struct addrinfo hints, *res; local 209 res = NULL; 215 error = getaddrinfo(address_str, "53", &hints, &res); 220 if (res->ai_family == AF_INET) { 225 v4 = &((struct sockaddr_in *)res->ai_addr)->sin_addr; 235 if (res->ai_addrlen > sizeof(address->type)) { 240 address->length = res->ai_addrlen; 241 memmove(&address->type.ss, res->ai_addr, res->ai_addrlen); 246 freeaddrinfo(res); 305 int res, i; local 388 int delim, res, idx; local [all...] |
/freebsd-9.3-release/contrib/bind9/lib/lwres/ |
H A D | gethost.c | 233 int res; local 238 res = copytobuf(he, resbuf, buf, buflen); 240 if (res != 0) { 254 int res; local 259 res = copytobuf(he, resbuf, buf, buflen); 261 if (res != 0) {
|
/freebsd-9.3-release/contrib/groff/src/preproc/eqn/ |
H A D | over.cpp | 70 int res = num->compute_metrics(style); local 71 if (res) 74 if (r && res) 78 res = r; 111 if (res) 114 return res;
|
H A D | limit.cpp | 62 int res = 0; local 65 res = from->compute_metrics(cramped_style(script_style(style))); 66 if (res) 71 if (res && r) 75 res = r; 81 if (res && r) 85 res = r; 113 if (res) 137 return res;
|
/freebsd-9.3-release/crypto/heimdal/lib/hx509/ |
H A D | test_nist2.in | 91 res=$? 93 case "${result},${res}" in 98 *) echo="unknown result ${result},${res}" ; exit 1 ;;
|
/freebsd-9.3-release/libexec/ypxfr/ |
H A D | ypxfr_misc.c | 128 int res; local 130 if ((res = yp_master(domain, map, &master))) { 131 switch (res) { 197 int res; local 198 if ((res = yp_order(domain, map, &order))) { 199 switch (res) {
|
/freebsd-9.3-release/sbin/hastd/ |
H A D | hast_proto.c | 82 hast_proto_send(const struct hast_resource *res, struct proto_conn *conn, argument 101 (void)pipeline[ii].hps_send(res, nv, &dptr, &size, 115 hdr.version = res != NULL ? res->hr_version : HAST_PROTO_VERSION; 176 hast_proto_recv_data(const struct hast_resource *res, struct proto_conn *conn, argument 203 ret = pipeline[ii - 1].hps_recv(res, nv, &dptr,
|
/freebsd-9.3-release/sys/dev/isci/ |
H A D | isci_interrupt.c | 58 interrupt_info->res = bus_alloc_resource_any(isci->device, SYS_RES_IRQ, 61 if (interrupt_info->res == NULL) { 67 if (bus_setup_intr(isci->device, interrupt_info->res, 102 info->res = bus_alloc_resource_any(isci->device, 104 if (info->res == NULL) { 111 if (bus_setup_intr(isci->device, info->res,
|
/freebsd-9.3-release/sys/sparc64/sparc64/ |
H A D | rtc.c | 167 struct resource *res; local 179 res = bus_alloc_resource_any(dev, ebus ? SYS_RES_MEMORY : 181 if (res == NULL) { 186 sc->sc_bst = rman_get_bustag(res); 187 sc->sc_bsh = rman_get_bushandle(res); 227 res);
|
/freebsd-9.3-release/usr.sbin/pkg_install/version/ |
H A D | test-pkg_version.sh | 43 res=`${PKG_VERSION} -t ${v1} ${v2}` 44 if [ ${res} != ${answer} ]; then \ 45 ${ECHO} "${type} test failed (${v1} ${res} ${v2}, should have been ${answer})"; \
|
/freebsd-9.3-release/usr.sbin/rip6query/ |
H A D | rip6query.c | 81 struct addrinfo hints, *res; local 116 error = getaddrinfo(argv[0], pbuf, &hints, &res); 121 if (res->ai_next) { 125 if (sizeof(sin6) != res->ai_addrlen) { 129 memcpy(&sin6, res->ai_addr, res->ai_addrlen);
|
/freebsd-9.3-release/sbin/fsck_ffs/ |
H A D | pass1b.c | 93 int nfrags, res = KEEPON; local 98 res = SKIP; 112 return (res);
|
/freebsd-9.3-release/sys/boot/common/ |
H A D | commands.c | 218 int res; local 221 res = 0; 223 res = pager_output("Available commands:\n"); 225 if (res) 231 res = pager_output("\n"); 419 int res; local 422 res=0; 424 for (i = 1; (i < argc) && (res == 0); i++) { 428 res = page_file(argv[i]); 429 if (!res) { [all...] |
/freebsd-9.3-release/sys/mips/rmi/ |
H A D | iodi.c | 131 struct resource *res = malloc(sizeof(*res), M_DEVBUF, M_WAITOK); local 156 res->r_bushandle = (xlr_io_base + XLR_IO_UART_0_OFFSET); 158 res->r_bushandle = (xlr_io_base + XLR_IO_UART_1_OFFSET); 162 res->r_bustag = uart_bus_space_mem; 164 res->r_bushandle = MIPS_PHYS_TO_KSEG1(0x1ef24000); 165 res->r_bustag = rmi_pci_bus_space; 167 res->r_bushandle = MIPS_PHYS_TO_KSEG1(0x1c000000); 168 res->r_bustag = 0; 170 res [all...] |
/freebsd-9.3-release/sys/mips/sibyte/ |
H A D | sb_zbbus.c | 285 struct resource *res; local 301 if (rle->res) 348 res = bus_generic_alloc_resource(bus, child, type, rid, 359 if (res != NULL && intrnum != -1) 360 sb_intmap_add(intrnum, child, rman_get_rid(res), intsrc); 367 if (res != NULL && rle == NULL && device_get_parent(child) == bus) { 377 rle->res = res; 378 if (rle->res) { 379 rle->start = rman_get_start(rle->res); [all...] |
H A D | ata_zbbus.c | 96 ch->r_io[i].res = io; 100 ch->r_io[ATA_CONTROL].res = io; 102 ch->r_io[ATA_IDX_ADDR].res = io; /* XXX what is this used for */ 126 ch->r_io[ATA_IDX_ADDR].res);
|
/freebsd-9.3-release/contrib/libucl/tests/ |
H A D | test_speed.c | 43 double res; local 46 res = mach_absolute_time () / 1000000000.; 51 res = (double)ts.tv_sec + ts.tv_nsec / 1000000000.; 54 return res;
|
/freebsd-9.3-release/sys/dev/advansys/ |
H A D | advansys.h | 41 struct adv_softc * adv_alloc(device_t dev, struct resource *res, long offset);
|