/haiku/src/kits/package/ |
H A D | Context.cpp | 99 status_t result = find_directory(B_SYSTEM_TEMP_DIRECTORY, &tempPath, true); local 100 if (result != B_OK) 101 return result; 103 if ((result = tempDirectory.InitCheck()) != B_OK) 104 return result; 109 result = tempDirectory.CreateDirectory(contextName.String(), 111 if (result != B_OK) 112 return result;
|
H A D | ActivateRepositoryConfigJob.cpp | 45 status_t result = repoInfo.InitCheck(); local 46 if (result != B_OK) 47 return result; 49 result = fTargetEntry.SetTo(&fTargetDirectory, repoInfo.Name().String()); 50 if (result != B_OK) 51 return result; 79 if ((result = repoConfig.Store(fTargetEntry)) != B_OK) 80 return result; 82 // store name of activated repository as result
|
/haiku/src/tests/kits/locale/ |
H A D | StringFormatTest.cpp | 81 status_t result; local 87 result = formatter.Format(output, tests[i].number); 88 CPPUNIT_ASSERT_EQUAL(B_OK, result); 113 status_t result; local 119 result = formatter.Format(output, 1); 120 CPPUNIT_ASSERT(result != B_OK); 122 result = formatter.Format(output, 2); 123 CPPUNIT_ASSERT(result != B_OK);
|
/haiku/src/tests/system/libroot/posix/ |
H A D | user_thread_fork_test.cpp | 22 status_t result; local 23 wait_for_thread(child, &result);
|
H A D | test_wctype.c | 30 result = 1; \ 34 result = 1; \ 42 int result = 0; local 58 result = 1; 75 if (result == 0) 77 return result;
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | NetReceiver.cpp | 65 status_t result = fListener->Listen(); local 66 if (result != B_OK) { 67 TRACE_ERROR("failed to listen on port: %s\n", strerror(result)); 68 return result; 122 status_t result = fTarget->Write(buffer, readSize); local 123 if (result != B_OK) { 125 strerror(result)); 126 return result;
|
/haiku/src/servers/app/drawing/ |
H A D | BitmapDrawingEngine.cpp | 70 status_t result = fHWInterface->Initialize(); 71 if (result != B_OK) 72 return result; 89 UtilityBitmap *result = new(std::nothrow) UtilityBitmap(BRect(0, 0, 91 if (result == NULL) 94 if (result->ImportBits(fBitmap->Bits(), fBitmap->BitsLength(), 96 delete result; 100 return result;
|
/haiku/src/apps/haikudepot/model/ |
H A D | UserCredentials.cpp | 135 status_t result = B_OK; local 136 if (result == B_OK) 137 result = into->AddString(KEY_NICKNAME, fNickname); 138 if (result == B_OK) 139 result = into->AddString(KEY_PASSWORD_CLEAR, fPasswordClear); 140 if (result == B_OK) 141 result = into->AddBool(KEY_IS_SUCCESSFUL, fIsSuccessful); 142 return result;
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientConnection.cpp | 298 int32 result; local 299 wait_for_thread(fNodeMonitoringProcessor, &result); 530 status_t result = B_OK; 533 SET_ERROR(result, B_BAD_DATA); 537 if (result == B_OK) 538 result = _CreateVolume(&volume); 549 if (result == B_OK && !user) { 551 SET_ERROR(result, fSecurityContext->AuthenticateUser(userName, 553 if (result == B_OK) 556 result 2374 status_t result; local 2637 int32 result; local [all...] |
/haiku/src/bin/network/ |
H A D | wakeonlan.cpp | 38 int result = setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &value, local 40 if (result < 0) { 41 printf("failed to set broadcast socket option: %s\n", strerror(result)); 50 result = sendto(sock, buffer, sizeof(buffer), 0, 52 if (result < 0) { 53 printf("failed to send magic packet: %s\n", strerror(result));
|
/haiku/src/kits/print/ |
H A D | PrintAddOnServer.cpp | 37 status_t result = SendRequest(message, reply); local 38 if (result != B_OK) 39 return result; 55 status_t result = SendRequest(message, reply); local 56 if (result != B_OK) 57 return result; 73 status_t result = SendRequest(message, reply); local 74 if (result != B_OK) 75 return result; 90 status_t result local 108 status_t result = SendRequest(message, reply); local 134 status_t result = local 168 status_t result = directory->GetEntry(&entry); local 207 status_t result = reply.FindInt32(kPrintAddOnServerStatusAttribute, local [all...] |
/haiku/src/libs/print/libprint/ |
H A D | DialogWindow.cpp | 49 // store result in local variable and 50 // initialize it with previous result 51 volatile status_t result = fPreviousResult; local 53 fResult = &result; 77 return result; 80 void DialogWindow::SetResult(status_t result) argument 83 *fResult = result; 85 fPreviousResult = result;
|
/haiku/src/tests/system/kernel/ |
H A D | fibo_exec.cpp | 32 int result; local 52 result = num; 92 result = returnValue; 101 result += returnValue; 107 return result; 109 printf("%d\n", result);
|
H A D | fibo_fork.cpp | 33 int result = 0; local 41 result = num; 79 result = returnValue; 88 result += returnValue; 94 return result; 96 printf("%d\n", result);
|
H A D | fibo_load_image.cpp | 30 int result; local 50 result = num; 80 result = returnValue; 89 result += returnValue; 95 return result; 97 printf("%d\n", result);
|
/haiku/src/tests/kits/shared/ |
H A D | NaturalCompareTest.cpp | 96 int result = _Normalize(NaturalCompare(a, b)); local 100 a, b, result, expectedResult); 102 CppUnit::Asserter::failIf(result != expectedResult, message); 107 NaturalCompareTest::_Normalize(int result) argument 109 if (result > 0) 111 if (result < 0)
|
/haiku/src/tools/fs_shell/ |
H A D | stdio.cpp | 18 int result = vsprintf(string, format, args); local 22 return result; 32 int result = vsnprintf(string, size, format, args); local 36 return result; 60 int result = vsscanf(str, format, args); local 64 return result;
|
/haiku/src/kits/storage/sniffer/ |
H A D | RPattern.cpp | 66 ssize_t result = InitCheck(); local 67 if (result == B_OK) 68 result = fPattern->BytesNeeded(); 69 if (result >= 0) 70 result += fRange.End(); 71 return result;
|
/haiku/src/apps/haikudepot/server/ |
H A D | IncrementViewCounterProcess.cpp | 80 status_t result = B_OK; local 85 result = webAppInterface->IncrementViewCounter(fPackage, depot, resultEnvelope); 87 if (result == B_OK) { 93 return result; 102 result = B_ERROR; 112 return result;
|
H A D | LocalRepositoryUpdateProcess.cpp | 71 status_t result = roster.GetRepositoryNames(repoNames); local 73 if (result == B_OK) { 81 result == B_OK && i < repoNames.CountStrings() && !WasStopped(); 83 result = _RunForRepositoryName(repoNames.StringAt(i), context, 87 _NotifyError(strerror(result)); 88 result = B_ERROR; 91 if (result == B_OK) { 96 return result; 135 status_t result = B_ERROR; local 137 result [all...] |
H A D | ServerIconExportUpdateProcess.cpp | 125 status_t result = fModel->InitPackageIconRepository(); local 127 return result; 152 status_t result = GetLocalPath(tarPath); local 156 if (result == B_OK) { 160 result = StorageUtils::ExistsObject(tarPath, &hasFile, NULL, &size); 162 if (result == B_OK && (!hasFile || size == 0)) 163 return result; 166 if (result == B_OK) { 173 result = TarArchiveService::ForEachEntry(*tarIo, extractDataListener); 175 if (result [all...] |
/haiku/src/kits/network/libnetapi/ |
H A D | NetBuffer.cpp | 57 ssize_t result = fImpl->Write(bufferPtr, bufferSize); local 58 if (result >= 0) 61 fInit = result; 86 status_t result = into->AddData("buffer", B_RAW_TYPE, fImpl->Data(), 89 return result; 214 status_t result = B_OK; 222 result = AppendData((const void*)&flattenedData, dataSize); 227 result = AppendData((const void*)&stackFlattenedData, dataSize); 230 return result; 268 status_t result local 282 status_t result = RemoveData((void*)&be_data, sizeof(uint16)); local 296 status_t result = RemoveData((void*)&be_data, sizeof(int32)); local 310 status_t result = RemoveData((void*)&be_data, sizeof(uint32)); local 388 status_t result = RemoveData((void*)&be_data, sizeof(int64)); local 402 status_t result = RemoveData((void*)&be_data, sizeof(uint64)); local [all...] |
/haiku/src/add-ons/screen_savers/slideshowsaver/ |
H A D | LiveSettings.cpp | 242 status_t result; local 250 result = settingsFile.SetTo(fSettingsPath.Path(), B_READ_ONLY); 251 if (result == B_OK) { 253 result = msg.Unflatten(&settingsFile); 254 if (result == B_OK) 255 result = LoadSettings(&msg); 258 result = B_OK; 262 return result; 285 status_t result = B_OK; local 298 return result; 319 status_t result; local 359 status_t result = B_BAD_VALUE; local [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | OpenState.cpp | 125 status_t result = request.Send(); local 126 if (result != B_OK) 127 return result; 166 status_t result; local 181 result = request.Send(); 182 if (result != B_OK) { 184 return result; 189 result = reply.PutFH(); 190 if (result == B_OK) 199 result 249 status_t result = request.Send(); local 301 status_t result = request.Send(); local [all...] |
/haiku/src/add-ons/accelerants/radeon/ |
H A D | InitAccelerant.c | 30 status_t result; local 47 result = ioctl( ai->fd, RADEON_GET_PRIVATE_DATA, &gpd, sizeof(gpd) ); 48 if (result != B_OK) goto err; 53 result = ai->virtual_card_area; 59 result = ai->shared_info_area; 66 result = ai->regs_area; 76 result = ai->mapped_memory[mt_PCI].area; 86 result = ai->mapped_memory[mt_AGP].area; 107 return result; 150 status_t result; local 233 status_t result; local 248 status_t result; local [all...] |