Home
last modified time | relevance | path

Searched refs:hDb (Results 1 – 25 of 57) sorted by relevance

123

/dports/databases/p5-DBD-Excel/DBD-Excel-0.06/sample/
H A Dtexj.pl5 my $hDb = DBI->connect("DBI:Excel:file=dbdtest.xls", undef, undef,
23 my $hSt = $hDb->prepare(q/SELECT * FROM TEST/);
48 $hSt = $hDb->prepare(q/DELETE FROM TEST WHERE No = ?/);
61 $hSt = $hDb->prepare(q/SELECT * FROM TEST/);
71 $hDb->do(q/DROP TABLE DEL_TEST/);
77 $hSt = $hDb->prepare(q/SELECT * FROM TESTV/);
101 $hSt = $hDb->prepare(q/DELETE FROM TESTV WHERE No = ?/);
114 $hSt = $hDb->prepare(q/SELECT * FROM TESTV/);
123 foreach my $sTbl ($hDb->func('list_tables')){
134 my $hStJ = $hDb->prepare(q/SELECT * FROM TEST_JAPAN/);
[all …]
H A Dtex.pl4 my $hDb = DBI->connect("DBI:Excel:file=dbdtest.xls", undef, undef,
21 my $hSt = $hDb->prepare(q/SELECT * FROM TEST/);
47 $hSt = $hDb->prepare(q/DELETE FROM TEST WHERE No = ?/);
60 $hSt = $hDb->prepare(q/SELECT * FROM TEST/);
70 $hDb->do(q/DROP TABLE DEL_TEST/);
76 $hSt = $hDb->prepare(q/SELECT * FROM TESTV/);
85 $hSt = $hDb->prepare(q/SELECT * FROM TESTV WHERE No > ? /);
100 $hSt = $hDb->prepare(q/DELETE FROM TESTV WHERE No = ?/);
113 $hSt = $hDb->prepare(q/SELECT * FROM TESTV/);
122 foreach my $sTbl ($hDb->func('list_tables')){
[all …]
H A Dthidden.pl9 my $hDb = DBI->connect("DBI:Excel:file=thidden.xls", undef, undef,
27 my $hSt = $hDb->prepare(q/SELECT * FROM TEST/);
39 $hSt = $hDb->prepare(q/SELECT * FROM TESTV/);
51 $hSt = $hDb->prepare(q/SELECT NAME FROM TEST WHERE Dept='HIDDEN'/);
63 $hSt = $hDb->prepare(q/SELECT NAME FROM TEST WHERE NAME <> 'Emp2'/);
H A Dtestj.pl6 my $hDb = DBI->connect("DBI:Excel:file=testj.xls", undef, undef,
19 my $hSt = $hDb->prepare(q/SELECT COL_1_, COL_2_ FROM TESTJ/);
/dports/sysutils/py-pytsk/pytsk3-20210419/sleuthkit/tsk/hashdb/
H A Dtsk_hashdb.c51 fseeko(hDb, 0, SEEK_SET); in hdb_determine_db_type()
52 if (nsrl_test(hDb)) { in hdb_determine_db_type()
56 fseeko(hDb, 0, SEEK_SET); in hdb_determine_db_type()
57 if (md5sum_test(hDb)) { in hdb_determine_db_type()
65 fseeko(hDb, 0, SEEK_SET); in hdb_determine_db_type()
66 if (encase_test(hDb)) { in hdb_determine_db_type()
75 if (hk_test(hDb)) { in hdb_determine_db_type()
132 FILE *hDb = NULL; in tsk_hdb_open() local
174 if (NULL != hDb) { in tsk_hdb_open()
229 if (NULL != hDb) { in tsk_hdb_open()
[all …]
H A Dencase.c48 FILE * hFile = hdb_info->hDb; in encase_name()
86 TSK_HDB_INFO *encase_open(FILE *hDb, const TSK_TCHAR *db_path) in encase_open() argument
91 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in encase_open()
139 fseek(hdb_binsrch_info->hDb, 1152, SEEK_SET); in encase_make_index()
140 while (18 == fread(buf,sizeof(char),18,hdb_binsrch_info->hDb)) { in encase_make_index()
225 fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET); in encase_get_entry()
230 if (18 != fread(buf,sizeof(char),18,hdb_binsrch_info->hDb)) { in encase_get_entry()
231 if (feof(hdb_binsrch_info->hDb)) { in encase_get_entry()
H A Dnsrl.c92 TSK_HDB_INFO *nsrl_open(FILE *hDb, const TSK_TCHAR *db_path) in nsrl_open() argument
97 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in nsrl_open()
411 fseek(hdb_binsrch_info->hDb, 0, SEEK_SET); in nsrl_makeindex()
412 for (i = 0; NULL != fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb); in nsrl_makeindex()
537 fseeko(hdb_binsrch_info->hDb, 0, SEEK_SET); in nsrl_getentry()
538 if (NULL == fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in nsrl_getentry()
557 if (0 != fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET)) { in nsrl_getentry()
566 if (NULL == fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in nsrl_getentry()
567 if (feof(hdb_binsrch_info->hDb)) in nsrl_getentry()
H A Dmd5sum.c53 TSK_HDB_INFO *md5sum_open(FILE *hDb, const TSK_TCHAR *db_path) in md5sum_open() argument
58 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in md5sum_open()
228 fseek(hdb_info->hDb, 0, SEEK_SET); in md5sum_makeindex()
229 for (i = 0; NULL != fgets(buf, TSK_HDB_MAXLEN, hdb_info->hDb); in md5sum_makeindex()
330 if (0 != fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET)) { in md5sum_getentry()
339 if (NULL == fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in md5sum_getentry()
340 if (feof(hdb_binsrch_info->hDb)) { in md5sum_getentry()
H A Dhashkeeper.c77 TSK_HDB_INFO *hk_open(FILE *hDb, const TSK_TCHAR *db_path) in hk_open() argument
82 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in hk_open()
290 fseek(hdb_binsrch_info->hDb, 0, SEEK_SET); in hk_makeindex()
291 for (i = 0; NULL != fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb); in hk_makeindex()
401 if (0 != fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET)) { in hk_getentry()
411 fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in hk_getentry()
412 if (feof(hdb_binsrch_info->hDb)) { in hk_getentry()
H A Dbinsrch_index.cpp38 TSK_HDB_BINSRCH_INFO *hdb_binsrch_open(FILE *hDb, const TSK_TCHAR *db_path) in hdb_binsrch_open() argument
52 hdb_binsrch_info->hDb = hDb; in hdb_binsrch_open()
1581 if (hdb_info->hDb) { in hdb_binsrch_close()
1582 fclose(hdb_info->hDb); in hdb_binsrch_close()
1583 hdb_info->hDb = NULL; in hdb_binsrch_close()
H A Dtsk_hashdb.h144 FILE *hDb; ///< File handle to database (always open) member
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/tsk/hashdb/
H A Dtsk_hashdb.c51 fseeko(hDb, 0, SEEK_SET); in hdb_determine_db_type()
52 if (nsrl_test(hDb)) { in hdb_determine_db_type()
56 fseeko(hDb, 0, SEEK_SET); in hdb_determine_db_type()
57 if (md5sum_test(hDb)) { in hdb_determine_db_type()
65 fseeko(hDb, 0, SEEK_SET); in hdb_determine_db_type()
66 if (encase_test(hDb)) { in hdb_determine_db_type()
75 if (hk_test(hDb)) { in hdb_determine_db_type()
132 FILE *hDb = NULL; in tsk_hdb_open() local
174 if (NULL != hDb) { in tsk_hdb_open()
229 if (NULL != hDb) { in tsk_hdb_open()
[all …]
H A Dencase.c48 FILE * hFile = hdb_info->hDb; in encase_name()
86 TSK_HDB_INFO *encase_open(FILE *hDb, const TSK_TCHAR *db_path) in encase_open() argument
91 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in encase_open()
139 fseek(hdb_binsrch_info->hDb, 1152, SEEK_SET); in encase_make_index()
140 while (18 == fread(buf,sizeof(char),18,hdb_binsrch_info->hDb)) { in encase_make_index()
225 fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET); in encase_get_entry()
230 if (18 != fread(buf,sizeof(char),18,hdb_binsrch_info->hDb)) { in encase_get_entry()
231 if (feof(hdb_binsrch_info->hDb)) { in encase_get_entry()
H A Dnsrl.c92 TSK_HDB_INFO *nsrl_open(FILE *hDb, const TSK_TCHAR *db_path) in nsrl_open() argument
97 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in nsrl_open()
411 fseek(hdb_binsrch_info->hDb, 0, SEEK_SET); in nsrl_makeindex()
412 for (i = 0; NULL != fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb); in nsrl_makeindex()
537 fseeko(hdb_binsrch_info->hDb, 0, SEEK_SET); in nsrl_getentry()
538 if (NULL == fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in nsrl_getentry()
557 if (0 != fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET)) { in nsrl_getentry()
566 if (NULL == fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in nsrl_getentry()
567 if (feof(hdb_binsrch_info->hDb)) in nsrl_getentry()
H A Dmd5sum.c53 TSK_HDB_INFO *md5sum_open(FILE *hDb, const TSK_TCHAR *db_path) in md5sum_open() argument
58 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in md5sum_open()
228 fseek(hdb_info->hDb, 0, SEEK_SET); in md5sum_makeindex()
229 for (i = 0; NULL != fgets(buf, TSK_HDB_MAXLEN, hdb_info->hDb); in md5sum_makeindex()
330 if (0 != fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET)) { in md5sum_getentry()
339 if (NULL == fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in md5sum_getentry()
340 if (feof(hdb_binsrch_info->hDb)) { in md5sum_getentry()
H A Dhashkeeper.c77 TSK_HDB_INFO *hk_open(FILE *hDb, const TSK_TCHAR *db_path) in hk_open() argument
82 hdb_binsrch_info = hdb_binsrch_open(hDb, db_path); in hk_open()
290 fseek(hdb_binsrch_info->hDb, 0, SEEK_SET); in hk_makeindex()
291 for (i = 0; NULL != fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb); in hk_makeindex()
401 if (0 != fseeko(hdb_binsrch_info->hDb, offset, SEEK_SET)) { in hk_getentry()
411 fgets(buf, TSK_HDB_MAXLEN, hdb_binsrch_info->hDb)) { in hk_getentry()
412 if (feof(hdb_binsrch_info->hDb)) { in hk_getentry()
H A Dbinsrch_index.cpp38 TSK_HDB_BINSRCH_INFO *hdb_binsrch_open(FILE *hDb, const TSK_TCHAR *db_path) in hdb_binsrch_open() argument
52 hdb_binsrch_info->hDb = hDb; in hdb_binsrch_open()
1581 if (hdb_info->hDb) { in hdb_binsrch_close()
1582 fclose(hdb_info->hDb); in hdb_binsrch_close()
1583 hdb_info->hDb = NULL; in hdb_binsrch_close()
/dports/databases/p5-DBD-Excel/DBD-Excel-0.06/
H A DExcel.pm72 my $hDb = DBI::_new_dbh($hDr, {
80 $hDb->STORE($1, $2);
163 return $hDb;
292 my ($hDb, $sAttr) = @_;
299 return $hDb->{$sAttr};
380 my($hDb) = @_;
418 my($hDb) = @_; #shift;
467 my($hDb) = shift;
468 if ($hDb->FETCH('Warn')) {
479 my($hDb) = shift;
[all …]
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/lib/pgBackRestTest/Env/Host/
H A DHostDbTest.pm144 if (!defined($self->{db}{$strDb}{hDb}))
152 $self->{db}{$strDb}{hDb} =
158 return $self->{db}{$strDb}{hDb} if $self->{db}{$strDb}{hDb};
169 return $self->{db}{$strDb}{hDb};
187 if (defined($self->{db}{$strDb}{hDb}))
190 undef($self->{db}{$strDb}{hDb});
217 my $hStatement = $hDb->prepare($strSql);
223 if ($bCommit && !$hDb->{AutoCommit})
235 $hDb->{AutoCommit} = 0;
252 my $hStatement = $hDb->prepare($strSql);
[all …]
/dports/databases/sqlite3/sqlite-src-3350500/tool/
H A Dgetlock.c70 int hDb; /* File descriptor for the open database file */ in main() local
81 hDb = open(argv[1], O_RDONLY, 0); in main()
82 if( hDb<0 ){ in main()
88 got = read(hDb, aHdr, 100); in main()
95 if( isLocked(hDb, F_RDLCK, SHARED_FIRST, SHARED_SIZE, "EXCLUSIVE") ){ in main()
101 if( isLocked(hDb, F_RDLCK, PENDING_BYTE, 1, "PENDING") ) return 0; in main()
102 if( isLocked(hDb, F_RDLCK, RESERVED_BYTE, 1, "RESERVED") ) return 0; in main()
103 if( isLocked(hDb, F_WRLCK, SHARED_FIRST, SHARED_SIZE, "SHARED") ){ in main()
/dports/databases/sqlcipher/sqlcipher-3.4.2/tool/
H A Dgetlock.c70 int hDb; /* File descriptor for the open database file */ in main() local
81 hDb = open(argv[1], O_RDONLY, 0); in main()
82 if( hDb<0 ){ in main()
88 got = read(hDb, aHdr, 100); in main()
95 if( isLocked(hDb, F_RDLCK, SHARED_FIRST, SHARED_SIZE, "EXCLUSIVE") ){ in main()
101 if( isLocked(hDb, F_RDLCK, PENDING_BYTE, 1, "PENDING") ) return 0; in main()
102 if( isLocked(hDb, F_RDLCK, RESERVED_BYTE, 1, "RESERVED") ) return 0; in main()
103 if( isLocked(hDb, F_WRLCK, SHARED_FIRST, SHARED_SIZE, "SHARED") ){ in main()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/tool/
H A Dgetlock.c70 int hDb; /* File descriptor for the open database file */ in main() local
81 hDb = open(argv[1], O_RDONLY, 0); in main()
82 if( hDb<0 ){ in main()
88 got = read(hDb, aHdr, 100); in main()
95 if( isLocked(hDb, F_RDLCK, SHARED_FIRST, SHARED_SIZE, "EXCLUSIVE") ){ in main()
101 if( isLocked(hDb, F_RDLCK, PENDING_BYTE, 1, "PENDING") ) return 0; in main()
102 if( isLocked(hDb, F_RDLCK, RESERVED_BYTE, 1, "RESERVED") ) return 0; in main()
103 if( isLocked(hDb, F_WRLCK, SHARED_FIRST, SHARED_SIZE, "SHARED") ){ in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/tool/
H A Dgetlock.c70 int hDb; /* File descriptor for the open database file */ in main() local
81 hDb = open(argv[1], O_RDONLY, 0); in main()
82 if( hDb<0 ){ in main()
88 got = read(hDb, aHdr, 100); in main()
95 if( isLocked(hDb, F_RDLCK, SHARED_FIRST, SHARED_SIZE, "EXCLUSIVE") ){ in main()
101 if( isLocked(hDb, F_RDLCK, PENDING_BYTE, 1, "PENDING") ) return 0; in main()
102 if( isLocked(hDb, F_RDLCK, RESERVED_BYTE, 1, "RESERVED") ) return 0; in main()
103 if( isLocked(hDb, F_WRLCK, SHARED_FIRST, SHARED_SIZE, "SHARED") ){ in main()
/dports/lang/nim/nim-1.6.2/lib/impure/
H A Ddb_odbc.nim98 OdbcConnTyp = tuple[hDb: SqlHDBC, env: SqlHEnv, stmt: SqlHStmt]
129 res = SQLErr(db.env, db.hDb, db.stmt,
166 properFreeResult(SQL_HANDLE_DBC, db.hDb)
476 db.sqlCheck(SQLRowCount(db.hDb, rCnt))
483 if db.hDb != nil:
485 var res = SQLDisconnect(db.hDb)
488 res = SQLFreeHandle(SQL_HANDLE_DBC, db.hDb)
490 db = (hDb: nil, env: nil, stmt: nil)
505 result = (hDb: nil, env: nil, stmt: nil)
513 # allocate hDb handle
[all …]
/dports/sysutils/bulk_extractor/bulk_extractor-2.0.0-beta2/src/tsk3/hashdb/
H A Dtsk_hashdb.h110 FILE *hDb; ///< File handle to database (always open) member

123