Home
last modified time | relevance | path

Searched refs:DB (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/openbsd-src/gnu/usr.bin/perl/lib/
H A DDB.t31 local $DB::sub = sub {
36 my $ret = DB::sub;
39 $ret = join(' ', DB::sub(2));
42 ok( defined($DB::ret),'$DB::ret should be defined after successful return');
43 DB::sub;
44 ok( !defined($DB::ret), '... should respect void context' );
45 $DB::sub = '::DESTROY';
46 ok( !defined($DB::ret), '... should return undef for DESTROY()' );
51 ok( ! defined DB::DB(),
53 is( DB::catch(), 1, 'DB::catch() should work' );
[all …]
H A DDB.pm5 package DB; package
26 $DB::sub = ''; # name of current subroutine
27 %DB::sub = (); # "filename:fromline-toline" for every known sub
28 $DB::single = 0; # single-step flag (set it to 1 to enable stops in BEGIN/use)
29 $DB::signal = 0; # signal flag (will cause a stop at the next line)
30 $DB::trace = 0; # are we tracing through subroutine calls?
31 @DB::args = (); # arguments of current subroutine or @ARGV array
32 @DB::dbline = (); # list of lines in currently loaded file
33 %DB::dbline = (); # actions in current file (keyed by line number)
34 @DB::ret = (); # return value of last sub executed in list context
[all …]
H A Dperl5db.pl67 The debugger uses this trick a I<lot>. Of particular note is C<DB::eval>,
70 keep C<$@> safe until it C<DB::eval> returns, at which point the previous
270 a C<&DB::DB();> in front of each place that can have a
271 breakpoint. At each subroutine call, it calls C<&DB::sub> with
272 C<$DB::sub> set to the called subroutine. It also inserts a C<BEGIN
276 call to C<&DB::postponed($main::{'_<'.$filename})> is done. C<$filename>
299 Any other positive value causes C<DB::sub> to print return values.
303 The item to be eval'ed by C<DB::eval>. Used to prevent messing with the current
304 contents of C<@_> when C<DB
514 package DB; global() package
2879 sub DB { global() subroutine
4351 package DB; global() package
4472 sub DB::sub { global() subroutine
10408 package DB; # Do not trace this 1; below! global() package
[all...]
H A Ddumpvar.pl155 return if $DB::signal;
236 return if $DB::signal;
272 return if $DB::signal;
379 return if $DB::signal;
411 return if $DB::signal;
455 my $place = $DB::sub{$sub} || (($s = $subs{"$subref"}) && $DB::sub{$s})
456 || (($s = CvGV_name_or_bust($subref)) && $DB::sub{$s})
457 || ($subdump && ($s = findsubs("$subref")) && $DB::sub{$s});
464 return undef unless %DB::sub;
466 while (($name, $loc) = each %DB::sub) {
[all …]
/openbsd-src/gnu/usr.bin/perl/t/run/
H A Dswitchd.t38DB<main,$::tempfile_regexp,9>;sub<Foo::foo>;DB<Foo,$::tempfile_regexp,5>;DB<Foo,$::tempfile_regexp…
46DB<main,$::tempfile_regexp,9>;sub<Foo::foo>;DB<Foo,$::tempfile_regexp,5>;DB<Foo,$::tempfile_regexp…
54DB<main,$::tempfile_regexp,9>;sub<Foo::foo>;DB<Foo,$::tempfile_regexp,5>;DB<Foo,$::tempfile_regexp…
137 qr/^No DB::DB routine defined/,
146 qr/^No DB::DB routine defined/,
168 package DB;
169 sub DB {
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DDiagnostic.h1341 const StreamingDiagnostic &DB = *this; variable
1342 DB << V;
1353 const StreamingDiagnostic &DB = *this; variable
1354 DB << std::move(V);
1382 inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
1384 DB.addFlagValue(V.Val);
1385 return DB;
1388 inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB,
1390 DB.AddString(S);
1391 return DB;
[all …]
H A DPartialDiagnostic.h59 const StreamingDiagnostic &DB = *this; variable
60 DB << V;
70 const StreamingDiagnostic &DB = *this; variable
71 DB << std::move(V);
144 void Emit(const DiagnosticBuilder &DB) const { in Emit() argument
152 DB.AddString(DiagStorage->DiagArgumentsStr[i]); in Emit()
154 DB.AddTaggedVal(DiagStorage->DiagArgumentsVal[i], in Emit()
160 DB.AddSourceRange(Range); in Emit()
164 DB.AddFixItHint(Fix); in Emit()
171 DiagnosticBuilder DB(Diags.Report(getDiagID())); in EmitToString()
[all …]
/openbsd-src/usr.sbin/netgroup_mkdb/
H A Dnetgroup_mkdb.c62 static DB *ng_insert(DB *, const char *);
63 static void ng_reventry(DB *, DB *, struct nentry *, char *,
67 static void ng_rprint(DB *, struct string *);
68 static DB *ng_reverse(DB *, size_t);
69 static DB *ng_load(const char *);
70 static void ng_write(DB *, DB *, int);
71 static void ng_rwrite(DB *, DB *, int);
77 static void ng_dump(DB *);
78 static void ng_rdump(DB *);
91 DB *db, *ndb, *hdb, *udb; in main()
[all …]
/openbsd-src/lib/libc/db/btree/
H A Dextern.h35 int __bt_close(DB *);
39 int __bt_delete(const DB *, const DBT *, u_int);
41 int __bt_fd(const DB *);
43 int __bt_get(const DB *, const DBT *, DBT *, u_int);
47 int __bt_put(const DB *dbp, DBT *, const DBT *, u_int);
50 int __bt_seq(const DB *, DBT *, DBT *, u_int);
54 int __bt_sync(const DB *, u_int);
61 void __bt_dnpage(DB *, pgno_t);
63 void __bt_dump(DB *);
66 void __bt_stat(DB *);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DBDCE.cpp44 static void clearAssumptionsOfUsers(Instruction *I, DemandedBits &DB) { in clearAssumptionsOfUsers() argument
56 !DB.getDemandedBits(J).isAllOnes()) { in clearAssumptionsOfUsers()
87 !DB.getDemandedBits(K).isAllOnes()) in clearAssumptionsOfUsers()
93 static bool bitTrackingDCE(Function &F, DemandedBits &DB) { in bitTrackingDCE() argument
105 if (DB.isInstructionDead(&I) || in bitTrackingDCE()
106 (I.getType()->isIntOrIntVectorTy() && DB.getDemandedBits(&I).isZero() && in bitTrackingDCE()
115 APInt Demanded = DB.getDemandedBits(SE); in bitTrackingDCE()
120 clearAssumptionsOfUsers(SE, DB); in bitTrackingDCE()
139 if (!DB.isUseDead(&U)) in bitTrackingDCE()
144 clearAssumptionsOfUsers(&I, DB); in bitTrackingDCE()
[all …]
/openbsd-src/lib/libc/db/recno/
H A Dextern.h37 int __rec_close(DB *);
38 int __rec_delete(const DB *, const DBT *, u_int);
40 int __rec_fd(const DB *);
44 int __rec_get(const DB *, const DBT *, DBT *, u_int);
46 int __rec_put(const DB *dbp, DBT *, const DBT *, u_int);
49 int __rec_seq(const DB *, DBT *, DBT *, u_int);
50 int __rec_sync(const DB *, u_int);
/openbsd-src/lib/libcurses/
H A Dhashed_db.h63 extern NCURSES_EXPORT(DB *) _nc_db_open(const char * /* path */, bool /* modify */);
66 extern NCURSES_EXPORT(int) _nc_db_close(DB * /* db */);
67 extern NCURSES_EXPORT(int) _nc_db_first(DB * /* db */, DBT * /* key */, DBT * /* data */);
68 extern NCURSES_EXPORT(int) _nc_db_next(DB * /* db */, DBT * /* key */, DBT * /* data */);
69 extern NCURSES_EXPORT(int) _nc_db_get(DB * /* db */, DBT * /* key */, DBT * /* data */);
70 extern NCURSES_EXPORT(int) _nc_db_put(DB * /* db */, DBT * /* key */, DBT * /* data */);
/openbsd-src/lib/libcurses/tinfo/
H A Dhashed_db.c50 DB *db;
65 static DB *
68 DB *result = 0; in find_connection()
82 drop_connection(DB * db) in drop_connection()
100 make_connection(DB * db, const char *path, bool modify) in make_connection()
120 NCURSES_EXPORT(DB *)
123 DB *result = 0; in _nc_db_open()
185 _nc_db_close(DB * db) in _nc_db_close()
207 _nc_db_put(DB * db, DBT * key, DBT * data) in _nc_db_put()
226 _nc_db_get(DB * db, DBT * key, DBT * data) in _nc_db_get()
[all …]
/openbsd-src/usr.bin/file/magdir/
H A Ddatabase19 # Berkeley DB
27 0 long 0x00061561 Berkeley DB
38 0 belong 0x00061561 Berkeley DB
48 0 long 0x00053162 Berkeley DB 1.85/1.86
50 0 belong 0x00053162 Berkeley DB 1.85/1.86
52 0 lelong 0x00053162 Berkeley DB 1.85/1.86
55 12 long 0x00061561 Berkeley DB
57 12 belong 0x00061561 Berkeley DB
59 12 lelong 0x00061561 Berkeley DB
62 12 long 0x00053162 Berkeley DB
[all …]
/openbsd-src/lib/libcrypto/rsa/
H A Drsa_pss.c91 unsigned char *DB = NULL; in RSA_verify_PKCS1_PSS_mgf1() local
140 DB = malloc(maskedDBLen); in RSA_verify_PKCS1_PSS_mgf1()
141 if (!DB) { in RSA_verify_PKCS1_PSS_mgf1()
145 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) in RSA_verify_PKCS1_PSS_mgf1()
148 DB[i] ^= EM[i]; in RSA_verify_PKCS1_PSS_mgf1()
150 DB[0] &= 0xFF >> (8 - MSBits); in RSA_verify_PKCS1_PSS_mgf1()
151 for (i = 0; DB[i] == 0 && i < (maskedDBLen - 1); i++) in RSA_verify_PKCS1_PSS_mgf1()
153 if (DB[i++] != 0x1) { in RSA_verify_PKCS1_PSS_mgf1()
166 if (!EVP_DigestUpdate(md_ctx, DB + i, maskedDBLen - i)) in RSA_verify_PKCS1_PSS_mgf1()
179 free(DB); in RSA_verify_PKCS1_PSS_mgf1()
/openbsd-src/gnu/usr.bin/perl/t/lib/Devel/
H A Dswitchd.pm5 package DB; package
6 sub DB { print "DB<", join(",", caller), ">;" } subroutine
7 sub sub { print "sub<$DB::sub>;"; goto &$DB::sub }
H A Dswitchd_goto.pm2 package DB; package
3 sub DB { $^P |= 0x80; } subroutine
4 sub goto { print "goto<$DB::sub>;" }
/openbsd-src/distrib/sets/
H A DMakefile3 DB = /usr/lib/locate/src.db macro
6 /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
7 chown ${BINOWN}:${BINGRP} ${DESTDIR}${DB}
8 chmod 644 ${DESTDIR}${DB}
/openbsd-src/gnu/usr.bin/perl/dist/Dumpvalue/t/
H A DDumpvalue.t113 $DB::signal = $d->{stopDbSignal} = 1;
115 undef $DB::signal;
175 $d->{stopDbSignal} = $DB::signal = 1;
177 undef $DB::signal;
210 is( $out->read, "\$_<foo = 1\n", 'dumped glob for $_<foo correctly (DB)' );
226 is( $d->findsubs(), undef, 'findsubs returns nothing without %DB::sub' );
248 $DB::signal = 1;
251 undef $DB::signal;
/openbsd-src/regress/lib/libc/db/
H A Ddbtest.c53 void dump(DB *, int);
55 void get(DB *, DBT *);
56 void getdata(DB *, DBT *, DBT *);
57 void put(DB *, DBT *, DBT *);
58 void rem(DB *, DBT *);
60 void synk(DB *);
62 void seq(DB *, DBT *);
74 DB *XXdbp; /* Global for gdb. */
81 DB *dbp; in main()
354 DB *dbp; in get()
[all …]
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Dcaller.t113 # the DB::sub glob existed but &DB::sub did not (for example, if
115 # thus assume that there is no &DB::sub: if there is one, they
171 @DB::args = bless [], 'KAZASH';
174 print scalar @DB::args;
180 @DB::args = (); # At this point, the object should be freed.
183 print scalar @DB::args;
193 "\@DB::args doesn't leak with \$^P = $_");
201 package DB;
205 ::is $gone, 1, 'caller does not leak @DB
[all...]
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperldebtut.pod125 Loading DB routines from perl5db.pl version 1.07
139 DB<1> q
153 DB<1>h
205 DB<2>S str
221 DB<4> v
236 DB<4> v
248 DB<4> l 5
255 DB<5> .
263 DB<6> s
273 DB<7> p $key
[all …]
/openbsd-src/lib/libc/hidden/
H A Ddb.h72 DB *__bt_open(const char *, int, int, const BTREEINFO *, int);
73 DB *__hash_open(const char *, int, int, const HASHINFO *, int);
74 DB *__rec_open(const char *, int, int, const RECNOINFO *, int);
75 void __dbpanic(DB *dbp);
/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DCompilationDatabase.cpp71 if (std::unique_ptr<CompilationDatabase> DB = in loadFromDirectory() local
73 return DB; in loadFromDirectory()
87 if (std::unique_ptr<CompilationDatabase> DB = in findCompilationDatabaseFromDirectory() local
89 return DB; in findCompilationDatabaseFromDirectory()
109 std::unique_ptr<CompilationDatabase> DB = in autoDetectFromSource() local
112 if (!DB) in autoDetectFromSource()
115 return DB; in autoDetectFromSource()
123 std::unique_ptr<CompilationDatabase> DB = in autoDetectFromDirectory() local
126 if (!DB) in autoDetectFromDirectory()
129 return DB; in autoDetectFromDirectory()
/openbsd-src/gnu/usr.bin/perl/hints/
H A Dbroken-db.msg1 # Several OSs come with an old version of the DB library which fails
7 Unless you've upgraded your DB library manually you will see failures in
9 broken in the DB library which is included with the OS. You can ignore
12 DB library or OS.

12345678910>>...16