/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/tests/ |
H A D | test_ComponentManager.h | 154 entity_id_t ent1 = 1, ent2 = 2; in test_QueryInterface() local 203 man.PostMessage(ent1, msg1); in test_SendMessage() 204 man.PostMessage(ent1, msg2); in test_SendMessage() 238 man.PostMessage(ent1, msg3); in test_SendMessage() 320 entity_id_t ent1 = 1; in test_script_helper_basic() local 336 entity_id_t ent1 = 1; in test_script_global_helper() local 353 entity_id_t ent1 = 1; in test_script_interface() local 431 entity_id_t ent2 = ent1 + 2; in test_script_AddEntity() 494 entity_id_t ent1 = 10; in test_script_DestroyEntity() local 811 entity_id_t ent1 = 1; in test_script_serialization_errors() local [all …]
|
H A D | test_CmpTemplateManager.h | 58 entity_id_t ent1 = 1, ent2 = 2; in test_LoadTemplate() local 59 CEntityHandle hnd1 = man.LookupEntityHandle(ent1, true); in test_LoadTemplate() 64 …ICmpTemplateManager* tempMan = static_cast<ICmpTemplateManager*> (man.QueryInterface(ent1, IID_Tem… in test_LoadTemplate() 92 entity_id_t ent1 = 1, ent2 = 2; in test_LoadTemplate_scriptcache() local 93 CEntityHandle hnd1 = man.LookupEntityHandle(ent1, true); in test_LoadTemplate_scriptcache() 98 …ICmpTemplateManager* tempMan = static_cast<ICmpTemplateManager*> (man.QueryInterface(ent1, IID_Tem… in test_LoadTemplate_scriptcache() 153 entity_id_t ent1 = 1, ent2 = 2; in test_LoadTemplate_errors() local 154 CEntityHandle hnd1 = man.LookupEntityHandle(ent1, true); in test_LoadTemplate_errors() 159 …ICmpTemplateManager* tempMan = static_cast<ICmpTemplateManager*> (man.QueryInterface(ent1, IID_Tem… in test_LoadTemplate_errors() 185 entity_id_t ent1 = 1, ent2 = 2; in test_LoadTemplate_multiple() local [all …]
|
H A D | test_Simulation2.h | 65 entity_id_t ent1 = sim.AddEntity(L"test1"); in test_AddEntity() local 66 TS_ASSERT_EQUALS(ent1, (u32)2); in test_AddEntity() 68 TS_ASSERT_EQUALS(static_cast<ICmpTest1*> (sim.QueryInterface(ent1, IID_Test1))->GetX(), 999); in test_AddEntity() 69 TS_ASSERT_EQUALS(static_cast<ICmpTest2*> (sim.QueryInterface(ent1, IID_Test2))->GetX(), 12345); in test_AddEntity() 85 entity_id_t ent1 = sim.AddEntity(L"test1"); in test_DestroyEntity() local 89 TS_ASSERT_EQUALS(static_cast<ICmpTest1*> (sim.QueryInterface(ent1, IID_Test1))->GetX(), 999); in test_DestroyEntity() 90 TS_ASSERT_EQUALS(static_cast<ICmpTest2*> (sim.QueryInterface(ent1, IID_Test2))->GetX(), 12345); in test_DestroyEntity() 114 TS_ASSERT_EQUALS(static_cast<ICmpTest1*> (sim.QueryInterface(ent1, IID_Test1))->GetX(), 999); in test_DestroyEntity() 115 TS_ASSERT_EQUALS(static_cast<ICmpTest2*> (sim.QueryInterface(ent1, IID_Test2))->GetX(), 12345); in test_DestroyEntity()
|
/dports/cad/ghdl/ghdl-1.0.0/testsuite/gna/issue1528/ |
H A D | ent1.vhdl | 6 entity ent1 is entity 7 attribute ent_name of ent1: entity is "entity ent1"; 8 attribute ent_type of ent1: entity is "LogicI"; 9 attribute ent_stat of ent1: entity is 95; 10 end entity ent1; 12 architecture rtl of ent1 is 13 attribute arc_name of rtl: architecture is "rtl of ent1";
|
/dports/devel/libosinfo/libosinfo-1.9.0/tests/ |
H A D | test-list.c | 142 osinfo_list_add(list1, ent1); in test_union() 161 if (ent == ent1) in test_union() 178 g_object_unref(ent1); in test_union() 226 if (ent == ent1) in test_intersect() 243 g_object_unref(ent1); in test_intersect() 295 if (ent == ent1) in test_filter() 312 g_object_unref(ent1); in test_filter() 322 OsinfoEntity *ent1; member 338 if (idata->ent1 == ent) in iterator() 369 data.ent1 = ent1; in test_iterate() [all …]
|
/dports/games/blobwars/blobwars-2.00/src/ |
H A D | CCollision.cpp | 35 bool Collision::collision(Entity *ent1, Entity *ent2) in collision() argument 37 if ((ent1->flags & ENT_NOCOLLISIONS) || (ent2->flags & ENT_NOCOLLISIONS)) in collision() 40 …return collision(ent1->x, ent1->y, ent1->width, ent1->height, ent2->x, ent2->y, ent2->width, ent2-… in collision()
|
/dports/x11-toolkits/gnocl/gnocl-0.9.96/demo/ |
H A D | test-fontButton.tcl | 29 $ent1 configure -baseFont $fontName } \ 32 set ent1 [gnocl::entry -value Gnocl -baseFont $fontName] 34 $mainBox add [list $ent1 [gnocl::separator] $fsb1 ] 42 …nt Slection Dialog" -onClicked { set fnt [ gnocl::fontSelectionDialog] ; $ent1 configure -baseFont… 46 … { set fontName [ $fs1 cget -fontName] ; puts [$fs1 cget -previewText] ; $ent1 configure -baseFont… 48 $mainBox add [list $ent1 [gnocl::separator] $fsb1 $fs1 $lab1 $but2 $but1]
|
H A D | test-fontSelection.tcl | 29 …-onFontSet { puts "font = %f\n [%w cget -data] [%w cget -name]" ; set fontName %f ; $ent1 configur… 32 set ent1 [gnocl::entry -value Gnocl] 33 …nt Slection Dialog" -onClicked { set fnt [ gnocl::fontSelectionDialog] ; $ent1 configure -baseFont… 37 … { set fontName [ $fs1 cget -fontName] ; puts [$fs1 cget -previewText] ; $ent1 configure -baseFont… 39 $mainBox add [list $ent1 [gnocl::separator] $fsb1 $fs1 $lab1 $but2 $but1]
|
/dports/lang/php73/php-7.3.33/ext/wddx/ |
H A D | wddx.c | 877 st_entry *ent1, *ent2; in php_wddx_pop_element() local 898 efree(ent1); in php_wddx_pop_element() 910 (unsigned char *)Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 940 efree(ent1); in php_wddx_pop_element() 947 if (ent1->varname) { in php_wddx_pop_element() 949 Z_TYPE(ent1->data) == IS_STRING && Z_STRLEN(ent1->data) && in php_wddx_pop_element() 953 zend_str_tolower(Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 977 php_store_class_name(&obj, Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 991 …zend_update_property(Z_OBJCE(ent2->data), &ent2->data, ent1->varname, strlen(ent1->varname), &ent1… in php_wddx_pop_element() 994 zend_symtable_str_update(target_hash, ent1->varname, strlen(ent1->varname), &ent1->data); in php_wddx_pop_element() [all …]
|
/dports/textproc/php73-wddx/php-7.3.33/ext/wddx/ |
H A D | wddx.c | 881 st_entry *ent1, *ent2; in php_wddx_pop_element() local 902 efree(ent1); in php_wddx_pop_element() 914 (unsigned char *)Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 944 efree(ent1); in php_wddx_pop_element() 951 if (ent1->varname) { in php_wddx_pop_element() 953 Z_TYPE(ent1->data) == IS_STRING && Z_STRLEN(ent1->data) && in php_wddx_pop_element() 957 zend_str_tolower(Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 981 php_store_class_name(&obj, Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 995 …zend_update_property(Z_OBJCE(ent2->data), &ent2->data, ent1->varname, strlen(ent1->varname), &ent1… in php_wddx_pop_element() 998 zend_symtable_str_update(target_hash, ent1->varname, strlen(ent1->varname), &ent1->data); in php_wddx_pop_element() [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/wddx/ |
H A D | wddx.c | 877 st_entry *ent1, *ent2; in php_wddx_pop_element() local 898 efree(ent1); in php_wddx_pop_element() 910 (unsigned char *)Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 940 efree(ent1); in php_wddx_pop_element() 947 if (ent1->varname) { in php_wddx_pop_element() 949 Z_TYPE(ent1->data) == IS_STRING && Z_STRLEN(ent1->data) && in php_wddx_pop_element() 953 zend_str_tolower(Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 977 php_store_class_name(&obj, Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element() 991 …zend_update_property(Z_OBJCE(ent2->data), &ent2->data, ent1->varname, strlen(ent1->varname), &ent1… in php_wddx_pop_element() 994 zend_symtable_str_update(target_hash, ent1->varname, strlen(ent1->varname), &ent1->data); in php_wddx_pop_element() [all …]
|
/dports/graphics/ipe/ipe-7.2.23/src/ipelib/ |
H A D | ipexml.cpp | 210 char ent1 = 0; in fromXml() local 212 ent1 = '&'; in fromXml() 214 ent1 = '<'; in fromXml() 216 ent1 = '>'; in fromXml() 218 ent1 = '"'; in fromXml() 220 ent1 = '\''; in fromXml() 221 if (ent1) { in fromXml() 222 s += ent1; in fromXml()
|
/dports/games/xtux/xtux/src/server/ |
H A D | entity.c | 440 entity *ent1, *ent2; in entity_check_collisions() local 445 for( ent1 = root ; ent1 != NULL ; ent1 = ent1->next ) { in entity_check_collisions() 446 if( ent1->mode < FROZEN || ent1->health <= 0 ) in entity_check_collisions() 448 d1 = MAX( ent1->type_info->width, ent1->type_info->height ); in entity_check_collisions() 454 if( ent1->pid == ent2->id || ent2->pid == ent1->id ) in entity_check_collisions() 461 if( ent1->class < ent2->class ) { in entity_check_collisions() 462 first = ent1; in entity_check_collisions() 466 second = ent1; in entity_check_collisions() 786 float entity_dist(entity *ent0, entity *ent1) in entity_dist() argument 791 - (ent1->x + ent1->type_info->width/2); in entity_dist() [all …]
|
/dports/games/opendungeons/OpenDungeons-0.7.1/source/gamemap/ |
H A D | Pathfinding.h | 41 inline auto squaredDistanceTile(const T& ent1, const T& ent2) -> decltype(ent1.getX()) 43 return squaredDistance(ent1.getX(), ent2.getX(), ent1.getY(), ent2.getY());
|
/dports/cad/gmsh/gmsh-4.9.2-source/Geo/ |
H A D | GEntity.h | 417 bool operator()(const GEntity *ent1, const GEntity *ent2) const in operator() 419 return ent1->tag() < ent2->tag(); in operator() 424 bool operator()(const GEntity *ent1, const GEntity *ent2) const in operator() 426 if(ent1->dim() != ent2->dim()) return ent1->dim() < ent2->dim(); in operator() 427 return ent1->tag() < ent2->tag(); in operator() 432 bool operator()(const GEntity *ent1, const GEntity *ent2) const in operator() 434 return (ent1->dim() == ent2->dim()) && (ent1->tag() == ent2->tag()); in operator()
|
/dports/net-mgmt/netdot/Netdot-netdot-1.0.7/import/ |
H A D | import_ip_bulk.pl | 23 my ($ent1, $ent2); 25 $ent1 = Entity->find_or_create({name=>$owner}); 33 owner => $ent1, 43 owner => $ent1,
|
/dports/x11-toolkits/bwidget/bwidget-1.9.14/demo/ |
H A D | dnd.tcl | 13 set ent1 [LabelEntry $subf.e1 -label "Entry" -labelwidth 14 -dragenabled 1 -dragevent 3] 24 pack $ent1 $labf1 $labf2 -side top -fill x -pady 4 29 set ent1 [LabelEntry $subf.e1 -label "Entry" -labelwidth 14 -dropenabled 1] 35 pack $ent1 $labf1 -side top -fill x -pady 4
|
/dports/cad/ghdl/ghdl-1.0.0/testsuite/gna/ticket53/ |
H A D | ent1.vhdl | 3 entity ent1 is entity 4 end ent1; 6 architecture behav of ent1 is
|
/dports/misc/mc/mc-4.8.27/tests/lib/vfs/ |
H A D | vfs_parse_ls_lga.c | 324 struct vfs_s_entry *ent1, *ent2, *ent3; in START_TEST() local 329 ent1 = vfs_s_generate_entry (vfs_test_ops1, NULL, vfs_root_inode, 0); in START_TEST() 331 ("drwxrwxr-x 10 500 500 4096 Jun 23 17:09 build_root1", &ent1->ino->st, in START_TEST() 332 &ent1->name, &ent1->ino->linkname, &filepos); in START_TEST() 333 vfs_s_store_filename_leading_spaces (ent1, filepos); in START_TEST() 334 vfs_s_insert_entry (vfs_test_ops1, vfs_root_inode, ent1); in START_TEST() 355 mctest_assert_str_eq (ent1->name, " build_root1"); in START_TEST()
|
/dports/misc/mc-nox11/mc-4.8.27/tests/lib/vfs/ |
H A D | vfs_parse_ls_lga.c | 324 struct vfs_s_entry *ent1, *ent2, *ent3; in START_TEST() local 329 ent1 = vfs_s_generate_entry (vfs_test_ops1, NULL, vfs_root_inode, 0); in START_TEST() 331 ("drwxrwxr-x 10 500 500 4096 Jun 23 17:09 build_root1", &ent1->ino->st, in START_TEST() 332 &ent1->name, &ent1->ino->linkname, &filepos); in START_TEST() 333 vfs_s_store_filename_leading_spaces (ent1, filepos); in START_TEST() 334 vfs_s_insert_entry (vfs_test_ops1, vfs_root_inode, ent1); in START_TEST() 355 mctest_assert_str_eq (ent1->name, " build_root1"); in START_TEST()
|
/dports/textproc/sgmls/sgmls/test/ |
H A D | test018.sgm | 2 <!entity ent1 system "ent1" cdata dcn> 8 <doc att="foo&ent1;&ent2;bar">
|
/dports/security/py-cybox/python-cybox-2.1.0.21/cybox/test/ |
H A D | comparator_test.py | 54 ent1 = DummyEntity() 57 ent1.var1 = "blah" 61 ent1.var2 = "blah2" 63 self.assertEqual(ent1, ent2)
|
/dports/cad/gmsh/gmsh-4.9.2-source/Mesh/ |
H A D | BDS.h | 230 return *ent1 < *ent2; in operator() 235 bool operator()(const BDS_Point *ent1, const BDS_Point *ent2) const in operator() 237 return *ent1 < *ent2; in operator() 243 bool operator()(const BDS_Point *ent1, const BDS_Point *ent2) const in operator() 245 if(ent1->X - ent2->X > t) return true; in operator() 246 if(ent1->X - ent2->X < -t) return false; in operator() 247 if(ent1->Y - ent2->Y > t) return true; in operator() 248 if(ent1->Y - ent2->Y < -t) return false; in operator() 249 if(ent1->Z - ent2->Z > t) return true; in operator() 255 bool operator()(const BDS_Edge *ent1, const BDS_Edge *ent2) const in operator() [all …]
|
/dports/games/aquaria/Aquaria-OSE-v1.002-22-g84366ad/game_scripts/_mods/guert_mod/tempo/ |
H A D | entityinclude.lua | 694 function entity_watchSwimToEntitySide(ent1, ent2) 696 if entity_x(ent1) < entity_x(ent2) then 699 entity_swimToPosition(ent1, entity_x(ent2)+xoff, entity_y(ent2)) 700 entity_watchForPath(ent1) 701 entity_idle(ent1) 702 entity_clearVel(ent1) 703 entity_flipToEntity(ent1, ent2) 704 entity_flipToEntity(ent2, ent1)
|
/dports/games/aquaria/Aquaria-OSE-v1.002-22-g84366ad/files/scripts/entities/ |
H A D | entityinclude.lua | 735 function entity_watchSwimToEntitySide(ent1, ent2) 737 if entity_x(ent1) < entity_x(ent2) then 740 entity_swimToPosition(ent1, entity_x(ent2)+xoff, entity_y(ent2)) 741 entity_watchForPath(ent1) 742 entity_idle(ent1) 743 entity_clearVel(ent1) 744 entity_flipToEntity(ent1, ent2) 745 entity_flipToEntity(ent2, ent1)
|