Searched refs:status (Results 201 - 225 of 1750) sorted by relevance

1234567891011>>

/haiku/src/tests/system/network/
H A Dudp_echo.c35 long status; local
42 status = sendto(sockFD, buf, len, 0,
44 if (status < 0) {
49 status = recvfrom(sockFD, buf, MAXLEN-1, 0, NULL, NULL);
50 if (status < 0) {
54 buf[status] = 0;
66 int status; local
73 status = sendto(sockFD, buf, len, 0,
75 if (status < 0) {
80 status
94 long status; local
128 unsigned long status; local
[all...]
/haiku/src/system/libroot/os/
H A Dfs_attr.cpp88 status_t status = _kern_remove_attr(fd, attribute); local
90 RETURN_AND_SET_ERRNO(status);
97 status_t status = _kern_stat_attr(fd, attribute, attrInfo); local
98 RETURN_AND_SET_ERRNO(status);
105 status_t status = _kern_open_attr(-1, path, attribute, type, openMode); local
106 RETURN_AND_SET_ERRNO(status);
113 status_t status = _kern_open_attr(fd, NULL, attribute, type, openMode); local
114 RETURN_AND_SET_ERRNO(status);
121 status_t status = _kern_close(fd); local
123 RETURN_AND_SET_ERRNO(status);
[all...]
/haiku/src/kits/interface/
H A DListItem.cpp67 status_t status = BArchivable::Archive(archive, deep); local
68 if (status == B_OK && fSelected)
69 status = archive->AddBool("_sel", true);
71 if (status == B_OK && !fEnabled)
72 status = archive->AddBool("_disable", true);
74 if (status == B_OK && fExpanded)
75 status = archive->AddBool("_li_expanded", true);
77 if (status == B_OK && fLevel != 0)
78 status = archive->AddInt32("_li_outline_level", fLevel);
80 return status;
[all...]
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DJournal.cpp61 status_t status = recursive_lock_lock(&fLock); local
62 if (status != B_OK)
63 return status;
95 status_t status = _TransactionDone(success); local
96 if (status != B_OK)
97 return status;
162 status_t status = B_OK; local
164 status = fJournal->UnLock(this, true);
165 if (status == B_OK)
168 return status;
[all...]
H A Dkernel_interface.cpp28 #define REPORT_ERROR(status) \
29 dprintf("btrfs: %s:%d: %s\n", __FUNCTION__, __LINE__, strerror(status));
67 iterative_io_finished_hook(void* cookie, io_request* request, status_t status, argument
83 status_t status = Volume::Identify(fd, &superBlock); local
84 if (status != B_OK)
100 partition->status = B_PARTITION_VALID;
137 status_t status = volume->Mount(device, flags); local
138 if (status != B_OK) {
139 ERROR("Failed mounting the volume. Error: %s\n", strerror(status));
141 return status;
154 status_t status = volume->Unmount(); local
195 status_t status = B_BAD_VALUE; local
270 status_t status; local
339 status_t status = inode->FindBlock(offset, blockOffset, &blockLength); local
386 status_t status = directory->CheckPermissions(X_OK); local
522 status_t status = transaction.Done(); local
668 status_t status = directory->CheckPermissions(W_OK); local
763 status_t status = DirectoryIterator(directory).Lookup(name, strlen(name), local
799 status_t status = inode->CheckPermissions(R_OK); local
831 status_t status = iterator->GetNext(dirent->d_name, &length, local
932 status_t status = iterator->GetNext(dirent->d_name, &length); local
1072 status_t status = check_volume_name(name); local
[all...]
/haiku/src/system/boot/loader/
H A Dstdio.cpp117 int status = vfprintf(stdout, format, args); local
120 return status;
130 int status = vfprintf(file, format, args); local
133 return status;
143 status_t status;
147 status = ((ConsoleNode *)file)->Write(&character, 1);
153 if (status > 0)
156 return status;
166 status_t status = ((ConsoleNode *)file)->Write(string, strlen(string));
173 return status;
[all...]
/haiku/src/add-ons/input_server/filters/padblocker/
H A DPadBlocker.cpp84 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local
85 if (status < B_OK)
86 return status;
103 status_t status = GetSettingsPath(path); local
104 if (status == B_OK)
108 status = settingsFile.InitCheck();
109 if (status == B_OK)
115 status = B_ERROR;
120 status = B_ERROR;
127 if (status
[all...]
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp64 status_t status = fThreadDataStore->GetInfo("refs", &type, &refCount); local
65 if (status != B_OK || refCount < 1) {
86 status = fThreadDataStore->FindRef("dir_ref", 0, &dirRef);
87 if (status == B_OK) {
223 ZipperThread::ThreadStartupFailed(status_t status) argument
226 strerror(status));
234 ZipperThread::ExecuteUnitFailed(status_t status) argument
236 if (status == EOF) {
242 strerror(status));
252 ZipperThread::ThreadShutdownFailed(status_t status) argument
363 status_t status = get_thread_info(fZipProcess, &info); local
376 status_t status = get_thread_info(fZipProcess, &info); local
389 status_t status = get_thread_info(fZipProcess, &info); local
405 status_t status = get_thread_info(fZipProcess, &info); local
433 status_t status = trackerMessenger.SendMessage(&request, &reply); local
[all...]
/haiku/src/servers/launch/
H A DLog.cpp61 JobLaunchedLogItem(Job* job, status_t status);
75 JobTerminatedLogItem(Job* job, status_t status);
237 Log::JobIgnored(Job* job, status_t status) argument
239 LogItem* item = new(std::nothrow) JobIgnoredLogItem(job, status);
244 strerror(status));
250 Log::JobLaunched(Job* job, status_t status) argument
252 LogItem* item = new(std::nothrow) JobLaunchedLogItem(job, status);
257 strerror(status));
263 Log::JobTerminated(Job* job, status_t status) argument
265 LogItem* item = new(std::nothrow) JobTerminatedLogItem(job, status);
443 status_t status = parameter.AddString("job", fJobName); local
466 JobLaunchedLogItem(Job* job, status_t status) argument
498 status_t status = AbstractJobLogItem::GetParameter(parameter); local
508 JobTerminatedLogItem(Job* job, status_t status) argument
540 status_t status = AbstractJobLogItem::GetParameter(parameter); local
582 status_t status = AbstractJobLogItem::GetParameter(parameter); local
624 status_t status = AbstractJobLogItem::GetParameter(parameter); local
666 status_t status = AbstractJobLogItem::GetParameter(parameter); local
[all...]
/haiku/src/add-ons/translators/psd/
H A DDataArray.cpp63 status_t status = _ReallocArrayFor(sizeof(val)); local
64 if (status == B_OK) {
82 status_t status = _ReallocArrayFor(sizeof(val)); local
83 if (status == B_OK) {
102 status_t status = _ReallocArrayFor(sizeof(val)); local
103 if (status == B_OK) {
122 status_t status = _ReallocArrayFor(sizeof(val)); local
123 if (status == B_OK) {
142 status_t status = _ReallocArrayFor(len); local
143 if (status
168 status_t status = _ReallocArrayFor(len); local
180 status_t status = _ReallocArrayFor(count); local
[all...]
/haiku/src/apps/drivesetup/
H A DAbstractParametersPanel.cpp158 status_t status = B_ERROR; local
160 status = partition->GetParameterEditor(type, &fEditor);
168 status = addOn->GetParameterEditor(type, &fEditor);
171 if (status != B_OK && status != B_NOT_SUPPORTED)
172 fReturnStatus = status;
226 status_t status = acquire_sem_etc(fExitSemaphore, 1, local
228 if (status != B_TIMED_OUT && status != B_INTERRUPTED)
238 status_t status local
247 status_t status = fReturnStatus; local
[all...]
/haiku/src/tests/system/kernel/vm/
H A DVMGetMountPointTest.cpp136 status_t status = get_mount_point(NULL, NULL); local
138 CPPUNIT_ASSERT_EQUAL(status, B_BAD_VALUE);
148 status_t status = get_mount_point(&partition, &path); local
150 CPPUNIT_ASSERT_EQUAL(status, B_BAD_VALUE);
160 status_t status = get_mount_point(&partition, &path); local
162 CPPUNIT_ASSERT_EQUAL(status, B_OK);
173 status_t status = get_mount_point(&partition, &path); local
175 CPPUNIT_ASSERT_EQUAL(status, B_OK);
186 status_t status = get_mount_point(&partition, &path); local
188 CPPUNIT_ASSERT_EQUAL(status, B_O
199 status_t status = get_mount_point(&partition, &path); local
212 status_t status = get_mount_point(&partition, &path); local
[all...]
/haiku/src/system/libroot/posix/unistd/
H A Dexec.cpp86 status_t status = __test_executable(path, invoker); local
87 if (status < B_OK) {
88 if (status == B_NOT_AN_EXECUTABLE && useDefaultInterpreter) {
90 status = B_OK;
92 __set_errno(status);
99 status = __parse_invoke_line(invoker, &newArgs, &args, &argCount, path);
100 if (status < B_OK) {
101 __set_errno(status);
110 status = __flatten_process_args(newArgs ? newArgs : args, argCount,
113 if (status
161 status_t status = __look_up_in_path(file, path); local
[all...]
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIRequest.cpp48 VirtioSCSIRequest::SetStatus(uint8 status) argument
50 fStatus = status;
103 TRACE("VirtioSCSIRequest::Finish() status 0x%x response 0x%x resid:0x%x"
104 " sense_len:%x\n", fResponse->status, fResponse->response,
109 } else if (fStatus == SCSI_REQ_CMP && fResponse->status != 0
113 // CHECK CONDITION status
209 uchar status; local
213 status = SCSI_REQ_CMP;
216 status = SCSI_DATA_RUN_ERR;
219 status
[all...]
/haiku/src/add-ons/accelerants/vesa/
H A Daccelerant.cpp62 status_t status = gInfo->shared_info_area = sharedDeleter.Get(); local
63 if (status < B_OK)
64 return status;
101 status_t status = init_common(device, false); local
102 if (status != B_OK)
103 return status;
105 status = create_mode_list();
106 if (status != B_OK) {
108 return status;
146 status_t status
[all...]
/haiku/src/kits/media/
H A DSharedBufferList.cpp52 status_t status = list->_Init();
53 if (status != B_OK) {
55 return status;
145 status_t status; local
147 status = acquire_sem(fSemaphore);
148 } while (status == B_INTERRUPTED);
150 return status;
170 status_t status = Lock(); local
171 if (status != B_OK)
172 return status;
280 status_t status; local
484 status_t status; local
[all...]
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DVolume.cpp102 status_t status = Identify(fDevice, &fSuperBlock); local
103 if (status != B_OK) {
128 status = rootInode->Init();
129 if (status != B_OK)
130 return status;
132 status = publish_vnode(FSVolume(), Root(),
134 if (status != B_OK)
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DJournal.cpp190 status_t status = FlushLogAndBlocks();
192 if (status == B_OK) {
195 status = _SaveSuperBlock();
200 return status;
231 status_t status = recursive_lock_lock(&fLock); local
232 if (status != B_OK)
233 return status;
285 status_t status = _TransactionDone(success); local
286 if (status != B_OK)
287 return status;
365 status_t status = B_OK; local
556 status_t status = cache_next_block_in_transaction(fFilesystemBlockCache, local
676 status_t status = MapBlock(0, physicalBlock); local
718 status_t status = MapBlock(0, superblockPos); local
920 status_t status = _RecoverPassScan(lastCommitID); local
944 status_t status = MapBlock(nextBlock, nextBlockPos); local
1004 status_t status = MapBlock(nextBlock, nextBlockPos); local
1066 status_t status = MapBlock(nextBlock, nextBlockPos); local
1170 status_t status = canWait ? recursive_lock_lock(&fLock) local
[all...]
/haiku/src/kits/game/
H A DWindowScreen.cpp204 status_t status = _InitData(space, attributes); local
206 *error = status;
219 status_t status = _InitData(space, attributes); local
221 *error = status;
372 status_t status = _GetModeFromSpace(space, &mode); local
373 if (status == B_OK)
374 status = _AssertDisplayMode(&mode);
376 return status;
401 status_t status = screen.ProposeMode(&mode, &lowMode, &highMode); local
402 if (status
507 status_t status; local
595 status_t status = B_ERROR; local
681 status_t status = B_ERROR; local
693 status_t status = _AssertDisplayMode(fDisplayMode); local
734 status_t status = _LockScreen(false); local
756 status_t status = B_OK; local
817 status_t status = screen.GetMode(&mode); local
880 status_t status; local
961 status_t status = B_ERROR; local
1021 status_t status = screen.GetMode(&currentMode); local
[all...]
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A DL2capEndpoint.cpp107 status_t status = fCommandWait.Wait(&fLock, local
109 if (status != B_OK)
110 return posix_error(status);
143 status_t status; local
154 status = _WaitForStateChange(timeout);
155 if (status != B_OK)
156 return status;
165 status = send_l2cap_disconnection_req(fConnection, ident,
167 if (status != B_OK)
168 return status;
280 status_t status; local
349 status_t status; local
429 status_t status = gStackModule->fifo_enqueue_buffer(&fSendQueue, current); local
561 status_t status = gSocketModule->spawn_pending_socket(socket, &newSocket); local
661 status_t status = send_l2cap_configuration_req(fConnection, ident, local
826 status_t status = send_l2cap_disconnection_rsp(fConnection, ident, fChannelID, scid); local
[all...]
/haiku/src/apps/mail/
H A DSettings.cpp156 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local
157 if (status != B_OK)
158 return status;
176 status_t status = _GetSettingsPath(path); local
177 if (status != B_OK)
178 return status;
183 status = file.SetTo(path.Path(),
186 if (status != B_OK)
187 return status;
214 status
236 status_t status = _GetSettingsPath(path); local
[all...]
/haiku/src/add-ons/kernel/busses/usb/
H A Dehci_rh.cpp142 status_t status = B_TIMED_OUT; local
147 // get hub status
154 status = B_OK;
162 status = B_OK;
170 status = B_TIMED_OUT;
175 status = B_OK;
187 status = B_OK;
197 status = B_OK;
210 status = B_OK;
220 status
[all...]
H A Dohci_rh.cpp144 status_t status = B_TIMED_OUT; local
149 // get hub status
156 status = B_OK;
164 status = B_OK;
172 status = B_TIMED_OUT;
177 status = B_OK;
189 status = B_OK;
199 status = B_OK;
212 status = B_OK;
222 status
[all...]
H A Duhci_rh.cpp143 status_t status = B_TIMED_OUT; local
148 // get hub status
155 status = B_OK;
163 status = B_OK;
171 status = B_TIMED_OUT;
176 status = B_OK;
188 status = B_OK;
197 status = B_OK;
210 status = B_OK;
219 status
[all...]
/haiku/src/bin/addattr/
H A Dmain.cpp179 status_t status = file.SetTo(optarg, B_READ_ONLY); local
180 if (status < B_OK) {
182 optarg, strerror(status));
186 status = file.GetSize(&size);
187 if (status == B_OK) {
199 status = file.Read(attrValue, size);
201 status = B_NO_MEMORY;
204 if (status < B_OK) {
205 ERR("can't read attribute value: %s\n", strerror(status));
256 status_t status local
[all...]

Completed in 138 milliseconds

1234567891011>>