/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | Capture.cpp | 45 void CCapture::SetBuffer(capture_stream_format format, capture_buffer_mode mode, argument 51 "BOB-DOUBLE\0\0\0WEAVE-SINGLE\0WEAVE-DOUBLE"+13*mode, 54 fMode = mode; 148 // FIXME: change according to the buffering mode? 177 // select buffer type, input mode, video format and buffering mode 219 // select stream format and port mode 241 // set capture mirror mode, field sense, downscaler/decimator, enable 3:4 pull down
|
/haiku/src/tests/system/kernel/cache/ |
H A D | file_map_test.cpp | 30 void SetMode(uint32 mode); 138 Map::SetMode(uint32 mode) argument 140 file_map_set_mode(fMap, mode);
|
/haiku/src/add-ons/accelerants/neomagic/engine/ |
H A D | nm_dac.c | 10 /*set the mode, brightness is a value from 0->2 (where 1 is equivalent to direct)*/ 11 status_t nm_dac_mode(int mode,float brightness) argument 21 LOG(4,("DAC: Setting screen mode %d brightness %f\n", mode, brightness)); 30 /*modify the palette for the specified mode (&validate mode)*/ 32 switch(mode) 35 LOG(8,("DAC: 8bit mode is indexed by OS, aborting brightness setup.\n")); 39 LOG(8,("DAC: 24bit mode is a direct mode, abortin [all...] |
/haiku/src/apps/icon-o-matic/gui/ |
H A D | SwatchGroup.cpp | 201 SelectedColorMode mode; local 203 && message->FindInt32("panel mode", (int32*)&mode) == B_OK) { 207 fColorPickerMode = mode;
|
/haiku/src/add-ons/media/media-add-ons/video_mixer/ |
H A D | VideoMixerNode.cpp | 212 void VideoMixerNode::SetRunMode(run_mode mode) argument 214 fprintf(stderr,"VideoMixerNode::SetRunMode(%i)\n", mode); 215 BMediaEventLooper::SetRunMode(mode);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Inode.cpp | 399 Inode::CreateLink(const char* name, const char* path, int mode, ino_t* id) argument 401 return CreateObject(name, path, mode, NF4LNK, id); 406 Inode::CreateObject(const char* name, const char* path, int mode, FileType type, argument 416 status_t result = NFS4Inode::CreateObject(name, path, mode, type, 446 Inode::Access(int mode) argument 472 if ((mode & acc) != mode) 668 Inode::CheckLockType(short ltype, uint32 mode) argument 675 if ((mode & O_RDONLY) == 0 && (mode [all...] |
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_crtc2.c | 12 /*set a mode line - inputs are in pixels/scanlines*/ 21 /* G450/G550 monitor mode, and all modes on older cards */ 34 /* make sure CRTC2 is set to progressive scan for monitor mode */ 64 /* G450/G550 TVout mode */ 69 LOG(4,("CRTC2: setting up G450/G550 TVout mode\n")); 89 /* make sure h_total is valid for TVout mode */ 113 /* set CRTC2 to interlaced mode: 114 * First enable progressive scan mode while making sure 115 * CRTC2 is setup for TVout mode use... */ 130 /* and start interlaced mode no 142 g400_crtc2_depth(int mode) argument [all...] |
/haiku/src/kits/media/ |
H A D | MediaRecorderNode.cpp | 71 BMediaRecorderNode::SetRunMode(run_mode mode) argument 77 if (mode == BMediaNode::B_OFFLINE) 98 BMediaNode::SetRunMode(mode); 333 // Reset the connection mode
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | netfs.cpp | 39 static int netfs_access(void *ns, void *node, int mode); 43 int openMode, int mode, vnode_id *vnid, void **cookie); 66 static int netfs_mkdir(void *ns, void *dir, const char *name, int mode); 410 netfs_access(void *ns, void *_node, int mode) argument 413 PRINT("netfs_access(%p, %p, %d)\n", ns, node, mode); 414 status_t error = node->GetVolume()->Access(node, mode); 425 netfs_create(void *ns, void *_dir, const char *name, int openMode, int mode, argument 430 name, openMode, mode, vnid, cookie); 431 status_t error = dir->GetVolume()->Create(dir, name, openMode, mode, vnid, 612 netfs_mkdir(void *ns, void *_dir, const char *name, int mode) argument [all...] |
/haiku/src/system/kernel/arch/x86/ |
H A D | apic.cpp | 151 apic_set_interrupt_command(uint32 destination, uint32 mode) argument 157 command |= mode; 167 command1 |= mode; 334 // don't touch the LINT0/1 configuration in virtual wire mode
|
/haiku/headers/private/kernel/boot/ |
H A D | vfs.h | 31 virtual status_t Open(void **_cookie, int mode); 171 extern int open_node(Node *node, int mode); 172 extern int open_from(Directory *directory, const char *path, int mode,
|
/haiku/src/apps/expander/ |
H A D | ExpanderSettings.cpp | 201 ExpanderSettings::Open(BFile* file, int32 mode) argument 209 if ((mode & B_CREATE_FILE) != 0) { 219 return file->SetTo(path.Path(), mode);
|
/haiku/src/system/libroot/posix/ |
H A D | semaphore.cpp | 52 // get the mode and semaphore count parameters, if O_CREAT is specified 53 mode_t mode = 0; local 59 mode = va_arg(args, mode_t); 81 status_t error = _kern_realtime_sem_open(name, openFlags, mode, semCount,
|
/haiku/src/servers/app/ |
H A D | ServerFont.h | 146 font_metric_mode mode, 152 BRect rectArray[], font_metric_mode mode, 169 uint32 mode, float width) const;
|
H A D | DesktopSettings.cpp | 207 int32 mode; local 208 if (settings.FindInt32("mode", &mode) == B_OK) 209 fMouseMode = (mode_mouse)mode; 212 if (settings.FindInt32("focus follows mouse mode", 403 settings.AddInt32("mode", (int32)fMouseMode); 404 settings.AddInt32("focus follows mouse mode", 555 DesktopSettingsPrivate::SetMouseMode(const mode_mouse mode) argument 557 fMouseMode = mode; 563 DesktopSettingsPrivate::SetFocusFollowsMouseMode(mode_focus_follows_mouse mode) argument 1036 SetMouseMode(const mode_mouse mode) argument 1043 SetFocusFollowsMouseMode(mode_focus_follows_mouse mode) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ |
H A D | ah_eeprom_v3.c | 84 * data only when 11a mode is supported. 288 int i, mode, numPiers; local 296 for (mode = headerInfo11A; mode <= headerInfo11G; mode++) { 298 switch (mode) { 330 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: invalid mode 0x%x\n", 331 __func__, mode); 383 eePower.xpdMask = ee->ee_xgain[mode]; 385 if (!eepromAllocExpnPower5112(ah, &eePower, &ee->ee_modePowerArray5112[mode])) { 403 int mode; local 443 ar2413ReadCalDataset(struct ath_hal *ah, HAL_EEPROM *ee, EEPROM_DATA_STRUCT_2413 *pCalDataset, uint32_t start_offset, uint32_t maxPiers, uint8_t mode) argument 821 int i, j, mode; local 927 int i, mode, nchan; local [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | fileops.c | 75 /* An fstream can be in at most one of put mode, get mode, or putback mode. 76 Putback mode is a variant of get mode. 79 separate get and put pointers. In get mode, the current position 80 is that of gptr(); in put mode that of pptr(). 84 mode, when it is _IO_save_end. 89 If a filebuf is in put mode, then all of _IO_read_ptr, _IO_read_end, 92 get mode t 1133 int mode; variable 1189 _IO_file_seekoff_maybe_mmap(_IO_FILE *fp, _IO_off64_t offset, int dir, int mode) argument [all...] |
/haiku/src/build/libroot/ |
H A D | fs.cpp | 1013 _kern_create_symlink(int fd, const char *path, const char *toPath, int mode) argument 1207 _haiku_build_fchmod(int fd, mode_t mode) argument 1209 return _haiku_build_fchmodat(fd, NULL, mode, AT_SYMLINK_NOFOLLOW); 1214 _haiku_build_fchmodat(int fd, const char* path, mode_t mode, int flag) argument 1217 return fchmodat(fd, path, mode, flag); 1220 st.st_mode = mode; 1246 _haiku_build_mkdirat(int fd, const char* path, mode_t mode) argument 1249 return mkdirat(fd, path, mode); 1251 RETURN_AND_SET_ERRNO(_kern_create_dir(fd, path, mode)); 1256 _haiku_build_mkfifoat(int fd, const char* path, mode_t mode) argument 1513 _haiku_build_mknodat(int fd, const char* name, mode_t mode, dev_t dev) argument 1522 _haiku_build_creat(const char* path, mode_t mode) argument [all...] |
/haiku/src/kits/interface/ |
H A D | Font.cpp | 949 BFont::TruncateString(BString* inOut, uint32 mode, float width) const argument 951 if (mode == B_NO_TRUNCATION) 958 GetTruncatedStrings(&string, 1, mode, width, inOut); 964 uint32 mode, float width, BString resultArray[]) const 978 truncate_string(resultArray[i], mode, width, escapementArray, 989 uint32 mode, float width, char* resultArray[]) const 994 GetTruncatedStrings(stringArray, numStrings, mode, width, strings); 1206 font_metric_mode mode, BRect boundingBoxArray[]) const 1208 _GetBoundingBoxes(charArray, numChars, mode, false, NULL, 1215 font_metric_mode mode, escapement_delt 963 GetTruncatedStrings(const char* stringArray[], int32 numStrings, uint32 mode, float width, BString resultArray[]) const argument 988 GetTruncatedStrings(const char* stringArray[], int32 numStrings, uint32 mode, float width, char* resultArray[]) const argument 1205 GetBoundingBoxesAsGlyphs(const char charArray[], int32 numChars, font_metric_mode mode, BRect boundingBoxArray[]) const argument 1214 GetBoundingBoxesAsString(const char charArray[], int32 numChars, font_metric_mode mode, escapement_delta* delta, BRect boundingBoxArray[]) const argument 1224 _GetBoundingBoxes(const char charArray[], int32 numChars, font_metric_mode mode, bool string_escapement, escapement_delta* delta, BRect boundingBoxArray[], bool asString) const argument 1268 GetBoundingBoxesForStrings(const char* stringArray[], int32 numStrings, font_metric_mode mode, escapement_delta deltas[], BRect boundingBoxArray[]) const argument [all...] |
/haiku/src/tests/system/libroot/posix/ |
H A D | gnulib-test-mbsrtowcs.c | 35 int mode; local 130 for (mode = '1'; mode <= '4'; ++mode) { 139 switch (mode) {
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse.h | 121 * Note that the mode argument may not have the type specification 122 * bits set, i.e. S_ISDIR(mode) can be false. To obtain the 123 * correct directory type bits use mode|S_IFDIR 361 * mode, and then open it. 856 int fuse_fs_create(struct fuse_fs *fs, const char *path, mode_t mode, 862 int fuse_fs_chmod(struct fuse_fs *fs, const char *path, mode_t mode); 872 int fuse_fs_mknod(struct fuse_fs *fs, const char *path, mode_t mode, 874 int fuse_fs_mkdir(struct fuse_fs *fs, const char *path, mode_t mode); 890 int fuse_fs_fallocate(struct fuse_fs *fs, const char *path, int mode,
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_ioctl.c | 69 int ieee, int mode); 964 /* NB: get from ic_bss for station mode */ 1896 findchannel(struct ieee80211com *ic, int ieee, int mode) argument 1918 modeflags = chanflags[mode]; 1924 if (mode == IEEE80211_MODE_AUTO) { 1939 if ((mode == IEEE80211_MODE_VHT_5GHZ || 1940 mode == IEEE80211_MODE_VHT_2GHZ) && 1948 if ((mode == IEEE80211_MODE_11NA || 1949 mode == IEEE80211_MODE_11NG) && 1953 if ((mode 1972 check_mode_consistency(const struct ieee80211_channel *c, int mode) argument 2258 int changed, error, mode, is11n, nmodes; local 2325 int error, mode, changed, is11n, nmodes; local [all...] |
/haiku/src/servers/app/drawing/interface/virtual/ |
H A D | DWindowHWInterface.cpp | 653 DWindowHWInterface::SetMode(const display_mode& mode) argument 660 && fDisplayMode.virtual_width == mode.virtual_width 661 && fDisplayMode.virtual_height == mode.virtual_height 662 && fDisplayMode.space == mode.space) 665 // check if we support the mode 674 if (modes[i].virtual_width == mode.virtual_width 675 && modes[i].virtual_height == mode.virtual_height 676 && modes[i].space == mode.space) { 746 DWindowHWInterface::GetMode(display_mode* mode) argument 748 if (mode 846 GetPixelClockLimits(display_mode* mode, uint32* low, uint32* high) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | BeOSKernelVolume.cpp | 293 const char* target, int mode) 297 // TODO: Don't ignore mode? 331 BeOSKernelVolume::Access(void* node, int mode) argument 335 return fFSOps->access(fVolumeCookie, node, mode); 369 BeOSKernelVolume::Create(void* dir, const char* name, int openMode, int mode, argument 374 return fFSOps->create(fVolumeCookie, dir, name, openMode, mode, vnid, 434 BeOSKernelVolume::CreateDir(void* dir, const char* name, int mode) argument 439 return fFSOps->mkdir(fVolumeCookie, dir, name, mode); 606 // check, if open mode allows reading 626 // check, if open mode allow 292 CreateSymlink(void* dir, const char* name, const char* target, int mode) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | Package.cpp | 136 // get the file mode -- filter out write permissions 137 mode_t mode = entry->Mode() & ~(mode_t)(S_IWUSR | S_IWGRP | S_IWOTH); local 141 if (S_ISREG(mode)) { 143 node = new PackageFile(fPackage, mode, 145 } else if (S_ISLNK(mode)) { 152 fPackage, mode); 158 } else if (S_ISDIR(mode)) { 160 node = new PackageDirectory(fPackage, mode);
|