Searched refs:result (Results 226 - 250 of 1393) sorted by relevance

1234567891011>>

/haiku/src/kits/package/
H A DContext.cpp99 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 DActivateRepositoryConfigJob.cpp45 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 DStringFormatTest.cpp81 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 Duser_thread_fork_test.cpp22 status_t result; local
23 wait_for_thread(child, &result);
H A Dtest_wctype.c30 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 DNetReceiver.cpp65 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 DBitmapDrawingEngine.cpp70 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 DUserCredentials.cpp135 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 DClientConnection.cpp298 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 Dwakeonlan.cpp38 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 DPrintAddOnServer.cpp37 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 DDialogWindow.cpp49 // 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 Dfibo_exec.cpp32 int result; local
52 result = num;
92 result = returnValue;
101 result += returnValue;
107 return result;
109 printf("%d\n", result);
H A Dfibo_fork.cpp33 int result = 0; local
41 result = num;
79 result = returnValue;
88 result += returnValue;
94 return result;
96 printf("%d\n", result);
H A Dfibo_load_image.cpp30 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 DNaturalCompareTest.cpp96 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 Dstdio.cpp18 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 DRPattern.cpp66 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 DIncrementViewCounterProcess.cpp80 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 DLocalRepositoryUpdateProcess.cpp71 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 DServerIconExportUpdateProcess.cpp125 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 DNetBuffer.cpp57 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 DLiveSettings.cpp242 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 DOpenState.cpp125 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 DInitAccelerant.c30 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...]

Completed in 110 milliseconds

1234567891011>>