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

1234567891011>>

/haiku/src/kits/midi2/
H A DMidiEndpoint.cpp309 status_t res;
310 if (reply.FindInt32("midi:result", &res) == B_OK)
311 return res;
/haiku/src/tests/system/network/icmp/
H A Dbig_datagram.cpp49 struct addrinfo hints, *res; local
55 int n = getaddrinfo(host, serv, &hints, &res);
59 return res;
/haiku/headers/posix/
H A Dlibio.h215 # define _IO_BE(expr, res) __builtin_expect (expr, res)
217 # define _IO_BE(expr, res) (expr)
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dio.cpp237 err_res res; local
350 res = periph_check_error(device, request);
353 switch (res.action) {
359 res = periph_send_start_stop(device, request, 1,
361 if (res.action == err_act_ok)
362 res.action = err_act_retry;
370 res.action = err_act_retry;
372 res.action = err_act_fail;
375 } while ((res.action == err_act_retry && retries++ < 3)
376 || (res
[all...]
/haiku/src/add-ons/accelerants/common/
H A Dddc.c111 status_t res;
119 res = ddc2_read(bus, start, buffer, 64);
121 if (res != B_OK || buffer[0] == 0)
/haiku/src/apps/terminal/
H A DColors.cpp143 BResources* res = BApplication::AppResources();
144 if (res == NULL)
148 fTable = (_XColorEntry*)res->LoadResource(B_RAW_TYPE, "XColorsTable", &size);
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/
H A DVirtioDevice.cpp76 status_t res = get_memory_map(queueMem, queueMemSize, &pe, 1); local
77 if (res < B_OK) {
79 return res;
100 res = fAllocatedDescs.Resize(fDescCount);
101 if (res < B_OK)
102 return res;
/haiku/src/bin/unzip/
H A Dcrypt.c221 int res; /* result code */ local
235 if ((res = putlocal(z, dest)) != ZE_OK) return res;
275 int res; /* return code */ local
314 if ((res = zipcopy(z, source, dest)) != ZE_OK) return res;
326 if ((res = putlocal(z, dest)) != ZE_OK) return res;
H A Dcryptf.c224 int res; /* result code */ local
238 if ((res = putlocal(z, dest)) != ZE_OK) return res;
278 int res; /* return code */ local
317 if ((res = zipcopy(z, source, dest)) != ZE_OK) return res;
329 if ((res = putlocal(z, dest)) != ZE_OK) return res;
/haiku/headers/private/shared/
H A DAutoLocker.h165 Lockable* res = fLockable; local
168 return res;
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_subr_taskqueue.c245 int res; local
248 res = taskqueue_enqueue_locked(queue, task);
251 return (res);
273 int res; local
280 res = timeout_task->t.ta_pending;
284 res = -1;
290 res++;
303 return (res);
/haiku/src/add-ons/input_server/devices/virtio/
H A DVirtioInputDevice.cpp275 status_t res; local
276 wait_for_thread(fWatcherThread, &res);
297 status_t res = ioctl(handler.fDeviceFd.Get(), virtioInputRead, &pkt, local
299 // if (res == B_CANCELED) return B_OK;
300 if (res < B_OK)
472 status_t res; local
474 wait_for_thread(fRepeatThread, &res);
485 status_t res; local
488 res = acquire_sem_etc(h->fRepeatThreadSem, 1, B_RELATIVE_TIMEOUT,
490 if (res >
[all...]
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Ddriver.c96 status_t res; local
103 for (res = B_ERROR, i = 0; gPci->get_nth_pci_info(i, &info) == B_OK; i++) {
105 res = B_OK;
112 return res;
/haiku/src/apps/resedit/
H A DResourceData.h29 bool SetFromResource(const int32 &index, BResources &res);
/haiku/src/tests/system/network/multicast/
H A Dmultisend.c108 struct addrinfo hints, *res, *ai; local
115 if ((err = getaddrinfo(group, port, &hints, &res)) != 0)
117 for (ai = res; ai; ai = ai->ai_next) {
170 freeaddrinfo(res);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c336 int res = 0; local
339 res = ntfs_fsync(DEV_FD(dev));
340 if (res)
345 return res;
H A Ddevice.c687 hd_res_t *res; local
757 for (res = hd->res; res; res = res->next) {
759 if (res->any.type != res_disk_geo ||
760 res->disk_geo.geotype != 3)
762 dev->d_heads = res->disk_geo.heads;
763 dev->d_sectors_per_track = res
[all...]
H A Ddir.c967 int res; local
1001 res = filldir(dirent, fn->file_name,
1013 res = filldir(dirent, loname,
1019 res = -1;
1022 res = 0;
1023 return (res);
2591 int res; local
2593 res = -1;
2615 res = 0;
2625 res
2682 int res = 0; local
2771 int res; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/
H A Dr21a_init.c67 #define RTWN_CHK(res) do { \
68 if (res != 0) \
336 #define RTWN_CHK(res) do { \
337 if (res != 0) \
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_defs.h129 uint32 res[10]; // Reserved member in struct:__anon41
227 uint32 res[29]; // Reserved member in struct:__anon47
297 uint8 res[0x20]; // reserved member in struct:__anon52
304 uint32 res; member in struct:__anon53
/haiku/src/system/libnetwork/netresolv/net/
H A Dsethostent.c139 res_state res = __res_get_state();
140 if (res == NULL)
142 if (res->options & RES_USE_INET6)
148 __res_put_state(res);
/haiku/src/tests/kits/game/direct_window_test/
H A DStarWindow.cpp37 status_t res; local
41 if ((res = find_directory(dir, &path)) != B_NO_ERROR)
42 return res;
47 if ((res = file.InitCheck()) != B_NO_ERROR)
48 return res;
51 if ((res = appinfo.SetTo(&file)) != B_NO_ERROR)
52 return res;
/haiku/headers/cpp/
H A Dsstream103 int res;
116 res = c;
119 res = EOF;
122 res = 0;
123 return res;
/haiku/src/bin/network/telnetd/
H A Dtelnetd.c327 struct addrinfo hints, *res; local
340 error = getaddrinfo(NULL, service, &hints, &res);
349 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
357 if (bind(s, res->ai_addr, res->ai_addrlen) < 0)
361 foo = res->ai_addrlen;
362 ns = accept(s, res->ai_addr, &foo);
/haiku/src/servers/bluetooth/
H A DBluetoothServer.cpp563 status_t res = deskbar.AddItem(&appInfo.ref); local
564 if (res != B_OK)
565 TRACE_BT("Failed adding deskbar icon: %" B_PRId32 "\n", res);
573 status_t res = deskbar.RemoveItem(kDeskbarItemName); local
574 if (res != B_OK)
575 TRACE_BT("Failed removing Deskbar icon: %" B_PRId32 ": \n", res);

Completed in 301 milliseconds

1234567891011>>