/dports/devel/upp/upp/bazaar/Dispatcher/ |
H A D | Dispatcher.hpp | 44 dests.Add(key) = &d; in Register() 56 dests.Remove(i); in Unregister() 66 return &dests[i]; in GetDispatchable() 89 Any& a = dests[i]; in Register() 103 Any& a = dests[i]; in Unregister() 108 dests.Remove(i); in Unregister() 133 dests[i](o); in DoDispatch() 141 dests.Add(key) = d; in Register() 149 dests.Remove(i); in Unregister() 157 return &dests[i]; in GetDispatchable() [all …]
|
H A D | Dispatcher.h | 51 virtual ~Dispatcher() { ASSERT(dests.IsEmpty()); } in ~Dispatcher() 54 int GetCount() const { return dests.GetCount(); } in GetCount() 60 void Clear() { while(dests.GetCount()>0) dests[0]->Unregister(*this); } in Clear() 63 VectorMap<unsigned, Dispatchable<T>*> dests; 107 void Clear() { dests.Clear(); } in Clear() 150 void Clear() { dests.Clear(); } in Clear() 153 VectorMap<unsigned, Callback> dests; 171 void Clear() { dests.Unlink(); } in Clear() 173 Link<Handler> dests; variable 191 void Clear() { dests.Unlink(); } in Clear() [all …]
|
H A D | Dispatcher.cpp | 8 for(int i = 0; i < dests.GetCount(); i++) in DoDispatch() 9 dests[i](); in DoDispatch() 14 int i = dests.Find(key); in Register() 16 dests.Add(key) = d; in Register() 21 int i = dests.Find(key); in Unregister() 23 dests.Remove(i); in Unregister() 28 int i = dests.Find(key); in GetDispatchable() 30 return &dests[i]; in GetDispatchable() 38 const Handler *list = dests.GetPtr(), *e = list; in DoDispatch()
|
/dports/science/votca/votca-2021.2-18560-gfbe18d971/xtp/xtp-2a31d70/src/tests/ |
H A D | test_gnode.cc | 43 std::vector<GNode> dests; 46 dests.push_back(GNode(seg, electron, true)); 50 g.AddEvent(&dests[0], Eigen::Vector3d::Zero(), 10); 51 g.AddEvent(&dests[1], Eigen::Vector3d::Zero(), 20); 52 g.AddEvent(&dests[2], Eigen::Vector3d::Zero(), 15); in BOOST_AUTO_TEST_CASE() 53 g.AddEvent(&dests[3], Eigen::Vector3d::Zero(), 18); 54 g.AddEvent(&dests[4], Eigen::Vector3d::Zero(), 12); 55 g.AddEvent(&dests[5], Eigen::Vector3d::Zero(), 25); 75 std::vector<GNode> dests; 78 dests.push_back(GNode(seg, electron, true)); [all …]
|
/dports/science/votca/votca-2021.2-18560-gfbe18d971/xtp/src/tests/ |
H A D | test_gnode.cc | 43 std::vector<GNode> dests; in BOOST_AUTO_TEST_CASE() local 46 dests.push_back(GNode(seg, electron, true)); in BOOST_AUTO_TEST_CASE() 50 g.AddEvent(&dests[0], Eigen::Vector3d::Zero(), 10); in BOOST_AUTO_TEST_CASE() 51 g.AddEvent(&dests[1], Eigen::Vector3d::Zero(), 20); in BOOST_AUTO_TEST_CASE() 52 g.AddEvent(&dests[2], Eigen::Vector3d::Zero(), 15); in BOOST_AUTO_TEST_CASE() 53 g.AddEvent(&dests[3], Eigen::Vector3d::Zero(), 18); in BOOST_AUTO_TEST_CASE() 54 g.AddEvent(&dests[4], Eigen::Vector3d::Zero(), 12); in BOOST_AUTO_TEST_CASE() 55 g.AddEvent(&dests[5], Eigen::Vector3d::Zero(), 25); in BOOST_AUTO_TEST_CASE() 75 std::vector<GNode> dests; in BOOST_AUTO_TEST_CASE() local 78 dests.push_back(GNode(seg, electron, true)); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/print/ghostscript9-base/ghostscript-9.06/cups/libs/cups/ |
H A D | dest.c | 136 if (!name || !dests) in cupsAddDest() 203 free(dests); in cupsFreeDests() 235 if (dests->is_default) in cupsGetDest() 236 return (dests); in cupsGetDest() 239 dests ++; in cupsGetDest() 319 if (!dests) in cupsGetDests2() 653 i = dest - *dests; in cupsRemoveDest() 749 if (!num_dests || !dests) in cupsSetDests2() 1354 *dests = dest; in cups_add_dest() 1376 memmove(*dests + insert + 1, *dests + insert, in cups_add_dest() [all …]
|
/dports/print/ghostscript9-x11/ghostscript-9.06/cups/libs/cups/ |
H A D | dest.c | 136 if (!name || !dests) in cupsAddDest() 203 free(dests); in cupsFreeDests() 235 if (dests->is_default) in cupsGetDest() 236 return (dests); in cupsGetDest() 239 dests ++; in cupsGetDest() 319 if (!dests) in cupsGetDests2() 653 i = dest - *dests; in cupsRemoveDest() 749 if (!num_dests || !dests) in cupsSetDests2() 1354 *dests = dest; in cups_add_dest() 1376 memmove(*dests + insert + 1, *dests + insert, in cups_add_dest() [all …]
|
/dports/print/cups/cups-2.3.3op2/systemv/ |
H A D | lpstat.c | 30 cups_dest_t *dests); 65 dests = NULL; in main() 229 num_dests = dests ? 1 : 0; in main() 240 show_default(dests); in main() 818 if (!_cups_strcasecmp(dests[i].name, printer) && dests[i].instance) in show_accepting() 875 if (dests != NULL && !strcmp(dests, "all")) in show_classes() 876 dests = NULL; in show_classes() 1250 if (!_cups_strcasecmp(printer, dests[i].name) && dests[i].instance) in show_devices() 1316 if (dests != NULL && !strcmp(dests, "all")) in show_jobs() 1317 dests = NULL; in show_jobs() [all …]
|
/dports/net/mpich/mpich-3.4.3/test/mpi/f08/topo/ |
H A D | dgraph_unwgtf90.f90 | 18 integer srcs(2), dests(2) local 54 & dest_sz, dests, MPI_UNWEIGHTED, & 78 nbr_sep = iabs(dests(idx) - world_rank) 83 & idx, dests(idx), world_rank 125 integer srcs(2), dests(2) variable 134 dests(1) = ring_rank(world_size, world_rank-1) 135 dests(2) = ring_rank(world_size, world_rank+1) 172 dests(1) = ring_rank(world_size, world_rank-1) 173 dests(2) = ring_rank(world_size, world_rank+1) 177 & dest_sz, dests, & [all …]
|
/dports/net/mpich/mpich-3.4.3/test/mpi/f90/topo/ |
H A D | dgraph_unwgtf90.f90 | 19 integer srcs(2), dests(2) local 55 & dest_sz, dests, MPI_UNWEIGHTED, & 79 nbr_sep = iabs(dests(idx) - world_rank) 84 & idx, dests(idx), world_rank 126 integer srcs(2), dests(2) variable 135 dests(1) = ring_rank(world_size, world_rank-1) 136 dests(2) = ring_rank(world_size, world_rank+1) 173 dests(1) = ring_rank(world_size, world_rank-1) 174 dests(2) = ring_rank(world_size, world_rank+1) 178 & dest_sz, dests, & [all …]
|
/dports/net/mpich/mpich-3.4.3/test/mpi/f77/topo/ |
H A D | dgraph_unwgtf.f | 19 integer srcs(2), dests(2) 55 & dest_sz, dests, MPI_UNWEIGHTED, 79 nbr_sep = iabs(dests(idx) - world_rank) 84 & idx, dests(idx), world_rank 128 integer srcs(2), dests(2) variable 137 dests(1) = ring_rank(world_size, world_rank-1) 138 dests(2) = ring_rank(world_size, world_rank+1) 175 dests(1) = ring_rank(world_size, world_rank-1) 176 dests(2) = ring_rank(world_size, world_rank+1) 180 & dest_sz, dests, [all …]
|
/dports/net-mgmt/collectd5/collectd-5.12.0/src/ |
H A D | ipvs.c | 92 struct ip_vs_get_dests *dests; in ipvs_get_dests() local 97 dests = malloc(len); in ipvs_get_dests() 98 if (dests == NULL) { in ipvs_get_dests() 103 dests->fwmark = se->fwmark; in ipvs_get_dests() 104 dests->protocol = se->protocol; in ipvs_get_dests() 105 dests->addr = se->addr; in ipvs_get_dests() 106 dests->port = se->port; in ipvs_get_dests() 111 free(dests); in ipvs_get_dests() 114 return dests; in ipvs_get_dests() 247 free(dests); in cipvs_submit_service() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/plugins/printsupport/cups/ |
H A D | qcupsprintersupport.cpp | 163 cups_dest_t *dests; in availablePrintDeviceIds() local 164 int count = cupsGetDests(&dests); in availablePrintDeviceIds() 167 QString printerId = QString::fromLocal8Bit(dests[i].name); in availablePrintDeviceIds() 168 if (dests[i].instance) in availablePrintDeviceIds() 172 cupsFreeDests(count, dests); in availablePrintDeviceIds() 184 cups_dest_t *dests; in staticDefaultPrintDeviceId() local 185 int count = cupsGetDests(&dests); in staticDefaultPrintDeviceId() 187 if (dests[i].is_default) { in staticDefaultPrintDeviceId() 188 printerId = QString::fromLocal8Bit(dests[i].name); in staticDefaultPrintDeviceId() 189 if (dests[i].instance) { in staticDefaultPrintDeviceId() [all …]
|