Searched refs:res (Results 276 - 300 of 1247) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_zlib.c137 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 Damq_subr.c61 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 Dpoll.c153 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 Dgetaddrinfo.c185 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 Dtnt4882.c56 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 Dparser.c97 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 Dnscd.c108 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 Dresconf.c206 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 Dgethost.c233 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 Dover.cpp70 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 Dlimit.cpp62 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 Dtest_nist2.in91 res=$?
93 case "${result},${res}" in
98 *) echo="unknown result ${result},${res}" ; exit 1 ;;
/freebsd-9.3-release/libexec/ypxfr/
H A Dypxfr_misc.c128 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 Dhast_proto.c82 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 Disci_interrupt.c58 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 Drtc.c167 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 Dtest-pkg_version.sh43 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 Drip6query.c81 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 Dpass1b.c93 int nfrags, res = KEEPON; local
98 res = SKIP;
112 return (res);
/freebsd-9.3-release/sys/boot/common/
H A Dcommands.c218 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 Diodi.c131 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 Dsb_zbbus.c285 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 Data_zbbus.c96 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 Dtest_speed.c43 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 Dadvansys.h41 struct adv_softc * adv_alloc(device_t dev, struct resource *res, long offset);

Completed in 289 milliseconds

<<11121314151617181920>>