/haiku/src/kits/midi2/ |
H A D | MidiEndpoint.cpp | 309 status_t res; 310 if (reply.FindInt32("midi:result", &res) == B_OK) 311 return res;
|
/haiku/src/tests/system/network/icmp/ |
H A D | big_datagram.cpp | 49 struct addrinfo hints, *res; local 55 int n = getaddrinfo(host, serv, &hints, &res); 59 return res;
|
/haiku/headers/posix/ |
H A D | libio.h | 215 # 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 D | io.cpp | 237 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 D | ddc.c | 111 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 D | Colors.cpp | 143 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 D | VirtioDevice.cpp | 76 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 D | crypt.c | 221 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 D | cryptf.c | 224 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 D | AutoLocker.h | 165 Lockable* res = fLockable; local 168 return res;
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_subr_taskqueue.c | 245 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 D | VirtioInputDevice.cpp | 275 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 D | driver.c | 96 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 D | ResourceData.h | 29 bool SetFromResource(const int32 &index, BResources &res);
|
/haiku/src/tests/system/network/multicast/ |
H A D | multisend.c | 108 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 D | unix_io.c | 336 int res = 0; local 339 res = ntfs_fsync(DEV_FD(dev)); 340 if (res) 345 return res;
|
H A D | device.c | 687 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 D | dir.c | 967 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 D | r21a_init.c | 67 #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 D | ahci_defs.h | 129 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 D | sethostent.c | 139 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 D | StarWindow.cpp | 37 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 D | sstream | 103 int res; 116 res = c; 119 res = EOF; 122 res = 0; 123 return res;
|
/haiku/src/bin/network/telnetd/ |
H A D | telnetd.c | 327 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 D | BluetoothServer.cpp | 563 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);
|