Searched refs:status (Results 1 - 25 of 1663) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/posix/unistd/
H A D_exit.c15 _exit(int status) argument
20 // exit with status code
21 _kern_exit_team(status);
26 _Exit(int status) argument
28 _exit(status);
H A Dtruncate.c22 status_t status; local
25 status = _kern_write_stat(-1, path, true, &stat, sizeof(struct stat),
28 RETURN_AND_SET_ERRNO(status);
36 status_t status; local
39 status = _kern_write_stat(fd, NULL, false, &stat, sizeof(struct stat),
42 RETURN_AND_SET_ERRNO(status);
H A Daccess.c18 status_t status = _kern_access(-1, path, accessMode, false); local
20 RETURN_AND_SET_ERRNO(status);
27 status_t status = _kern_access(fd, path, accessMode, local
30 RETURN_AND_SET_ERRNO(status);
/haiku/src/system/libroot/posix/stdio/
H A Dremove.c19 int status = _kern_unlink(-1, path); local
20 if (status == B_IS_A_DIRECTORY)
21 status = _kern_remove_dir(-1, path);
23 if (status != B_OK) {
24 __set_errno(status);
28 return status;
/haiku/src/system/libroot/posix/signal/
H A Dkill.c19 status_t status; local
26 status = _kern_send_signal(pid, sig, NULL, 0);
27 if (status != B_OK) {
29 if (status == B_BAD_THREAD_ID || status == B_BAD_TEAM_ID)
30 status = ESRCH;
32 __set_errno(status);
H A Dset_signal_stack.c19 status_t status; local
25 status = _kern_set_signal_stack(&alternateStack, NULL);
26 if (status < B_OK)
27 __set_errno(status);
H A Dsigaltstack.c17 status_t status =_kern_set_signal_stack(alternateStack, oldAlternateStack); local
18 if (status < B_OK) {
19 __set_errno(status);
/haiku/src/system/libroot/posix/stdlib/
H A Datfork.c23 status_t status = __register_atfork(NULL, NULL, function); local
24 if (status < B_OK) {
25 __set_errno(status);
/haiku/src/tests/add-ons/kernel/busses/usb/
H A Duhci_decode.cpp34 uhci_td_control_status status;
35 memcpy(&status, &value, sizeof(status));
38 printf("actual_length: %ld\n", status.actual_length);
39 printf("reserved_1: %ld\n", status.reserved_1);
40 printf("bitstuff_error: %ld\n", status.bitstuff_error);
41 printf("crc_timeout: %ld\n", status.crc_timeout);
42 printf("nak_received: %ld\n", status.nak_received);
43 printf("babble_detected: %ld\n", status.babble_detected);
44 printf("data_buffer_error: %ld\n", status
[all...]
/haiku/src/system/libroot/posix/glibc/include/bits/
H A Dwaitstatus.h1 /* Definitions of status bits for `wait' et al.
28 /* If WIFEXITED(STATUS), the low-order 8 bits of the status. */
29 #define __WEXITSTATUS(status) (((status) & 0xff00) >> 8)
32 #define __WTERMSIG(status) ((status) & 0x7f)
35 #define __WSTOPSIG(status) __WEXITSTATUS(status)
38 #define __WIFEXITED(status) (__WTERMSIG(status)
[all...]
/haiku/src/tests/system/network/
H A Dudp_client.c24 long status; local
27 status = fread(sendbuf, 1, MAXLEN, stdin);
28 if (status < 0) {
29 printf("fread(): %lx (%s)\n", status, strerror(status));
32 printf("trying to send %ld bytes...\n", status);
33 status = sendto(sockFD, sendbuf, status, 0,
35 if (status < 0) {
36 printf("sendto(): %lx (%s)\n", status, strerro
46 long status; local
[all...]
/haiku/src/system/libroot/posix/time/
H A Dstime.c16 status_t status; local
23 status = _kern_set_real_time_clock((bigtime_t)*tp * 1000000);
24 if (status < B_OK) {
25 __set_errno(status);
/haiku/src/system/libroot/posix/sys/
H A Drlimit.c18 int status = _kern_getrlimit(resource, rlimit); local
20 RETURN_AND_SET_ERRNO(status);
27 int status = _kern_setrlimit(resource, rlimit); local
29 RETURN_AND_SET_ERRNO(status);
H A Dchmod.c21 status_t status; local
24 status = _kern_write_stat(-1, path, true, &stat, sizeof(struct stat),
27 RETURN_AND_SET_ERRNO(status);
35 status_t status; local
38 status = _kern_write_stat(fd, NULL, false, &stat, sizeof(struct stat),
41 RETURN_AND_SET_ERRNO(status);
49 status_t status; local
52 status = _kern_write_stat(fd, path, (flag & AT_SYMLINK_NOFOLLOW) == 0, &stat,
55 RETURN_AND_SET_ERRNO(status);
/haiku/src/data/dts/arch/arm/
H A Dcubieboard2.dts49 status = "okay";
53 status = "okay";
57 status = "okay";
61 status = "okay";
65 status = "okay";
H A Dcubieboard.dts49 status = "okay";
53 status = "okay";
57 status = "okay";
61 status = "okay";
/haiku/src/apps/icon-o-matic/shape/commands/
H A DAddPointCommand.cpp49 status_t status = InitCheck(); local
50 if (status < B_OK)
51 return status;
56 status = B_NO_INIT;
58 return status;
65 status_t status = InitCheck(); local
66 if (status < B_OK)
67 return status;
74 status = B_ERROR;
77 return status;
84 status_t status = InitCheck(); local
[all...]
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DMediaFormat.cpp70 status_t status; local
79 status = formats.InitCheck();
80 if (status) {
81 printf("formats.InitCheck failed, error %lu\n", status);
82 return status;
85 status = formats.GetFormatFor(desc, out_format);
86 if (status) {
87 printf("formats.GetFormatFor failed, error %lu\n", status);
88 return status;
125 status_t status; local
159 status_t status; local
188 status_t status; local
[all...]
/haiku/src/kits/app/
H A DLaunchRoster.cpp43 status_t status = request.AddInt32("user", getuid()); local
44 if (status == B_OK)
45 status = request.AddMessenger("daemon", daemon);
46 if (status != B_OK)
47 return status;
51 status = fRoster->fMessenger.SendMessage(&request, &result);
54 if (status == B_OK)
55 status = result.what;
57 return status;
99 status_t status local
123 status_t status = GetData(signature, data); local
155 status_t status = request.AddInt32("user", getuid()); local
176 status_t status = request.AddInt32("user", getuid()); local
195 status_t status = request.AddInt32("user", getuid()); local
212 status_t status = request.AddInt32("user", getuid()); local
231 status_t status = request.AddInt32("user", getuid()); local
250 status_t status = request.AddInt32("user", getuid()); local
293 status_t status = request.AddInt32("user", getuid()); local
318 status_t status = request.AddInt32("user", getuid()); local
384 status_t status = fMessenger.SendMessage(&request, &result); local
400 status_t status = request.AddInt32("user", getuid()); local
423 status_t status = request.AddInt32("user", getuid()); local
437 status_t status = request.AddInt32("user", getuid()); local
[all...]
/haiku/src/tests/system/kernel/
H A Dlock_node_test.cpp16 status_t status = node.SetTo(argv[1]); local
17 if (status != B_OK) {
18 fprintf(stderr, "lock_node: could not open \"%s\": %s\n", argv[1], strerror(status));
22 status = node.Lock();
23 if (status != B_OK) {
24 fprintf(stderr, "lock_node: could not lock \"%s\": %s\n", argv[1], strerror(status));
/haiku/src/bin/
H A Dresizefs.cpp42 status_t status = roster.GetPartitionForPath(argv[1], &device, local
44 if (status != B_OK) {
47 status = roster.FindPartitionByMountPoint(argv[1], &device,
53 if (status != B_OK) {
55 "%s\n", kProgramName, argv[1], strerror(status));
62 status = device.PrepareModifications();
63 if (status != B_OK) {
65 "%s\n", kProgramName, strerror(status));
94 status = partition->ValidateResize(&validatedSize);
95 if (status !
[all...]
H A Dquit.cpp12 status_t status; local
26 if ((status = messenger.SendMessage(B_QUIT_REQUESTED)) != B_OK) {
27 printf("could not send message, %s\n", strerror(status));
/haiku/src/add-ons/kernel/drivers/network/sis19x/
H A DSettings.cpp144 Statistics::PutStatus(uint32 status) argument
147 if (status & (INT_TXDONE /*| INT_TXIDLE*/)) fTxInterrupts++;
148 if (status & (INT_RXDONE /*| INT_RXIDLE*/)) fRxInterrupts++;
150 if (status & INT_TXHALT) fTxHalt++;
151 if (status & INT_RXHALT) fRxHalt++;
152 if (status & INT_TXDONE) fTxDone++;
153 if (status & INT_TXIDLE) fTxIdle++;
154 if (status & INT_RXDONE) fRxDone++;
155 if (status & INT_RXIDLE) fRxIdle++;
156 if (status
166 PutTxStatus(uint32 status, uint32 size) argument
180 PutRxStatus(uint32 status) argument
[all...]
/haiku/src/apps/screenshot/
H A DScreenshotApp.cpp42 status_t status = B_OK; local
47 status = message->FindMessage("wholeScreen", &bitmap);
48 if (status != B_OK)
53 status = message->FindMessage("cursorBitmap", &bitmap);
54 if (status != B_OK)
59 status = message->FindMessage("cursorAreaBitmap", &bitmap);
60 if (status != B_OK)
65 status = message->FindPoint("cursorPosition",
67 if (status != B_OK)
70 status
[all...]
/haiku/src/apps/icon-o-matic/generic/command/
H A DCompoundCommand.cpp38 status_t status = fCommands && fCount > 0 ? B_OK : B_BAD_VALUE; local
39 return status;
46 status_t status = InitCheck(); local
47 if (status >= B_OK) {
51 status = fCommands[i]->Perform();
52 if (status < B_OK)
55 /* if (status < B_OK) {
64 return status;
71 status_t status = InitCheck(); local
72 if (status >
[all...]

Completed in 297 milliseconds

1234567891011>>