Searched refs:error (Results 1 - 25 of 1585) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/posix/glibc/include/bits/
H A Dsys_errlist.h21 # error "Never include <bits/sys_errlist.h> directly; use <stdio.h> instead."
H A Dwaitflags.h21 # error "Never include <bits/waitflags.h> directly; use <sys/wait.h> instead."
/haiku/src/system/libroot/posix/
H A Derrno.c34 _to_positive_error(int error) argument
36 if (error < 0)
37 return error == B_NO_MEMORY ? -B_POSIX_ENOMEM : -error;
38 return error;
43 _to_negative_error(int error) argument
45 return error > 0 ? -error : error;
/haiku/src/tools/fs_shell/
H A Derrno.cpp28 fssh_set_errno(int error) argument
30 errno = error;
34 fssh_to_host_error(int error) argument
37 return error;
39 return _haiku_to_host_error(error);
/haiku/src/kits/debugger/
H A DDebuggerGlobals.cpp17 status_t error = TypeHandlerRoster::CreateDefault(); local
18 if (error != B_OK)
19 return error;
21 error = ImageDebugLoadingStateHandlerRoster::CreateDefault();
22 if (error != B_OK)
23 return error;
25 error = TargetHostInterfaceRoster::CreateDefault(listener);
26 if (error != B_OK)
27 return error;
33 error
[all...]
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixDebug.h17 # define PRINT_ERROR(error) \
21 strerror(error)); \
24 # define REPORT_ERROR(error) PRINT_ERROR(error)
25 # define RETURN_ERROR(error) \
27 __typeof(error) error_RETURN_ERROR = (error); \
32 # define REPORT_ERROR(error) \
34 __typeof(error) error_REPORT_ERROR = (error); \
[all...]
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/bits/
H A Dendian.h4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
/haiku/src/system/libroot/posix/glibc/include/arch/x86/bits/
H A Dendian.h4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
/haiku/src/system/libroot/posix/glibc/include/arch/x86_64/bits/
H A Dendian.h4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
/haiku/src/system/libroot/posix/glibc/include/arch/riscv64/bits/
H A Dendian.h2 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
H A Dnan.h2 # error "Never use <bits/nan.h> directly; include <math.h> instead."
H A Dwordsize.h22 # error unsupported ABI
28 # error "rv32i-based targets are not supported"
/haiku/src/system/libroot/posix/glibc/include/arch/sparc/bits/
H A Dendian.h4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
H A Dnan.h2 # error "Never use <bits/nan.h> directly; include <math.h> instead."
/haiku/src/system/libroot/posix/glibc/include/arch/arm64/bits/
H A Dnan.h20 # error "Never use <bits/nan.h> directly; include <math.h> instead."
/haiku/src/libs/posix_error_mapper/
H A Dmisc.cpp25 // convert errno to positive error code
26 int* error = real_errnop(); local
27 if (*error < 0)
28 *error = B_TO_POSITIVE_ERROR(*error);
29 return error;
46 // convert errno to negative error code
47 int* error = real_errnop();
48 int oldError = *error;
49 if (*error >
[all...]
/haiku/src/kits/app/
H A DServer.cpp14 BServer::BServer(const char* signature, bool initGUI, status_t *error) argument
16 BApplication(signature, NULL, -1, initGUI, error),
19 fGUIContextInitialized = initGUI && (error == NULL || *error == B_OK);
24 bool initGUI, status_t *error)
26 BApplication(signature, looperName, port, initGUI, error),
29 fGUIContextInitialized = initGUI && (error == NULL || *error == B_OK);
39 status_t error = _InitGUIContext();
40 fGUIContextInitialized = (error
23 BServer(const char* signature, const char* looperName, port_id port, bool initGUI, status_t *error) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DPortConnection.cpp48 status_t error = AbstractConnection::Init(); local
49 if (error != B_OK)
50 return error;
52 error = AddDownStreamChannel(channel);
53 if (error != B_OK)
54 return error;
65 status_t error = AbstractConnection::Init(); local
66 if (error != B_OK)
67 return error;
80 error
153 status_t error = channel->Send(&reply, sizeof(ConnectReply)); local
[all...]
/haiku/src/tests/kits/app/bapplication/testapps/
H A DAppRunTestApp1.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;
18 CommonTestApp app("application/x-vnd.obos-app-run-testapp1", &error);
20 report("error: %lx\n", error);
22 if (error == B_OK)
/haiku/src/tests/kits/app/bmessenger/testapps/
H A DBMessengerTestApp1.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;
18 CommonTestApp app("application/x-vnd.obos-bmessenger-testapp1", &error);
20 report("error: %lx\n", error);
22 if (error == B_OK)
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_i2c.c144 int error=0; local
146 error+= i2c_set_lines(0,1);
147 error+= i2c_set_lines(1,1);
148 error+= i2c_set_lines(1,0);
149 error+= i2c_set_lines(0,0);
151 if (error)
153 LOG(8,("I2C: start - %d\n",error));
159 int error=0; local
161 error+= i2c_set_lines(0,0);
162 error
174 int error=0; local
188 int error=0; local
202 int error=0; local
220 int error=0; local
281 int error=0; local
297 int error=0; local
[all...]
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Di2c.c155 int error=0; local
157 error+= i2c_set_lines(0,1);
158 error+= i2c_set_lines(1,1);
159 error+= i2c_set_lines(1,0);
160 error+= i2c_set_lines(0,0);
162 if (error)
164 LOG(8,("I2C: start - %d\n",error));
170 int error=0; local
172 error+= i2c_set_lines(0,0);
173 error
185 int error=0; local
199 int error=0; local
213 int error=0; local
231 int error=0; local
292 int error=0; local
308 int error=0; local
[all...]
/haiku/src/add-ons/accelerants/via/engine/
H A Di2c.c155 int error=0; local
157 error+= i2c_set_lines(0,1);
158 error+= i2c_set_lines(1,1);
159 error+= i2c_set_lines(1,0);
160 error+= i2c_set_lines(0,0);
162 if (error)
164 LOG(8,("I2C: start - %d\n",error));
170 int error=0; local
172 error+= i2c_set_lines(0,0);
173 error
185 int error=0; local
199 int error=0; local
213 int error=0; local
231 int error=0; local
292 int error=0; local
308 int error=0; local
[all...]
/haiku/src/build/libbe/storage/
H A DNodeInfo.cpp127 - other error codes
133 status_t error = (type ? B_OK : B_BAD_VALUE); local
134 if (error == B_OK && InitCheck() != B_OK)
135 error = B_NO_INIT;
138 if (error == B_OK)
139 error = fNode->GetAttrInfo(kNITypeAttribute, &attrInfo);
140 if (error == B_OK && attrInfo.type != B_MIME_STRING_TYPE)
141 error = B_BAD_TYPE;
142 if (error == B_OK && attrInfo.size > B_MIME_TYPE_LENGTH)
143 error
179 status_t error = B_OK; local
222 status_t error = B_OK; local
318 status_t error = B_OK; local
400 status_t error = (signature && verb == B_OPEN ? B_OK : B_BAD_VALUE); local
449 status_t error = (verb == B_OPEN ? B_OK : B_BAD_VALUE); local
490 status_t error = (ref ? B_OK : B_BAD_VALUE); local
542 status_t error = B_OK; local
600 status_t error = B_OK; local
724 status_t error = (ref ? B_OK : B_BAD_VALUE); local
[all...]
/haiku/src/system/libroot/posix/unistd/
H A Dchroot.cpp17 status_t error = _kern_change_root(path); local
18 if (error != B_OK) {
19 __set_errno(error);

Completed in 212 milliseconds

1234567891011>>