/haiku-fatelf/src/kits/network/libbind/irs/ |
H A D | gen_pw.c | 53 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 D | gen_sv.c | 48 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 D | dns_ho.c | 132 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 D | lcl_ho.c | 112 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 D | hesiod.c | 136 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 D | login_cap.c | 109 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 D | logwtmp.c | 73 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 D | p_resource.c | 266 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 D | fuse_opt.c | 144 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 D | dma_regs.h | 17 uint32 res; member in struct:DMA_descriptor
|
/haiku-fatelf/src/bin/gzip/ |
H A D | bits.c | 152 register unsigned res = 0; local 154 res |= code & 1; 155 code >>= 1, res <<= 1; 157 return res >> 1;
|
H A D | zforce | 16 res=0 20 res=1 38 res=1; echo ${x}: cannot rename $i to $new 41 exit $res
|
H A D | gzexe | 27 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 D | netcpu_none.c | 40 get_cpu_idle(uint64_t *res) argument
|
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | chdir.c | 103 benchmark(void *tsd, result_t *res) argument 111 res->re_errors++; 116 res->re_errors++; 119 res->re_count = i;
|
H A D | listen.c | 114 benchmark(void *tsd, result_t *res) argument 120 res->re_errors++; 122 res->re_errors++; 124 res->re_count = i;
|
H A D | lseek.c | 104 benchmark(void *tsd, result_t *res) argument 111 res->re_errors++; 114 res->re_errors++; 117 res->re_count = i;
|
H A D | semop.c | 79 benchmark(void *tsd, result_t *res) argument 90 res->re_errors++; 96 res->re_errors++; 100 res->re_count += lm_optB;
|
H A D | setsockopt.c | 81 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 D | if_em_osdep.c | 122 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 D | Catalog.cpp | 93 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 D | i2c_core.c | 161 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 D | zipcloak.c | 195 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 D | loop_wchar.h | 83 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 D | busses.cpp | 90 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...] |