/haiku/src/bin/package_repo/ |
H A D | command_create.cpp | 188 status_t result = repositoryInfo.InitCheck(); local 189 if (result != B_OK) { 192 strerror(result)); 196 if ((result = repositoryWriter.Init(repositoryPath.Path())) != B_OK) { 198 strerror(result)); 221 result = repositoryWriter.AddPackage(entry); 222 if (result != B_OK) 227 result = repositoryWriter.Finish(); 228 if (result != B_OK)
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | FileSystem.cpp | 165 status_t result = _ParsePath(req, lookupCount, fsPath); local 166 if (result != B_OK) 167 return result; 176 result = request.Send(); 177 if (result != B_OK) 178 return result; 191 result = reply.Access(NULL, &allowed); 192 if (result != B_OK) 193 return result; 200 result 278 status_t result = fInoIdMap.GetFileInfo(&fi, id); local 309 status_t result = fRoot->GetLocations(&values); local [all...] |
H A D | kernel_interface.cpp | 158 status_t result; local 167 result = gIdMapper->InitStatus(); 168 if (result != B_OK) { 171 return result; 180 result = ParseArguments(args, &resolver, &serverName, &path, &config); 181 if (result != B_OK) { 183 return result; 190 result = gRPCServerManager->Acquire(&server, resolver, CreateNFS4Server); 192 if (result != B_OK) { 194 return result; 251 status_t result = fs->GetInode(id, &inode); local 313 status_t result = inode->LookUp(name, _id); local 378 status_t result; local 422 status_t result; local 467 status_t result = gWorkQueue->EnqueueJob(IORequest, args); local 541 status_t result = inode->CreateLink(name, path, mode, &id); local 593 status_t result = inode->Remove(name, NF4REG, &id); local 638 status_t result = Inode::Rename(fromInode, toInode, fromName, toName, false, local 735 status_t result = acquire_vnode(volume, id); local 784 status_t result = inode->Create(name, openMode, perms, cookie, &data, local 847 status_t result = inode->Open(openMode, cookie); local 968 status_t result = inode->CreateDir(name, mode, &id); local 996 status_t result = inode->Remove(name, NF4DIR, &id); local 1172 status_t result = inode->OpenAttr(name, openMode, cookie, true, type); local 1197 status_t result = inode->OpenAttr(name, openMode, cookie, false); local [all...] |
/haiku/src/kits/package/ |
H A D | FetchFileJob.cpp | 93 status_t result = fTargetFile.InitCheck(); local 94 if (result != B_OK) 95 return result; 97 result = FetchUtils::SetFileType(fTargetFile, 99 if (result != B_OK) { 101 DownloadFileName(), strerror(result)); 131 result = FetchUtils::MarkDownloadComplete(fTargetFile); 132 if (result != B_OK) { 134 DownloadFileName(), strerror(result));
|
/haiku/src/system/libroot/posix/locale/ |
H A D | wctype.cpp | 138 wint_t result = wc; local 139 backend->ToWCTrans(wc, _ISlower, result); 141 return result; 156 wint_t result = wc; local 157 backend->ToWCTrans(wc, _ISupper, result); 159 return result; 178 wint_t result = wc; local 179 status_t status = backend->ToWCTrans(wc, transition, result); 183 return result;
|
H A D | wctype_l.cpp | 135 wint_t result = wc; local 136 backend->ToWCTrans(wc, _ISlower, result); 138 return result; 154 wint_t result = wc; local 155 backend->ToWCTrans(wc, _ISupper, result); 157 return result; 177 wint_t result = wc; local 178 status_t status = backend->ToWCTrans(wc, transition, result); 182 return result;
|
/haiku/src/preferences/locale/ |
H A D | FormatSettingsView.cpp | 376 BString result; local 385 dateFormat.Format(result, timeValue, B_FULL_DATE_FORMAT); 386 fFullDateExampleView->SetText(result); 388 dateFormat.Format(result, timeValue, B_LONG_DATE_FORMAT); 389 fLongDateExampleView->SetText(result); 391 dateFormat.Format(result, timeValue, B_MEDIUM_DATE_FORMAT); 392 fMediumDateExampleView->SetText(result); 394 dateFormat.Format(result, timeValue, B_SHORT_DATE_FORMAT); 395 fShortDateExampleView->SetText(result); 397 timeFormat.Format(result, timeValu [all...] |
/haiku/src/apps/haikudepot/server/ |
H A D | ServerRepositoryDataUpdateProcess.cpp | 191 BString result; local 193 result.SetToFormat("/__repository/all-%s.json.gz", 195 return result; 221 status_t result = GetLocalPath(localPath); local 223 if (result != B_OK) 224 return result; 226 result = ParseJsonFromFileWithListener(listener, localPath); 228 if (result != B_OK) 229 return result;
|
/haiku/headers/tools/cppunit/ |
H A D | ThreadedTestCaller.h | 30 virtual void run(CppUnit::TestResult *result); 104 CppUnit::TestResult *result = new CppUnit::TestResult; local 105 run(result); 106 return result; 111 BThreadedTestCaller<TestClass, ExpectedException>::run(CppUnit::TestResult *result) { argument 112 result->startTest(this); 144 status_t err = i->second->LaunchThread(result); 146 result->addError(this, new CppUnit::Exception("Error launching thread '" + i->second->getName() + "'")); 217 result->addFailure( fObject, threadException ); 224 result [all...] |
/haiku/src/tools/anyboot/ |
H A D | anyboot.cpp | 238 int result = fstat(isoFileHandle, &stat); 239 checkError(result != 0, "failed to stat ISO file"); 254 result = fstat(efiFileHandle, &stat); 255 checkError(result != 0, "failed to stat EFI filesystem image"); 262 result = fstat(imageFileHandle, &stat); 263 checkError(result != 0, "failed to stat image file"); 266 result = copyLoop(isoFileHandle, outputFileHandle, 0); 267 checkError(result != 0, "failed to copy iso file to output"); 273 result = copyLoop(imageFileHandle, outputFileHandle, imageOffset); 274 checkError(result ! [all...] |
/haiku/src/add-ons/kernel/drivers/wmi/ |
H A D | WMIAsus.cpp | 137 uint32 result = 0; local 140 result = object->integer.integer; 144 *returnValue = result; 189 uint32 result = 0; local 192 result = object->integer.integer; 195 if (result != 0) { 196 if (result == 0x4e) { 202 } else if (result == 0xc4 || result == 0xc5 || result [all...] |
/haiku/src/preferences/repositories/ |
H A D | TaskLooper.cpp | 121 status_t result = message->FindPointer(key_rowptr, (void**)&rowItem); local 122 if (result == B_OK) { 180 status_t result = message->FindPointer(key_taskptr, (void**)&task); local 181 if (result == B_OK && fTaskQueue.HasItem(task)) { 201 status_t result = message->FindPointer(key_taskptr, (void**)&task); local 202 if (result == B_OK && fTaskQueue.HasItem(task)) { 244 status_t result = dropRequest.Process(); local 245 if (result != B_OK) { 246 returnResult = result; 247 if (result ! 269 status_t result = addRequest.Process(); local [all...] |
/haiku/src/build/libbe/storage/ |
H A D | Node.cpp | 246 ssize_t result = fs_write_attr(fFd, attr, type, offset, buffer, length); 248 return result < 0 ? errno : result; 262 ssize_t result = fs_read_attr(fFd, attr, type, offset, buffer, length); 264 return result == -1 ? errno : result; 314 ssize_t result = _kern_read_dir(fAttrFd, entry, sizeof(longEntry), 1); local 315 if (result < 0) 316 return result; 318 if (result 584 status_t result = (ref ? B_OK : B_BAD_VALUE); local [all...] |
/haiku/src/bin/ |
H A D | rmindex.cpp | 154 int result = ::glob(indexPattern, GLOB_ALTDIRFUNC, NULL, &glob); local 155 if (result < 0) { 220 int result; local 222 result = remove_indices(device, indexName, verbose); 224 result = remove_index(device, indexName, verbose); 226 return result == 0 ? 0 : 1;
|
/haiku/src/tests/kits/app/bmessagerunner/ |
H A D | MessageRunnerTestHelpers.cpp | 88 bool result = (fMessageInfos.CountItems() == count + skip); local 89 if (!result) { 93 for (int32 i = 0; result && i < count; i++) { 96 result = (expectedTime - JITTER < info->time 98 if (!result) 101 return result;
|
/haiku/src/kits/network/libnetapi/ |
H A D | DynamicBuffer.cpp | 54 status_t result = _GrowToFit(buffer.fBufferSize, true); local 55 if (result == B_OK) { 60 fInit = result; 78 status_t result = _GrowToFit(size); 79 if (result != B_OK) 80 return result;
|
/haiku/src/bin/package/ |
H A D | command_add.cpp | 124 status_t result = packageWriter.Init(packageFileName, &writerParameters); local 125 if (result != B_OK) 171 result = packageWriter.AddEntry(B_HPKG_PACKAGE_INFO_FILE_NAME, 173 if (result != B_OK) 178 result = packageWriter.Finish(); 179 if (result != B_OK)
|
/haiku/src/kits/debugger/util/ |
H A D | IntegerFormatter.cpp | 20 integer_format result = format; local 29 result = INTEGER_FORMAT_HEX_8; 44 result = INTEGER_FORMAT_HEX_16; 59 result = INTEGER_FORMAT_HEX_32; 75 result = INTEGER_FORMAT_HEX_64; 89 return result;
|
/haiku/src/build/libshared/ |
H A D | NaturalCompare.cpp | 128 int result = strcasecmp(a.buffer, b.buffer); local 129 if (result != 0) 130 return result; 139 int result = strcmp(a.buffer, b.buffer); local 140 if (result != 0) 141 return result;
|
/haiku/src/tools/cppunit/ |
H A D | TestUtils.cpp | 17 status_t DecodeResult(status_t result) { argument 19 return result; 22 switch (result) { 189 cout << endl << "DecodeResult() -- " "0x" << hex << result << " (" << dec << result << ") == " << str << endl; 191 return result;
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Index.cpp | 46 bool result = false; local 51 result = true; 54 return result; 61 bool result = false; local 67 result = true; 70 return result;
|
/haiku/src/apps/haikudepot/process/ |
H A D | AbstractProcess.cpp | 122 status_t result = B_CANCELED; local 130 result = StopInternal(); 142 return result; 191 BString result; local 193 result.SetToFormat("%s [%c] %6.3f", Name(), _ProcessStateIdentifier(ProcessState()), 195 return result;
|
/haiku/src/kits/tracker/ |
H A D | QueryPoseView.cpp | 70 // remove an item from the Trash, it doesn't show up in the query result 477 status_t result = B_OK; local 493 result = MatchArchivedVolume(&volume, &message, index); 494 if (result == B_OK) { 496 result = FetchOneQuery(&query, target, 498 if (result != B_OK) 502 } else if (result != B_DEV_BAD_DRIVE_NUM) { 523 result = FetchOneQuery(&query, target, 525 if (result != B_OK) 553 status_t result [all...] |
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | Pipe.cpp | 166 status_t result = GetBusManager()->SubmitTransfer(transfer); local 167 if (result < B_OK) 169 return result; 221 status_t result = GetBusManager()->SubmitTransfer(transfer); local 222 if (result < B_OK) 224 return result; 242 status_t result = GetBusManager()->SubmitTransfer(transfer); local 243 if (result < B_OK) 245 return result; 263 status_t result local 320 status_t result = GetBusManager()->SubmitTransfer(transfer); local 420 status_t result = mutex_lock(&fSendRequestLock); local 508 status_t result = GetBusManager()->SubmitTransfer(transfer); local [all...] |
/haiku/src/bin/cddb_lookup/ |
H A D | cddb_lookup.cpp | 134 status_t result = server.Query(cddbID, toc, queryResponses); local 135 if (result != B_OK) { 136 fprintf(stderr, "Error when querying CD: %s\n", strerror(result)); 138 return result; 150 result = server.Read(*diskData, readResponse, verbose); 151 if (result != B_OK) { 153 strerror(result)); 154 return result; 161 result = _WriteCDData(device, *diskData, readResponse); 162 if (result 267 status_t result = volume.SetName(name.String()); local [all...] |