/haiku/src/bin/network/arp/ |
H A D | arp.cpp | 78 status_t status = _kern_generic_syscall(ARP_SYSCALLS, B_SYSCALL_INFO, local 80 if (status != B_OK) { 88 usage(int status) argument 106 exit(status); 197 status_t status; local 201 status = _kern_generic_syscall(ARP_SYSCALLS, ARP_GET_ENTRY, 203 if (status != B_OK) { 226 status_t status = _kern_generic_syscall(ARP_SYSCALLS, ARP_DELETE_ENTRY, local 228 if (status != B_OK) { 230 kProgramName, strerror(status)); 324 status_t status = set_entry(&address, ethernetAddress, flags); local 450 status_t status = set_entry(&address, ethernetAddress, flags); local [all...] |
/haiku/src/system/libroot/posix/ |
H A D | dlfcn.c | 42 status_t status; local 49 status = __gRuntimeLoader->get_library_symbol(handle, caller, name, 51 sStatus = status; 53 if (status < B_OK)
|
/haiku/src/system/libroot/posix/wchar/ |
H A D | mbsrtowcs.cpp | 88 status_t status = backend->MultibyteStringToWchar(dst, len, src, nmc, local 91 if (status == B_BAD_DATA) { 95 } else if (status != B_OK) { 96 TRACE(("mbsnrtowc(): setting errno to EINVAL (status: %lx)\n", status));
|
H A D | wcsrtombs.cpp | 89 status_t status = backend->WcharStringToMultibyte(dst, len, src, nwc, local 92 if (status == B_BAD_DATA) { 96 } else if (status != B_OK) { 97 TRACE(("wcsnrtomb(): setting errno to EINVAL (status: %lx)\n", status));
|
/haiku/src/system/boot/platform/efi/ |
H A D | serial.cpp | 110 efi_status status = kSystemTable->BootServices->LocateProtocol( local 113 if (status != EFI_SUCCESS) 118 status = sEFISerialIO->SetAttributes(sEFISerialIO, kSerialBaudRate, 0, 0, NoParity, 8, 121 if (status != EFI_SUCCESS)
|
/haiku/src/apps/diskprobe/ |
H A D | DataEditor.cpp | 446 status_t status = entry.GetStat(&stat); local 447 if (status < B_OK) 448 return status; 462 status = entry.SetTo(info.device_name); 463 if (status < B_OK) 464 return status; 474 status = fFile.SetTo(&entry, B_READ_WRITE); 475 if (status < B_OK) { 477 status = fFile.SetTo(&entry, B_READ_ONLY); 478 if (status < B_O 584 status_t status = Update(); local 720 status_t status = Update(); local 857 status_t status = SetViewSize(fViewSize); local 943 status_t status = SetViewOffset(fViewOffset, false); local 992 status_t status = B_OK; local 1012 status_t status = B_OK; local 1064 status_t status = UpdateIfNeeded(); local 1250 status_t status = fFile.GetNodeRef(&node); local [all...] |
/haiku/src/add-ons/kernel/busses/pci/designware/ |
H A D | MsiInterruptCtrlDW.cpp | 103 uint32 status = fDbiRegs->msiIntr[0].status; local 105 if (((1 << i) & status) != 0) { 108 fDbiRegs->msiIntr[0].status = (1 << i);
|
/haiku/src/add-ons/kernel/drivers/audio/generic/ |
H A D | util.c | 45 cpu_status status = disable_interrupts(); local 47 return status; 52 unlock(cpu_status status) argument 55 restore_interrupts(status);
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_socket.cpp | 171 status_t status = socket->InitCheck(); 172 if (status != B_OK) { 174 return status; 181 status = get_domain_protocols(socket); 182 if (status != B_OK) { 184 return status; 217 status_t status = socket->first_info->add_ancillary_data( 219 if (status != B_OK) 220 return status; 315 status_t status local 419 status_t status = create_socket(family, type, protocol, &socket); local 541 status_t status = socket->first_info->read_data(socket->first_protocol, local 643 status_t status = create_socket(parent->family, parent->type, local 816 status_t status = add_select_sync_pool_entry(&socket->select_pool, sync, local 917 status_t status = socket->first_info->accept(socket->first_protocol, local 954 status_t status = socket->first_info->bind(socket->first_protocol, local 974 status_t status = socket_bind(socket, NULL, 0); local 1146 status_t status = socket->first_info->listen(socket->first_protocol, local 1182 status_t status = socket->first_info->read_data( local 1296 status_t status = add_ancillary_data(socket, ancillaryData, local 1328 status_t status = socket_bind(socket, NULL, 0); local 1407 status_t status; local [all...] |
/haiku/src/servers/midi/ |
H A D | MidiServerApp.cpp | 172 status_t status; local 177 status = B_ERROR; 179 status = B_BAD_VALUE; 190 status = B_OK; 192 status = B_OK; 198 if (status == B_OK) { 203 reply.AddInt32("midi:result", status); 205 if (_SendReply(endpoint->app, msg, &reply) && status == B_OK) 259 status_t status; local 263 status 322 status_t status; local 645 status_t status = app->messenger.SendMessage(msg, (BHandler*) NULL, local 664 status_t status = msg->SendReply(reply, (BHandler*) NULL, TIMEOUT); local 835 status_t status; local [all...] |
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | LeafDirectory.cpp | 50 status_t status = FillBuffer(DATA, fDataBuffer, 0); local 51 if (status != B_OK) 52 return status; 64 status = FillBuffer(LEAF, fLeafBuffer, 0); 65 if (status != B_OK) 66 return status; 84 bool status = true; local 89 status = false; 91 if (status == false) 92 return status; 190 status_t status = FillBuffer(LEAF, fLeafBuffer, 0); local 230 status_t status; local 328 status_t status = B_OK; local [all...] |
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | Driver.cpp | 179 status_t status = B_OK; 196 status = serialDevice->AddDevice(configuration); 197 if (status < B_OK) { 199 return status; 207 status = serialDevice->Init(); 208 if (status < B_OK) { 210 return status; 259 status_t status = B_OK; local 267 status = device->Init(); 268 if (status < B_O 507 status_t status; local 673 status_t status = ENODEV; local 761 status_t status = device->Free(); local [all...] |
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 336 status_t status = socket->first_info->accept(socket->first_protocol, local 338 if (status < B_OK) 339 return status; 367 status_t status = socket->first_info->unbind(socket->first_protocol, local 369 if (status < B_OK) 370 return status; 375 status_t status = socket->first_info->bind(socket->first_protocol, local 377 if (status < B_OK) { 382 return status; 394 status_t status local 406 status_t status = socket->first_info->listen(socket->first_protocol, backlog); local 422 status_t status = socket_bind(socket, NULL, 0); local 442 status_t status = socket->first_info->send_data(socket->first_protocol, buffer); local 456 ssize_t status = socket->first_info->read_data( local 501 status_t status = socket_create(parent->family, parent->type, parent->protocol, local 708 status_t status = socket_create(AF_INET, SOCK_STREAM, IPPROTO_TCP, &socket); local 1230 status_t status; local 1255 status_t status = socket_connect(gServerSocket, local 1296 status_t status = socket_accept(gServerSocket, local 1340 status_t status = socket_bind(gServerSocket, (struct sockaddr*)&address, local 1388 status_t status; local 1424 status_t status = socket_bind(gClientSocket, (struct sockaddr *)&address, local 1441 status_t status = socket_connect(gClientSocket, (struct sockaddr *)&address, local 1763 status_t status = init_timers(); local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | device.cpp | 31 status_t status = geode_hw_init(controller); 32 if (status != B_OK) 33 return status;
|
/haiku/src/add-ons/kernel/drivers/graphics/common/ |
H A D | memory_manager.c | 191 status_t status; local 195 status = acquire_sem(mem->lock); 196 if (status != B_OK) 197 return status; 263 status_t status; local 267 status = acquire_sem(mem->lock); 268 if (status != B_OK) 269 return status; 301 status_t status; local 305 status [all...] |
/haiku/src/add-ons/media/media-add-ons/demultiplexer/ |
H A D | MediaOutputInfo.cpp | 74 status_t status = FormatProposal(io_format); local 75 if (status != B_OK) { 78 return status; 93 status_t status = FormatChangeRequested(where,format); local 94 if (status != B_OK) { 96 return status; 116 status_t status = CreateBufferGroup(); // also initializes buffer period local 117 if (status != B_OK) { 120 return status; 167 status_t status local [all...] |
/haiku/src/tests/kits/app/ |
H A D | DanoMessageTest.cpp | 50 status_t status = BPrivate::unflatten_dano_message(magic, file, message); local 51 if (status == B_OK) 54 fprintf(stderr, "Could not unflatten message: %s\n", strerror(status));
|
/haiku/src/tests/servers/app/code_to_name/ |
H A D | code_to_name.cpp | 96 status_t status; local 98 while ((status = query.GetNextEntry(&entry)) == B_OK) { 107 if (status != B_OK) {
|
/haiku/src/system/boot/loader/file_systems/bfs/ |
H A D | File.cpp | 49 status_t status = fStream.ReadAt(pos, (uint8 *)buffer, &bufferSize); local 50 if (status < B_OK) 51 return status;
|
/haiku/src/system/kernel/util/ |
H A D | hostname.cpp | 22 status_t status = __find_directory(B_SYSTEM_SETTINGS_DIRECTORY, -1, create, local 24 if (status != B_OK) 25 return status;
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | hostname.cpp | 22 status_t status = __find_directory(B_SYSTEM_SETTINGS_DIRECTORY, -1, create, local 24 if (status != B_OK) 25 return status;
|
H A D | chown.c | 22 status_t status; local 34 status = _kern_write_stat(fd, path, followLinks, &stat, 37 RETURN_AND_SET_ERRNO(status);
|
/haiku/src/add-ons/tracker/mark_as/ |
H A D | MarkAsRead.cpp | 29 BString status("Read"); 35 // Update the MAIL:read status to match 48 // We want to keep the previous behavior of updating the status 49 // string, but write_read_attr will only change the status string 51 // "Replied"), so we change the status string here 54 || previousStatus != status) 55 node.WriteAttrString(B_MAIL_ATTR_STATUS, &status);
|
/haiku/src/add-ons/translators/jpeg/ |
H A D | exif_parser.cpp | 78 status_t status = target.AddString(name, buffer); local 81 return status; 95 status_t status; local 97 status = target.AddString(name, buffer); 99 status = target.AddData(name, B_RAW_TYPE, buffer, tag.length); 103 return status; 265 status_t status = parse_tiff_directory(read, visited, target, local 267 if (status < B_OK) 268 return status; 303 status_t status local [all...] |
/haiku/src/servers/bluetooth/ |
H A D | DeviceManager.cpp | 86 status_t status = directory.InitCheck(); local 87 if (status != B_OK) { 89 return status; 92 status = watch_node(nref, B_WATCH_DIRECTORY, this); 93 if (status != B_OK) { 95 return status; 120 status_t status = directory.InitCheck(); local 121 if (status != B_OK) 122 return status; 124 status [all...] |