Searched refs:mode (Results 1 - 25 of 1308) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/accelerants/vesa/
H A Ddpms.cpp23 uint32 mode; local
24 if (ioctl(gInfo->device, VESA_GET_DPMS_MODE, &mode, sizeof(mode)) != 0)
27 return mode;
32 vesa_set_dpms_mode(uint32 mode) argument
34 if (ioctl(gInfo->device, VESA_SET_DPMS_MODE, &mode, sizeof(mode)) != 0)
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Diofopen64.c34 _IO_fopen64 (filename, mode)
36 const char *mode;
39 return __fopen_internal (filename, mode, 0);
H A Dfwide.c36 fwide(_IO_FILE *fp, int mode) argument
41 mode = mode < 0 ? -1 : (mode == 0 ? 0 : 1);
43 if (mode == 0 || fp->_mode != 0) {
52 result = _IO_fwide(fp, mode);
/haiku-fatelf/src/add-ons/kernel/file_systems/bindfs/
H A DNode.cpp10 Node::Node(ino_t id, mode_t mode) argument
13 fMode(mode)
/haiku-fatelf/src/bin/coreutils/lib/
H A Dcreat-safer.c28 creat_safer (char const *file, mode_t mode) argument
30 return fd_safer (creat (file, mode));
H A Dmkdirat.c24 Create a subdirectory, FILE, with mode MODE, in the directory
32 #define AT_FUNC_POST_FILE_PARAM_DECLS , mode_t mode
33 #define AT_FUNC_POST_FILE_ARGS , mode
H A Dxfreopen.h2 void xfreopen (char const *filename, char const *mode, FILE *fp);
H A Dfilemode.c37 file mode BITS:
96 strmode (mode_t mode, char *str) argument
98 str[0] = ftypelet (mode);
99 str[1] = mode & S_IRUSR ? 'r' : '-';
100 str[2] = mode & S_IWUSR ? 'w' : '-';
101 str[3] = (mode & S_ISUID
102 ? (mode & S_IXUSR ? 's' : 'S')
103 : (mode & S_IXUSR ? 'x' : '-'));
104 str[4] = mode & S_IRGRP ? 'r' : '-';
105 str[5] = mode
[all...]
H A Dset-mode-acl.c1 /* set-mode-acl.c - set access control list equivalent to a mode
31 file's mode to MODE on systems that have fchown. On systems
37 chmod_or_fchmod (const char *name, int desc, mode_t mode) argument
40 return fchmod (desc, mode);
42 return chmod (name, mode);
54 qset_acl (char const *name, int desc, mode_t mode) argument
80 acl = acl_from_mode (mode);
98 if (mode & S_IRUSR) acl_text[ 3] = 'r';
99 if (mode
587 set_acl(char const *name, int desc, mode_t mode) argument
[all...]
H A Dfreopen.c27 orig_freopen (const char *filename, const char *mode, FILE *stream) argument
29 return freopen (filename, mode, stream);
38 rpl_freopen (const char *filename, const char *mode, FILE *stream) argument
45 return orig_freopen (filename, mode, stream);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dcreat-safer.c28 creat_safer (char const *file, mode_t mode) argument
30 return fd_safer (creat (file, mode));
H A Dfilemode.c37 file mode BITS:
96 strmode (mode_t mode, char *str) argument
98 str[0] = ftypelet (mode);
99 str[1] = mode & S_IRUSR ? 'r' : '-';
100 str[2] = mode & S_IWUSR ? 'w' : '-';
101 str[3] = (mode & S_ISUID
102 ? (mode & S_IXUSR ? 's' : 'S')
103 : (mode & S_IXUSR ? 'x' : '-'));
104 str[4] = mode & S_IRGRP ? 'r' : '-';
105 str[5] = mode
[all...]
H A Dmkdirat.c30 Create a subdirectory, FILE, with mode MODE, in the directory
40 #define AT_FUNC_POST_FILE_PARAM_DECLS , mode_t mode
41 #define AT_FUNC_POST_FILE_ARGS , mode
/haiku-fatelf/src/tests/servers/app/benchmark/
H A DDrawingModeToString.h11 bool ToDrawingMode(const char* string, drawing_mode& mode);
12 bool ToString(drawing_mode mode, const char*& string);
/haiku-fatelf/src/add-ons/accelerants/3dfx/
H A Dmode.cpp18 IsThereEnoughFBMemory(const display_mode* mode, uint32 bitsPerPixel) argument
20 // Test if there is enough Frame Buffer memory for the mode and color depth
23 uint32 maxWidth = mode->virtual_width;
24 if (mode->timing.h_display > maxWidth)
25 maxWidth = mode->timing.h_display;
27 uint32 maxHeight = mode->virtual_height;
28 if (mode->timing.v_display > maxHeight)
29 maxHeight = mode->timing.v_display;
39 IsModeUsable(const display_mode* mode) argument
41 // Test if the display mode i
92 CreateModeList(bool (checkMode)const display_mode* mode)) argument
156 display_mode& mode = gInfo.modeList[j]; local
176 DisplayModeEx mode; local
234 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; local
294 GetPixelClockLimits(display_mode* mode, uint32* low, uint32* high) argument
[all...]
/haiku-fatelf/src/add-ons/accelerants/intel_810/
H A Dmode.cpp18 IsThereEnoughFBMemory(const display_mode* mode, uint32 bitsPerPixel) argument
20 // Test if there is enough Frame Buffer memory for the mode and color depth
23 uint32 maxWidth = mode->virtual_width;
24 if (mode->timing.h_display > maxWidth)
25 maxWidth = mode->timing.h_display;
27 uint32 maxHeight = mode->virtual_height;
28 if (mode->timing.v_display > maxHeight)
29 maxHeight = mode->timing.v_display;
39 IsModeUsable(const display_mode* mode) argument
41 // Test if the display mode i
86 CreateModeList(bool (checkMode)const display_mode* mode)) argument
152 display_mode& mode = gInfo.modeList[j]; local
172 DisplayModeEx mode; local
231 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; local
289 GetPixelClockLimits(display_mode* mode, uint32* low, uint32* high) argument
[all...]
/haiku-fatelf/src/bin/diffutils/lib/
H A Dsetmode.h1 /* Set a file descriptor's mode to binary or to text.
25 # define set_binary_mode(fd, mode) 1
/haiku-fatelf/src/libs/stdc++/legacy/
H A Dprocbuf.cc34 procbuf::procbuf(const char *command, int mode) : filebuf() argument
36 _IO_proc_open(this, command, (mode & ios::in) ? "r" : "w");
39 procbuf *procbuf::open(const char *command, int mode) argument
41 return (procbuf*)_IO_proc_open(this, command, (mode & ios::in) ? "r" : "w");
/haiku-fatelf/src/system/libroot/posix/sys/
H A Dmkfifo.c16 mkfifo(const char *path, mode_t mode) argument
18 RETURN_AND_SET_ERRNO(_kern_create_fifo(-1, path, mode));
23 mkfifoat(int fd, const char *path, mode_t mode) argument
25 RETURN_AND_SET_ERRNO(_kern_create_fifo(fd, path, mode));
/haiku-fatelf/src/add-ons/accelerants/radeon/
H A Dmultimon.c15 // transform official mode to internal, multi-screen mode enhanced mode
16 void Radeon_DetectMultiMode( virtual_card *vc, display_mode *mode )
20 mode->timing.flags &= ~RADEON_MODE_MASK;
22 // combine mode is used if virtual area is twice as visible area
25 if( (mode->flags & B_SCROLL) == 0 )
28 SHOW_FLOW0( 3, "possibly combine mode" );
31 mode->flags &= ~B_SCROLL;
33 mode
146 Radeon_CheckMultiMonTunnel( virtual_card *vc, display_mode *mode, const display_mode *low, const display_mode *high, bool *isTunneled ) argument
[all...]
/haiku-fatelf/src/system/boot/platform/atari_m68k/
H A Dvideo.cpp56 // mode handling
58 virtual status_t Decode(int16 id, struct video_mode *mode);
59 virtual status_t Get(struct video_mode *mode) = 0;
60 virtual status_t Set(const struct video_mode *mode) = 0;
61 virtual status_t Unset(const struct video_mode *mode) { return B_OK; }; argument
64 virtual status_t SetPalette(const struct video_mode *mode, argument
68 virtual int16 Width(const struct video_mode *mode=NULL);
69 virtual int16 Height(const struct video_mode *mode=NULL);
70 virtual int16 Depth(const struct video_mode *mode=NULL);
71 virtual int16 BytesPerRow(const struct video_mode *mode
86 uint16 mode; member in struct:video_mode
129 video_mode *mode = NULL; local
162 Decode(int16 id, struct video_mode *mode) argument
171 Width(const struct video_mode *mode) argument
178 Height(const struct video_mode *mode) argument
185 Depth(const struct video_mode *mode) argument
192 BytesPerRow(const struct video_mode *mode) argument
199 MakeLabel(const struct video_mode *mode, char *label, size_t len) argument
282 Decode(int16 id, struct video_mode *mode) argument
314 Get(struct video_mode *mode) argument
325 Set(const struct video_mode *mode) argument
348 Unset(const struct video_mode *mode) argument
364 SetPalette(const struct video_mode *mode, const uint8 *palette) argument
390 MakeLabel(const struct video_mode *mode, char *label, size_t len) argument
496 Decode(int16 id, struct video_mode *mode) argument
522 Get(struct video_mode *mode) argument
533 Set(const struct video_mode *mode) argument
553 Unset(const struct video_mode *mode) argument
569 SetPalette(const struct video_mode *mode, const uint8 *palette) argument
593 MakeLabel(const struct video_mode *mode, char *label, size_t len) argument
708 Decode(int16 id, struct video_mode *mode) argument
733 Get(struct video_mode *mode) argument
747 Set(const struct video_mode *mode) argument
767 Unset(const struct video_mode *mode) argument
783 SetPalette(const struct video_mode *mode, const uint8 *palette) argument
808 MakeLabel(const struct video_mode *mode, char *label, size_t len) argument
923 Get(struct video_mode *mode) argument
939 Set(const struct video_mode *mode) argument
958 Unset(const struct video_mode *mode) argument
982 Width(const struct video_mode *mode) argument
993 Height(const struct video_mode *mode) argument
1004 Depth(const struct video_mode *mode) argument
1024 video_mode *mode = NULL; local
1072 video_mode *mode = NULL; local
[all...]
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dflags.c49 * Return the (stdio) flags for a given mode. Store the flags
54 __sflags(mode, optr)
55 register const char *mode;
60 switch (*mode++) {
80 default: /* illegal mode */
86 if (*mode == '+' || (*mode == 'b' && mode[1] == '+')) {
/haiku-fatelf/headers/posix/sys/
H A Dstat.h16 mode_t st_mode; /* file mode (rwx for user, group, etc) */
65 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
66 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
67 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK)
68 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
69 #define S_ISCHR(mode) (((mod
[all...]
/haiku-fatelf/src/add-ons/accelerants/s3/
H A Dmode.cpp17 InitCrtcTimingValues(const DisplayModeEx& mode, int horzScaleFactor, uint8 crtc[], argument
29 int hTotal = (mode.timing.h_total * horzScaleFactor) / 8 - 5;
30 int hDisp_e = (mode.timing.h_display * horzScaleFactor) / 8 - 1;
31 int hSync_s = (mode.timing.h_sync_start * horzScaleFactor) / 8;
32 int hSync_e = (mode.timing.h_sync_end * horzScaleFactor) / 8;
36 int vTotal = mode.timing.v_total - 2;
37 int vDisp_e = mode.timing.v_display - 1;
38 int vSync_s = mode.timing.v_sync_start;
39 int vSync_e = mode.timing.v_sync_end;
72 crtc[0x13] = mode
127 display_mode& mode = gInfo.modeList[j]; local
150 IsThereEnoughFBMemory(const display_mode* mode, uint32 bitsPerPixel) argument
171 IsModeUsable(const display_mode* mode) argument
229 CreateModeList( bool (checkMode)const display_mode* mode), bool (*getEdid)(edid1_info& edidInfo)) argument
309 display_mode& mode = gInfo.modeList[j]; local
330 DisplayModeEx mode; local
400 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; local
457 GetPixelClockLimits(display_mode* mode, uint32* low, uint32* high) argument
502 display_mode* mode = FindDisplayMode(si.panelX, si.panelY, 60, 0); local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/et6x00/
H A Dsetmode.h14 status_t et6000SetMode(display_mode *mode, uint16 pciConfigSpace);
15 status_t et6000ProposeMode(display_mode *mode, uint32 memSize);

Completed in 144 milliseconds

1234567891011>>