/haiku-fatelf/src/kits/network/libbind/irs/ |
H A D | hesiod_p.h | 39 struct __res_state * res; /*%< resolver context */ member in struct:hesiod_p
|
H A D | nis_nw.c | 77 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 D | getgrent_r.c | 59 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 D | getpwent_r.c | 61 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 D | fld_attr.c | 44 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 D | netcpu.h | 14 extern void get_cpu_idle(uint64_t *res);
|
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | sigaction.c | 79 benchmark(void *tsd, result_t *res) argument 85 res->re_errors = 0; 89 res->re_errors++; 92 res->re_count += lm_optB;
|
H A D | lrand48.c | 52 benchmark(void *tsd, result_t *res) argument 68 res->re_count = i;
|
H A D | siglongjmp.c | 55 benchmark(void *tsd, result_t *res) argument 66 res->re_count = lm_optB;
|
H A D | fcntl_ndelay.c | 77 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 D | ps2_common.cpp | 116 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 D | block.cpp | 23 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 D | scsi_periph.cpp | 54 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 D | target.c | 63 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 D | dumpcatalog.cpp | 33 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 D | linkcatkeys.cpp | 60 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 D | authenc.c | 97 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 D | imports.h | 27 #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 D | linkcatkeys.cpp | 60 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 D | dvb_interface.c | 53 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, ¶ms.u.dvb_t)) < B_OK) 236 return res; 243 if ((res [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | efs.c | 144 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 D | object_id.c | 233 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 D | driver_wrapper.c | 61 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 D | network.cpp | 91 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 D | frame.c | 106 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...] |