/haiku/src/add-ons/accelerants/common/ |
H A D | i2c.c | 124 status_t status; local 128 status = wait_for_clk(bus, bus->timing.start_timeout); 129 if (status != B_OK) { 131 return status; 148 status_t status; local 156 status = wait_for_clk(bus, bus->timing.ack_timeout); 157 if (status != B_OK) { 159 return status; 174 status_t status; local 182 status 200 status_t status; local 256 status_t status = send_bit(bus, byte >> i, local 273 status_t status; local 303 status_t status; local 350 status_t status = receive_bit(bus, &bit, local 373 status_t status = send_byte(bus, *writeBuffer, true); local 389 status_t status = receive_byte(bus, readBuffer, readLength > 1); local 406 status_t status; local [all...] |
/haiku/src/tests/add-ons/media/plugins/musepack/ |
H A D | main.cpp | 66 status_t status; local 69 status = reader->Sniff(&streamCount); 70 if (status != B_OK) { 71 TRACE("main: Sniff() failed with error %lx (%s)\n", status, strerror(status)); 79 status = reader->AllocateCookie(i, &cookies[i]); 80 if (status != B_OK) { 82 i, status, strerror(status)); 94 status [all...] |
/haiku/src/bin/ |
H A D | clipboard.cpp | 65 status_t status = B_OK; local 84 status = Load(optarg); 88 status = Save(optarg); 91 status = Copy(optarg); 94 status = Clear(); 97 status = Copy(NULL); 100 status = Print(false); 103 status = Print(true); 111 status = B_ERROR; 116 if (status 156 status_t status = B_OK; local 202 status_t status = B_OK; local 237 status_t status = B_OK; local 281 status_t status = B_OK; local [all...] |
/haiku/src/tests/system/network/ |
H A D | unix_dgram_test.cpp | 30 int status; local 41 status = bind(sock, (struct sockaddr*)&addr, sizeof(addr)); 42 if (status == -1) { 56 status = bind(sock1, (struct sockaddr*)&addr1, sizeof(addr1)); 57 if (status == -1) { 68 status = fcntl(sock, F_SETFL, flags1 | O_NONBLOCK); 69 if (status == -1) { 73 status = fcntl(sock1, F_SETFL, flags1 | O_NONBLOCK); 74 if (status == -1) { 79 status 160 int status; local 363 int status = bind(sock_server, (struct sockaddr*)&addr, sizeof(addr)); local 411 int status; local 509 int status; local [all...] |
/haiku/headers/private/shared/ |
H A D | TrackerAddOnAppLaunch.h | 39 status_t status = get_next_image_info(0, &cookie, &image); local 41 while (status == B_OK) { 48 status = get_next_image_info(0, &cookie, &image); 55 status = be_roster->Launch(&addonRef, refs); 56 if (status == B_OK || status == B_ALREADY_RUNNING)
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | proto_common.c | 26 \param status:??? 33 void bulk_callback(void *cookie, status_t status, void* data, uint32 actual_len) argument 35 TRACE_BULK_CALLBACK(status, actual_len); 38 udi->status = status; 41 if(udi->status != B_CANCELED) 56 status_t status = B_OK; local 59 status = (*udi->usb_m->queue_bulk_v)(pipe, sg_data, sg_count, bulk_callback, udi); 60 if(status == B_OK){ 61 status 79 transfer_callback(struct _usb_device_info *udi, CCB_SCSIIO *ccbio, int32 residue, status_t status) argument 122 sense_callback(struct _usb_device_info *udi, CCB_SCSIIO *ccbio, int32 residue, status_t status) argument [all...] |
H A D | proto_common.h | 20 void bulk_callback(void *cookie, status_t status, void* data, uint32 actual_len); 25 int32 residue, status_t status); 27 int32 residue, status_t status);
|
/haiku/src/apps/haikudepot/packagemanagement/ |
H A D | OpenPackageProcess.cpp | 142 status_t status; local 145 status = path.SetTo(fDeskbarLink.Link()); 150 status = find_directory(B_SYSTEM_DIRECTORY, &path); 151 if (status != B_OK) 152 return status; 154 status = find_directory(B_USER_DIRECTORY, &path); 155 if (status != B_OK) 156 return status; 161 status = path.Append(fDeskbarLink.Path()); 162 if (status 211 status_t status = reader.Init(packagePath.Path()); local [all...] |
/haiku/src/kits/media/ |
H A D | DataExchange.cpp | 81 status_t status = sMediaRosterMessenger.SendMessage(msg, local 83 if (status != B_OK) { 84 ERROR("SendToRoster: SendMessage failed: %s\n", strerror(status)); 87 return status; 95 status_t status = sMediaServerMessenger.SendMessage(msg, local 97 if (status != B_OK) { 98 ERROR("SendToServer: SendMessage failed: %s\n", strerror(status)); 101 return status; 108 status_t status = sMediaServerMessenger.SendMessage(&request, &reply, local 110 if (status ! 156 status_t status = write_port_etc(sendPort, msgCode, msg, size, local 188 status_t status = write_port_etc(requestPort, msgCode, request, requestSize, local [all...] |
/haiku/src/servers/power/ |
H A D | lid_monitor.cpp | 37 uint8 status; local 38 if (read(fd, &status, 1) != 1) 41 if (status == 1) 42 printf("lid status 1\n");
|
/haiku/src/libs/bsd/ |
H A D | wait.c | 19 pid_t _wait3_base(int *status, int options, struct rusage *rusage); 20 pid_t _wait4_base(pid_t pid, int *status, int options, struct rusage *rusage); 21 pid_t _wait3_current(int *status, int options, struct rusage *rusage); 22 pid_t _wait4_current(pid_t pid, int *status, int options, 27 _wait3_base(int *status, int options, struct rusage *rusage) argument 29 return _wait4_base(-1, status, options, rusage); 34 _wait4_base(pid_t pid, int *status, int options, struct rusage *rusage) argument 37 pid_t waitPid = _waitpid(pid, status, options, 52 _wait3_current(int *status, int options, struct rusage *rusage) argument 54 return _wait4_current(-1, status, option 59 _wait4_current(pid_t pid, int *status, int options, struct rusage *rusage) argument [all...] |
/haiku/src/system/runtime_loader/arch/riscv64/ |
H A D | arch_relocate.cpp | 32 status_t status = resolve_symbol(rootImage, image, sym, cache, local 34 if (status != B_OK) { 36 SYMNAME(image, sym), status)); 38 SYMNAME(image, sym), status); 39 return status; 81 status_t status; local 85 status = relocate_rela(rootImage, image, image->rela, image->rela_len, 87 if (status != B_OK) 88 return status; 93 status [all...] |
/haiku/src/tests/kits/net/ |
H A D | wlan_test.cpp | 77 status_t status = device.JoinNetwork(argv[3], password); local 78 if (status != B_OK) { 80 strerror(status)); 87 status_t status = device.LeaveNetwork(argv[3]); local 88 if (status != B_OK) { 90 strerror(status)); 98 status_t status = link.SetTo(AF_LINK, argv[3]); local 99 if (status == B_OK) 100 status = device.GetNetwork(link, network); 102 status [all...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | CheckVisitor.cpp | 148 status_t status = transaction.WriteBlocks(1 + i, local 150 if (status < B_OK) { 151 FATAL(("error writing bitmap: %s\n", strerror(status))); 152 return status; 171 status_t status = _PrepareIndices(); local 172 if (status != B_OK) { 173 Control().status = status; 174 return status; 190 if (Control().status ! 215 status_t status = node.SetTo(inode); local 234 status_t status = inode->SetName(transaction, treeName); local 291 status_t status = B_OK; local 398 status_t status; local 470 status_t status = _CheckAllocated(inode->BlockRun(), "inode"); local 616 status_t status; local 685 status_t status = vnode.Get(&inode); local [all...] |
/haiku/src/tests/kits/media/nodetest/ |
H A D | misc.cpp | 12 void val(status_t status) argument 14 if (status == B_OK) 17 out("failed, 0x%08x, %s\n",status,strerror(status));
|
/haiku/src/add-ons/kernel/drivers/bus/usb/ |
H A D | usb_raw.h | 64 status_t status; member in struct:__anon543::__anon544 68 status_t status; member in struct:__anon543::__anon545 73 status_t status; member in struct:__anon543::__anon546 79 status_t status; member in struct:__anon543::__anon547 86 status_t status; member in struct:__anon543::__anon548 93 status_t status; member in struct:__anon543::__anon549 100 status_t status; member in struct:__anon543::__anon550 108 status_t status; member in struct:__anon543::__anon551 116 status_t status; member in struct:__anon543::__anon552 125 status_t status; member in struct:__anon543::__anon553 134 status_t status; member in struct:__anon543::__anon554 144 status_t status; member in struct:__anon543::__anon555 151 status_t status; member in struct:__anon543::__anon556 160 status_t status; member in struct:__anon543::__anon557 170 status_t status; member in struct:__anon543::__anon558 178 status_t status; member in struct:__anon543::__anon559 [all...] |
/haiku/headers/os/drivers/ |
H A D | USB_isochronous.h | 15 status_t status; member in struct:__anon1
|
/haiku/src/system/boot/platform/riscv/ |
H A D | cpu.cpp | 38 SstatusReg status{.val = Sstatus()}; 39 status.fs = extStatusInitial; // enable FPU 40 status.xs = extStatusOff; 41 SetSstatus(status.val);
|
/haiku/src/libs/compat/openbsd_network/compat/net/ |
H A D | if_var.h | 16 int status = 0; local 18 status = if_input(ifp, m); 19 if (status != 0) 23 return status;
|
/haiku/headers/private/kernel/arch/riscv64/ |
H A D | arch_int.h | 46 SstatusReg status{.val = Sstatus()}; 47 return ((1 << modeS) & status.ie) != 0; 54 #define arch_int_restore_interrupts(status) \ 55 arch_int_restore_interrupts_inline(status)
|
/haiku/src/tests/servers/app/ |
H A D | app_server_debug.cpp | 22 status_t status = link.InitCheck(); local 23 if (status != B_OK) 24 return status; 27 status = link.StartMessage(code); 28 if (status != B_OK) 29 return status; 31 status = link.Attach(team); 32 if (status != B_OK) 33 return status;
|
/haiku/src/tests/system/kernel/ |
H A D | fibo_exec.cpp | 86 status_t status, returnValue = 0; local 88 status = wait_for_thread(childA, &returnValue); 89 } while (status == B_INTERRUPTED); 91 if (status == B_OK) 94 fprintf(stderr, "wait_for_thread(%ld) A failed: %s\n", childA, strerror(status)); 97 status = wait_for_thread(childB, &returnValue); 98 } while (status == B_INTERRUPTED); 100 if (status == B_OK) 103 fprintf(stderr, "wait_for_thread(%ld) B failed: %s\n", childB, strerror(status));
|
H A D | fibo_fork.cpp | 73 status_t status, returnValue = 0; local 75 status = wait_for_thread(childA, &returnValue); 76 } while (status == B_INTERRUPTED); 78 if (status == B_OK) 81 fprintf(stderr, "wait_for_thread(%ld) A failed: %s\n", childA, strerror(status)); 84 status = wait_for_thread(childB, &returnValue); 85 } while (status == B_INTERRUPTED); 87 if (status == B_OK) 90 fprintf(stderr, "wait_for_thread(%ld) B failed: %s\n", childB, strerror(status));
|
H A D | fibo_load_image.cpp | 55 status_t status; local 76 status = wait_for_thread(threadA, &returnValue); 77 } while (status == B_INTERRUPTED); 79 if (status == B_OK) 82 fprintf(stderr, "wait_for_thread(%ld) A failed: %s\n", threadA, strerror(status)); 85 status = wait_for_thread(threadB, &returnValue); 86 } while (status == B_INTERRUPTED); 88 if (status == B_OK) 91 fprintf(stderr, "wait_for_thread(%ld) B failed: %s\n", threadB, strerror(status));
|
/haiku/src/servers/launch/ |
H A D | InitRealTimeClockJob.cpp | 38 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local 39 if (status == B_OK) { 43 return status; 52 status_t status = file.SetTo(path.Path(), B_READ_ONLY); local 53 if (status != B_OK) { 76 status_t status = file.SetTo(path.Path(), B_READ_ONLY); local 77 if (status != B_OK) { 83 status = settings.Unflatten(&file); 84 if (status != B_OK) {
|