Searched refs:result (Results 251 - 275 of 1393) sorted by relevance

<<11121314151617181920>>

/haiku/src/kits/interface/
H A DDeskbar.cpp42 status_t result; local
49 result = deskbar.SendMessage(&request, &reply);
50 if (result == B_OK)
51 result = reply.FindRect("result", frame);
53 return result;
249 status_t result = fMessenger->SendMessage(&request, &reply); local
250 if (result == B_OK) {
252 result = reply.FindString("name", &name);
253 if (result
274 status_t result = fMessenger->SendMessage(&request, &reply); local
356 status_t result = view->Archive(&archive); local
[all...]
/haiku/src/add-ons/translators/shared/
H A DTranslatorSettings.cpp190 status_t result; local
198 result = settingsFile.SetTo(fSettingsPath.Path(), B_READ_ONLY);
199 if (result == B_OK) {
201 result = msg.Unflatten(&settingsFile);
202 if (result == B_OK)
203 result = LoadSettings(&msg);
206 result = B_OK;
210 return result;
296 status_t result; local
304 result
336 status_t result = B_BAD_VALUE; local
[all...]
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp175 uint8 result = 0; local
181 device->interface, 1, &result, &actualLength) != B_OK
186 if (result > MAX_LOGICAL_UNIT_NUMBER) {
191 return result;
233 status_t result; local
235 result = gUSBModule->queue_bulk_v_physical(
239 result = gUSBModule->queue_bulk_v(
243 if (result != B_OK) {
244 TRACE_ALWAYS("failed to queue data transfer: %s\n", strerror(result));
245 return result;
336 status_t result = usb_disk_transfer_data(device, true, status, local
366 status_t result = gUSBModule->send_request(device->device, local
454 status_t result = usb_disk_transfer_data(device, false, &command, local
623 status_t result = usb_disk_operation(lun, commandBlock, 6, NULL, NULL, false); local
652 status_t result = B_ERROR; local
721 status_t result = usb_disk_operation(lun, commandBlock, 6, local
789 status_t result = B_ERROR; local
850 status_t result = B_ERROR; local
901 status_t result = B_ERROR; local
994 status_t result = usb_disk_operation(lun, commandBlock, 10, local
1126 status_t result = device->notify; local
1134 status_t result = device->interruptLock; local
1146 status_t result = B_OK; local
1291 status_t result = B_OK; local
1310 status_t result = usb_disk_operation(lun, commandBlock, 10, local
1328 status_t result = usb_disk_operation(lun, commandBlock, 16, local
1354 status_t result; local
1377 status_t result = usb_disk_operation(lun, commandBlock, 10, local
1397 status_t result = usb_disk_operation(lun, commandBlock, 16, local
1548 status_t result = acquire_io_lock(lun->device, locker, ioLocker); local
1577 status_t result = handle_media_change(lun, locker); local
1588 status_t result = acquire_io_lock(lun->device, locker, ioLocker); local
1619 status_t result = handle_media_change(lun, locker); local
1643 status_t result = acquire_io_lock(lun->device, locker, ioLocker); local
1652 status_t result = acquire_io_lock(lun->device, locker, ioLocker); local
1669 status_t result = acquire_io_lock(lun->device, locker, ioLocker); local
1789 status_t result = user_strlcpy((char *)buffer, name, length); local
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DConnection.cpp253 status_t result = getaddrinfo(name, NULL, NULL, &fHead); local
256 return result;
385 status_t result; local
400 result = send(fSocket, buf + sent, size + sizeof(uint32) - sent, 0);
401 sent += result;
402 } while (result > 0 && sent < size + sizeof(uint32));
404 if (result < 0) {
405 result = errno;
406 return result;
407 } else if (result
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/
H A DRNDISDevice.cpp215 TRACE("Initialization result: %s\n", strerror(status));
263 status_t result = gUSBModule->queue_bulk(fReadEndpoint, fReadBuffer, sizeof(fReadBuffer), local
265 if (result != B_OK) {
267 return result;
270 result = acquire_sem_etc(fNotifyReadSem, 1, B_CAN_INTERRUPT, 0);
271 if (result < B_OK) {
273 return result;
278 result = gUSBModule->clear_feature(fReadEndpoint,
280 if (result != B_OK) {
283 return result;
383 status_t result = mutex.fStatus; local
516 status_t result = _SetupDevice(); local
567 status_t result = _SendCommand(request, sizeof(request)); local
729 status_t result = _SendCommand(request, sizeof(request)); local
745 status_t result = _GetOID(OID_802_3_PERMANENT_ADDRESS, buffer, 6); local
758 status_t result = _GetOID(OID_GEN_MAXIMUM_FRAME_SIZE, &fMaxSegmentSize, local
771 status_t result = _GetOID(OID_GEN_MEDIA_CONNECT_STATUS, &fMediaConnectState, local
784 status_t result = _GetOID(OID_GEN_LINK_SPEED, &fDownstreamSpeed, local
809 status_t result = _SendCommand(request, sizeof(request)); local
[all...]
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DSilicon.cpp72 status_t result = WriteConfig(SET_BAUDRATE_DIVIDER, &divider, 2); local
74 if (result != B_OK) return result;
119 status_t result; local
123 result = gUSBModule->send_request(Device(),
127 result = gUSBModule->send_request(Device(),
132 if (result != B_OK) {
134 result, strerror(result));
137 return result;
[all...]
/haiku/src/tests/system/libroot/os/
H A DParseDateTest.cpp23 parsedate_flags_to_string(time_t result, int flags) argument
25 if (result == -1) {
49 time_t result; member in struct:test
118 time_t result = parsedate_etc(kDates[i].date, now, &flags); local
120 time_t expectedResult = kDates[i].result;
128 if (flags != kDates[i].flags || result != expectedResult)
138 printf("\"%s\" = %ld (%s) -> %s", kDates[i].date, result,
139 parsedate_flags_to_string(result, flags), result == -1
140 ? "-\n" : ctime(&result));
[all...]
/haiku/src/tests/kits/app/bmessenger/
H A DSMInvoker.cpp50 status_t result = target.SendMessage(MSG_TEST, replyTo); local
51 return result;
74 status_t result = target.SendMessage(message, replyTo, fTimeout); local
75 return result;
99 status_t result = target.SendMessage(message, replyTo, fTimeout); local
100 return result;
120 status_t result = target.SendMessage(MSG_TEST, fReplyMessage); local
121 return result;
147 status_t result = target.SendMessage(message, fReplyMessage, local
149 return result;
[all...]
/haiku/src/tests/kits/locale/
H A DUnicodeCharTest.cpp147 UnicodeCharTest::_TestChar(uint32 i, Result result) argument
152 CPPUNIT_ASSERT_EQUAL(BString(result.value), text);
153 CPPUNIT_ASSERT_EQUAL(result.isAlpha, BUnicodeChar::IsAlpha(i));
154 CPPUNIT_ASSERT_EQUAL(result.isAlNum, BUnicodeChar::IsAlNum(i));
155 CPPUNIT_ASSERT_EQUAL(result.isLower, BUnicodeChar::IsLower(i));
156 CPPUNIT_ASSERT_EQUAL(result.isUpper, BUnicodeChar::IsUpper(i));
157 CPPUNIT_ASSERT_EQUAL(result.isDefined, BUnicodeChar::IsDefined(i));
158 CPPUNIT_ASSERT_EQUAL(result.type, BUnicodeChar::Type(i));
159 CPPUNIT_ASSERT_EQUAL(result.toUpper, BUnicodeChar::ToUpper(i));
160 CPPUNIT_ASSERT_EQUAL(result
[all...]
/haiku/src/system/libroot/add-ons/icu/
H A DICUCategoryData.cpp84 status_t result = _GetConverter(converter); local
85 if (result != B_OK)
86 return result;
94 result = B_NAME_TOO_LONG;
99 result = B_BAD_DATA;
102 result = B_ERROR;
108 return result;
117 status_t result = ICUThreadLocalStorageValue::GetInstanceForKey( local
119 if (result != B_OK)
120 return result;
[all...]
H A DICUCtypeData.cpp64 status_t result = inherited::SetTo(locale, posixLocaleName); local
65 if (result != B_OK)
66 return result;
71 result = _GetConverter(converter);
72 if (result != B_OK)
73 return result;
147 status_t result = inherited::SetToPosix(); local
149 if (result == B_OK) {
157 return result;
199 ICUCtypeData::ToWCTrans(wint_t wc, wctrans_t transition, wint_t& result) argument
219 status_t result = _GetConverterForMbState(mbState, converter); local
296 status_t result = _GetConverterForMbState(mbState, converter); local
366 status_t result = _GetConverterForMbState(mbState, converter); local
427 status_t result = _GetConverterForMbState(mbState, converter); local
542 status_t result = _GetConverter(icuConverter); local
[all...]
/haiku/src/add-ons/kernel/busses/random/virtio/
H A DVirtioRNGDevice.cpp115 status_t result = fVirtio->queue_request(fVirtioQueue, NULL, &entry, NULL); local
116 if (result != B_OK) {
117 ERROR("queueing failed (%s)\n", strerror(result));
118 return result;
121 result = fInterruptConditionEntry.Wait(B_CAN_INTERRUPT);
128 if (result == B_OK) {
133 } else if (result != B_OK && result != B_INTERRUPTED) {
134 ERROR("request failed (%s)\n", strerror(result));
137 return result;
[all...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfile.cpp31 mode_t result = S_IFREG | S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IWGRP | S_IWOTH; local
33 result &= ~S_IFREG;
34 result |= S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH;
37 result &= ~(S_IWUSR | S_IWGRP | S_IWOTH);
39 return result;
50 status_t result = B_OK; local
55 result = write_vnode_entry(vol, node);
57 return result;
72 status_t result = get_vnode(_vol, node->dir_vnid, (void**)&parent_node); local
73 if (result !
306 status_t result = EINVAL; local
366 int result = B_OK; local
401 int result = B_OK; local
519 status_t result = EINVAL; local
649 status_t result = EINVAL; local
809 status_t result = EINVAL; local
1049 status_t result = _update_parent_last_modified(_vol, _node); local
1089 status_t result = EINVAL; local
1306 status_t result; local
[all...]
/haiku/src/apps/haikudepot/process/
H A DProcessCoordinator.cpp119 status_t result = B_OK; local
120 if (result == B_OK) {
121 result = into->AddString(KEY_PROCESS_COORDINATOR_IDENTIFIER,
124 if (result == B_OK)
125 result = into->AddFloat(KEY_PROGRESS, fProgress);
126 if (result == B_OK)
127 result = into->AddString(KEY_MESSAGE, fMessage);
128 if (result == B_OK)
129 result = into->AddBool(KEY_IS_RUNNING, fIsRunning);
130 if (result
238 status_t result = fNodes.ItemAt(i)->Process()->ErrorStatus(); local
252 float result = 0.0f; local
333 BString result; local
467 BString result; local
[all...]
/haiku/src/add-ons/screen_savers/butterfly/
H A DButterfly.cpp128 rgb_color result = {0, 0, 0, 255}; local
130 result.red = 255;
131 result.green = x;
133 result.red = x;
134 result.green = 255;
136 result.green = 255;
137 result.blue = x;
139 result.green = x;
140 result.blue = 255;
142 result
[all...]
/haiku/src/system/libroot/posix/glibc/libio/
H A Diogetdelim.c43 int result; local
57 result = -1;
67 result = -1;
77 result = -1;
101 result = -1;
115 result = cur_len;
120 return result;
/haiku/src/tests/kits/storage/
H A DTestApp.cpp84 int32 result; local
85 wait_for_thread(fAppThread, &result);
110 bool result = false; local
112 result = fHandlers.RemoveItem(handler);
113 if (result)
116 if (result)
118 return result;
/haiku/src/system/libroot/posix/glibc/iconv/
H A Dgconv_simple.c58 represent the result. This is a genuine bug in the input since \
124 size_t result \
126 if (result == (size_t)-1) { \
129 } else if (result == (size_t)-2) { \
131 } else if (result == 0) { \
137 inptr += result; \
167 size_t result = __wcrtomb((char*)outptr, *(wchar_t*)inptr, state); \
168 if (result == (size_t)-1) { \
171 } else if (result == 0) { \
177 outptr += result; \
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dtst-fgetws.c20 int result = 0; local
79 result = 1;
86 result = 1;
110 result = 1;
122 result = 1;
128 result = 1;
131 result = 1;
147 result = 1;
161 return result;
H A Dtst-ungetwc2.c20 int result = 0; local
52 result = 1;
63 result = 1;
70 result = 1;
76 return result;
H A Dtst-wcrtomb.c32 int result = 0; local
38 result |= check_ascii(setlocale(LC_ALL, NULL));
41 result |= check_ascii(setlocale(LC_ALL, NULL));
44 result |= check_ascii(setlocale(LC_ALL, NULL));
46 return result;
/haiku/src/kits/package/
H A DChecksumAccessors.cpp51 status_t result = checksumFile.InitCheck(); local
52 if (result != B_OK)
53 return result;
93 status_t result = file.InitCheck(); local
94 if (result != B_OK) {
95 if (result == B_ENTRY_NOT_FOUND && fSkipMissingFile)
97 return result;
101 if ((result = file.GetSize(&fileSize)) != B_OK)
102 return result;
/haiku/src/kits/debugger/jobs/
H A DExpressionEvaluationJob.cpp78 status_t result = B_OK; local
82 result = B_NO_MEMORY;
84 result = fManager->SetStackFrame(fThread, fFrame);
87 if (result != B_OK) {
88 fExpressionInfo->NotifyExpressionEvaluated(result, NULL);
89 return result;
93 result = fLanguage->EvaluateExpression(fExpressionInfo->Expression(),
96 result = ResolveNodeValue(neededNode);
99 // if result != B_OK, fall through
102 fExpressionInfo->NotifyExpressionEvaluated(result, fResultValu
[all...]
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DHub.cpp111 status_t result = Device::Changed(changeList, added); local
112 if (added || result < B_OK)
113 return result;
132 status_t result = DefaultPipe()->SendRequest(USB_REQTYPE_CLASS | USB_REQTYPE_OTHER_IN, local
136 if (result < B_OK || actualLength < sizeof(usb_port_status)) {
148 status_t result = DefaultPipe()->SendRequest(USB_REQTYPE_CLASS | USB_REQTYPE_OTHER_OUT, local
151 if (result < B_OK)
152 return result;
157 result = UpdatePortStatus(index);
158 if (result < B_O
202 status_t result = UpdatePortStatus(i); local
407 status_t result = B_UNSUPPORTED; local
441 status_t result = Device::BuildDeviceName(string, index, bufferSize, device); local
487 status_t result = UpdatePortStatus(index); local
[all...]
/haiku/src/bin/package/
H A Dcommand_create.cpp150 status_t result = packageWriter.Init(packageFileName, &writerParameters); local
151 if (result != B_OK)
180 result = packageWriter.SetInstallPath(installPath);
181 if (result != B_OK) {
183 "%s\n", strerror(result));
197 result = packageWriter.AddEntry(
199 if (result != B_OK)
203 result = packageWriter.Finish();
204 if (result != B_OK)

Completed in 147 milliseconds

<<11121314151617181920>>