Searched refs:result (Results 351 - 375 of 1393) sorted by relevance

<<11121314151617181920>>

/haiku/src/tools/cppunit/
H A DTestApp.cpp90 int32 result; local
91 wait_for_thread(fAppThread, &result);
119 bool result = false; local
121 result = fHandlers.RemoveItem(handler);
122 if (result)
125 if (result)
127 return result;
/haiku/src/servers/print/
H A DTransport.cpp71 status_t result; local
75 if ((result = find_directory(which, &path)) != B_OK)
76 return result;
78 if ((result = path.Append("Print/transport")) != B_OK)
79 return result;
82 if ((result = dir.SetTo(path.Path())) != B_OK)
83 return result;
H A DPrinter.Scripting.cpp47 BString result; local
56 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_PRT_NAME, &result);
58 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_TRANSPORT, &result);
60 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_TRANSPORT_ADDR, &result);
62 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_DRV_NAME, &result);
64 rc = SpoolDir()->ReadAttrString(PSRV_PRINTER_ATTR_COMMENTS, &result);
71 reply.AddString("result", result);
81 reply.AddMessenger("result", BMessenger(this));
/haiku/src/tests/kits/app/bpropertyinfo/
H A DPropertyFindMatchTest.cpp108 * BPropertyInfo instance and ensures that the result is what is
118 * result.
120 * Finally, the result is checked with a non-zero index. If index
124 * result with and without a BMessage specifier.
134 int32 result
143 assert(propTest->FindMatch(&msg, 0, &specMsg, spec, prop, &extra_data) == result);
144 if (result >= 0) {
145 assert((propTest->Properties())[result].extra_data == extra_data);
147 assert(propTest->FindMatch(&msg, 0, NULL, spec, prop, &extra_data) == result);
149 assert(propTest->FindMatch(&msg, 1, &specMsg, spec, prop, &extra_data) == result);
[all...]
/haiku/src/apps/haikudepot/util/
H A DAppUtils.cpp46 status_t result = AppUtils::MarkItemWithKeyValueInMenu(menu, key, value); local
47 if (result != B_OK && menu->CountItems() > 0)
49 return result;
87 AppUtils::GetValueForKeyAtIndexInMenu(BMenu* menu, int32 index, const BString& key, BString* result) argument
92 return itemMessage->FindString(key, result);
97 AppUtils::GetAppVersionString(BString& result) argument
122 result.SetToFormat("%" B_PRId32 ".%" B_PRId32 ".%" B_PRId32,
/haiku/src/tests/kits/app/common/
H A DCommonTestApp.cpp24 CommonTestApp::CommonTestApp(const char *signature, status_t *result) argument
25 : BApplication(signature, result),
40 int32 result; local
41 wait_for_thread(fEventThread, &result);
95 thread_id result = BApplication::Run(); local
96 report("BApplication::Run() done: %d\n", (result == find_thread(NULL)));
97 return result;
150 int32 result = 0; local
152 result = app->_EventLoop();
153 return result;
[all...]
/haiku/src/tests/servers/app/drawing_debugger/
H A DDrawingDebugger.cpp71 rgb_color result; local
72 result.red = system_time() % 256;
73 result.green = (system_time() >> 8) % 256;
74 result.blue = (system_time() >> 16) % 256;
75 return result;
144 status_t result = read_port_etc(port, &code, buffer, bufferSize, local
146 if (result == B_INTERRUPTED || result == B_TIMED_OUT)
148 if (result < B_OK) {
150 return result;
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DIdMap.cpp77 status_t result = write_port(fRequestPort, MsgNameToUID, buffer, local
79 if (result != B_OK) {
87 result = read_port(fReplyPort, &code, &value, sizeof(T));
88 if (result < B_OK) {
108 status_t result = write_port(fRequestPort, code, &value, sizeof(value)); local
109 if (result != B_OK) {
147 status_t result = B_OK; local
180 result = resume_thread(thread);
181 if (result != B_OK) {
185 return result;
[all...]
H A DFileInfo.cpp189 status_t result = request.Send(); local
190 if (result != B_OK)
191 return result;
200 result = reply.GetFH(&handle);
201 if (result != B_OK)
202 return result;
205 result = reply.Verify();
206 if (result != B_OK)
207 return result;
/haiku/src/libs/print/libprint/
H A DBlockingWindow.cpp57 filter_result result = B_DISPATCH_MESSAGE; local
60 result = B_SKIP_MESSAGE;
62 return result;
196 BlockingWindow::Quit(status_t result) argument
199 *fResult = result;
206 BlockingWindow::SetUserQuitResult(status_t result) argument
208 fUserQuitResult = result;
215 status_t result = B_ERROR; local
216 fResult = &result;
227 // here the window does not exist, good to have the result i
[all...]
/haiku/src/kits/support/
H A DLocker.cpp30 // result of the CountLockRequests() member.
98 status_t result; local
99 return AcquireLock(B_INFINITE_TIMEOUT, &result);
106 status_t result; local
108 AcquireLock(timeout, &result);
109 return result;
165 // The easiest way to determine this is to compare the result of
/haiku/src/tests/kits/package/
H A Dmake_repo.cpp29 status_t result = repoInfo.Archive(&repoInfoArchive); local
30 if (result != B_OK) {
36 if ((result = repoInfoArchive.Flatten(&output)) != B_OK) {
71 result = pkg.Flatten(&output);
72 if (result != B_OK) {
/haiku/src/build/libbe/support/
H A DLocker.cpp30 // result of the CountLockRequests() member.
98 status_t result; local
99 return AcquireLock(B_INFINITE_TIMEOUT, &result);
106 status_t result; local
108 AcquireLock(timeout, &result);
109 return result;
165 // The easiest way to determine this is to compare the result of
/haiku/src/kits/interface/
H A DRegion.cpp213 int result = Support::XRectInRegion(this, clipping); local
215 return result > Support::RectangleOut;
331 BRegion result; local
332 Support::XUnionRegion(this, &temp, &result);
334 _AdoptRegionData(result);
341 BRegion result; local
342 Support::XUnionRegion(this, region, &result);
344 _AdoptRegionData(result);
368 BRegion result; local
369 Support::XSubtractRegion(this, &temp, &result);
378 BRegion result; local
388 BRegion result; local
398 BRegion result; local
[all...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfat.cpp97 int32 result = 0; local
170 result = B_IO_ERROR;
252 result++;
254 result = value;
271 result = _fat_ioctl_(vol, _IOCTL_SET_ENTRY_, last, cluster);
272 if (result < 0) {
320 result = B_IO_ERROR;
330 if (result < 0) {
340 result = B_DEVICE_FULL;
341 } else if (result
453 status_t result; local
526 status_t result; local
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Ddriver.c218 status_t result = B_OK; local
234 result = Radeon_FirstOpen(di);
236 if (result == B_OK) {
243 SHOW_FLOW(3, "returning 0x%08" B_PRIx32, result);
244 return result;
303 status_t result = B_DEV_INVALID_IOCTL; local
310 result = B_OK;
320 result = B_OK;
330 result = B_OK;
347 result
[all...]
/haiku/src/system/kernel/util/
H A DAVLTreeBase.cpp202 int result = _Insert(nodeToInsert); local
203 switch (result) {
421 int result = HEIGHT_CHANGED; local
422 while (result == HEIGHT_CHANGED && top != bottom) {
428 result = _BalanceInsertLeft(node);
432 result = _BalanceInsertRight(node);
436 return result;
443 int result = HEIGHT_CHANGED; local
454 result = OK;
461 result
470 int result = HEIGHT_CHANGED; local
520 int result = HEIGHT_CHANGED; local
543 int result = HEIGHT_CHANGED; local
[all...]
/haiku/src/kits/network/libnetservices/
H A DHttpForm.cpp289 BString result; local
301 result << '&' << BUrl::UrlEncode(currentField->Name())
311 result << '&' << BUrl::UrlEncode(currentField->Name())
313 result.Append(
321 result.Remove(0, 1);
328 result << _GetMultipartHeader(currentField);
335 result << currentField->String();
347 result.Append(readBuffer, readSize);
354 result.Append(
360 result << "\
532 BString result = "--"; local
669 BString result; local
[all...]
/haiku/src/kits/shared/
H A DTextTable.cpp85 BString result(text);
86 result.TruncateChars(fWidth);
87 return result;
96 BString result(text);
97 result.Append(' ', missing);
98 return result;
103 BString result; local
104 result.Append(' ', missing);
105 result.Append(text);
106 return result;
111 BString result; local
[all...]
/haiku/src/kits/tracker/
H A DAutoMounterSettings.cpp297 bool result; local
298 if (settings.FindBool("autoMountAll", &result) == B_OK && result)
300 else if (settings.FindBool("autoMountAllBFS", &result) == B_OK && result)
305 if (settings.FindBool("suspended", &result) == B_OK && result)
308 if (settings.FindBool("initialMountAll", &result) == B_OK && result)
310 else if (settings.FindBool("initialMountRestore", &result)
[all...]
H A DTextWidget.cpp136 BRect result; local
137 result.left = column->Offset() + poseLoc.x;
138 result.right = result.left + column->Width();
139 result.bottom = poseLoc.y
141 result.top = result.bottom - floorf(ActualFontHeight(view));
142 return result;
151 BRect result; local
161 result
229 BRect result = CalcRect(poseLoc, column, view); local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/usb_ecm/
H A DECMDevice.cpp194 status_t result = gUSBModule->queue_bulk(fReadEndpoint, buffer, *numBytes, local
196 if (result != B_OK) {
198 return result;
201 result = acquire_sem_etc(fNotifyReadSem, 1, B_CAN_INTERRUPT, 0);
202 if (result < B_OK) {
204 return result;
209 result = gUSBModule->clear_feature(fReadEndpoint,
211 if (result != B_OK) {
214 return result;
231 status_t result local
353 status_t result = _SetupDevice(); local
498 status_t result = gUSBModule->get_descriptor(device, USB_DESCRIPTOR_STRING, local
[all...]
/haiku/src/build/libbe/app/
H A DMessage.cpp402 status_t result = _FindField(name, B_ANY_TYPE, &field); local
403 if (result < B_OK || field == NULL)
404 return result;
421 status_t result = _FindField(name, B_ANY_TYPE, &field); local
422 if (result < B_OK || field == NULL)
423 return result;
619 status_t result = message.Unflatten((const char *)pointer); local
620 if (result != B_OK) {
621 printf("failed unflatten: %s\n", strerror(result));
671 status_t result local
949 ssize_t result = stream->Read(header + sizeof(uint32), local
997 status_t result = message.AddString(B_PROPERTY_ENTRY, property); local
1010 status_t result = message.AddString(B_PROPERTY_ENTRY, property); local
1030 status_t result = message.AddString(B_PROPERTY_ENTRY, property); local
1051 status_t result = message.AddString(B_PROPERTY_ENTRY, property); local
1067 status_t result = AddMessage(B_SPECIFIER_ENTRY, specifier); local
1086 status_t result = GetInfo(B_SPECIFIER_ENTRY, &type, &count); local
1226 uint32 result = 0; local
1272 _AddField(const char *name, type_code type, bool isFixedSize, field_header **result) argument
1323 status_t result = _ResizeData(field->offset, -(field->data_size local
1383 status_t result = _FindField(name, type, &field); local
1438 status_t result = _FindField(name, B_ANY_TYPE, &field); local
1485 status_t result = _FindField(name, B_ANY_TYPE, &field); local
1517 status_t result = _FindField(name, type, &field); local
1556 status_t result = _FindField(name, type, &field); local
1604 status_t result = _FindField(name, type, &field); local
[all...]
/haiku/headers/tools/cppunit/
H A DThreadManager.h11 // returns no result. All threads must be implemented
23 status_t LaunchThread(CppUnit::TestResult *result);
71 int32 result = 0; local
73 wait_for_thread(fID, &result);
74 return result;
80 int32 result = 0; local
86 result = WaitForThread();
88 return result;
108 BThreadManager<TestClass, ExpectedException>::LaunchThread(CppUnit::TestResult *result) { argument
112 fTestResult = result;
[all...]
/haiku/src/add-ons/kernel/debugger/usb_keyboard/
H A Dusb_keyboard.cpp255 int result = -1; local
271 result = 0x1f & c;
273 result = kAltedKeymap[key];
275 result = kShiftedKeymap[key];
277 result = kUnshiftedKeymap[key];
279 if (result < 0)
282 write_key(result);
292 int result = sBufferedChars[sBufferReadIndex++]; local
295 return result;

Completed in 282 milliseconds

<<11121314151617181920>>