Searched refs:res (Results 151 - 175 of 606) sorted by relevance

1234567891011>>

/haiku-fatelf/src/kits/network/libbind/irs/
H A Dgen_pw.c53 struct __res_state * res; member in struct:pvt
197 if (!pvt->res) {
198 struct __res_state *res; local
199 res = (struct __res_state *)malloc(sizeof *res);
200 if (!res) {
204 memset(res, 0, sizeof *res);
205 pw_res_set(this, res, free);
208 return (pvt->res);
212 pw_res_set(struct irs_pw *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Dgen_sv.c48 struct __res_state * res; member in struct:pvt
193 if (!pvt->res) {
194 struct __res_state *res; local
195 res = (struct __res_state *)malloc(sizeof *res);
196 if (!res) {
200 memset(res, 0, sizeof *res);
201 sv_res_set(this, res, free);
204 return (pvt->res);
208 sv_res_set(struct irs_sv *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Ddns_ho.c132 struct __res_state *res; member in struct:pvt
158 struct __res_state *res,
218 if (pvt->res && pvt->free_res)
219 (*pvt->free_res)(pvt->res);
232 if (pvt->res->options & RES_USE_INET6) {
257 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
281 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
292 if (!strchr(name, '.') && (cp = res_hostalias(pvt->res, name,
308 if ((n = res_nsearch(pvt->res, name, p->qclass, p->qtype,
348 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNA
536 struct __res_state *res; local
678 ho_res_set(struct irs_ho *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Dlcl_ho.c112 struct __res_state *res; member in struct:pvt
137 struct __res_state *res,
194 if (pvt->res && pvt->free_res)
195 (*pvt->free_res)(pvt->res);
208 if (pvt->res->options & RES_USE_INET6) {
244 RES_SET_H_ERRNO(pvt->res, HOST_NOT_FOUND);
247 RES_SET_H_ERRNO(pvt->res, NETDB_SUCCESS);
279 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
284 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
315 RES_SET_H_ERRNO(pvt->res, HOST_NOT_FOUN
484 struct __res_state *res; local
498 ho_res_set(struct irs_ho *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Dhesiod.c136 if (res_ninit(ctx->res) < 0)
156 if (ctx->res)
157 res_nclose(ctx->res);
162 if (ctx->res && ctx->free_res)
163 (*ctx->free_res)(ctx->res);
360 n = res_nmkquery(ctx->res, QUERY, name, class, T_TXT, NULL, 0,
366 n = res_nsend(ctx->res, qbuf, n, abuf, MAX_HESRESP);
466 if (!ctx->res) {
467 struct __res_state *res; local
468 res
481 __hesiod_res_set(void *context, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
/haiku-fatelf/src/libs/util/
H A Dlogin_cap.c109 const char **res = NULL; local
121 if ((res = allocarray(++i)) == NULL)
128 res[i++] = ptr;
133 res[i] = NULL;
140 return res;
351 char *res; local
357 if ((ret = cgetstr(lc->lc_cap, cap, &res)) == -1)
359 return (ret >= 0) ? res : error;
526 char *res, *ep, *oval; local
540 if ((r = cgetstr(lc->lc_cap, cap, &res))
617 char *ep, *res; local
669 char *ep, *res, *oval; local
[all...]
H A Dlogwtmp.c73 struct addrinfo hints, *res; local
78 error = getaddrinfo(host, NULL, &hints, &res);
79 if (error != 0 || res->ai_addr == NULL)
82 error = getnameinfo(res->ai_addr, res->ai_addrlen,
/haiku-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_resource.c266 pdf_res *res, *lastres = NULL; local
334 for (res = cat->kids; res != (pdf_res *) NULL; res = res->next)
336 if (!strcmp(res->name, name))
338 lastres = res;
342 if (res)
348 res = (pdf_res *) pdc_calloc(p->pdc, sizeof(pdf_res), fn);
350 lastres->next = res;
410 pdf_res *res; local
440 pdf_res *res, *lastres; local
696 pdf_res *res = cat->kids; local
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_opt.c144 int res = ctx->proc(ctx->data, arg, key, &ctx->outargs); local
145 if (res == -1 || !res)
146 return res;
235 int res; local
249 res = process_opt(ctx, opt, sep, newarg, iso);
252 return res;
261 int res; local
263 res = process_opt_sep_arg(ctx, opt, sep, arg,
266 res
280 int res; local
295 int res; local
361 int res; local
[all...]
/haiku-fatelf/headers/private/graphics/radeon/
H A Ddma_regs.h17 uint32 res; member in struct:DMA_descriptor
/haiku-fatelf/src/bin/gzip/
H A Dbits.c152 register unsigned res = 0; local
154 res |= code & 1;
155 code >>= 1, res <<= 1;
157 return res >> 1;
H A Dzforce16 res=0
20 res=1
38 res=1; echo ${x}: cannot rename $i to $new
41 exit $res
H A Dgzexe27 res=0
59 res=1
97 trap '/bin/rm -f /tmp/gztmp$$ "/tmp/$prog"; exit $res' 0
99 /tmp/"$prog" ${1+"$@"}; res=$?
101 trap '/bin/rm -f /tmp/gztmp$$; exit $res' 0
103 /tmp/gztmp$$ ${1+"$@"}; res=$?
107 fi; exit $res
112 res=1
126 res=1
134 res
[all...]
/haiku-fatelf/src/tests/kits/net/netperf/
H A Dnetcpu_none.c40 get_cpu_idle(uint64_t *res) argument
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dchdir.c103 benchmark(void *tsd, result_t *res) argument
111 res->re_errors++;
116 res->re_errors++;
119 res->re_count = i;
H A Dlisten.c114 benchmark(void *tsd, result_t *res) argument
120 res->re_errors++;
122 res->re_errors++;
124 res->re_count = i;
H A Dlseek.c104 benchmark(void *tsd, result_t *res) argument
111 res->re_errors++;
114 res->re_errors++;
117 res->re_count = i;
H A Dsemop.c79 benchmark(void *tsd, result_t *res) argument
90 res->re_errors++;
96 res->re_errors++;
100 res->re_count += lm_optB;
H A Dsetsockopt.c81 benchmark(void *tsd, result_t *res) argument
87 res->re_errors = 0;
93 res->re_errors ++;
96 res->re_count += lm_optB;
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/
H A Dif_em_osdep.c122 bus_release_resource(device_t dev, int type, int reg, struct resource *res) argument
130 delete_area(area_for(res));
141 rman_get_start(struct resource *res) argument
143 return (uint32)res;
155 bus_setup_intr(device_t dev, struct resource *res, int p3, interrupt_handler int_func, void *cookie, void **tag) argument
157 int irq = (int)res;
170 bus_teardown_intr(device_t dev, struct resource *res, void *tag) argument
/haiku-fatelf/src/kits/locale/
H A DCatalog.cpp93 status_t res;
95 res = cat->GetData(name, msg);
96 if (res != B_NAME_NOT_FOUND && res != EOPNOTSUPP)
97 return res; // return B_OK if found, or specific error-code
114 status_t res;
116 res = cat->GetData(id, msg);
117 if (res != B_NAME_NOT_FOUND && res != EOPNOTSUPP)
118 return res; // retur
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/
H A Di2c_core.c161 status_t res; local
171 res = i2c_writebyte(bus, addr, &ack);
172 if (res == B_OK) {
175 res = B_ERROR;
177 if (res == B_TIMED_OUT)
183 // TRACE("i2c_start_address: %s, ack %d, i %d\n", strerror(res), ack, i);
184 return res;
347 status_t res; local
349 res = i2c_read_unlocked(bus, address, data, size);
351 return res;
358 status_t res; local
371 status_t res; local
[all...]
/haiku-fatelf/src/bin/zip/
H A Dzipcloak.c195 int res; /* result code */ local
288 if ((res = readzipfile()) != ZE_OK) ziperr(res, zipfile);
330 if (zipbeg && (res = fcopy(inzip, outzip, zipbeg)) != ZE_OK) {
331 ziperr(res, res == ZE_TEMP ? tempzip : zipfile);
340 if ((res = zipbare(z, inzip, outzip, passwd)) != ZE_OK) {
341 if (res != ZE_MISS) ziperr(res, "was decrypting an entry");
349 if ((res
[all...]
/haiku-fatelf/src/libs/iconv/
H A Dloop_wchar.h83 size_t res = unicode_loop_convert(&plocals->l_wcd->parent,
86 if (res == (size_t)(-1)) {
203 size_t res = unicode_loop_convert(&wcd->parent, local
206 if (res == (size_t)(-1)) {
226 result += res;
255 size_t res = unicode_loop_convert(&wcd->parent, local
258 if (res == (size_t)(-1)) {
264 res = unicode_loop_reset(&wcd->parent,&outptr,&outleft);
265 if (res == (size_t)(-1))
266 return res;
332 size_t res = unicode_loop_convert(&wcd->parent, local
417 size_t res = unicode_loop_reset(&wcd->parent,outbuf,outbytesleft); local
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/scsi/
H A Dbusses.cpp90 int res; local
116 res = bus->scan_lun_lock;
122 res = bus->start_service;
126 res = INIT_BEN(&bus->mutex, "scsi_bus_mutex");
127 if (res < B_OK)
132 res = scsi_init_ccb_alloc(bus);
133 if (res < B_OK)
140 res = bus->service_thread;
188 status_t res; local
222 res
[all...]

Completed in 114 milliseconds

1234567891011>>