Searched refs:error (Results 26 - 50 of 1504) sorted by relevance

1234567891011>>

/haiku/headers/build/os/
H A DBeBuild.h2 # error "Using build headers without compatibility headers, something is wrong!"
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A Dkernel_emu.cpp35 status_t error = (path ? B_OK : B_BAD_VALUE); local
36 if (error == B_OK) {
51 return error;
77 status_t error local
79 if (error != B_OK)
80 return error;
82 error = B_NAME_TOO_LONG;
137 status_t error = get_port_and_fs(&port, &fileSystem); local
138 if (error != B_OK)
139 return error;
183 status_t error = get_port_and_fs(&port, &fileSystem); local
221 status_t error = get_port_and_fs(&port, &fileSystem); local
267 status_t error = get_port_and_fs(&port, &fileSystem); local
303 status_t error = get_port_and_fs(&port, &fileSystem); local
338 status_t error = get_port_and_fs(&port, &fileSystem); local
374 status_t error = get_port_and_fs(&port, &fileSystem); local
412 status_t error = get_port_and_fs(&port, &fileSystem); local
457 status_t error = volume->GetVNodeType(data, &type); local
474 status_t error = get_port_and_fs(&port, &fileSystem); local
509 status_t error = get_port_and_fs(&port, &fileSystem); local
545 status_t error = get_port_and_fs(&port, &fileSystem); local
584 status_t error = get_port_and_fs(&port, &fileSystem); local
619 status_t error = get_port_and_fs(&port, &fileSystem); local
654 status_t error = get_port_and_fs(&port, &fileSystem); local
690 status_t error = get_port_and_fs(&port, &fileSystem); local
725 status_t error = get_port_and_fs(&port, &fileSystem); local
760 status_t error = get_port_and_fs(&port, &fileSystem); local
813 status_t error = get_port_and_fs(&port, &fileSystem); local
861 status_t error = get_port_and_fs(&port, &fileSystem); local
904 status_t error = get_port_and_fs(&port, &fileSystem); local
950 status_t error = get_port_and_fs(&port, &fileSystem); local
988 status_t error = get_port_and_fs(&port, &fileSystem); local
1026 status_t error = get_port_and_fs(&port, &fileSystem); local
1062 status_t error = get_port_and_fs(&port, &fileSystem); local
[all...]
/haiku/src/kits/storage/disk_device/
H A DDiskDeviceJobGenerator.cpp141 status_t error = _GenerateCleanupJobs(fDevice);
142 if (error != B_OK) {
145 return error;
150 error = _GeneratePlacementJobs(fDevice);
151 if (error != B_OK) {
154 return error;
160 error = _GenerateRemainingJobs(NULL, fDevice);
161 if (error != B_OK) {
164 return error;
180 status_t error
198 status_t error = _GenerateUninitializeJob(partition); local
204 status_t error = _GenerateCleanupJobs(child); local
211 status_t error = _GenerateDeleteChildJob(parent, partition); local
234 status_t error = _GenerateResizeJob(partition); local
240 status_t error = _GenerateChildPlacementJobs(partition); local
246 status_t error = _GenerateResizeJob(partition); local
291 status_t error = _GeneratePlacementJobs(child); local
318 status_t error = _GenerateMoveJob(info.partition); local
337 status_t error = _GenerateMoveJob(info.partition); local
358 status_t error = _GeneratePlacementJobs(child); local
429 status_t error = _GenerateInitializeJob(partition); local
439 status_t error = _GenerateSetContentNameJob(partition); local
449 status_t error = _GenerateSetContentParametersJob(partition); local
456 status_t error = _GenerateDefragmentJob(partition); local
465 status_t error = _GenerateRepairJob(partition, repair); local
474 status_t error = _GenerateRemainingJobs(partition, child); local
500 status_t error = _GetPartitionReference(partition, reference); local
524 status_t error = _GetPartitionReference(partition, reference); local
545 status_t error = _GetPartitionReference(partition, reference); local
569 status_t error = _GetPartitionReference(partition, reference); local
593 status_t error = _GetPartitionReference(partition, reference); local
606 status_t error = _GetPartitionReference(partition, reference); local
620 status_t error = _GetPartitionReference(parent, parentReference); local
651 status_t error = _GetPartitionReference(parent, parentReference); local
673 status_t error = _GetPartitionReference(parent, parentReference); local
696 status_t error = _GetPartitionReference(parent, parentReference); local
733 status_t error = _GetPartitionReference(parent, parentReference); local
762 status_t error = _GetPartitionReference(parent, parentReference); local
791 status_t error = _GetPartitionReference(parent, parentReference); local
826 status_t error = _PushContentsToMove(partition); local
833 status_t error = _CollectContentsToMove(child); local
849 status_t error = _GetPartitionReference(partition, reference); local
[all...]
H A DDiskDevice.cpp118 - other error codes
161 e.g. if it is hot-pluggable. Then an error is returned and the object is
167 \return \c B_OK, if the update went fine, another error code otherwise.
177 status_t error = _GetData(ID(), true, 0, &data); local
180 if (error == B_OK)
181 error = _Update(data, updated);
183 // cleanup on error
184 if (error != B_OK && data)
187 return error;
257 status_t error local
309 status_t error = InitCheck(); local
342 status_t error = InitCheck(); local
423 status_t error = B_OK; local
458 status_t error = _GetData(id, deviceOnly, neededSize, &data); local
483 status_t error = BPartition::_SetTo(this, NULL, local
511 status_t error = _RemoveObsoleteDescendants(&data->device_partition_data, local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DAuthenticationServer.cpp45 status_t error = request.AddInt32("uid", uid); local
46 if (error != B_OK)
47 return error;
48 error = request.AddString("context", context);
49 if (error != B_OK)
50 return error;
51 error = request.AddString("server", server);
52 if (error != B_OK)
53 return error;
54 error
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DAttributeIterator.cpp30 status_t error = (node ? B_OK : B_BAD_VALUE); local
31 if (error == B_OK) {
38 return error;
58 status_t error = (fNode ? B_OK : B_ERROR); local
59 if (error == B_OK) {
67 error = B_ERROR;
69 error = B_ERROR;
71 return error;
78 status_t error = (fNode ? B_OK : B_ERROR); local
79 if (error
97 status_t error = B_ENTRY_NOT_FOUND; local
115 status_t error = (fNode ? B_OK : B_ERROR); local
[all...]
H A DEntryIterator.cpp32 status_t error = (directory ? B_OK : B_BAD_VALUE); local
33 if (error == B_OK) {
40 return error;
60 status_t error = (fDirectory ? B_OK : B_ERROR); local
61 if (error == B_OK) {
69 error = B_ERROR;
71 error = B_ERROR;
73 return error;
80 status_t error = (fDirectory ? B_OK : B_ERROR); local
81 if (error
99 status_t error = B_ENTRY_NOT_FOUND; local
117 status_t error = (fDirectory ? B_OK : B_ERROR); local
[all...]
H A DDirectory.cpp78 status_t error = (name && directory ? B_OK : B_BAD_VALUE); local
79 if (error == B_OK) {
82 error = _CreateCommon(node, name);
84 if (error == B_OK)
87 SET_ERROR(error, B_NO_MEMORY);
89 return error;
96 status_t error = (name && file ? B_OK : B_BAD_VALUE); local
97 if (error == B_OK) {
100 error = _CreateCommon(node, name);
102 if (error
114 status_t error = (name && symLink ? B_OK : B_BAD_VALUE); local
136 status_t error = (entry && !entry->GetParent() ? B_OK : B_BAD_VALUE); local
155 status_t error = (node ? B_OK : B_BAD_VALUE); local
189 status_t error = (entry && entry->GetParent() == this ? B_OK local
231 status_t error = RemoveEntry(entry); local
249 status_t error = (name && _entry ? B_OK : B_BAD_VALUE); local
270 status_t error = (name && node ? B_OK : B_BAD_VALUE); local
281 status_t error = (name && node ? B_OK : B_BAD_VALUE); local
296 status_t error = (entry ? B_OK : B_BAD_VALUE); local
314 status_t error = (entry ? B_OK : B_BAD_VALUE); local
343 status_t error = node->InitCheck(); local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DFDManager.cpp60 status_t error = manager->Init();
61 if (error != B_OK) {
63 return error;
91 status_t error = directory->SetTo(ref); local
93 if (error == B_NO_MORE_FDS) {
95 error = directory->SetTo(ref);
98 return error;
105 status_t error = entry->SetTo(ref); local
107 if (error == B_NO_MORE_FDS) {
109 error
119 status_t error = entry->SetTo(path); local
133 status_t error = file->SetTo(path, openMode); local
147 status_t error = node->SetTo(ref); local
161 status_t error = B_OK; local
182 status_t error = B_OK; local
203 status_t error = B_OK; local
[all...]
/haiku/src/build/libbe/storage/
H A DStatable.cpp81 status_t error = (ref ? B_OK : B_BAD_VALUE); local
83 if (error == B_OK)
84 error = GetStat(&statData);
85 if (error == B_OK) {
89 return error;
99 status_t error = (owner ? B_OK : B_BAD_VALUE); local
101 if (error == B_OK)
102 error = GetStat(&statData);
103 if (error == B_OK)
105 return error;
127 status_t error = (group ? B_OK : B_BAD_VALUE); local
155 status_t error = (perms ? B_OK : B_BAD_VALUE); local
185 status_t error = (size ? B_OK : B_BAD_VALUE); local
201 status_t error = (mtime ? B_OK : B_BAD_VALUE); local
230 status_t error = (atime ? B_OK : B_BAD_VALUE); local
260 status_t error = (vol ? B_OK : B_BAD_VALUE); local
[all...]
H A DAppFileInfo.cpp110 status_t error local
116 if (error == B_OK) {
119 error = fResources->SetTo(file);
120 if (error != B_OK) {
121 // no resources - this is no critical error, we'll just use
124 error = B_OK;
127 error = B_NO_MEMORY;
131 if (error == B_OK)
132 error = BNodeInfo::SetTo(file);
134 if (error !
159 status_t error = type != NULL ? B_OK : B_BAD_VALUE; local
183 status_t error = B_OK; local
208 status_t error = (signature ? B_OK : B_BAD_VALUE); local
232 status_t error = B_OK; local
263 status_t error = _ReadData(kCatalogEntryAttribute, kCatalogEntryResourceID, local
300 status_t error = flags != NULL ? B_OK : B_BAD_VALUE; local
320 status_t error = B_OK; local
336 status_t error = B_OK; local
351 status_t error = types != NULL ? B_OK : B_BAD_VALUE; local
375 status_t error = B_OK; local
452 status_t error = type != NULL ? B_OK : B_BAD_VALUE; local
479 status_t error local
566 status_t error = _ReadData(kVersionInfoAttribute, kVersionInfoResourceID, local
592 status_t error = B_OK; local
674 status_t error = _ReadData(attribute, -1, B_VECTOR_ICON_TYPE, NULL, 0, local
793 status_t error = B_OK; local
909 status_t error; local
983 status_t error = GetSignature(signature); local
999 status_t error = B_OK; local
[all...]
/haiku/src/tests/kits/app/bapplication/testapps/
H A DAppQuitTestApp1.cpp12 // R5: doesn't set the error variable in case of success
14 status_t error = B_OK; local
16 status_t error = B_ERROR;
19 "application/x-vnd.obos-app-quit-testapp1", &error);
21 report("error: %lx\n", error);
H A DAppQuitRequestedTestApp1.cpp12 // R5: doesn't set the error variable in case of success
14 status_t error = B_OK; local
16 status_t error = B_ERROR;
19 "application/x-vnd.obos-app-quit-testapp1", &error);
21 report("error: %lx\n", error);
24 if (error == B_OK) {
H A DAppQuitTestApp4.cpp22 // R5: doesn't set the error variable in case of success
24 status_t error = B_OK; local
26 status_t error = B_ERROR;
29 "application/x-vnd.obos-app-quit-testapp1", &error);
31 report("error: %lx\n", error);
34 if (error == B_OK) {
/haiku/src/tests/system/network/
H A Dufunc.h6 void err(int error, char *msg);
/haiku/src/kits/package/
H A DDaemonClient.cpp44 status_t error = _InitMessenger(); local
45 if (error != B_OK)
46 return error;
49 error = request.AddInt32("location", location);
50 if (error != B_OK)
51 return error;
57 error = request.AddInt32("volume", st.st_dev);
58 if (error != B_OK)
59 return error;
60 error
154 status_t error = GetInstallationLocationInfo(location, info); local
231 status_t error = message.FindMessage(field, i, &archive); local
[all...]
/haiku/src/kits/storage/
H A DOffsetFile.cpp76 status_t error = InitCheck(); local
78 if (error == B_OK)
80 return (error == B_OK ? result : error);
87 status_t error = InitCheck(); local
89 if (error == B_OK)
91 return (error == B_OK ? result : error);
99 status_t error = InitCheck(); local
100 if (error
138 status_t error = (size >= 0 ? B_OK : B_BAD_VALUE ); local
150 status_t error = (size ? B_OK : B_BAD_VALUE ); local
[all...]
H A DVolumeRoster.cpp51 status_t error = (volume ? B_OK : B_BAD_VALUE); local
54 if (error == B_OK) {
57 error = device;
60 if (error == B_OK)
61 error = volume->SetTo(device);
62 return error;
79 status_t error = (volume ? B_OK : B_BAD_VALUE); local
82 if (error == B_OK) {
85 error = device;
88 if (error
99 status_t error = (messenger.IsValid() ? B_OK : B_ERROR); local
[all...]
H A DQuery.cpp62 status_t error = B_OK; local
64 error = _kern_close(fQueryFd);
77 return error;
93 status_t error = B_OK; local
106 error = _PushNode(new(nothrow) BinaryOpNode(op), true);
109 error = _PushNode(new(nothrow) UnaryOpNode(op), true);
112 error = _PushNode(new(nothrow) SpecialOpNode(op), true);
115 return error;
208 status_t error = (expression ? B_OK : B_BAD_VALUE); local
209 if (error
221 status_t error = (messenger.IsValid() ? B_OK : B_BAD_VALUE); local
247 status_t error = (buffer ? B_OK : B_BAD_VALUE); local
265 status_t error = (predicate ? B_OK : B_BAD_VALUE); local
280 status_t error = _EvaluateStack(); local
332 status_t error = (entry ? B_OK : B_BAD_VALUE); local
347 status_t error = (ref ? B_OK : B_BAD_VALUE); local
438 status_t error = (node ? B_OK : B_NO_MEMORY); local
468 status_t error = B_OK; local
498 status_t error = B_OK; local
[all...]
H A DAppFileInfo.cpp110 status_t error local
116 if (error == B_OK) {
119 error = fResources->SetTo(file);
120 if (error != B_OK) {
121 // no resources - this is no critical error, we'll just use
124 error = B_OK;
127 error = B_NO_MEMORY;
131 if (error == B_OK)
132 error = BNodeInfo::SetTo(file);
134 if (error !
159 status_t error = type != NULL ? B_OK : B_BAD_VALUE; local
183 status_t error = B_OK; local
208 status_t error = (signature ? B_OK : B_BAD_VALUE); local
232 status_t error = B_OK; local
263 status_t error = _ReadData(kCatalogEntryAttribute, kCatalogEntryResourceID, local
300 status_t error = flags != NULL ? B_OK : B_BAD_VALUE; local
320 status_t error = B_OK; local
336 status_t error = B_OK; local
351 status_t error = types != NULL ? B_OK : B_BAD_VALUE; local
375 status_t error = B_OK; local
450 status_t error = type != NULL ? B_OK : B_BAD_VALUE; local
477 status_t error local
564 status_t error = _ReadData(kVersionInfoAttribute, kVersionInfoResourceID, local
590 status_t error = B_OK; local
672 status_t error = _ReadData(attribute, -1, B_VECTOR_ICON_TYPE, NULL, 0, local
791 status_t error = B_OK; local
905 status_t error; local
994 status_t error = GetSignature(signature); local
1035 status_t error = B_OK; local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DInsecureConnection.cpp78 status_t error = AbstractConnection::Init(); local
79 if (error != B_OK) {
81 return error;
90 error = AddDownStreamChannel(channel);
91 if (error != B_OK) {
93 return error;
105 status_t error = AbstractConnection::Init();
106 if (error != B_OK)
107 return error;
127 error
194 status_t error = channel->Receive(&request, sizeof(ConnectRequest)); local
332 status_t error = errno; local
348 _SendErrorReply(Channel* channel, status_t error) argument
[all...]
/haiku/src/system/libroot/posix/signal/
H A Dsigwait.cpp24 int error = __sigwait(&set, _signal); local
25 if (error != 0)
26 return error;
40 status_t error = _kern_sigwait(set, &info, 0, 0); local
44 if (error != B_OK)
45 return error;
/haiku/src/kits/debugger/settings/
H A DTeamSettings.cpp70 status_t error = breakpointSetting->SetTo(breakpoint->Location(),
73 if (error == B_OK && !fBreakpoints.AddItem(breakpointSetting))
74 error = B_NO_MEMORY;
75 if (error != B_OK) {
77 return error;
91 status_t error = fSignalSettings->AddCustomSignalDisposition( local
93 if (error != B_OK)
94 return error;
107 status_t error = archive.FindString("teamName", &fTeamName); local
108 if (error !
161 status_t error = archive.AddString("teamName", fTeamName); local
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DTree.cpp66 status_t error = (volume && volume->GetBlockCache() && rootNode local
68 if (error == B_OK) {
80 return error;
125 status_t error = (block ? InitCheck() : B_BAD_VALUE); local
126 if (error == B_OK)
127 error = fBlockCache->GetBlock(blockNumber, block);
128 return error;
135 status_t error = (node ? InitCheck() : B_BAD_VALUE); local
136 if (error == B_OK) {
138 error
169 status_t error = (name && foundItem && entryIndex ? InitCheck() local
183 status_t error = (name && foundItem && entryIndex ? InitCheck() local
238 status_t error = (item ? InitCheck() : B_BAD_VALUE); local
[all...]
/haiku/src/tests/servers/registrar/
H A Dmessage_deliverer_test.cpp99 status_t error = be_roster->Broadcast(&message); local
100 if (error != B_OK) {
101 printf("Broadcast failed: %s\n", strerror(error));
110 status_t error; local
113 error = be_app_messenger.SendMessage(&message, (BHandler*)NULL, 0LL);
114 } while (error == B_OK);
116 if (error != B_WOULD_BLOCK) {
118 strerror(error));
124 error = clipboard.StartWatching(be_app_messenger);
125 if (error !
[all...]

Completed in 307 milliseconds

1234567891011>>