/haiku-fatelf/src/system/libroot/posix/glibc/include/bits/ |
H A D | sys_errlist.h | 21 # error "Never include <bits/sys_errlist.h> directly; use <stdio.h> instead."
|
H A D | waitflags.h | 21 # error "Never include <bits/waitflags.h> directly; use <sys/wait.h> instead."
|
/haiku-fatelf/src/system/libroot/posix/ |
H A D | errno.c | 34 _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-fatelf/src/tools/fs_shell/ |
H A D | errno.cpp | 28 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-fatelf/src/kits/app/ |
H A D | Server.cpp | 12 BServer::BServer(const char* signature, bool initGUI, status_t *error) argument 13 : BApplication(signature, initGUI, error), 16 fGUIContextInitialized = (initGUI && (!error || *error == B_OK)); 26 status_t error = _InitGUIContext(); 27 fGUIContextInitialized = (error == B_OK); 28 return error;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/pthread_h/ |
H A D | 2-1.c | 14 #error PTHREAD_CANCEL_ASYNCHRONOUS not defined 18 #error PTHREAD_CANCEL_ENABLE not defined 22 #error PTHREAD_CANCEL_DEFERRED not defined 26 #error PTHREAD_CANCEL_DISABLE not defined 30 #error PTHREAD_CANCELED not defined 34 #error PTHREAD_COND_INTIALIZER not defined 38 #error PTHREAD_CREATE_DETACHED not defined 42 #error PTHREAD_CREATE_JOINABLE not defined 46 #error PTHREAD_EXPLICIT_SCHED not defined 50 #error PTHREAD_INHERIT_SCHE [all...] |
H A D | 2-2.c | 16 #error PTHREAD_BARRIER_SERIAL_THREAD not defined 21 #error PTHREAD_MUTEX_DEFAULT not defined 26 #error PTHREAD_MUTEX_ERRORCHECK not defined 31 #error PTHREAD_MUTEX_NORMAL not defined 36 #error PTHREAD_MUTEX_RECURSIVE not defined 41 #error PTHREAD_PRIO_INHERIT not defined 46 #error PTHREAD_PRIO_NONE not defined 51 #error PTHREAD_PRIO_PROTECT not defined 56 #error PTHREAD_SCOPE_PROCESS not defined 61 #error PTHREAD_SCOPE_SYSTE [all...] |
/haiku-fatelf/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixDebug.h | 17 # 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-fatelf/src/system/libroot/posix/glibc/include/arch/m68k/bits/ |
H A D | endian.h | 4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
/haiku-fatelf/src/system/libroot/posix/glibc/include/arch/x86/bits/ |
H A D | endian.h | 4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
/haiku-fatelf/src/system/libroot/posix/glibc/include/arch/x86_64/bits/ |
H A D | endian.h | 4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
/haiku-fatelf/src/libs/posix_error_mapper/ |
H A D | misc.cpp | 25 // 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-fatelf/src/add-ons/translators/exr/openexr/ilmthread/ |
H A D | IlmThreadMutexPosix.cpp | 55 if (int error = ::pthread_mutex_init (&_mutex, 0)) 56 Iex::throwErrnoExc ("Cannot initialize mutex (%T).", error); 62 int error = ::pthread_mutex_destroy (&_mutex); local 63 assert (error == 0); 70 if (int error = ::pthread_mutex_lock (&_mutex)) 71 Iex::throwErrnoExc ("Cannot lock mutex (%T).", error); 78 if (int error = ::pthread_mutex_unlock (&_mutex)) 79 Iex::throwErrnoExc ("Cannot unlock mutex (%T).", error);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/sys/shm_h/ |
H A D | 12-1.c | 23 #error IPC_CREAT not defined 27 #error IPC_EXCL not defined 31 #error IPC_NOWAIT not defined 35 #error IPC_PRIVATE not defined 39 #error IPC_RMID not defined 43 #error IPC_SET not defined 47 #error IPC_STAT not defined
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | PortConnection.cpp | 48 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-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/ |
H A D | PortConnection.cpp | 48 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 152 status_t error = channel->Send(&reply, sizeof(ConnectReply)); local [all...] |
/haiku-fatelf/src/tests/kits/app/bapplication/testapps/ |
H A D | AppRunTestApp1.cpp | 12 // 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)
|
H A D | BApplicationTestApp1b.cpp | 10 status_t error = B_OK; local 11 BApplication app((const char*)NULL, &error); 12 printf("error: %lx\n", error);
|
/haiku-fatelf/src/tests/kits/app/bmessenger/testapps/ |
H A D | BMessengerTestApp1.cpp | 12 // 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-fatelf/src/build/libbe/storage/ |
H A D | NodeInfo.cpp | 127 - 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-fatelf/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_i2c.c | 144 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-fatelf/src/add-ons/accelerants/skeleton/engine/ |
H A D | i2c.c | 155 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-fatelf/src/add-ons/accelerants/via/engine/ |
H A D | i2c.c | 155 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-fatelf/src/system/libroot/posix/unistd/ |
H A D | chroot.cpp | 17 status_t error = _kern_change_root(path); local 18 if (error != B_OK) { 19 __set_errno(error);
|
H A D | pipe.c | 16 status_t error = _kern_create_pipe(streams); local 17 if (error != B_OK) { 18 __set_errno(error);
|