/dports/graphics/librasterlite2/librasterlite2-1.0.0-rc0/test/ |
H A D | test4.c | 91 if (mode2) in create_monochrome() 108 if (mode2) in create_monochrome() 125 if (mode2) in create_monochrome() 142 if (mode2) in create_monochrome() 167 if (mode2) in create_monochrome() 188 if (mode2) in create_monochrome() 209 if (mode2) in create_monochrome() 230 if (mode2) in create_monochrome() 250 if (mode2) in create_monochrome() 271 if (mode2) in create_monochrome() [all …]
|
H A D | test5.c | 110 if (mode2) in create_bicolor() 127 if (mode2) in create_bicolor() 144 if (mode2) in create_bicolor() 161 if (mode2) in create_bicolor() 186 if (mode2) in create_bicolor() 207 if (mode2) in create_bicolor() 228 if (mode2) in create_bicolor() 249 if (mode2) in create_bicolor() 269 if (mode2) in create_bicolor() 290 if (mode2) in create_bicolor() [all …]
|
/dports/emulators/mess/mame-mame0226/src/tools/ |
H A D | romcmp.cpp | 596 int i,j,mode1,mode2; in main() local 635 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 654 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 656 matchscore[i][j][mode1][mode2] = filecompare(&files[0][i],&files[1][j],mode1,mode2); in main() 675 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 682 || (matchscore[i][j][mode1][mode2] == 1.0f && mode2 == 0 && bestmode2 > 0)) in main() 688 bestmode2 = mode2; in main() 708 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 727 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 740 for (mode2 = 0;mode2 < start;mode2++) in main() [all …]
|
/dports/emulators/mame/mame-mame0226/src/tools/ |
H A D | romcmp.cpp | 596 int i,j,mode1,mode2; in main() local 635 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 654 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 656 matchscore[i][j][mode1][mode2] = filecompare(&files[0][i],&files[1][j],mode1,mode2); in main() 675 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 682 || (matchscore[i][j][mode1][mode2] == 1.0f && mode2 == 0 && bestmode2 > 0)) in main() 688 bestmode2 = mode2; in main() 708 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 727 for (mode2 = 0;mode2 < total_modes;mode2++) in main() 740 for (mode2 = 0;mode2 < start;mode2++) in main() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/jfs/ |
H A D | jfs_inode.c | 18 unsigned int flags = JFS_IP(inode)->mode2; in jfs_set_inode_flags() 86 jfs_inode->mode2 = JFS_IP(parent)->mode2 & JFS_FL_INHERIT; in ialloc() 89 jfs_inode->mode2 |= IDIRECTORY; in ialloc() 90 jfs_inode->mode2 &= ~JFS_DIRSYNC_FL; in ialloc() 93 jfs_inode->mode2 |= INLINEEA | ISPARSE; in ialloc() 95 jfs_inode->mode2 &= ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL); in ialloc() 97 jfs_inode->mode2 |= inode->i_mode; in ialloc()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/jfs/ |
H A D | jfs_inode.c | 18 unsigned int flags = JFS_IP(inode)->mode2; in jfs_set_inode_flags() 86 jfs_inode->mode2 = JFS_IP(parent)->mode2 & JFS_FL_INHERIT; in ialloc() 89 jfs_inode->mode2 |= IDIRECTORY; in ialloc() 90 jfs_inode->mode2 &= ~JFS_DIRSYNC_FL; in ialloc() 93 jfs_inode->mode2 |= INLINEEA | ISPARSE; in ialloc() 95 jfs_inode->mode2 &= ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL); in ialloc() 97 jfs_inode->mode2 |= inode->i_mode; in ialloc()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/jfs/ |
H A D | jfs_inode.c | 18 unsigned int flags = JFS_IP(inode)->mode2; in jfs_set_inode_flags() 86 jfs_inode->mode2 = JFS_IP(parent)->mode2 & JFS_FL_INHERIT; in ialloc() 89 jfs_inode->mode2 |= IDIRECTORY; in ialloc() 90 jfs_inode->mode2 &= ~JFS_DIRSYNC_FL; in ialloc() 93 jfs_inode->mode2 |= INLINEEA | ISPARSE; in ialloc() 95 jfs_inode->mode2 &= ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL); in ialloc() 97 jfs_inode->mode2 |= inode->i_mode; in ialloc()
|
/dports/games/libretro-beetle_pcfx/beetle-pcfx-libretro-7bba669/mednafen/pcfx/input/ |
H A D | gamepad.cpp | 31 mode2 = false; in PCFX_Input_Gamepad() 80 mode2 = !mode2; in Frame() 85 …MDFN_DispMessage(_("Pad %d - MODE 1: %s, MODE 2: %s"), which + 1, (mode1 ? "B" : "A"), (mode2 ? "B… in Frame() 89 buttons |= mode2 << 14; in Frame() 102 SFVAR(mode2), in StateAction() 115 bool mode2; member in PCFX_Input_Gamepad
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/leds/ |
H A D | leds-pca963x.c | 159 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local 165 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_blink() 171 if (!(mode2 & PCA963X_MODE2_DMBLNK)) in pca963x_blink() 173 mode2 | PCA963X_MODE2_DMBLNK); in pca963x_blink() 293 s32 mode2; in pca963x_register_leds() local 304 if (mode2 < 0) in pca963x_register_leds() 305 return mode2; in pca963x_register_leds() 309 mode2 |= PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 311 mode2 &= ~PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 315 mode2 |= PCA963X_MODE2_INVRT; in pca963x_register_leds() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/leds/ |
H A D | leds-pca963x.c | 159 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local 165 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_blink() 171 if (!(mode2 & PCA963X_MODE2_DMBLNK)) in pca963x_blink() 173 mode2 | PCA963X_MODE2_DMBLNK); in pca963x_blink() 293 s32 mode2; in pca963x_register_leds() local 304 if (mode2 < 0) in pca963x_register_leds() 305 return mode2; in pca963x_register_leds() 309 mode2 |= PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 311 mode2 &= ~PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 315 mode2 |= PCA963X_MODE2_INVRT; in pca963x_register_leds() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/leds/ |
H A D | leds-pca963x.c | 159 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local 165 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_blink() 171 if (!(mode2 & PCA963X_MODE2_DMBLNK)) in pca963x_blink() 173 mode2 | PCA963X_MODE2_DMBLNK); in pca963x_blink() 293 s32 mode2; in pca963x_register_leds() local 304 if (mode2 < 0) in pca963x_register_leds() 305 return mode2; in pca963x_register_leds() 309 mode2 |= PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 311 mode2 &= ~PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 315 mode2 |= PCA963X_MODE2_INVRT; in pca963x_register_leds() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mcal/ |
H A D | mcal_general_ca.cxx | 70 const vnl_vector<double>& mode2, in mcal_pair_cost1() argument 105 const vnl_vector<double> &mode2, in mcal_pair_cost2() argument 113 const vnl_vector<double> &mode2, 125 const vnl_vector<double>& mode2, in mcal_pair_cost2() argument 127 : vnl_cost_function(1),mode1_(mode1),mode2_(mode2),cost_(cost) in mcal_pair_cost2() 170 vnl_vector<double>& mode2) in optimise_mode_pair() argument 201 vnl_vector<double> m1=mode1,m2=mode2; in optimise_mode_pair() 206 mode2 = cosA*m2 - sinA*m1; in optimise_mode_pair() 226 vnl_vector<double> mode2 = modes.get_column(j); in optimise_one_pass() local 227 move_sum += optimise_mode_pair(proj[i],proj[j],mode1,mode2); in optimise_one_pass() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/scripts/common/impl/ |
H A D | favor-static | 82 mode2=$mode 86 both) mode2=static ;; 87 dynamic) mode2=dynamic ;; 93 [ $mode2 = $mode ] || new_cmd="$new_cmd $flag$mode2" 94 mode=$mode2
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/scripts/common/impl/ |
H A D | favor-static | 82 mode2=$mode 86 both) mode2=static ;; 87 dynamic) mode2=dynamic ;; 93 [ $mode2 = $mode ] || new_cmd="$new_cmd $flag$mode2" 94 mode=$mode2
|
/dports/lang/racket-minimal/racket-8.3/src/io/port/ |
H A D | file-port.rkt | 26 (define/who (open-input-file path [mode1 none] [mode2 none]) 39 (mode->flags mode2)))) 42 (when (or (eq? mode1 'module) (eq? mode2 'module)) 61 (define (do-open-output-file #:plus-input? [plus-input? #f] who path mode1 mode2 perms) 76 (or (eq? mode1 v) (eq? mode2 v))) 93 (mode->flags mode2))) 145 (define/who (open-output-file path [mode1 none] [mode2 none] [perms DEFAULT-CREATE-PERMS]) 146 (do-open-output-file who path mode1 mode2 perms)) 149 (do-open-output-file #:plus-input? #t who path mode1 mode2 perms)) 163 (define o (open-output-file path mode1 mode2 perms)) [all …]
|
/dports/lang/racket/racket-8.3/src/io/port/ |
H A D | file-port.rkt | 26 (define/who (open-input-file path [mode1 none] [mode2 none]) 39 (mode->flags mode2)))) 42 (when (or (eq? mode1 'module) (eq? mode2 'module)) 61 (define (do-open-output-file #:plus-input? [plus-input? #f] who path mode1 mode2 perms) 76 (or (eq? mode1 v) (eq? mode2 v))) 93 (mode->flags mode2))) 145 (define/who (open-output-file path [mode1 none] [mode2 none] [perms DEFAULT-CREATE-PERMS]) 146 (do-open-output-file who path mode1 mode2 perms)) 149 (do-open-output-file #:plus-input? #t who path mode1 mode2 perms)) 163 (define o (open-output-file path mode1 mode2 perms)) [all …]
|
/dports/irc/irssi-scripts/irssi-scripts/scripts/ |
H A D | showmode.pl | 46 my ($mode2, $server, $channelname, $nickname) = @_; 48 @lastmode[$mode2] = {}; 62 …$lastmode[$mode2]->{$channel->{'name'}} = $nick->{'op'} ? '@' : $nick->{halfop} ? '%' : $nick->{vo… 68 my ($server,$item,$mode2) = @_; 72 return $lastmode[$mode2]->{$item->{'name'}};
|
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/models/ |
H A D | modelistmodel.cpp | 36 static bool modeSorter(const std::string &mode1, const std::string &mode2) in modeSorter() argument 43 const int width2 = atoi(mode2.substr(0, mode2.find('x')).c_str()); in modeSorter() 44 const int height2 = atoi(mode2.substr(mode2.find('x') + 1).c_str()); in modeSorter()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/ |
H A D | drm_modes.c | 927 mode1->htotal == mode2->htotal && in drm_mode_match_timings() 928 mode1->hskew == mode2->hskew && in drm_mode_match_timings() 932 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings() 933 mode1->vscan == mode2->vscan; in drm_mode_match_timings() 943 if (mode1->clock && mode2->clock) in drm_mode_match_clock() 946 return mode1->clock == mode2->clock; in drm_mode_match_clock() 984 if (!mode1 && !mode2) in drm_mode_match() 987 if (!mode1 || !mode2) in drm_mode_match() 1027 return drm_mode_match(mode1, mode2, in drm_mode_equal() 1050 return drm_mode_match(mode1, mode2, in drm_mode_equal_no_clocks() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/ |
H A D | drm_modes.c | 927 mode1->htotal == mode2->htotal && in drm_mode_match_timings() 928 mode1->hskew == mode2->hskew && in drm_mode_match_timings() 932 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings() 933 mode1->vscan == mode2->vscan; in drm_mode_match_timings() 943 if (mode1->clock && mode2->clock) in drm_mode_match_clock() 946 return mode1->clock == mode2->clock; in drm_mode_match_clock() 984 if (!mode1 && !mode2) in drm_mode_match() 987 if (!mode1 || !mode2) in drm_mode_match() 1027 return drm_mode_match(mode1, mode2, in drm_mode_equal() 1050 return drm_mode_match(mode1, mode2, in drm_mode_equal_no_clocks() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/ |
H A D | drm_modes.c | 927 mode1->htotal == mode2->htotal && in drm_mode_match_timings() 928 mode1->hskew == mode2->hskew && in drm_mode_match_timings() 932 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings() 933 mode1->vscan == mode2->vscan; in drm_mode_match_timings() 943 if (mode1->clock && mode2->clock) in drm_mode_match_clock() 946 return mode1->clock == mode2->clock; in drm_mode_match_clock() 984 if (!mode1 && !mode2) in drm_mode_match() 987 if (!mode1 || !mode2) in drm_mode_match() 1027 return drm_mode_match(mode1, mode2, in drm_mode_equal() 1050 return drm_mode_match(mode1, mode2, in drm_mode_equal_no_clocks() [all …]
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/nix-0.11.0/test/ |
H A D | test_stat.rs | 121 let mut mode2 = Mode::empty(); in test_fchmod() localVariable 122 mode2.insert(Mode::S_IROTH); in test_fchmod() 123 fchmod(file.as_raw_fd(), mode2).unwrap(); in test_fchmod() 126 assert_eq!(file_stat2.st_mode & 0o7777, mode2.bits()); in test_fchmod() 148 let mut mode2 = Mode::empty(); in test_fchmodat() localVariable 149 mode2.insert(Mode::S_IROTH); in test_fchmodat() 150 fchmodat(None, filename, mode2, FchmodatFlags::FollowSymlink).unwrap(); in test_fchmodat() 153 assert_eq!(file_stat2.st_mode & 0o7777, mode2.bits()); in test_fchmodat()
|
/dports/devel/git-svn/git-2.34.1/ |
H A D | diff-no-index.c | 94 int mode1 = 0, mode2 = 0; in queue_diff() local 96 if (get_mode(name1, &mode1) || get_mode(name2, &mode2)) in queue_diff() 99 if (mode1 && mode2 && S_ISDIR(mode1) != S_ISDIR(mode2)) { in queue_diff() 105 d2 = noindex_filespec(name2, mode2); in queue_diff() 107 mode2 = 0; in queue_diff() 121 if (S_ISDIR(mode1) || S_ISDIR(mode2)) { in queue_diff() 188 SWAP(mode1, mode2); in queue_diff() 193 d2 = noindex_filespec(name2, mode2); in queue_diff()
|
H A D | match-trees.c | 19 static int score_differs(unsigned mode1, unsigned mode2) in score_differs() argument 23 if (S_ISDIR(mode1) != S_ISDIR(mode2)) in score_differs() 25 else if (S_ISLNK(mode1) != S_ISLNK(mode2)) in score_differs() 32 static int score_matches(unsigned mode1, unsigned mode2) in score_matches() argument 37 if (S_ISDIR(mode1) != S_ISDIR(mode2)) in score_matches() 39 else if (S_ISLNK(mode1) != S_ISLNK(mode2)) in score_matches() 318 unsigned short mode1, mode2; in shift_tree_by() local 327 if (!get_tree_entry(r, hash2, shift_prefix, &sub2, &mode2) && in shift_tree_by() 328 S_ISDIR(mode2)) in shift_tree_by()
|
/dports/devel/git-gui/git-2.34.1/ |
H A D | match-trees.c | 19 static int score_differs(unsigned mode1, unsigned mode2) in score_differs() argument 23 if (S_ISDIR(mode1) != S_ISDIR(mode2)) in score_differs() 25 else if (S_ISLNK(mode1) != S_ISLNK(mode2)) in score_differs() 32 static int score_matches(unsigned mode1, unsigned mode2) in score_matches() argument 37 if (S_ISDIR(mode1) != S_ISDIR(mode2)) in score_matches() 39 else if (S_ISLNK(mode1) != S_ISLNK(mode2)) in score_matches() 318 unsigned short mode1, mode2; in shift_tree_by() local 327 if (!get_tree_entry(r, hash2, shift_prefix, &sub2, &mode2) && in shift_tree_by() 328 S_ISDIR(mode2)) in shift_tree_by()
|