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

1234567891011>>

/haiku-fatelf/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 Dsync.c28 int status = _kern_sync(); local
29 if (status < 0) {
30 __set_errno(status);
31 status = -1;
34 return 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-fatelf/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-fatelf/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);
/haiku-fatelf/src/system/libroot/os/
H A Dfs_info.c17 #define RETURN_AND_SET_ERRNO(status) \
19 if (status < 0) { \
20 __set_errno(status); \
23 return status; \
31 int status = _kern_read_stat(-1, path, true, &stat, sizeof(struct stat)); local
32 if (status == B_OK)
35 RETURN_AND_SET_ERRNO(status);
50 status_t status = _kern_read_fs_info(device, info); local
52 RETURN_AND_SET_ERRNO(status);
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DPrinterPrefs.cpp65 status_t status; local
68 status = find_directory(B_COMMON_SETTINGS_DIRECTORY, &fSettingsPath);
69 if (status != B_OK) {
71 return status;
75 status = file.SetTo(fSettingsPath.Path(), B_READ_ONLY);
76 if (status == B_OK) {
77 status = settings->Unflatten(&file);
80 return status;
92 status_t status; local
95 status
[all...]
/haiku-fatelf/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-fatelf/src/libs/ncurses/form/
H A Dfld_stat.c39 | Function : int set_field_status(FIELD *field, bool status)
47 set_field_status(FIELD *field, bool status) argument
49 T((T_CALLED("set_field_status(%p,%d)"), field, status));
53 if (status)
54 field->status |= _CHANGED;
56 field->status &= ~_CHANGED;
76 returnBool((Normalize_Field(field)->status & _CHANGED) ? TRUE : FALSE);
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/src/tests/kits/net/
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-fatelf/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-fatelf/src/bin/
H A Dlistimage.c28 status_t status; local
30 status = get_team_info(id, &teamInfo);
31 if (id != 1 && status < B_OK)
32 return status;
41 while ((status = get_next_image_info(id, &cookie, &imageInfo)) == B_OK) {
50 if (status != B_ENTRY_NOT_FOUND && status != EINVAL) {
51 printf("get images failed: %s\n", strerror(status));
52 return status;
73 status_t status local
91 status_t status = list_images_for_team_by_id(info.team); local
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/dvb/
H A DMediaFormat.cpp56 status_t status; local
65 status = formats.InitCheck();
66 if (status) {
67 printf("formats.InitCheck failed, error %lu\n", status);
68 return status;
71 status = formats.GetFormatFor(desc, out_format);
72 if (status) {
73 printf("formats.GetFormatFor failed, error %lu\n", status);
74 return status;
111 status_t status; local
145 status_t status; local
174 status_t status; local
[all...]
/haiku-fatelf/src/system/libroot/posix/sys/
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);
H A Drlimit.c25 int status = _kern_getrlimit(resource, rlimit); local
27 RETURN_AND_SET_ERRNO(status);
34 int status = _kern_setrlimit(resource, rlimit); local
36 RETURN_AND_SET_ERRNO(status);
/haiku-fatelf/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-fatelf/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-fatelf/src/kits/media/
H A DDataExchange.cpp73 status_t status = sMediaServerMessenger.SendMessage(msg, local
75 if (status != B_OK) {
76 ERROR("SendToServer: SendMessage failed: %s\n", strerror(status));
79 return status;
86 status_t status = sMediaServerMessenger.SendMessage(&request, &reply, local
88 if (status != B_OK) {
89 ERROR("QueryServer: SendMessage failed: %s\n", strerror(status));
93 return status;
134 status_t status = write_port_etc(sendPort, msgCode, msg, size, local
136 if (status !
166 status_t status = write_port_etc(requestPort, msgCode, request, requestSize, local
[all...]
/haiku-fatelf/src/bin/coreutils/man/
H A Dstat.x2 stat \- display file or file system status
/haiku-fatelf/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-fatelf/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 152 milliseconds

1234567891011>>