mode 1616 core/conf.c (camera_info.state.mode & MODE_DISABLE_RAW) // Disable if bit set in modemap mode 211 core/gps.c static void run_compass_task(int mode){ mode 213 core/gps.c navigation_mode = mode ; mode 2465 core/gui.c gui_handler* gui_set_mode(gui_handler *mode) mode 2468 core/gui.c camera_info.state.gui_mode = mode->mode; mode 2472 core/gui.c if ( gui_mode == mode ) mode 2476 core/gui.c if (((gui_mode->mode == GUI_MODE_NONE) != (mode->mode == GUI_MODE_NONE)) || // Change from GUI_MODE_NONE to any other or vice-versa mode 2477 core/gui.c ((gui_mode->mode > GUI_MODE_MENU) != (mode->mode > GUI_MODE_MENU))) // Switch in & out of menu mode mode 2484 core/gui.c gui_mode = mode; mode 1347 core/gui_osd.c if (conf.flashlight && (camera_info.state.mode&MODE_SCREEN_OPENED) && (camera_info.state.mode&MODE_SCREEN_ROTATED)) mode 494 core/gui_script.c static char* make_param_filename(enum FilenameMakeModeEnum mode) mode 514 core/gui_script.c switch (mode) mode 547 core/modules.c static void default_show_palette(int mode, chdkColor st_color, void (*on_select)(chdkColor clr)) mode 551 core/modules.c libpalette->show_palette(mode, st_color, on_select); mode 1488 core/shooting.c int shooting_set_mode_chdk(int mode) mode 1490 core/shooting.c return shooting_set_mode_canon(shooting_mode_chdk2canon(mode)); mode 1782 core/shooting.c int mode, t=0xFF; mode 1784 core/shooting.c mode = (rec_mode_active())?MODE_REC:MODE_PLAY; mode 1790 core/shooting.c mode |= (screen_opened())?MODE_SCREEN_OPENED:0; mode 1791 core/shooting.c mode |= (screen_rotated())?MODE_SCREEN_ROTATED:0; mode 1801 core/shooting.c mode |= shooting_mode_canon2chdk(t & (~CAM_MASK_VID_REC_ACTIVE)); mode 1803 core/shooting.c mode |= shooting_mode_canon2chdk(t); mode 1807 core/shooting.c camera_info.state.mode = mode; mode 1808 core/shooting.c camera_info.state.mode_shooting = mode & MODE_SHOOTING_MASK; mode 1809 core/shooting.c camera_info.state.mode_video = mode_is_video(mode); mode 1810 core/shooting.c camera_info.state.mode_rec = ((mode & MODE_MASK) == MODE_REC); mode 1812 core/shooting.c camera_info.state.mode_play = ((mode & MODE_MASK) == MODE_PLAY); mode 1813 core/shooting.c camera_info.state.mode_photo = (camera_info.state.mode_play || !(camera_info.state.mode_video || (mode&MODE_SHOOTING_MASK)==MODE_STITCH)); mode 1815 core/shooting.c return (mode); mode 1882 core/shooting.c int mode, flash, power; mode 1890 core/shooting.c mode = 1; // Manual flash mode 1892 core/shooting.c set_property_case(PROPCASE_FLASH_ADJUST_MODE, &mode, sizeof(mode)); mode 1898 core/shooting.c mode = 0; // Auto flash mode 1900 core/shooting.c set_property_case(PROPCASE_FLASH_ADJUST_MODE, &mode, sizeof(mode)); mode 2008 core/shooting.c void shooting_set_playrec_mode(int mode) mode 2014 core/shooting.c switch_mode_usb(mode); mode 2017 core/shooting.c if(mode) mode 331 core/usb_remote.c int get_usb_power(int mode) mode 335 core/usb_remote.c switch( mode) mode 194 include/camera_info.h int mode; // Camera mode info mode 51 include/gui.h int mode; mode 82 include/gui.h extern gui_handler* gui_set_mode(gui_handler *mode); mode 49 include/levent.h extern void SetScriptMode(unsigned mode); mode 51 include/levent.h extern int switch_mode_usb(int mode); // 0 = playback, 1 = record; return indicates success mode 84 include/lolevel.h extern int _open (const char *name, int flags, int mode ); mode 91 include/lolevel.h extern int _Open (const char *name, int flags, int mode ); mode 98 include/lolevel.h extern long _Fopen_Fut(const char *filename, const char *mode); mode 134 include/lolevel.h extern long _strtolx(const char *nptr, char **endptr, int base, int mode); mode 242 include/lolevel.h extern void _SetScriptMode(unsigned mode); mode 209 include/shooting.h extern int shooting_set_mode_chdk(int mode); mode 211 include/shooting.h extern int shooting_set_mode_canon(int mode); mode 214 include/shooting.h void shooting_set_playrec_mode(int mode); mode 30 include/std/stdio.h extern FILE *fopen(const char *filename, const char *mode); mode 25 include/std/stdlib.h extern int open(const char *name, int flags, int mode ); mode 304 lib/lua/ldebug.c static int checkArgMode (const Proto *pt, int r, enum OpArgMask mode) { mode 305 lib/lua/ldebug.c switch (mode) { mode 162 lib/lua/lgc.c const TValue *mode; mode 165 lib/lua/lgc.c mode = gfasttm(g, h->metatable, TM_MODE); mode 166 lib/lua/lgc.c if (mode && ttisstring(mode)) { /* is there a weak mode? */ mode 167 lib/lua/lgc.c weakkey = (strchr(svalue(mode), 'k') != NULL); mode 168 lib/lua/lgc.c weakvalue = (strchr(svalue(mode), 'v') != NULL); mode 164 lib/lua/liolib.c const char *mode = luaL_optstring(L, 2, "r"); mode 166 lib/lua/liolib.c *pf = fopen(filename, mode); mode 178 lib/lua/liolib.c const char *mode = luaL_optstring(L, 2, "r"); mode 180 lib/lua/liolib.c *pf = lua_popen(L, filename, mode); mode 206 lib/lua/liolib.c static int g_iofile (lua_State *L, int f, const char *mode) { mode 211 lib/lua/liolib.c *pf = fopen(filename, mode); mode 513 lib/lua/liolib.c static const int mode[] = {SEEK_SET, SEEK_CUR, SEEK_END}; mode 518 lib/lua/liolib.c op = fseek(f, offset, mode[op]); mode 530 lib/lua/liolib.c static const int mode[] = {_IONBF, _IOFBF, _IOLBF}; mode 535 lib/lua/liolib.c int res = setvbuf(f, NULL, mode[op], sz); mode 64 modules/dng.c unsigned short get_flash_mode_for_exif(short mode, short fired); mode 681 modules/dng.c unsigned short get_flash_mode_for_exif(short mode, short fired){ mode 683 modules/dng.c switch(mode) mode 168 modules/games/gui_4wins.c char ki_findColumn(char mode, char player) { //player = 1|2 mode 171 modules/games/gui_4wins.c switch(mode) { mode 174 modules/games/gui_4wins.c if(!erg&&mode!='b') erg=ki_3(otherplayer); else break; //du3 mode 65 modules/games/gui_sudoku.c int mode; //MODE_VIEW, MODE_EDIT, MODE_MENU mode 194 modules/games/gui_sudoku.c draw_string(xMenuPos, FONT_HEIGHT*i+4, lang_str(LANG_SUDOKU_MENU_START+i), (menuPos==i && mode==MODE_MENU) ? MARKER_TEXT_COLOR : TEXT_COLOR); mode 230 modules/games/gui_sudoku.c if (mode==MODE_VIEW){ mode 238 modules/games/gui_sudoku.c if (mode==MODE_EDIT){ mode 249 modules/games/gui_sudoku.c if (mode==MODE_EDIT && x==xPos && y==yPos) continue; mode 264 modules/games/gui_sudoku.c if (mode==MODE_EDIT)draw_numpad(); mode 853 modules/games/gui_sudoku.c mode=MODE_VIEW; mode 864 modules/games/gui_sudoku.c if (mode==MODE_VIEW)mode=MODE_MENU; mode 865 modules/games/gui_sudoku.c else mode=MODE_VIEW; mode 869 modules/games/gui_sudoku.c mode=MODE_VIEW; mode 874 modules/games/gui_sudoku.c if (mode & (MODE_VIEW | MODE_EDIT)) mode 877 modules/games/gui_sudoku.c if (mode==MODE_EDIT) mode 879 modules/games/gui_sudoku.c mode=MODE_VIEW; mode 895 modules/games/gui_sudoku.c switch (mode) mode 916 modules/games/gui_sudoku.c mode=MODE_EDIT; mode 943 modules/games/gui_sudoku.c mode=MODE_VIEW; mode 974 modules/games/gui_sudoku.c mode=MODE_VIEW; mode 1001 modules/games/gui_sudoku.c mode=MODE_VIEW; mode 1034 modules/games/gui_sudoku.c if (mode==MODE_VIEW)mode=MODE_MENU; mode 1035 modules/games/gui_sudoku.c else mode=MODE_VIEW; mode 176 modules/gui_bench.c txtbufptr+=sprintf(txtbuf+txtbufptr,"Mode : 0x%x\n\n",camera_info.state.mode); mode 31 modules/gui_palette.c void gui_palette_init(int mode, chdkColor st_color, void (*on_select)(chdkColor clr)) mode 35 modules/gui_palette.c palette_mode = mode; mode 21 modules/gui_palette.h void (*show_palette)(int mode, chdkColor st_color, void (*on_select)(chdkColor clr)); mode 1871 modules/luascript.c lua_pushnumber( L, camera_info.state.mode ); mode 102 platform/g1x/lib.c if ((b == 3) && (camera_info.state.mode_video || ((camera_info.state.mode & MODE_SHOOTING_MASK) == MODE_VIDEO_MOVIE_DIGEST) || is_video_recording())) mode 207 platform/generic/filewrite.c int fwt_open(const char *name, int flags, int mode) { mode 209 platform/generic/filewrite.c return _Open(name, flags, mode); mode 446 platform/generic/wrappers.c int open (const char *name, int flags, int mode ) mode 465 platform/generic/wrappers.c int fd = _Open(name, flags, mode); mode 775 platform/generic/wrappers.c FILE *fopen(const char *filename, const char *mode) { mode 787 platform/generic/wrappers.c return (FILE *)_Fopen_Fut(filename,mode); mode 1623 platform/generic/wrappers.c void SetScriptMode(unsigned mode) { mode 1624 platform/generic/wrappers.c _SetScriptMode(mode); mode 1756 platform/generic/wrappers.c int __attribute__((weak)) switch_mode_usb(int mode) mode 1759 platform/generic/wrappers.c if ( mode == 0 ) { mode 1762 platform/generic/wrappers.c } else if ( mode == 1 ) { mode 1777 platform/generic/wrappers.c int __attribute__((weak)) switch_mode_usb(int mode) mode 1779 platform/generic/wrappers.c if ( mode == 0 ) { mode 1782 platform/generic/wrappers.c } else if ( mode == 1 ) { mode 14 platform/ixus1000_sd4500/sub/100d/boot.c int __attribute__((naked,noinline)) _Open(const char *name, int flags, int mode) { mode 15 platform/ixus1000_sd4500/sub/100d/boot.c (void)name; (void)flags, (void)mode; mode 16 platform/ixus1000_sd4500/sub/102b/boot.c int __attribute__((naked,noinline)) _Open(const char *name, int flags, int mode) { mode 17 platform/ixus1000_sd4500/sub/102b/boot.c (void)name; (void)flags, (void)mode; mode 159 platform/ixus310_elph500hs/kbd.c int camMode = (get_movie_status()==VIDEO_RECORD_IN_PROGRESS) ? MODE_VID : (camera_info.state.mode & MODE_MASK); mode 228 platform/ixus310_elph500hs/kbd.c int camMode = (get_movie_status()==VIDEO_RECORD_IN_PROGRESS) ? MODE_VID : (camera_info.state.mode & MODE_MASK); mode 279 platform/ixus310_elph500hs/kbd.c int camMode = (get_movie_status()==VIDEO_RECORD_IN_PROGRESS) ? MODE_VID : (camera_info.state.mode & MODE_MASK); mode 90 platform/ixus310_elph500hs/lib.c if ((b == 3) && (camera_info.state.mode_video || ((camera_info.state.mode & MODE_SHOOTING_MASK) == MODE_VIDEO_MOVIE_DIGEST) || (get_movie_status()==VIDEO_RECORD_IN_PROGRESS))) mode 90 platform/sx200is/sub/100c/lib.c int mode = mode_get()&MODE_MASK; mode 92 platform/sx200is/sub/100c/lib.c return ((mode == MODE_PLAY) || mode 93 platform/sx200is/sub/100c/lib.c (mode != MODE_PLAY && mode_shoot == MODE_STITCH))?720:_GetVRAMHPixelsSize(); mode 97 platform/sx200is/sub/100c/lib.c int mode = mode_get()&MODE_MASK; mode 99 platform/sx200is/sub/100c/lib.c return ((mode == MODE_PLAY) || mode 100 platform/sx200is/sub/100c/lib.c (mode != MODE_PLAY && mode_shoot == MODE_STITCH))?240:_GetVRAMVPixelsSize(); mode 105 platform/sx200is/sub/100c/lib.c int mode = mode_get()&MODE_MASK; mode 107 platform/sx200is/sub/100c/lib.c if(mode != MODE_PLAY && mode_shoot == MODE_STITCH) { mode 124 platform/sx200is/sub/100c/lib.c int mode = mode_get()&MODE_MASK; mode 126 platform/sx200is/sub/100c/lib.c return (mode != MODE_PLAY && mode_shoot == MODE_STITCH)?70:0; // window is 120, not centered mode 100 platform/sx40hs/lib.c if ((b == 3) && (camera_info.state.mode_video || ((camera_info.state.mode & MODE_SHOOTING_MASK) == MODE_VIDEO_MOVIE_DIGEST) || (get_movie_status()==VIDEO_RECORD_IN_PROGRESS))) mode 4355 tools/finsig_dryos.c uint16_t mode; mode 4372 tools/finsig_dryos.c for (i=0; mmnames[i].mode != 65535; i++) mode 4374 tools/finsig_dryos.c if (mmnames[i].mode == v) mode 3337 tools/finsig_vxworks.c uint16_t mode; mode 3354 tools/finsig_vxworks.c for (i=0; mmnames[i].mode != 65535; i++) mode 3356 tools/finsig_vxworks.c if (mmnames[i].mode == v) mode 104 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int open (const char *name, int flags, int mode ); mode 111 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int Open (const char *name, int flags, int mode ); mode 119 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall FILE * Fopen_Fut(const char *filename, const char *mode); mode 155 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int strtolx(const char *nptr, char **endptr, int base, int mode); mode 234 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall void SetScriptMode(unsigned mode); mode 440 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall FILE * fopen_low(const char *filename, const char *mode); mode 1068 tools/packfi2/zlib.h ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode)); mode 1085 tools/packfi2/zlib.h ZEXTERN gzFile ZEXPORT gzdopen OF((int fd, const char *mode)); mode 110 tools/packfi2/zutil.h # define F_OPEN(name, mode) \ mode 111 tools/packfi2/zutil.h fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512") mode 131 tools/packfi2/zutil.h # define fdopen(fd,mode) NULL /* No fdopen() */ mode 151 tools/packfi2/zutil.h # define fdopen(fd,mode) NULL /* No fdopen() */ mode 156 tools/packfi2/zutil.h # define fdopen(fd,mode) NULL /* No fdopen() */ mode 173 tools/packfi2/zutil.h # define F_OPEN(name, mode) fopen((name), (mode)) mode 194 tools/ubasic_test/camera_functions.c void camera_set_raw(int mode) mode 196 tools/ubasic_test/camera_functions.c raw = mode; mode 616 tools/ubasic_test/camera_functions.c void shooting_set_playrec_mode(int mode) mode 618 tools/ubasic_test/camera_functions.c printf("*** shooting_set_playrec_mode %d ***\n",mode); mode 18 tools/ubasic_test/camera_functions.h void camera_set_raw(int mode);