/haiku/headers/private/fs_shell/ |
H A D | fssh_stat.h | 16 fssh_mode_t fssh_st_mode; /* mode bits (rwx for user, group, etc) */ 70 #define FSSH_S_ISREG(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFREG) 71 #define FSSH_S_ISLNK(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFLNK) 72 #define FSSH_S_ISBLK(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFBLK) 73 #define FSSH_S_ISDIR(mode) (((mode) & FSSH_S_IFMT) == FSSH_S_IFDIR) 74 #define FSSH_S_ISCHR(mode) (((mod [all...] |
/haiku/headers/posix/sys/ |
H A D | stat.h | 16 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/src/preferences/screen/ |
H A D | multimon.cpp | 22 PrepareTunnel(display_mode *mode, display_mode *low, display_mode *high) argument 24 memset(mode, 0, sizeof(*mode)); 27 mode->space = low->space = high->space = 0; 32 mode->timing.pixel_clock = 0; 42 display_mode mode, low, high; local 49 PrepareTunnel(&mode, &low, &high); 51 mode.h_display_start = code; 52 mode.v_display_start = 0; 54 result = screen->ProposeMode(&mode, 68 display_mode mode, low, high; local 90 display_mode mode, low, high; local [all...] |
H A D | ScreenMode.h | 23 int32 height; // taking the combine mode into account 31 void SetTo(display_mode& mode); 44 status_t Set(const screen_mode& mode, 46 status_t Get(screen_mode& mode, 48 status_t GetOriginalMode(screen_mode &mode, 51 status_t Set(const display_mode& mode, 53 status_t Get(display_mode& mode, 59 bool SupportsColorSpace(const screen_mode& mode, 61 status_t GetRefreshLimits(const screen_mode& mode, 74 bool _GetDisplayMode(const screen_mode& mode, [all...] |
/haiku/src/system/libroot/posix/sys/ |
H A D | chmod.c | 18 chmod(const char *path, mode_t mode) argument 23 stat.st_mode = mode; 32 fchmod(int fd, mode_t mode) argument 37 stat.st_mode = mode; 46 fchmodat(int fd, const char* path, mode_t mode, int flag) argument 51 stat.st_mode = mode;
|
H A D | mknod.c | 14 mknod(const char *name, mode_t mode, dev_t dev) argument 22 mknodat(int fd, const char *name, mode_t mode, dev_t dev) argument
|
/haiku/src/tools/fs_shell/ |
H A D | fcntl.cpp | 33 // get the mode, if O_CREAT was specified 34 fssh_mode_t mode = 0; local 36 mode = va_arg(args, fssh_mode_t); 45 to_platform_mode(mode)); 48 to_platform_mode(mode)); 63 fssh_creat(const char *path, fssh_mode_t mode) argument 65 return fssh_open(path, FSSH_O_WRONLY | FSSH_O_CREAT | FSSH_O_TRUNC, mode);
|
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | mode.cpp | 14 #include "mode.h" 99 TRACE("%s: preferred mode was found for display %" B_PRIu8 "\n", 151 radeon_dpms_set(uint8 id, int mode) argument 153 if (mode == B_DPMS_ON) { 154 display_crtc_dpms(id, mode); 155 encoder_dpms_set(id, mode); 157 encoder_dpms_set(id, mode); 158 display_crtc_dpms(id, mode); 160 gInfo->dpms_mode = mode; 165 radeon_dpms_set_hook(int mode) argument 177 radeon_set_display_mode(display_mode* mode) argument 299 radeon_get_pixel_clock_limits(display_mode* mode, uint32* _low, uint32* _high) argument 327 is_mode_supported(display_mode* mode) argument 379 is_mode_sane(display_mode* mode) argument 429 get_mode_bpp(display_mode* mode) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/isa/arch/arm/ |
H A D | isa_dma.c | 19 uchar mode, uchar e_mode) 18 arch_start_isa_dma(long channel, void *buf, long transfer_count, uchar mode, uchar e_mode) argument
|
/haiku/src/add-ons/kernel/bus_managers/isa/arch/m68k/ |
H A D | isa_dma.c | 19 uchar mode, uchar e_mode) 18 arch_start_isa_dma(long channel, void *buf, long transfer_count, uchar mode, uchar e_mode) argument
|
/haiku/src/add-ons/kernel/bus_managers/isa/arch/ppc/ |
H A D | isa_dma.c | 19 uchar mode, uchar e_mode) 18 arch_start_isa_dma(long channel, void *buf, long transfer_count, uchar mode, uchar e_mode) argument
|
/haiku/src/add-ons/kernel/bus_managers/isa/arch/x86/ |
H A D | isa_dma.cpp | 18 uchar mode, uchar e_mode) 17 arch_start_isa_dma(long channel, void *buf, long transfer_count, uchar mode, uchar e_mode) argument
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | ioseekpos.c | 34 _IO_seekpos_unlocked(_IO_FILE *fp, _IO_off64_t pos, int mode) argument 49 return _IO_SEEKPOS(fp, pos, mode); 54 _IO_seekpos(_IO_FILE *fp, _IO_off64_t pos, int mode) argument 61 retval = _IO_seekpos_unlocked(fp, pos, mode);
|
/haiku/src/add-ons/kernel/bus_managers/isa/arch/arm64/ |
H A D | isa_dma.c | 19 uchar mode, uchar e_mode) 18 arch_start_isa_dma(long channel, void *buf, long transfer_count, uchar mode, uchar e_mode) argument
|
/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | DeviceOpener.cpp | 16 DeviceOpener::DeviceOpener(const char* device, int mode) argument 20 Open(device, mode); 24 DeviceOpener::DeviceOpener(int fd, int mode) argument 28 Open(fd, mode); 42 DeviceOpener::Open(const char* device, int mode) argument 44 fDevice = open(device, mode | O_NOCACHE); 48 if (fDevice < 0 && _IsReadWrite(mode)) { 53 fMode = mode; 54 if (_IsReadWrite(mode)) { 71 DeviceOpener::Open(int fd, int mode) argument [all...] |
/haiku/src/libs/stdc++/legacy/ |
H A D | filebuf.cc | 80 filebuf* filebuf::open(const char *filename, ios::openmode mode, int prot) argument 86 if (mode & ios::app) 87 mode |= ios::out; 88 if ((mode & (ios::in|ios::out)) == (ios::in|ios::out)) { 92 else if (mode & ios::out) 94 else if (mode & (int)ios::in) 98 if (mode & ios::binary) 100 mode &= ~ios::binary; 106 if ((mode & (int)ios::trunc) || mode 140 open(const char *filename, const char *mode) argument 176 seekoff(streamoff offset, _seek_dir dir, int mode) argument [all...] |
/haiku/headers/cpp/ |
H A D | pfstream.h | 44 ipfstream(const char *name, int mode=ios::in, int prot=0664); 55 opfstream(const char *name, int mode=ios::out, int prot=0664);
|
H A D | procbuf.h | 42 procbuf(const char *command, int mode); 43 procbuf* open(const char *command, int mode);
|
H A D | fstream.h | 42 fstreambase(const char *name, int mode, int prot=0664); 49 void open(const char *name, int mode, int prot=0664); 64 ifstream(const char *name, int mode=ios::in, int prot=0664) argument 65 : fstreambase(name, mode | ios::in, prot) { } 66 void open(const char *name, int mode=ios::in, int prot=0664) argument 67 { fstreambase::open(name, mode | ios::in, prot); } 75 ofstream(const char *name, int mode=ios::out, int prot=0664) argument 76 : fstreambase(name, mode | ios::out, prot) { } 77 void open(const char *name, int mode=ios::out, int prot=0664) argument 78 { fstreambase::open(name, mode | io 85 fstream(const char *name, int mode, int prot=0664) argument 88 open(const char *name, int mode, int prot=0664) argument [all...] |
/haiku/src/add-ons/accelerants/s3/ |
H A D | savage_dpms.cpp | 32 // Return the current DPMS mode. 35 // the current DPMS mode. I'm assuming that reading back the bits that 36 // were set by function SET_DPMS_MODE will give the current DPMS mode. 39 uint32 mode = B_DPMS_ON; local 44 mode = B_DPMS_ON; 47 mode = B_DPMS_STAND_BY; 50 mode = B_DPMS_SUSPEND; 53 mode = B_DPMS_OFF; 56 TRACE("Unknown DPMS mode, reg sr0D: 0x%X\n", ReadSeqReg(0x0d)); 59 mode [all...] |
/haiku/src/apps/mediaplayer/media_node_framework/ |
H A D | PlaybackListener.cpp | 22 PlaybackListener::PlayModeChanged(int32 mode) argument 28 PlaybackListener::LoopModeChanged(int32 mode) argument
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | PackageLeafNode.cpp | 10 PackageLeafNode::PackageLeafNode(Package* package, mode_t mode) argument 12 PackageNode(package, mode)
|
H A D | PackageSymlink.cpp | 13 PackageSymlink::PackageSymlink(Package* package, mode_t mode) argument 15 PackageLeafNode(package, mode),
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/ |
H A D | r92e_fw.c | 102 struct r12a_fw_cmd_pwrmode mode; local 107 mode.mode = R88E_PWRMODE_LEG; 113 mode.pwr_state = R88E_PWRMODE_STATE_RFOFF; 115 mode.pwr_state = R88E_PWRMODE_STATE_RFON; 118 mode.mode = R88E_PWRMODE_CAM; 119 mode.pwr_state = R88E_PWRMODE_STATE_ALLON; 121 mode.pwrb1 = 125 mode [all...] |
/haiku/src/tests/add-ons/accelerants/intel_extreme/ |
H A D | PllTest.cpp | 43 simulate_mode(display_mode* mode, int j) argument 45 mode->timing.flags = 0; 47 mode->timing.pixel_clock = uint32(75.2 * 1000); 49 mode->timing.pixel_clock = uint32(146.25 * 1000); 50 mode->timing.h_display = 1366; 51 mode->timing.h_sync_start = 1414; 52 mode->timing.h_sync_end = 1478; 53 mode->timing.h_total = 1582; 55 mode->timing.v_display = 768; 56 mode [all...] |