/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/ |
H A D | IconValueView.cpp | 105 status_t status = B_BAD_VALUE; local 109 status = fIcon ? fIcon->InitCheck() : B_ERROR; 110 if (status >= B_OK) { 118 printf("IconValueView::SetIcon() - error allocating bitmap: %s\n", strerror(status)); 121 return status;
|
/haiku/src/tests/kits/net/ |
H A D | NetAddressTest.cpp | 19 int32 status; local 22 if ((status = netAddr.GetAddr(addr, &port)) != B_OK) { 25 strerror(status)); 39 if ((status = netAddr.GetAddr(sockaddr)) != B_OK) { 42 strerror(status));
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Index.cpp | 82 status_t status = tree->Find((uint8*)name, (uint16)strlen(name), &id); local 83 if (status != B_OK) 84 return status; 202 status_t status = fVolume->CreateIndicesRoot(transaction); local 203 if (status < B_OK) 204 RETURN_ERROR(status); 261 status_t status = B_OK; local 264 status = tree->Remove(transaction, (const uint8*)oldKey, oldLength, 266 if (status == B_ENTRY_NOT_FOUND) { 269 } else if (status ! 342 status_t status = Update(transaction, "size", B_INT64_TYPE, local 385 status_t status = Update(transaction, "last_modified", B_INT64_TYPE, local [all...] |
/haiku/src/tests/system/network/ipv6/ |
H A D | tcp_udp_server.cpp | 32 int status = recv(fd, buffer, sizeof(buffer) - 1, 0); local 33 if (status < 0) { 37 if (status == 0) { 41 buffer[status] = 0; 42 printf("received %d bytes: \"%s\"\n", status, buffer);
|
/haiku/src/bin/ |
H A D | vmstat.cpp | 27 usage(int status) argument 34 exit(status); 70 status_t status = get_system_info(&info); local 71 if (status != B_OK) { 73 strerror(status));
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_elf.cpp | 75 status_t status; local 77 status = boot_elf_resolve_symbol(image, symbol, 80 status = elf_resolve_symbol(image, symbol, resolveImage, 83 if (status < B_OK) 84 return status;
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | ReplyBuilder.cpp | 63 ReplyBuilder::GetAttr(status_t status, int mask, uint64 size, uint64 change) argument 70 fStatus = status; 72 if (status == B_OK) { 97 ReplyBuilder::Recall(status_t status) argument 104 fStatus = status;
|
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | driver.cpp | 76 status_t status; local 79 status = get_module(B_ISA_MODULE_NAME, (module_info**)&gISA); 80 if (status != B_OK) { 87 status = B_NO_MEMORY; 99 return status;
|
/haiku/src/apps/drivesetup/ |
H A D | MainWindow.cpp | 121 status_t status = partition->GetPartitioningInfo(&info); local 122 if (status >= B_OK) { 190 status_t status = fDisk->CommitModifications(); local 191 if (status == B_OK) 194 return status; 335 status_t status = fDiskDeviceRoster.StartWatching(BMessenger(this)); local 336 if (status != B_OK) { 338 strerror(status)); 629 status_t status = newDisk->SetTo(disk); local 630 if (status ! 865 status_t status = partition->Mount(); local 899 status_t status = partition->Unmount(); local 1039 status_t status = modificationPreparer.ModificationStatus(); local 1185 status_t status = modificationPreparer.ModificationStatus(); local 1300 status_t status = modificationPreparer.ModificationStatus(); local 1367 status_t status = modificationPreparer.ModificationStatus(); local [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | device_hooks.c | 31 status_t status; local 63 status = ifp->if_ioctl(ifp, SIOCSIFMEDIA, (caddr_t)&ifr); 64 if (status != B_OK) { 66 status = ifp->if_ioctl(ifp, SIOCSIFMEDIA, (caddr_t)&ifr); 120 status_t status; local 134 status = acquire_sem_etc(ifp->receive_sem, 1, semFlags, 0); 138 if (status == B_WOULD_BLOCK) { 141 } else if (status < B_OK) 142 return status; 206 status_t status; local [all...] |
/haiku/src/add-ons/media/media-add-ons/reader/ |
H A D | MediaReader.cpp | 94 status_t status = B_OK; local 99 status = BBufferProducer::HandleMessage(message,data,size); 100 if (status == B_OK) { 103 status = AbstractFileInterfaceNode::HandleMessage(message,data,size); 107 return status; 135 status_t status = AbstractFileInterfaceNode::SetRef(file,B_READ_ONLY,create,out_time); local 136 if (status != B_OK) { 138 return status; 159 // status = this->BBufferConsumer::RequestFormatChange(output.source,output.destination,&format,&change_tag); 160 // if (status 284 status_t status = FormatProposal(source,io_format); local 365 status_t status = fBufferGroup->InitCheck(); local 422 status_t status = FormatChangeRequested(output.source,where,format,0); local 485 status_t status = SetBufferGroup(output.source,0); local 643 status_t status = GetFilledBuffer(&buffer); local 775 status_t status = FillFileBuffer(buffer); local [all...] |
/haiku/src/add-ons/kernel/network/devices/dialup/ |
H A D | dialup.cpp | 116 status_t status; local 118 status = switch_to_command_mode(device); 119 if (status != B_OK) 120 return status; 202 status_t status = get_module(NET_BUFFER_MODULE_NAME, (module_info**)&gBufferModule); 203 if (status < B_OK) 204 return status; 386 status_t status; local 391 status = B_BAD_VALUE; 397 status 562 status_t status = get_module(NET_STACK_MODULE_NAME, local [all...] |
/haiku/src/servers/print_addon/ |
H A D | PrintAddOnServerApplication.cpp | 63 status_t status = AddPrinter(driver.String(), name.String()); local 64 SendReply(message, status); 91 status_t status = ConfigPage(driver.String(), &spoolFolder, &settings); local 93 if (status != B_OK) 94 SendReply(message, status); 126 status_t status = ConfigJob(driver.String(), &spoolFolder, &settings); local 128 if (status != B_OK) 129 SendReply(message, status); 161 status_t status = DefaultSettings(driver.String(), &spoolFolder, &settings); local 163 if (status ! 196 status_t status = TakeJob(driver.String(), jobFile.String(), local 212 SendReply(BMessage* message, status_t status) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire_module.cpp | 97 status_t status; 101 status = firewire_add_child(gFirewire_softc[i], childname, hooks); 102 if (status != B_OK) 103 return status; 113 status_t status; 117 status = firewire_remove_child(gFirewire_softc[i], childname); 118 if (status != B_OK) 119 return status; 144 status_t status; local 153 if ((status [all...] |
/haiku/src/kits/print/ |
H A D | Jobs.cpp | 67 BString status; 68 // read status attribute 69 if (node.ReadAttrString(PSRV_SPOOL_ATTR_STATUS, &status) != B_OK) { 70 status = ""; 72 UpdateStatus(status.String()); 90 // conversion from string representation of status to JobStatus constant 91 void Job::UpdateStatus(const char* status) { argument 92 if (strcmp(status, PSRV_JOB_STATUS_WAITING) == 0) fStatus = kWaiting; 93 else if (strcmp(status, PSRV_JOB_STATUS_PROCESSING) == 0) fStatus = kProcessing; 94 else if (strcmp(status, PSRV_JOB_STATUS_FAILE 100 UpdateStatusAttribute(const char* status) argument 150 BString status; local [all...] |
/haiku/src/servers/app/ |
H A D | VirtualScreen.cpp | 83 status_t status = gScreenManager->AcquireScreens(&desktop, NULL, 0, local 85 if (status != B_OK) { 87 return status; 121 status_t status = B_ERROR; local 125 status = screen->SetMode(mode); 128 if (status != B_OK) { 131 status = screen->SetPreferredMode(); 132 if (status == B_OK) { 138 if (status != B_OK) 139 status [all...] |
H A D | Screen.cpp | 70 status_t status = B_NO_INIT; local 74 status = fHWInterface->Initialize(); 77 return status; 99 status_t status = fHWInterface->SetMode(mode); local 104 return status; 132 status_t status = fHWInterface->GetModeList(&modes, &count); local 133 if (status < B_OK) 134 return status; 170 status = SetMode(mode); 171 if (status ! 184 status_t status = fHWInterface->GetPreferredMode(&mode); local [all...] |
/haiku/src/system/kernel/ |
H A D | module.cpp | 131 status_t status; member in struct:module_iterator 386 status_t status; local 402 status = B_NO_MEMORY; 410 status = B_BAD_TYPE; 421 status = B_NO_MEMORY; 440 return status; 497 status_t status = load_module_image(path, &image); local 498 if (status < B_OK) 499 return status; 572 status_t status local 622 status_t status = B_ENTRY_NOT_FOUND; local 676 status_t status = put_module(dependencies[i].name); local 699 status_t status = get_module(dependencies[i].name, local 720 status_t status; local 798 status_t status = B_OK; local 883 status_t status; local 1090 status_t status; local 1284 status_t status = _AddDirectory(prefix); local 1366 status_t status = add_node_listener(device, node, flags, listener); local 1395 status_t status = vfs_get_vnode_from_fd(fd, true, &vnode); local 1420 status_t status = B_ERROR; local 1478 status_t status = _ScanDirectory(stack, dir, prefix, prefixPosition); local 1522 status_t status = vfs_read_stat(dirfd(dir), dirent->d_name, true, &stat, local 1554 status_t status = vfs_read_stat(dirfd(dir), NULL, true, &stat, true); local 1736 status_t status = get_module_image(path, &moduleImage); local 1771 status_t status = specifier.AddString("prefix", prefix); local 1783 status_t status = specifier.AddString("prefix", prefix); local 1818 status_t status = register_preloaded_module_image(image); local 2116 status_t status; local 2184 status_t status; local [all...] |
/haiku/src/bin/unzip/ |
H A D | ttyio.c | 204 long status; local 209 status = sys$assign(&DevDesc, &DevChan, 0, 0); 210 if (!(status & 1)) 211 return status; 214 * tty status (for password reading, could use IO$_READVBLK function 217 status = sys$qiow(0, DevChan, IO$_SENSEMODE, &iosb, 0, 0, 219 if (!(status & 1)) 220 return status; 221 status = iosb[0]; 222 if (!(status 259 long status; local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Device.cpp | 135 // clear channels status 169 status_t status = fRecordStream.Start(); local 170 if (status != B_OK) { 171 ERROR("Error of starting record stream:%#010x\n", status); 174 status = fPlaybackStream.Start(); 175 if (status != B_OK) { 176 ERROR("Error of starting playback stream:%#010x\n", status); 188 status_t status = fPlaybackStream.Stop(); local 189 if (status != B_OK) { 190 ERROR("Error of stopping playback stream:%#010x\n", status); 421 status_t status = fPlaybackStream.SetFormat(Format->output, local 474 status_t status = B_NO_INIT; local [all...] |
/haiku/src/preferences/time/ |
H A D | NetworkTimeView.cpp | 204 status_t status; local 207 if ((status = _GetPath(path)) != B_OK) 208 return status; 211 if ((status = file.InitCheck()) != B_OK) 212 return status; 215 if ((status = load.Unflatten(&file)) != B_OK) 216 return status; 230 status_t status; local 233 if ((status = _GetPath(path)) != B_OK) 234 return status; 263 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local 399 status_t status; local 592 status_t status = update_time(*(Settings*)list->ItemAt(0), local 627 status_t status = B_ENTRY_NOT_FOUND; local [all...] |
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_haiku.cpp | 186 status_t status = EBUSY; 190 status = EINPROGRESS; 193 return status; 214 status_t status = ifp->if_ioctl(ifp, SIOCG80211ALLNODES, (caddr_t)&nodereq_all); local 216 if (status != B_OK) 217 return status; 285 status_t status = ifp->if_ioctl(ifp, op == SIOCG80211 ? local 288 if (status != B_OK) 289 return status; 311 status_t status local 351 status_t status = ifp->if_ioctl(ifp, SIOCS80211NWID, (caddr_t)&ifr); local 432 status_t status = ifp->if_ioctl(ifp, SIOCS80211NWID, (caddr_t)&ifr); local [all...] |
/haiku/src/kits/media/ |
H A D | Controllable.cpp | 135 status_t status; local 137 status = acquire_sem(fSem); 138 } while (status == B_INTERRUPTED); 140 return status == B_OK; 217 status_t status = GetParameterValue(request.parameter_id, local 220 request.SendReply(status, &reply, sizeof(reply)); 259 status_t status = B_OK; local 262 status = B_ERROR; 266 if (status == B_OK && fWeb != NULL) { 271 status 309 status_t status = StartControlPanel(&targetMessenger); local [all...] |
/haiku/headers/private/net/ |
H A D | ProtocolUtilities.h | 168 status_t status = LockingBase::Init(&fLock, name); local 169 if (status != B_OK) 170 fNotify = status; 205 status_t status = _Enqueue(buffer); 206 if (status != B_OK) 209 return status; 238 status_t status = SocketStatus(peek); local 239 if (status != B_OK) { 242 return status; 245 status 276 status_t status = SocketStatus(true); local 351 status_t status = acquire_sem_etc(fNotify, 1, B_CAN_INTERRUPT local [all...] |
/haiku/src/add-ons/kernel/drivers/disk/nvme/ |
H A D | nvme_disk.cpp | 409 io_finished_callback(status_t* status, const struct nvme_cpl* cpl) argument 411 *status = nvme_cpl_is_error(cpl) ? B_IO_ERROR : B_OK; 416 await_status(nvme_disk_driver_info* info, struct nvme_qpair* qpair, status_t& status) argument 422 while (status == EINPROGRESS) { 427 if (status != EINPROGRESS) 443 status = B_TIMED_OUT; 459 status_t status; member in struct:nvme_io_request 511 request->status = EINPROGRESS; 535 await_status(info, qpinfo->qpair, request->status); 537 if (request->status ! 557 status_t status = acquire_sem(handle->info->dma_buffers_sem); local 639 status_t status = B_OK; local 810 status_t status = request.Init(pos, (addr_t)buffer, *length, false, 0); local 833 status_t status = request.Init(pos, (addr_t)buffer, *length, true, 0); local 847 status_t status = EINPROGRESS; local 916 status_t status = EINPROGRESS; local 958 status_t status = get_geometry(handle, &geometry); local 1082 status_t status; local [all...] |