/haiku/src/tests/servers/app/benchmark/ |
H A D | Benchmark.cpp | 40 Benchmark(Test* test, drawing_mode mode, bool clipping) argument 44 fDrawingMode(mode), 130 drawing_mode mode = B_OP_COPY; local 137 mode = possibleMode; 164 Benchmark app(test, mode, clipping);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | InodeRegular.cpp | 24 Inode::CreateState(const char* name, int mode, int perms, OpenState* state, argument 34 status_t result = CreateFile(name, mode, perms, state, &changeInfo, 59 state->fMode = mode & O_RWMASK; 66 Inode::Create(const char* name, int mode, int perms, OpenFileCookie* cookie, argument 73 cookie->fMode = mode; 80 status_t result = CreateState(name, mode, perms, state, data); 100 Inode::Open(int mode, OpenFileCookie* cookie) argument 115 state->fMode = mode & O_RWMASK; 116 status_t result = OpenFile(state, mode, &data); 133 int newMode = mode 196 int mode = cookie->fMode & O_RWMASK; local 234 OpenAttr(const char* _name, int mode, OpenAttrCookie* cookie, bool create, int32 type) argument [all...] |
/haiku/headers/os/interface/ |
H A D | Screen.h | 66 status_t GetMode(display_mode* mode); 68 display_mode* mode); 69 status_t SetMode(display_mode* mode, 72 display_mode* mode, 76 status_t GetPixelClockLimits(display_mode* mode,
|
/haiku/src/servers/app/drawing/ |
H A D | BitmapHWInterface.cpp | 51 // fall back to double buffered mode until Painter knows how 83 BitmapHWInterface::SetMode(const display_mode& mode) argument 90 BitmapHWInterface::GetMode(display_mode* mode) argument 92 if (mode != NULL) 93 memset(mode, 0, sizeof(display_mode)); 119 BitmapHWInterface::GetPixelClockLimits(display_mode* mode, uint32* low, argument
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | state.c | 46 if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) 216 state->vt->mode.utf8 ? &state->encoding_utf8 : 305 if(state->mode.insert) { 338 if(state->mode.autowrap) 376 if(state->mode.newline) 554 state->saved.mode.cursor_visible = state->mode.cursor_visible; 555 state->saved.mode.cursor_blink = state->mode.cursor_blink; 556 state->saved.mode [all...] |
/haiku/src/add-ons/accelerants/ati/ |
H A D | accelerant.h | 38 area_id modeListArea; // mode list area ID 69 void (*AdjustFrame)(const DisplayModeEx& mode); 73 status_t (*SetDisplayMode)(const DisplayModeEx& mode); 184 status_t CreateModeList(bool (*checkMode)(const display_mode* mode)); 185 uint16 GetVesaModeNumber(const display_mode& mode, uint8 bitsPerPixel); 186 bool IsModeUsable(const display_mode* mode); 195 void Mach64_EngineInit(const DisplayModeEx& mode); 202 void Mach64_AdjustFrame(const DisplayModeEx& mode); 203 status_t Mach64_SetDisplayMode(const DisplayModeEx& mode); 219 void Rage128_EngineInit(const DisplayModeEx& mode); [all...] |
/haiku/src/add-ons/accelerants/s3/ |
H A D | accel.h | 39 area_id modeListArea; // mode list area ID 64 void (*AdjustFrame)(const DisplayModeEx& mode); 67 bool (*SetDisplayMode)(const DisplayModeEx& mode); 164 status_t CreateModeList(bool (*checkMode)(const display_mode* mode), 166 void InitCrtcTimingValues(const DisplayModeEx& mode, int horzScaleFactor, uint8 crtc[], 168 bool IsModeUsable(const display_mode* mode); 177 void Savage_AdjustFrame(const DisplayModeEx& mode); 178 bool Savage_SetDisplayMode(const DisplayModeEx& mode); 186 void Trio64_AdjustFrame(const DisplayModeEx& mode); 187 bool Trio64_SetDisplayMode(const DisplayModeEx& mode); [all...] |
/haiku/src/libs/glut/ |
H A D | glutGameMode.cpp | 89 display_mode* mode = _FindMatchingMode(); local 90 return mode != NULL; 97 display_mode* mode = _FindMatchingMode(); local 98 if (!mode) 103 // First enter: remember this workspace original mode... 108 // Don't make it new default mode for this workspace... 109 status_t status = screen.SetMode(fGameModeWorkspace, mode, false); 113 // Retrieve the new active display mode, which could be 140 // force the game mode window to fullscreen 170 // Restore original display mode 248 _GetModePixelDepth(const display_mode* mode) argument 262 _GetModeRefreshRate(const display_mode* mode) argument [all...] |
/haiku/src/preferences/input/ |
H A D | InputMouse.cpp | 113 int32 mode; local 114 if (message->FindInt32("be:value", &mode) == B_OK) { 115 fSettings->SetMouseMode((mode_mouse)mode); 119 mode != B_FOCUS_FOLLOWS_MOUSE); 126 int32 mode; local 127 if (message->FindInt32("mode_focus_follows_mouse", &mode) == B_OK) { 129 (mode_focus_follows_mouse)mode);
|
/haiku/src/bin/package/ |
H A D | command_list.cpp | 122 mode_t mode = entry->Mode(); local 123 if (S_ISREG(mode)) 125 else if (S_ISDIR(mode)) 127 else if (S_ISLNK(mode)) 134 printf("%s", _PermissionString(buffer, mode >> 6, 135 (mode & S_ISUID) != 0)); 136 printf("%s", _PermissionString(buffer, mode >> 3, 137 (mode & S_ISGID) != 0)); 138 printf("%s", _PermissionString(buffer, mode, false)); 141 if (S_ISLNK(mode)) 204 _PermissionString(char* buffer, uint32 mode, bool sticky) argument [all...] |
/haiku/src/build/libroot/ |
H A D | fs_darwin.cpp | 140 fchmodat(int fd, const char* path, mode_t mode, int flag) argument 153 int status = fchmod(symlinkfd, mode); 157 return chmod(path, mode); 174 status = fchmod(fullfd, mode); 177 status = chmod(fullPath, mode); 272 mkdirat(int fd, const char *path, mode_t mode) argument 276 return mkdir(path, mode); 289 return mkdir(fullPath, mode); 294 mkfifoat(int fd, const char *path, mode_t mode) argument 298 return mkfifo(path, mode); 316 mknodat(int fd, const char *path, mode_t mode, dev_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/ |
H A D | r92c_fw.c | 172 uint8_t mode; local 180 mode = R92C_RAID_11B; 182 mode = R92C_RAID_11BG; 183 /* XXX misleading 'mode' value here for unicast frames */ 185 "%s: mode 0x%x, rates 0x%08x, basicrates 0x%08x\n", __func__, 186 mode, rates, basicrates); 190 cmd.mask = htole32(mode << 28 | basicrates); 201 mode = R92C_RAID_11GN; 203 mode = R92C_RAID_11BG; 205 mode 311 struct r92c_fw_cmd_pwrmode mode; local [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | iofopncook.c | 145 _IO_fopencookie (cookie, mode, io_functions) 147 const char *mode; 159 switch (*mode++) 173 if (mode[0] == '+' || (mode[0] == 'b' && mode[1] == '+')) 194 _IO_FILE * _IO_old_fopencookie (void *cookie, const char *mode, 240 _IO_old_fopencookie (cookie, mode, io_functions) 242 const char *mode; 247 ret = _IO_fopencookie (cookie, mode, io_function [all...] |
H A D | iopopen.c | 80 _IO_new_proc_open (fp, command, mode) 83 const char *mode; 94 if (mode[0] == 'r' && mode[1] == '\0') 100 else if (mode[0] == 'w' && mode[1] == '\0') 116 int child_std_end = mode[0] == 'r' ? 1 : 0; 162 _IO_new_popen (command, mode) 164 const char *mode; 189 if (_IO_new_proc_open (fp, command, mode) ! [all...] |
/haiku/src/kits/interface/ |
H A D | Screen.cpp | 227 BScreen::GetMode(display_mode* mode) argument 230 return fScreen->GetMode(B_CURRENT_WORKSPACE_INDEX, mode); 237 BScreen::GetMode(uint32 workspace, display_mode* mode) argument 240 return fScreen->GetMode(workspace, mode); 247 BScreen::SetMode(display_mode* mode, bool makeDefault) argument 250 return fScreen->SetMode(B_CURRENT_WORKSPACE_INDEX, mode, makeDefault); 257 BScreen::SetMode(uint32 workspace, display_mode* mode, bool makeDefault) argument 260 return fScreen->SetMode(workspace, mode, makeDefault); 287 BScreen::GetPixelClockLimits(display_mode* mode, uint32* _low, uint32* _high) argument 290 return fScreen->GetPixelClockLimits(mode, _lo [all...] |
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | malloc_debug_api.cpp | 153 const char *mode = getenv("MALLOC_DEBUG"); local 154 if (mode == NULL || strchr(mode, 'g') == NULL) 163 if (mode != NULL) { 164 if (strchr(mode, 'p') != NULL) 166 if (strchr(mode, 'r') != NULL) 168 if (strchr(mode, 'e') != NULL) 172 const char *argument = strchr(mode, 'a'); 179 argument = strchr(mode, 's'); 186 argument = strchr(mode, ' [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire.cpp | 161 tcode = fp->mode.common.tcode & 0xf; 170 ((tcode != FWTCODE_RREQQ) || (fp->mode.rreqq.dest_hi != 0xffff) || 171 (fp->mode.rreqq.dest_lo < 0xf0000000) || 172 (fp->mode.rreqq.dest_lo >= 0xf0001000))) { 188 len = fp->mode.stream.len; 190 len = fp->mode.rresb.len; 1050 fp->mode.hdr.dst & 0x3f, 1051 fp->mode.hdr.tlrt >> 2, fp->mode.hdr.tlrt & 3, 1052 fp->mode [all...] |
/haiku/headers/cpp/ |
H A D | strstream.h | 74 virtual streampos seekoff(streamoff, _seek_dir, int mode=ios::in|ios::out); 84 strstreambase(char *cp, int n, int mode=ios::out); 95 ostrstream(char *cp, int n, int mode=ios::out) :strstreambase(cp,n,mode){} argument 105 strstream(char *cp, int n, int mode=ios::out) :strstreambase(cp,n,mode){} argument
|
/haiku/src/tests/kits/net/ |
H A D | link_echo.cpp | 115 } mode = CLIENT_MODE;
local 133 mode = CLIENT_MODE;
144 mode = BROADCAST_MODE;
151 mode = SERVER_MODE;
170 if (mode == BROADCAST_MODE) {
175 switch (mode) {
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Index.cpp | 102 zero if the type is not known (can only happen if the mode field is 140 int32 mode = fNode->Mode() & (S_STR_INDEX | S_INT_INDEX | S_UINT_INDEX 144 if (mode == S_STR_INDEX) 148 switch (mode) { 170 int32 mode = 0; local 173 mode = S_INT_INDEX; 176 mode = S_UINT_INDEX; 179 mode = S_LONG_LONG_INDEX; 182 mode = S_ULONG_LONG_INDEX; 185 mode [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_phy.c | 85 ar5211GetRateTable(struct ath_hal *ah, u_int mode) argument 88 switch (mode) { 99 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: invalid mode 0x%x\n", 100 __func__, mode);
|
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/ |
H A D | dcphy.c | 194 u_int32_t mode; local 210 mode = CSR_READ_4(dc_sc, DC_NETCFG); 211 mode &= ~(DC_NETCFG_FULLDUPLEX | DC_NETCFG_PORTSEL | 222 mode |= DC_NETCFG_PORTSEL | DC_NETCFG_PCS | 225 mode |= DC_NETCFG_FULLDUPLEX; 227 mode &= ~DC_NETCFG_FULLDUPLEX; 228 CSR_WRITE_4(dc_sc, DC_NETCFG, mode); 239 mode &= ~DC_NETCFG_PORTSEL; 240 mode |= DC_NETCFG_SPEEDSEL; 242 mode | [all...] |
/haiku/src/servers/app/drawing/interface/virtual/ |
H A D | ViewHWInterface.h | 30 virtual status_t SetMode(const display_mode& mode); 31 virtual void GetMode(display_mode* mode); 39 virtual status_t GetPixelClockLimits(display_mode* mode,
|
/haiku/src/preferences/screen/ |
H A D | ScreenWindow.cpp | 96 combine_mode mode; member in struct:__anon6 107 tv_standard_to_string(uint32 mode) argument 109 switch (mode) { 123 name << "??? (" << mode << ")"; local 132 resolution_to_string(screen_mode& mode, BString &string) argument 136 mode.width, mode.height); 158 return B_TRANSLATE("Unknown mode"); 322 screen_mode mode = fScreenMode.ModeAt(i); local 324 if (mode 356 screen_mode mode = fScreenMode.ModeAt(i); local 543 uint32 mode; local 666 screen_mode mode = fScreenMode.ModeAt(i); local 700 screen_mode mode = fScreenMode.ModeAt(j); local 996 ScreenChanged(BRect frame, color_space mode) argument 1140 int32 mode; local [all...] |
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | CC.h | 46 void SetMode(cc_mode mode);
|