Home
last modified time | relevance | path

Searched refs:has_flag (Results 151 – 175 of 673) sorted by relevance

12345678910>>...27

/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/diesel_derives-1.4.1/src/
H A Dinsertable.rs93 if field.has_flag("embed") { in field_ty()
114 if field.has_flag("embed") { in field_expr()
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/command/
H A Dstanc_helper.hpp200 if (cmd.has_flag("help")) { in stanc_helper()
205 if (cmd.has_flag("version")) { in stanc_helper()
257 bool allow_undefined = cmd.has_flag("allow_undefined"); in stanc_helper()
/dports/math/py-PyMetis/PyMetis-2020.1/
H A Daksetup_helper.py911 def has_flag(compiler, flagname): function
931 if has_flag(compiler, '-std=gnu++14'):
933 elif has_flag(compiler, '-std=c++14'):
935 elif has_flag(compiler, '-std=c++11'):
957 if has_flag(self.compiler, '-fvisibility=hidden'):
960 if has_flag(self.compiler, '-stdlib=libc++'):
962 if has_flag(self.compiler, '-mmacosx-version-min=10.7'):
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dexplosion.cpp567 … if( !player_character.has_flag( STATIC( json_character_flag( "IMMUNE_HEARING_DAMAGE" ) ) ) && in flashbang()
579 } else if( player_character.has_flag( json_flag_GLARE_RESIST ) || in flashbang()
600 if( critter.has_flag( MF_SEES ) && here.sees( critter.pos(), p, 8 ) ) { in flashbang()
603 if( critter.has_flag( MF_HEARS ) ) { in flashbang()
653 if( critter.has_flag( MF_ELECTRONIC ) ) { in scrambler_blast()
666 if( here.has_flag( "CONSOLE", p ) ) { in emp_blast()
703 if( critter.has_flag( MF_ELECTRONIC ) ) { in emp_blast()
740 } else if( critter.has_flag( MF_ELECTRIC_FIELD ) ) { in emp_blast()
H A Dmelee.cpp169 return weap.is_null() || weap.has_flag( flag_UNARMED_WEAPON ); in unarmed_attack()
183 if( shield.has_flag( flag_UNBREAKABLE_MELEE ) ) { in handle_melee_wear()
201 if( shield.has_flag( flag_FRAGILE_MELEE ) ) { in handle_melee_wear()
228 if( shield.has_flag( flag_DURABLE_MELEE ) ) { in handle_melee_wear()
498 if( mons->has_flag( MF_RIDEABLE_MECH ) ) { in melee_attack_abstract()
638 cur_weapon->has_flag( flag_POLEARM ) ) { in melee_attack_abstract()
827 !( weapon.has_flag( flag_SPEAR ) && in reach_attack()
828 here.has_flag( "THIN_OBSTACLE", path_point ) && in reach_attack()
1730 } else if( shield.has_flag( flag_BLOCK_WHILE_WORN ) ) { in blocking_ability()
2021 if( weapon.has_flag( flag_FLAMING ) ) { in melee_special_effects()
[all …]
H A Dcrafting.cpp134 bool rec_blind = rec.has_flag( flag_BLIND_HARD ) || rec.has_flag( flag_BLIND_EASY ); in lighting_craft_speed_multiplier()
138 if( rec.has_flag( flag_BLIND_EASY ) ) { in lighting_craft_speed_multiplier()
1116 if( making.has_flag( flag_NO_RESIZE ) ) { in inherit_flags()
1118 if( parent.has_flag( flag_VARSIZE ) ) { in inherit_flags()
1122 if( parent.has_flag( flag_FIT ) ) { in inherit_flags()
1136 if( parent.has_flag( flag_HIDDEN_POISON ) ) { in inherit_flags()
2112 if( orig_item.is_ammo() && !r.has_flag( "UNCRAFT_BY_QUANTITY" ) ) { in create_in_progress_disassembly()
2264 if( obj.is_ammo() && !r.has_flag( "UNCRAFT_BY_QUANTITY" ) ) { in disassemble()
2374 if( obj.is_ammo() && !next_recipe.has_flag( "UNCRAFT_BY_QUANTITY" ) ) { in complete_disassemble()
2513 if( dis_item.has_flag( flag_FIT ) && act_item.has_flag( flag_VARSIZE ) ) { in complete_disassemble()
[all …]
H A Dhandle_action.cpp554 if( here.has_flag( flag_LOCKED, openp ) ) { in open()
638 } else if( here.has_flag( TFLAG_DEEP_WATER, player_character.pos() ) ) { in haul()
656 if( mons->has_flag( MF_RIDEABLE_MECH ) ) { in smash()
700 if( crit->has_flag( MF_RIDEABLE_MECH ) ) { in smash()
1022 if( it->has_flag( flag_LITCIG ) || in sleep()
1025 !it->has_flag( flag_SLEEP_IGNORE ) ) ) { in sleep()
1476 if( you.is_armed() && !sp.has_flag( spell_flag::NO_HANDS ) && in assign_spellcasting()
1477 !you.weapon.has_flag( flag_MAGIC_FOCUS ) ) { in assign_spellcasting()
1864 if( !mon->has_flag( MF_RIDEABLE_MECH ) ) { in handle_action()
1879 if( !mon->has_flag( MF_RIDEABLE_MECH ) ) { in handle_action()
[all …]
H A Dmonstergenerator.cpp269 if( t.has_flag( MF_BORES ) ) { in calc_bash_skill()
271 } else if( t.has_flag( MF_DESTROYS ) ) { in calc_bash_skill()
273 } else if( !t.has_flag( MF_BASHES ) ) { in calc_bash_skill()
356 if( type.has_flag( MF_ABSORBS ) || type.has_flag( MF_ABSORBS_SPLITS ) ) { in build_behavior_tree()
427 if( !mon.has_flag( MF_NOT_HALLU ) ) { in finalize_mtypes()
458 if( mon.has_flag( MF_CLIMBS ) ) { in finalize_pathfinding_settings()
1187 if( mon.harvest.is_null() && !mon.has_flag( MF_ELECTRONIC ) && !mon.id.is_null() ) { in check_monster_definitions()
1190 if( mon.has_flag( MF_MILKABLE ) && mon.starting_ammo.empty() ) { in check_monster_definitions()
1193 if( mon.has_flag( MF_MILKABLE ) && !mon.starting_ammo.empty() && in check_monster_definitions()
1198 if( mon.has_flag( MF_MILKABLE ) && mon.starting_ammo.size() > 1 ) { in check_monster_definitions()
H A Drecipe.cpp119 bool recipe::has_flag( const std::string &flag_name ) const in has_flag() function in recipe
498 if( newit.has_flag( flag_VARSIZE ) ) { in create_result()
550 if( obj.has_flag( flag_VARSIZE ) ) { in create_byproducts()
879 result.is_food() && !result.goes_bad() && !has_flag( "ALLOW_ROTTEN" ); in get_component_filter()
895 return !component.has_flag( flag_FROZEN ) || component.has_flag( flag_EDIBLE_FROZEN ); in get_component_filter()
902 if( has_flag( "NEED_FULL_MAGAZINE" ) ) { in get_component_filter()
1011 return create_result().is_comestible() && !create_result().has_flag( flag_RAW ); in removes_raw()
H A Dbionics.h145 bool has_flag( const json_character_flag &flag ) const;
183 bool has_flag( const std::string &flag ) const;
H A Dnpcmove.cpp391 const bool no_fighting = rules.has_flag( ally_rule::forbid_engage ); in assess_danger()
409 if( rules.has_flag( ally_rule::forbid_engage ) ) { in assess_danger()
1387 if( rules.has_flag( ally_rule::use_guns ) || !is_player_ally() ) { in method_of_attack()
2361 } else if( here.passable( p ) && !here.has_flag( "DOOR", p ) ) { in move_to()
2368 if( mounted_creature->has_flag( MF_RIDEABLE_MECH ) ) { in move_to()
2426 if( here.has_flag( "UNSTABLE", pos() ) ) { in move_to()
3477 const bool dangerous = it.has_flag( flag_NPC_THROW_NOW ); in alt_attack()
3483 if( !dangerous && !it.has_flag( flag_NPC_ALT_ATTACK ) ) { in alt_attack()
3515 if( !used->active && used->has_flag( flag_NPC_ACTIVATE ) ) { in alt_attack()
3718 if( food->parasites && !it.has_flag( flag_NO_PARASITES ) ) { in rate_food()
[all …]
H A Dnpc.cpp201 if( e.has_flag( flag_VARSIZE ) ) { in standard_npc()
591 if( it.has_flag( flag_VARSIZE ) ) { in starting_clothes()
660 return e.has_flag( flag_TRADER_AVOID ); in starting_inv()
1093 if( it.has_flag( flag_SPLINT ) ) { in wear_if_wanted()
1646 if( it.has_flag( flag_TRADER_KEEP ) || in wants_to_sell()
1667 if( it.has_flag( flag_TRADER_AVOID ) ) { in wants_to_buy()
2812 if( here.has_flag( "UNSTABLE", pos() ) ) { in on_load()
2944 it.has_flag( flag_NPC_SAFE ) ) { in will_accept_from_player()
2991 if( rules.has_flag( ally_rule::avoid_doors ) ) { in get_path_avoid()
2998 if( rules.has_flag( ally_rule::hold_the_line ) ) { in get_path_avoid()
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dexplosion.cpp567 … if( !player_character.has_flag( STATIC( json_character_flag( "IMMUNE_HEARING_DAMAGE" ) ) ) && in flashbang()
579 } else if( player_character.has_flag( json_flag_GLARE_RESIST ) || in flashbang()
600 if( critter.has_flag( MF_SEES ) && here.sees( critter.pos(), p, 8 ) ) { in flashbang()
603 if( critter.has_flag( MF_HEARS ) ) { in flashbang()
653 if( critter.has_flag( MF_ELECTRONIC ) ) { in scrambler_blast()
666 if( here.has_flag( "CONSOLE", p ) ) { in emp_blast()
703 if( critter.has_flag( MF_ELECTRONIC ) ) { in emp_blast()
740 } else if( critter.has_flag( MF_ELECTRIC_FIELD ) ) { in emp_blast()
H A Dmelee.cpp169 return weap.is_null() || weap.has_flag( flag_UNARMED_WEAPON ); in unarmed_attack()
183 if( shield.has_flag( flag_UNBREAKABLE_MELEE ) ) { in handle_melee_wear()
201 if( shield.has_flag( flag_FRAGILE_MELEE ) ) { in handle_melee_wear()
228 if( shield.has_flag( flag_DURABLE_MELEE ) ) { in handle_melee_wear()
498 if( mons->has_flag( MF_RIDEABLE_MECH ) ) { in melee_attack_abstract()
638 cur_weapon->has_flag( flag_POLEARM ) ) { in melee_attack_abstract()
827 !( weapon.has_flag( flag_SPEAR ) && in reach_attack()
828 here.has_flag( "THIN_OBSTACLE", path_point ) && in reach_attack()
1730 } else if( shield.has_flag( flag_BLOCK_WHILE_WORN ) ) { in blocking_ability()
2021 if( weapon.has_flag( flag_FLAMING ) ) { in melee_special_effects()
[all …]
H A Dcrafting.cpp134 bool rec_blind = rec.has_flag( flag_BLIND_HARD ) || rec.has_flag( flag_BLIND_EASY ); in lighting_craft_speed_multiplier()
138 if( rec.has_flag( flag_BLIND_EASY ) ) { in lighting_craft_speed_multiplier()
1116 if( making.has_flag( flag_NO_RESIZE ) ) { in inherit_flags()
1118 if( parent.has_flag( flag_VARSIZE ) ) { in inherit_flags()
1122 if( parent.has_flag( flag_FIT ) ) { in inherit_flags()
1136 if( parent.has_flag( flag_HIDDEN_POISON ) ) { in inherit_flags()
2112 if( orig_item.is_ammo() && !r.has_flag( "UNCRAFT_BY_QUANTITY" ) ) { in create_in_progress_disassembly()
2264 if( obj.is_ammo() && !r.has_flag( "UNCRAFT_BY_QUANTITY" ) ) { in disassemble()
2374 if( obj.is_ammo() && !next_recipe.has_flag( "UNCRAFT_BY_QUANTITY" ) ) { in complete_disassemble()
2513 if( dis_item.has_flag( flag_FIT ) && act_item.has_flag( flag_VARSIZE ) ) { in complete_disassemble()
[all …]
H A Dhandle_action.cpp554 if( here.has_flag( flag_LOCKED, openp ) ) { in open()
638 } else if( here.has_flag( TFLAG_DEEP_WATER, player_character.pos() ) ) { in haul()
656 if( mons->has_flag( MF_RIDEABLE_MECH ) ) { in smash()
700 if( crit->has_flag( MF_RIDEABLE_MECH ) ) { in smash()
1022 if( it->has_flag( flag_LITCIG ) || in sleep()
1025 !it->has_flag( flag_SLEEP_IGNORE ) ) ) { in sleep()
1476 if( you.is_armed() && !sp.has_flag( spell_flag::NO_HANDS ) && in assign_spellcasting()
1477 !you.weapon.has_flag( flag_MAGIC_FOCUS ) ) { in assign_spellcasting()
1864 if( !mon->has_flag( MF_RIDEABLE_MECH ) ) { in handle_action()
1879 if( !mon->has_flag( MF_RIDEABLE_MECH ) ) { in handle_action()
[all …]
H A Dmonstergenerator.cpp269 if( t.has_flag( MF_BORES ) ) { in calc_bash_skill()
271 } else if( t.has_flag( MF_DESTROYS ) ) { in calc_bash_skill()
273 } else if( !t.has_flag( MF_BASHES ) ) { in calc_bash_skill()
356 if( type.has_flag( MF_ABSORBS ) || type.has_flag( MF_ABSORBS_SPLITS ) ) { in build_behavior_tree()
427 if( !mon.has_flag( MF_NOT_HALLU ) ) { in finalize_mtypes()
458 if( mon.has_flag( MF_CLIMBS ) ) { in finalize_pathfinding_settings()
1187 if( mon.harvest.is_null() && !mon.has_flag( MF_ELECTRONIC ) && !mon.id.is_null() ) { in check_monster_definitions()
1190 if( mon.has_flag( MF_MILKABLE ) && mon.starting_ammo.empty() ) { in check_monster_definitions()
1193 if( mon.has_flag( MF_MILKABLE ) && !mon.starting_ammo.empty() && in check_monster_definitions()
1198 if( mon.has_flag( MF_MILKABLE ) && mon.starting_ammo.size() > 1 ) { in check_monster_definitions()
H A Drecipe.cpp119 bool recipe::has_flag( const std::string &flag_name ) const in has_flag() function in recipe
498 if( newit.has_flag( flag_VARSIZE ) ) { in create_result()
550 if( obj.has_flag( flag_VARSIZE ) ) { in create_byproducts()
879 result.is_food() && !result.goes_bad() && !has_flag( "ALLOW_ROTTEN" ); in get_component_filter()
895 return !component.has_flag( flag_FROZEN ) || component.has_flag( flag_EDIBLE_FROZEN ); in get_component_filter()
902 if( has_flag( "NEED_FULL_MAGAZINE" ) ) { in get_component_filter()
1011 return create_result().is_comestible() && !create_result().has_flag( flag_RAW ); in removes_raw()
H A Dbionics.h145 bool has_flag( const json_character_flag &flag ) const;
183 bool has_flag( const std::string &flag ) const;
H A Dnpcmove.cpp391 const bool no_fighting = rules.has_flag( ally_rule::forbid_engage ); in assess_danger()
409 if( rules.has_flag( ally_rule::forbid_engage ) ) { in assess_danger()
1387 if( rules.has_flag( ally_rule::use_guns ) || !is_player_ally() ) { in method_of_attack()
2361 } else if( here.passable( p ) && !here.has_flag( "DOOR", p ) ) { in move_to()
2368 if( mounted_creature->has_flag( MF_RIDEABLE_MECH ) ) { in move_to()
2426 if( here.has_flag( "UNSTABLE", pos() ) ) { in move_to()
3477 const bool dangerous = it.has_flag( flag_NPC_THROW_NOW ); in alt_attack()
3483 if( !dangerous && !it.has_flag( flag_NPC_ALT_ATTACK ) ) { in alt_attack()
3515 if( !used->active && used->has_flag( flag_NPC_ACTIVATE ) ) { in alt_attack()
3718 if( food->parasites && !it.has_flag( flag_NO_PARASITES ) ) { in rate_food()
[all …]
/dports/databases/redis-devel/redis-0e5b813/tests/cluster/
H A Dcluster.tcl36 proc has_flag {node flag} { procedure
44 if {[has_flag $n myself]} {return $n}
/dports/audio/ardour6/Ardour-6.8.0/libs/audiographer/tests/general/
H A Dsr_converter_test.cc112 CPPUNIT_ASSERT (it->has_flag (ProcessContext<float>::EndOfInput)); in testRespectsEndOfInput()
114 CPPUNIT_ASSERT (!it->has_flag (ProcessContext<float>::EndOfInput)); in testRespectsEndOfInput()
/dports/games/freeciv/freeciv-2.6.6/common/
H A Dunitlist.c185 enum unit_type_flag_id flag, bool has_flag) in units_have_type_flag() argument
188 if (EQ(has_flag, unit_has_type_flag(punit, flag))) { in units_have_type_flag()
/dports/games/freeciv-nox11/freeciv-2.6.6/common/
H A Dunitlist.c185 enum unit_type_flag_id flag, bool has_flag) in units_have_type_flag() argument
188 if (EQ(has_flag, unit_has_type_flag(punit, flag))) { in units_have_type_flag()
/dports/net-im/dino/dino-0.2.2/xmpp-vala/src/module/
H A Dbind.vala56 return !stream.has_flag(Flag.IDENTITY) || !stream.get_flag(Flag.IDENTITY).finished;
60 return stream.has_flag(Flag.IDENTITY) && !stream.get_flag(Flag.IDENTITY).finished;

12345678910>>...27