Searched refs:res (Results 101 - 125 of 606) sorted by relevance

1234567891011>>

/haiku-fatelf/src/kits/network/libbind/irs/
H A Dhesiod_p.h39 struct __res_state * res; /*%< resolver context */ member in struct:hesiod_p
H A Dnis_nw.c77 struct __res_state * res; member in struct:pvt
96 struct __res_state *res,
142 if (pvt->res && pvt->free_res)
143 (*pvt->free_res)(pvt->res);
160 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
167 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
181 RES_SET_H_ERRNO(pvt->res, HOST_NOT_FOUND);
198 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
207 RES_SET_H_ERRNO(pvt->res, HOST_NOT_FOUND);
250 RES_SET_H_ERRNO(pvt->res, HOST_NOT_FOUN
271 struct __res_state *res; local
285 nw_res_set(struct irs_nw *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Dgetgrent_r.c59 int res; local
66 res = copy_group(ge, gptr, buf, buflen);
67 *result = res ? NULL : gptr;
68 return (res);
76 int res; local
80 res = copy_group(ge, gptr, buf, buflen);
81 return (res ? NULL : gptr);
96 int res; local
103 res = copy_group(ge, gptr, buf, buflen);
104 *result = res
113 int res; local
132 int res; local
[all...]
H A Dgetpwent_r.c61 int res; local
68 res = copy_passwd(pw, pwptr, buf, buflen);
69 *result = res ? NULL : pwptr;
70 return (res);
77 int res; local
82 res = copy_passwd(pw, pwptr, buf, buflen);
83 return (res ? NULL : pwptr);
98 int res; local
105 res = copy_passwd(pw, pwptr, buf, buflen);
106 *result = res
114 int res; local
133 int res = 0; local
187 int res = 0; local
[all...]
/haiku-fatelf/src/libs/ncurses/form/
H A Dfld_attr.c44 int res = E_BAD_ARGUMENT;\
54 res = _nc_Synchronize_Attributes( field );\
58 res = E_OK;\
62 RETURN(res);\
/haiku-fatelf/src/tests/kits/net/netperf/
H A Dnetcpu.h14 extern void get_cpu_idle(uint64_t *res);
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dsigaction.c79 benchmark(void *tsd, result_t *res) argument
85 res->re_errors = 0;
89 res->re_errors++;
92 res->re_count += lm_optB;
H A Dlrand48.c52 benchmark(void *tsd, result_t *res) argument
68 res->re_count = i;
H A Dsiglongjmp.c55 benchmark(void *tsd, result_t *res) argument
66 res->re_count = lm_optB;
H A Dfcntl_ndelay.c77 benchmark(void *tsd, result_t *res) argument
84 res->re_errors++;
88 res->re_errors++;
91 res->re_errors++;
95 res->re_errors++;
97 res->re_count = i;
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_common.cpp116 status_t res; local
118 res = ps2_command(PS2_CTRL_SELF_TEST, NULL, 0, &in, 1);
119 if (res != B_OK || in != 0x55) {
121 "0x%02x\n", res, in);
131 status_t res; local
134 res = ps2_command(PS2_CTRL_READ_CMD, NULL, 0, &cmdbyte, 1);
135 TRACE("ps2: get command byte: res 0x%08" B_PRIx32 ", cmdbyte 0x%02x\n",
136 res, cmdbyte);
137 if (res != B_OK)
148 res
159 status_t res; local
228 status_t res; local
[all...]
/haiku-fatelf/src/add-ons/kernel/generic/scsi_periph/
H A Dblock.cpp23 status_t res; local
46 res = periph_safe_exec(device, request);
48 if (res == B_DEV_MEDIA_CHANGED) {
57 if (res == B_OK && request->data_resid == 0) {
75 res = periph_safe_exec(device, request);
79 if (res == B_OK && request->data_resid == 0) {
112 SHOW_FLOW(3, "done (%s)", strerror(res));
114 return res;
H A Dscsi_periph.cpp54 err_res res; local
61 res = periph_check_error(device, request);
62 if (res.action == err_act_start) {
89 res = periph_send_start_stop(device, request, 1, device->removable);
101 if (res.action == err_act_ok)
102 res.action = err_act_retry;
104 } while ((res.action == err_act_retry && retries++ < 3)
105 || (res.action == err_act_many_retries && retries++ < 30));
107 return res.error_code;
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/
H A Dtarget.c63 int res; local
64 res = (*the_target->read_memory) (memaddr, myaddr, len);
66 return res;
76 int res; local
84 res = (*the_target->write_memory) (memaddr, buffer, len);
88 return res;
/haiku-fatelf/src/bin/locale/
H A Ddumpcatalog.cpp33 status_t res; local
43 if ((res = inputCatalog.InitCheck()) != B_OK) {
45 inputFile, strerror(res));
48 if ((res = inputCatalog.ReadFromFile(inputFile)) != B_OK) {
50 inputFile, strerror(res));
78 return res;
H A Dlinkcatkeys.cpp60 status_t res; local
97 if ((res = targetCatalog.InitCheck()) != B_OK) {
99 outputFile.String(), strerror(res));
113 if ((res = inputCatalog.ReadFromFile(inputFiles[i])) != B_OK) {
115 inputFiles[i], strerror(res));
147 res = targetCatalog.WriteToAttribute(eref);
148 if (res != B_OK) {
151 outputFile.String(), strerror(res));
160 res = targetCatalog.WriteToResource(eref);
161 if (res !
[all...]
/haiku-fatelf/src/bin/network/telnet/
H A Dauthenc.c97 char *res; local
102 res = fgets(result, length, stdin);
103 } else if ((res = getpass(prom))) {
104 strncpy(result, res, length);
105 res = result;
108 return(res);
/haiku-fatelf/src/tools/docbook/libxslt/libxslt/
H A Dimports.h27 #define XSLT_GET_IMPORT_PTR(res, style, name) { \
29 res = NULL; \
31 if (st->name != NULL) { res = st->name; break; } \
40 #define XSLT_GET_IMPORT_INT(res, style, name) { \
42 res = -1; \
44 if (st->name != -1) { res = st->name; break; } \
/haiku-fatelf/src/tools/locale/
H A Dlinkcatkeys.cpp60 status_t res; local
98 if ((res = targetCatImpl.InitCheck()) != B_OK) {
100 outputFile.String(), strerror(res));
108 if ((res = inputCatalog.ReadFromFile()) != B_OK) {
110 inputFiles[i], strerror(res));
131 res = targetCatImpl.WriteToAttribute(eref);
132 if (res != B_OK) {
135 outputFile.String(), strerror(res));
144 res = targetCatImpl.WriteToResource(eref);
145 if (res !
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/
H A Ddvb_interface.c53 status_t res;
56 res = i2c_xfer(device->i2c_bus, I2C_ADDR_EEPROM, &adr, 1, d, sizeof(d));
57 if (res != B_OK) {
58 TRACE("i2c_read failed: %08lx\n", res);
198 status_t res; local
213 if ((res = cx22702_get_frequency_info(device->i2c_bus, &info)) < B_OK)
214 return res;
235 if ((res = cx22702_set_tuning_parameters(device->i2c_bus, &params.u.dvb_t)) < B_OK)
236 return res;
243 if ((res
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Defs.c144 int res = 0; local
152 res = -1;
155 while (!restart && !res
165 res = -1;
177 res = -1;
184 res = -1;
193 if (!restart && !res
196 res = -1;
202 } while (restart && !res);
205 return (res);
218 int res; local
[all...]
H A Dobject_id.c233 int res; local
235 res = -1;
255 res = 0;
262 return (res);
335 int res; local
337 res = 0;
345 res = -1;
348 res = ntfs_attr_truncate(na, (s64)sizeof(GUID));
350 if (!res && value) {
358 res
391 int res; local
434 int res; local
527 int res; local
573 int res; local
[all...]
/haiku-fatelf/src/add-ons/accelerants/radeon/
H A Ddriver_wrapper.c61 status_t res; local
68 res = ioctl( ai->fd, RADEON_VIPREAD, &vr, sizeof( vr ));
70 if( res == B_OK )
73 return res;
93 status_t res; local
98 res = ioctl( ai->fd, RADEON_FINDVIPDEVICE, &fvd, sizeof( fvd ));
100 if( res == B_OK )
/haiku-fatelf/src/system/boot/platform/pxe_ia32/
H A Dnetwork.cpp91 uint16 res = call_pxe_bios(fPxeData, GET_CACHED_INFO, &cached_info); local
92 if (res != 0 || cached_info.Status != 0) {
94 snprintf(s, sizeof(s), "Can't determine IP address! PXENV_GET_CACHED_INFO res %x, status %x\n", res, cached_info.Status);
175 uint16 res; local
191 res = call_pxe_bios(fPxeData, UNDI_OPEN, &undi_open);
192 if (res != 0 || undi_open.Status != 0) {
193 dprintf("PXENV_UNDI_OPEN failed, res %x, status %x, ignoring\n", res, undi_open.Status);
196 res
286 uint16 res = call_pxe_bios(fPxeData, UNDI_TRANSMIT, &undi_tx); local
304 uint16 res; local
422 uint16 res = call_pxe_bios(fPxeData, TFTP_GET_FILE_SIZE, &getFileSize); local
519 uint16 res = call_pxe_bios(fPxeData, TFTP_CLOSE, &closeConnection); local
[all...]
/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/
H A Dframe.c106 static int RecordCoeffs(int ctx, VP8Residual* res) { argument
107 int n = res->first;
108 uint64_t (*s)[2] = res->stats[VP8EncBands[n]][ctx];
109 if (!Record(res->last >= 0, s[0])) {
114 const int v = abs(res->coeffs[n++]);
116 s = res->stats[VP8EncBands[n]][0];
120 s = res->stats[VP8EncBands[n]][1];
132 s = res->stats[VP8EncBands[n]][2];
134 if (n == 16 || !Record(n <= res->last, s[0])) {
181 VP8Encoder* const enc, VP8Residual* const res) {
180 InitResidual(int first, int coeff_type, VP8Encoder* const enc, VP8Residual* const res) argument
189 SetResidualCoeffs(const int16_t* const coeffs, VP8Residual* const res) argument
205 GetResidualCost(int ctx, const VP8Residual* const res) argument
238 VP8Residual res; local
250 VP8Residual res; local
275 VP8Residual res; local
298 PutCoeffs(VP8BitWriter* const bw, int ctx, const VP8Residual* res) argument
373 VP8Residual res; local
426 VP8Residual res; local
[all...]

Completed in 100 milliseconds

1234567891011>>