Searched refs:res (Results 201 - 225 of 1247) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/wpa/src/common/
H A Dwpa_ctrl.c66 size_t res; local
109 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path,
111 if (res >= sizeof(ctrl->dest.sun_path)) {
204 int res; local
241 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv);
243 res = recv(ctrl->s, reply, *reply_len, 0);
244 if (res < 0)
245 return res;
246 if (res > 0 && reply[0] == '<') {
254 if ((size_t) res
304 int res; local
[all...]
/freebsd-9.3-release/usr.sbin/rpc.statd/
H A Dprocs.c113 static sm_stat_res res; local
121 res.res_stat = stat_fail;
128 res.res_stat = stat_succ;
136 res.res_stat = stat_fail;
139 res.state = status_info->ourState;
140 return (&res);
154 static sm_stat_res res; local
162 res.res_stat = stat_fail;
176 res.res_stat = stat_fail; /* Assume fail until set otherwise */
177 res
262 static sm_stat res; local
300 static sm_stat res; local
[all...]
/freebsd-9.3-release/sys/dev/puc/
H A Dpucdata.c1192 intptr_t *res)
1196 *res = 8 * (port & 1);
1199 *res = 0x14 + (port >> 1) * 4;
1209 intptr_t *res)
1218 *res = port * 8 + ((port > 2) ? 0x18 : 0);
1226 intptr_t *res)
1229 *res = port * 0x200;
1237 intptr_t *res)
1240 *res = port * 0x400;
1248 intptr_t *res)
1191 puc_config_amc(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1208 puc_config_diva(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1225 puc_config_exar(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1236 puc_config_exar_pcie(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1247 puc_config_icbook(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1258 puc_config_moxa(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1274 puc_config_quatech(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1373 puc_config_syba(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1447 puc_config_siig(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1479 puc_config_timedia(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1556 puc_config_oxford_pci954(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port __unused, intptr_t *res) argument
1578 puc_config_oxford_pcie(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1651 puc_config_sunix(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1676 puc_config_titan(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/libopts/
H A Denum.c191 uintptr_t res = name_ct; local
222 if (res == name_ct)
223 res = idx; /* save partial match */
225 res = (uintptr_t)~0; /* may yet find full match */
229 if (res < name_ct)
230 return res; /* partial match */
234 pz_enum_err_fmt = (res == name_ct) ? zNoKey : zambiguous_key;
286 uintptr_t res = 0UL; local
331 res = find_name(pOD->optArg.argString, pOpts, pOD, paz_names, name_ct);
340 return res;
432 uintptr_t res = (uintptr_t)od->optCookie; local
522 char * res; local
576 uintptr_t res = check_membership_start(od, &arg, &invert); local
[all...]
/freebsd-9.3-release/sys/dev/gpio/
H A Dgpioc.c121 int max_pin, res; local
129 res = GPIO_PIN_MAX(sc->sc_pdev, &max_pin);
135 res = GPIO_PIN_GETFLAGS(sc->sc_pdev, pin.gp_pin,
138 if (res)
147 res = GPIO_PIN_SETFLAGS(sc->sc_pdev, pin.gp_pin,
152 res = GPIO_PIN_GET(sc->sc_pdev, req.gp_pin,
160 res = GPIO_PIN_SET(sc->sc_pdev, req.gp_pin,
169 res = GPIO_PIN_TOGGLE(sc->sc_pdev, req.gp_pin);
176 return (res);
/freebsd-9.3-release/sys/dev/fdc/
H A Dfdc_isa.c80 struct resource *res; local
92 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &newrid,
94 if (res == NULL)
100 i = rman_get_start(res) & 0x7;
101 if (i + rman_get_size(res) - 1 > FDC_MAXREG) {
102 bus_release_resource(dev, SYS_RES_IOPORT, newrid, res);
105 for (j = 0; j < rman_get_size(res); j++) {
106 fdc->resio[i + j] = res;
109 fdc->ioh[i + j] = rman_get_bushandle(res);
120 res
[all...]
H A Dfdc_pccard.c55 struct resource *res; local
59 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0ul, ~0ul, 1,
61 if (res == NULL) {
66 fdc->resio[i] = res;
69 fdc->ioh[i] = rman_get_bushandle(res);
71 fdc->iot = rman_get_bustag(res);
/freebsd-9.3-release/sys/kern/
H A Dkern_sharedpage.c67 int res; local
69 res = roundup(shared_page_free, align);
70 if (res + size >= IDX_TO_OFF(shared_page_obj->size))
71 res = -1;
73 shared_page_free = res + size;
74 return (res);
80 int res; local
83 res = shared_page_alloc_locked(size, align);
85 return (res);
91 int res; local
[all...]
/freebsd-9.3-release/usr.bin/whois/
H A Dwhois.c242 struct addrinfo hints, *res; local
249 error = getaddrinfo(host, port, &hints, &res);
256 return (res);
279 struct addrinfo *hostres, *res; local
286 for (res = hostres; res; res = res->ai_next) {
287 s = socket(res->ai_family, res
[all...]
/freebsd-9.3-release/sys/i386/include/
H A Datomic.h142 uint64_t res; local
152 : "=&A" (res) /* 0 */
157 return (res);
182 uint64_t res; local
189 : "=&A" (res), /* 0 */
194 return (res);
229 u_char res; local
241 : "=q" (res), /* 0 */
248 return (res);
256 u_char res; local
298 u_char res; local
380 u_char res; local
409 uint64_t res; local
431 u_char res; local
556 u_int res; local
572 u_long res; local
[all...]
/freebsd-9.3-release/contrib/libucl/tests/
H A Drun_tests.sh18 if [ -f $_t.res ] ; then
19 diff -s $_t.out $_t.res -u 2>/dev/null
31 diff -s ${TEST_DIR}/generate.out ${TEST_DIR}/generate.res -u 2>/dev/null
34 echo "Test: generate.res output missmatch"
/freebsd-9.3-release/contrib/tcsh/
H A Dtw.comp.c272 static Char* res = NULL; local
275 if (res != NULL)
276 xfree(res), res = NULL; local
347 *pat = res = Strsave(&act[1]);
348 (void) strip(res);
352 *pat = res = Strsave(&act[1]);
353 if ((p = Strchr(res, ')')) != NULL)
355 (void) strip(res);
359 res
374 xfree(res), res = NULL; local
410 Char *res; local
526 int cmd, res; local
[all...]
/freebsd-9.3-release/sys/ia64/ia64/
H A Dsal.c58 struct ia64_sal_result res; local
59 res.sal_status = -3;
60 res.sal_result[0] = 0;
61 res.sal_result[1] = 0;
62 res.sal_result[2] = 0;
63 return res;
/freebsd-9.3-release/tools/regression/file/flock/
H A Dflock.c180 int res; local
220 res = fcntl(fd, F_SETLK, &fl);
225 FAIL(res == 0);
251 int res; local
294 res = fcntl(fd, F_SETLKW, &fl);
299 FAIL(res == 0);
406 int res; local
451 res = fcntl(fd, F_SETLKW, &fl);
455 FAIL(res == 0);
492 int res; local
595 int res; local
667 int res; local
744 int res; local
883 int res; local
969 int res; local
1047 int res; local
1335 int res; local
1501 void *res; local
[all...]
/freebsd-9.3-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_pkt_randomizer.c70 boolean_t res = FALSE, found_path; local
96 res = TRUE;
102 return res;
121 boolean_t res = FALSE; local
211 res = TRUE;
217 return res;
228 boolean_t res = FALSE; local
248 res = TRUE;
253 return res;
263 ib_api_status_t res local
[all...]
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dmilenage.c87 * @res: Buffer for RES = 64-bit signed response (f2), or %NULL
95 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar)
121 if (res)
122 os_memcpy(res, tmp3 + 8, 8); /* f2 */
176 * @res: Buffer for RES = 64-bit signed response (f2), or %NULL
177 * @res_len: Max length for res; set to used length or 0 on failure
181 u8 *ck, u8 *res, size_t *res_len)
191 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) {
243 u8 res[8], ck[16], ik[16]; local
246 if (milenage_f2345(opc, k, _rand, res, c
94 milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand, u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) argument
179 milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len) argument
276 milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand, const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, u8 *auts) argument
[all...]
/freebsd-9.3-release/contrib/binutils/opcodes/
H A Dia64-opc.c221 int res = 0;
233 res = (res << bata) | ((op & mask) >> delta);
239 res = (res << 8) | (dis_table[op_pointer++] & 255);
245 res = (res << bits) | (op >> (8 - bits));
247 return res;
539 struct ia64_opcode *res =
541 res
216 int res = 0; local
530 struct ia64_opcode *res = local
[all...]
/freebsd-9.3-release/sys/amd64/include/
H A Datomic.h141 u_char res; local
149 : "=a" (res), /* 0 */
156 return (res);
162 u_char res; local
170 : "=a" (res), /* 0 */
177 return (res);
221 u_char res; local
228 : "=q" (res), /* 0 */
232 return (res);
238 u_char res; local
350 u_int res; local
366 u_long res; local
[all...]
/freebsd-9.3-release/sys/dev/acpica/
H A Dacpi_cmbat.c242 ACPI_OBJECT *res; local
266 res = (ACPI_OBJECT *)bst_buffer.Pointer;
267 if (!ACPI_PKG_VALID(res, 4)) {
273 if (acpi_PkgInt32(res, 0, &sc->bst.state) != 0)
275 if (acpi_PkgInt32(res, 1, &sc->bst.rate) != 0)
277 if (acpi_PkgInt32(res, 2, &sc->bst.cap) != 0)
279 if (acpi_PkgInt32(res, 3, &sc->bst.volt) != 0)
318 ACPI_OBJECT *res; local
339 res = (ACPI_OBJECT *)bif_buffer.Pointer;
340 if (!ACPI_PKG_VALID(res, 1
[all...]
/freebsd-9.3-release/sys/dev/adlink/
H A Dadlink.c105 struct resource *res[3]; member in struct:softc
136 u = bus_read_4(sc->res[0], 0x38);
139 bus_write_4(sc->res[0], 0x38, u | 0x003f4000);
145 u = bus_read_4(sc->res[1], 0x18);
157 bus_write_4(sc->res[0], 0x24, pg->phys);
158 bus_write_4(sc->res[0], 0x28, sc->p0->chunksize);
279 bus_write_4(sc->res[0], 0x38, 0x00004000);
282 bus_write_4(sc->res[1], 0x00, 1);
285 bus_write_4(sc->res[1], 0x04, sc->p0->divisor);
288 bus_write_4(sc->res[
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dlwconfig.c297 int res; local
306 res = getword(fp, word, sizeof(word));
309 else if (res == ' ' || res == '\t')
310 res = eatwhite(fp);
312 if (res != EOF && res != '\n')
315 res = lwres_create_addr(word, &address, 1);
316 if (res == LWRES_R_SUCCESS &&
328 int res; local
356 int res, i; local
477 int delim, res, idx; local
[all...]
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dbss.c117 struct wpa_scan_res *res)
121 bss = os_zalloc(sizeof(*bss) + res->ie_len + res->beacon_ie_len);
126 wpa_bss_copy_res(bss, res);
129 bss->ie_len = res->ie_len;
130 bss->beacon_ie_len = res->beacon_ie_len;
131 os_memcpy(bss + 1, res + 1, res->ie_len + res->beacon_ie_len);
273 struct wpa_scan_res *res)
115 wpa_bss_add(struct wpa_supplicant *wpa_s, const u8 *ssid, size_t ssid_len, struct wpa_scan_res *res) argument
272 wpa_bss_update(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_scan_res *res) argument
325 wpa_bss_update_scan_res(struct wpa_supplicant *wpa_s, struct wpa_scan_res *res) argument
[all...]
/freebsd-9.3-release/sys/sparc64/ebus/
H A Debus.c308 struct resource *res; local
338 res = bus_alloc_resource_any(dev, eri->eri_rtype, &rid,
340 if (res == NULL) {
345 eri->eri_res = res;
348 if (rman_init_from_resource(&eri->eri_rman, res) != 0) {
422 struct resource *res; local
440 KASSERT(rle->res == NULL,
449 res = NULL;
458 res = rman_reserve_resource(&eri->eri_rman, start,
460 if (res
500 ebus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
542 ebus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dresolver.c72 "res %p: %s", res, (m))
77 "res %p: %s", (r), (m))
208 dns_resolver_t * res; member in struct:fetchctx
394 (((fctx)->res->lame_ttl > 30 ) ? (fctx)->res->lame_ttl : 30)
456 #define VALID_RESOLVER(res) ISC_MAGIC_VALID(res, RES_MAGIC)
475 static void destroy(dns_resolver_t *res);
476 static void empty_bucket(dns_resolver_t *res);
504 inc_stats(dns_resolver_t *res, isc_statscounter_t counter) argument
790 dns_resolver_t *res = query->fctx->res; local
1167 dns_resolver_t *res; local
1361 dns_resolver_t *res; local
1681 dns_resolver_t *res; local
2179 dns_resolver_t *res; local
2471 dns_resolver_t *res; local
2585 dns_resolver_t *res; local
2846 dns_resolver_t *res; local
3099 dns_resolver_t *res; local
3296 dns_resolver_t *res; local
3367 dns_resolver_t *res; local
3516 fctx_create(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, unsigned int options, unsigned int bucketnum, unsigned int depth, fetchctx_t **fctxp) argument
3989 dns_resolver_t *res = fctx->res; local
4033 dns_resolver_t *res; local
4574 dns_resolver_t *res; local
5077 dns_resolver_t *res; local
6550 dns_resolver_t *res; local
7602 destroy_badcache(dns_resolver_t *res) argument
7624 destroy(dns_resolver_t *res) argument
7673 send_shutdown_events(dns_resolver_t *res) argument
7693 empty_bucket(dns_resolver_t *res) argument
7708 dns_resolver_t *res = event->ev_arg; local
7751 dns_resolver_t *res; local
7950 dns_resolver_t *res; local
7995 dns_resolver_prime(dns_resolver_t *res) argument
8056 dns_resolver_freeze(dns_resolver_t *res) argument
8084 dns_resolver_whenshutdown(dns_resolver_t *res, isc_task_t *task, isc_event_t **eventp) argument
8115 dns_resolver_shutdown(dns_resolver_t *res) argument
8164 dns_resolver_t *res; local
8224 dns_resolver_createfetch(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, dns_forwarders_t *forwarders, unsigned int options, isc_task_t *task, isc_taskaction_t action, void *arg, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_fetch_t **fetchp) argument
8241 dns_resolver_createfetch2(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, dns_forwarders_t *forwarders, isc_sockaddr_t *client, dns_messageid_t id, unsigned int options, isc_task_t *task, isc_taskaction_t action, void *arg, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_fetch_t **fetchp) argument
8259 dns_resolver_createfetch3(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, dns_forwarders_t *forwarders, isc_sockaddr_t *client, dns_messageid_t id, unsigned int options, unsigned int depth, isc_task_t *task, isc_taskaction_t action, void *arg, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_fetch_t **fetchp) argument
8405 dns_resolver_t *res; local
8452 dns_resolver_t *res; local
8501 dns_resolver_t *res; local
[all...]
/freebsd-9.3-release/contrib/sendmail/src/
H A Dsasl.c165 char *hr, *h1, *h, *res; local
173 res = (char *) sm_rpool_malloc(rpool, rl + 1);
174 if (res == NULL)
176 *res = '\0';
178 return res;
179 hr = res;
195 if (hr != res)
212 return res;

Completed in 162 milliseconds

1234567891011>>