/dports/security/py-vulndb/vulndb-0.0.19/vulndb/tests/ |
H A D | test_db_vuln.py | 49 dbv = DBVuln(**self.DEFAULT_KWARGS) 53 self.assertEqual(dbv.id, MOCK_ID) 55 self.assertEqual(dbv.wasc, MOCK_WASC) 57 self.assertEqual(dbv.cwe, MOCK_CWE) 59 self.assertEqual(dbv.fix, MOCK_FIX) 73 dbv = DBVuln.from_id(123) 76 self.assertEqual(dbv.db_file, _file) 86 self.assertEqual(dbv.id, MOCK_ID) 102 dbv = DBVuln(**self.DEFAULT_KWARGS) 122 dbv = DBVuln.from_id(124) [all …]
|
H A D | test_load_all_json.py | 19 dbv = DBVuln.from_file(_file_path) 24 self.assertIsInstance(dbv.title, basestring) 25 self.assertIsInstance(dbv.description, basestring) 26 self.assertIsInstance(dbv.id, int) 27 self.assertIsInstance(dbv.severity, basestring) 28 self.assertIsInstance(dbv.wasc, (types.NoneType, list)) 30 self.assertIsInstance(dbv.cwe, (types.NoneType, list)) 32 self.assertIsInstance(dbv.fix, dict) 33 self.assertIsInstance(dbv.fix_effort, int) 34 self.assertIsInstance(dbv.fix_guidance, basestring) [all …]
|
/dports/net-im/pidgin-sipe/pidgin-sipe-1.24.0/src/miranda/ |
H A D | miranda-buddy.c | 133 DBVARIANT dbv; in sipe_miranda_buddy_find() local 184 DBVARIANT dbv; in sipe_miranda_buddy_find_all() local 223 DBVARIANT dbv; in sipe_backend_buddy_get_name() local 241 DBVARIANT dbv; in sipe_backend_buddy_get_alias() local 253 DBFreeVariant( &dbv ); in sipe_backend_buddy_get_alias() 260 DBVARIANT dbv; in sipe_backend_buddy_get_server_alias() local 278 DBVARIANT dbv; in sipe_backend_buddy_get_local_alias() local 296 DBVARIANT dbv; in sipe_backend_buddy_get_group_name() local 570 DBVARIANT dbv; in sipe_backend_buddy_info_finalize() local 664 DBVARIANT dbv; in sipe_miranda_buddy_delete() local [all …]
|
H A D | miranda-utils.c | 69 DBVARIANT dbv; in sipe_miranda_getDword() local 74 cgs.pValue=&dbv; in sipe_miranda_getDword() 79 *rv = dbv.dVal; in sipe_miranda_getDword() 82 return dbv.dVal; in sipe_miranda_getDword() 90 DBVARIANT dbv; in sipe_miranda_getGlobalWord() local 95 cgs.pValue=&dbv; in sipe_miranda_getGlobalWord() 100 *rv = dbv.wVal; in sipe_miranda_getGlobalWord() 111 DBVARIANT dbv; in sipe_miranda_getWord() local 116 cgs.pValue=&dbv; in sipe_miranda_getWord() 121 *rv = dbv.wVal; in sipe_miranda_getWord() [all …]
|
H A D | miranda-user.c | 101 DBVARIANT dbv; in sipe_miranda_UserIsTyping() local 104 if ( !DBGetContactSettingString( hContact, pr->proto.m_szModuleName, SIP_UNIQUEID, &dbv )) { in sipe_miranda_UserIsTyping() 105 name = g_strdup(dbv.pszVal); in sipe_miranda_UserIsTyping() 106 DBFreeVariant(&dbv); in sipe_miranda_UserIsTyping()
|
H A D | miranda-im.c | 82 DBVARIANT dbv; in sipe_miranda_SendMsg() local 86 if ( !DBGetContactSettingString( hContact, pr->proto.m_szModuleName, SIP_UNIQUEID, &dbv )) { in sipe_miranda_SendMsg() 88 sipe_core_im_send(pr->sip, dbv.pszVal, msg); in sipe_miranda_SendMsg() 91 DBFreeVariant(&dbv); in sipe_miranda_SendMsg()
|
/dports/www/p5-Jifty/Jifty-1.50430/lib/Jifty/ |
H A D | Handle.pm | 142 my $dbv = $self->_fetch_dbv; 144 unless (defined $dbv) { 158 unless ( version->new($appv) == version->new($dbv) ) { 163 if ( version->new($appv) > version->new($dbv) 164 || version->new($compat) < version->new($dbv) ) 186 my $dbv 190 unless ( $appv == $dbv ) { 208 my $dbv 212 if ( not defined $dbv ) { 223 } elsif (version->new($dbv) < $appv) { [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/utility/ |
H A D | bitvector.h | 32 struct dbv { struct 37 void dbv_init(struct dbv *pdbv, int bits); argument 39 void dbv_free(struct dbv *pdbv); 41 int dbv_bits(struct dbv *pdbv); 44 bool dbv_isset_any(const struct dbv *pdbv); 46 void dbv_set(struct dbv *pdbv, int bit); 47 void dbv_set_all(struct dbv *pdbv); 49 void dbv_clr(struct dbv *pdbv, int bit); 50 void dbv_clr_all(struct dbv *pdbv); 52 bool dbv_are_equal(const struct dbv *pdbv1, const struct dbv *pdbv2); [all …]
|
H A D | bitvector.c | 49 void dbv_init(struct dbv *pdbv, int bits) in dbv_init() 70 void dbv_resize(struct dbv *pdbv, int bits) in dbv_resize() 94 void dbv_free(struct dbv *pdbv) in dbv_free() 107 int dbv_bits(struct dbv *pdbv) in dbv_bits() 131 bool dbv_isset_any(const struct dbv *pdbv) in dbv_isset_any() 143 void dbv_set(struct dbv *pdbv, int bit) in dbv_set() 155 void dbv_set_all(struct dbv *pdbv) in dbv_set_all() 166 void dbv_clr(struct dbv *pdbv, int bit) in dbv_clr() 178 void dbv_clr_all(struct dbv *pdbv) in dbv_clr_all() 189 bool dbv_are_equal(const struct dbv *pdbv1, const struct dbv *pdbv2) in dbv_are_equal() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/utility/ |
H A D | bitvector.h | 32 struct dbv { struct 37 void dbv_init(struct dbv *pdbv, int bits); argument 39 void dbv_free(struct dbv *pdbv); 41 int dbv_bits(struct dbv *pdbv); 44 bool dbv_isset_any(const struct dbv *pdbv); 46 void dbv_set(struct dbv *pdbv, int bit); 47 void dbv_set_all(struct dbv *pdbv); 49 void dbv_clr(struct dbv *pdbv, int bit); 50 void dbv_clr_all(struct dbv *pdbv); 52 bool dbv_are_equal(const struct dbv *pdbv1, const struct dbv *pdbv2); [all …]
|
H A D | bitvector.c | 49 void dbv_init(struct dbv *pdbv, int bits) in dbv_init() 70 void dbv_resize(struct dbv *pdbv, int bits) in dbv_resize() 94 void dbv_free(struct dbv *pdbv) in dbv_free() 107 int dbv_bits(struct dbv *pdbv) in dbv_bits() 131 bool dbv_isset_any(const struct dbv *pdbv) in dbv_isset_any() 143 void dbv_set(struct dbv *pdbv, int bit) in dbv_set() 155 void dbv_set_all(struct dbv *pdbv) in dbv_set_all() 166 void dbv_clr(struct dbv *pdbv, int bit) in dbv_clr() 178 void dbv_clr_all(struct dbv *pdbv) in dbv_clr_all() 189 bool dbv_are_equal(const struct dbv *pdbv1, const struct dbv *pdbv2) in dbv_are_equal() [all …]
|
/dports/devel/anjuta/anjuta-3.34.0/plugins/symbol-db/ |
H A D | symbol-db-views.c | 157 GtkWidget *dbv; in symbol_db_view_new() local 176 dbv = gtk_tree_view_new_with_model (model); in symbol_db_view_new() 179 g_signal_connect (G_OBJECT (dbv), "row-activated", in symbol_db_view_new() 181 g_signal_connect (G_OBJECT (dbv), "row-expanded", in symbol_db_view_new() 183 g_signal_connect (G_OBJECT (dbv), "row-collapsed", in symbol_db_view_new() 186 G_CALLBACK (on_treeview_has_child_toggled), dbv); in symbol_db_view_new() 195 gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (dbv), in symbol_db_view_new() 226 gtk_widget_show (dbv); in symbol_db_view_new() 227 gtk_container_add (GTK_CONTAINER (sw), dbv); in symbol_db_view_new() 231 gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (dbv), in symbol_db_view_new() [all …]
|
/dports/devel/hs-git-annex/git-annex-8.20210903/Remote/Helper/ |
H A D | ExportImport.hs | 132 dbv <- prepdbv 189 =<< getanyexportlocs dbv k 243 exportdb <- getexportdb dbv 270 dbv <- liftIO newEmptyTMVarIO 323 getanyexportlocs dbv k = do 324 db <- getexportdb dbv 327 getfirstexportloc dbv k = do 328 getexportlocs dbv k >>= \case 332 getexportlocs dbv k = do 333 db <- getexportdb dbv [all …]
|
/dports/www/p5-Jifty/Jifty-1.50430/lib/Jifty/Script/ |
H A D | Schema.pm | 413 unless ($dbv) { 418 $dbv 425 $dbv = version->new( $dbv || '0.60426' ); 430 "Jifty" => $dbv, 448 my $dbv = version->new( 473 my $dbv 478 if ( defined $dbv ) { 479 $dbv = version->new($dbv); 546 if ( $appv < $dbv ) { 550 } elsif ( $appv == $dbv ) { [all …]
|
/dports/net-mgmt/icinga2/icinga2-2.13.2/lib/db_ido/ |
H A D | dbvalue.cpp | 34 DbValue::Ptr dbv = value; in IsTimestamp() local 35 return dbv->GetType() == DbValueTimestamp; in IsTimestamp() 43 DbValue::Ptr dbv = value; in IsObjectInsertID() local 44 return dbv->GetType() == DbValueObjectInsertID; in IsObjectInsertID() 52 DbValue::Ptr dbv = value; in ExtractValue() local 53 return dbv->GetValue(); in ExtractValue()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaf_classes/javax/activation/ |
H A D | MimetypesFileTypeMap.java | 82 Vector dbv = new Vector(5); // usually 5 or less databases in MimetypesFileTypeMap() local 84 dbv.addElement(null); // place holder for PROG entry in MimetypesFileTypeMap() 94 dbv.addElement(mf); in MimetypesFileTypeMap() 105 dbv.addElement(mf); in MimetypesFileTypeMap() 110 loadAllResources(dbv, "META-INF/mime.types"); in MimetypesFileTypeMap() 116 dbv.addElement(mf); in MimetypesFileTypeMap() 118 DB = new MimeTypeFile[dbv.size()]; in MimetypesFileTypeMap() 119 dbv.copyInto(DB); in MimetypesFileTypeMap()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaf_classes/javax/activation/ |
H A D | MimetypesFileTypeMap.java | 82 Vector dbv = new Vector(5); // usually 5 or less databases in MimetypesFileTypeMap() local 84 dbv.addElement(null); // place holder for PROG entry in MimetypesFileTypeMap() 94 dbv.addElement(mf); in MimetypesFileTypeMap() 105 dbv.addElement(mf); in MimetypesFileTypeMap() 110 loadAllResources(dbv, "META-INF/mime.types"); in MimetypesFileTypeMap() 116 dbv.addElement(mf); in MimetypesFileTypeMap() 118 DB = new MimeTypeFile[dbv.size()]; in MimetypesFileTypeMap() 119 dbv.copyInto(DB); in MimetypesFileTypeMap()
|
/dports/java/javamail/javamail-JAVAMAIL-1_6_2/android/activation/src/main/java/javax/activation/ |
H A D | MimetypesFileTypeMap.java | 126 Vector dbv = new Vector(5); // usually 5 or less databases in MimetypesFileTypeMap() local 128 dbv.addElement(null); // place holder for PROG entry in MimetypesFileTypeMap() 138 dbv.addElement(mf); in MimetypesFileTypeMap() 148 dbv.addElement(mf); in MimetypesFileTypeMap() 154 loadAllResources(dbv, "META-INF/mime.types"); in MimetypesFileTypeMap() 160 dbv.addElement(mf); in MimetypesFileTypeMap() 162 DB = new MimeTypeFile[dbv.size()]; in MimetypesFileTypeMap() 163 dbv.copyInto(DB); in MimetypesFileTypeMap()
|
/dports/security/py-vulndb/vulndb-0.0.19/ |
H A D | README.rst | 30 >>> dbv = DBVuln.from_id(42) 31 >>> dbv.title 33 >>> dbv.description 35 >>> dbv.fix_guidance 37 >>> dbv.severity 39 >>> r = dbv.references[0]
|
H A D | PKG-INFO | 38 >>> dbv = DBVuln.from_id(42) 39 >>> dbv.title 41 >>> dbv.description 43 >>> dbv.fix_guidance 45 >>> dbv.severity 47 >>> r = dbv.references[0]
|
/dports/security/py-vulndb/vulndb-0.0.19/vulndb.egg-info/ |
H A D | PKG-INFO | 38 >>> dbv = DBVuln.from_id(42) 39 >>> dbv.title 41 >>> dbv.description 43 >>> dbv.fix_guidance 45 >>> dbv.severity 47 >>> r = dbv.references[0]
|
/dports/dns/dnrd/dnrd-2.20.3/src/ |
H A D | master.c | 109 static dnsrec_t **dbv = NULL; variable 207 free_dnsrec(dbv[i]); in reset_master() 210 if (dbv) in reset_master() 212 free(dbv); in reset_master() 213 dbv = NULL; in reset_master() 233 dbv = reallocate(dbv, (dbmax += 10) * sizeof(dnsrec_t)); in add_record() 236 dbv[dbc++] = rec; in add_record() 447 rec = dbv[i]; in ptr_lookup() 466 rec = dbv[i]; in name_lookup() 486 rec = dbv[i]; in dns_lookup() [all …]
|
/dports/math/dune-pdelab/dune-pdelab-20c7085389d3eb4f8ca99e1bc60f7fa6036536c8/dune/pdelab/backend/istl/geneo/ |
H A D | arpackpp_geneo.hh | 154 domainBlockVectorToArray (const DomainBlockVector& dbv, Real* v) in domainBlockVectorToArray() argument 156 for (dbv_size_type block = 0; block < dbv.N(); ++block) in domainBlockVectorToArray() 158 v[block*dbvBlockSize + iBlock] = dbv[block][iBlock]; in domainBlockVectorToArray() 175 DomainBlockVector& dbv) in arrayToDomainBlockVector() argument 177 for (dbv_size_type block = 0; block < dbv.N(); ++block) in arrayToDomainBlockVector() 179 dbv[block][iBlock] = v[block*dbvBlockSize + iBlock]; in arrayToDomainBlockVector()
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/DataStructs/ |
H A D | FPBReader.cpp | 458 boost::uint8_t *dbv; in tanimotoNeighbors() local 467 extractBytes(dp_impl, i, dbv, toRead); in tanimotoNeighbors() 478 delete[] dbv; in tanimotoNeighbors() 516 boost::uint8_t *dbv; in tverskyNeighbors() local 521 extractBytes(dp_impl, i, dbv); in tverskyNeighbors() 523 dbv, bv, dp_impl->numBytesStoredPerFingerprint, ca, cb); in tverskyNeighbors() 531 delete[] dbv; in tverskyNeighbors() 549 boost::uint8_t *dbv; in containingNeighbors() local 554 extractBytes(dp_impl, i, dbv); in containingNeighbors() 555 if (CalcBitmapAllProbeBitsMatch(bv, dbv, in containingNeighbors() [all …]
|
/dports/mail/p5-qpsmtpd/qpsmtpd-0.93/log/ |
H A D | log2sql | 531 my %dbv = get_config('log2sql'); 533 $dbv{dsn} ||= 'DBI:mysql:database=qpsmtpd;host=db;port=3306'; 534 $dbv{user} ||= 'qplog'; 535 $dbv{pass} ||= 't0ps3cret'; 537 print Dumper(\%dbv); 538 my $db = DBIx::Simple->connect($dbv{dsn}, $dbv{user}, $dbv{pass})
|