Searched refs:db (Results 1 - 25 of 211) sorted by relevance

123456789

/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dcopy_required_constraints.pl16 my $db;
22 $db = DBI->connect("dbi:SQLite:$name", "", "", {AutoCommit => 0});
24 $db->do("PRAGMA cache_size = 800000");
25 $db->do("PRAGMA journal_mode = OFF");
26 $db->do("PRAGMA count_changes = OFF");
27 $db->do("PRAGMA temp_store = MEMORY");
28 $db->do("PRAGMA locking = EXCLUSIVE");
37 $db->do('insert or ignore into constraints (str) select bound from constraints_required');
39 $db->commit();
45 $db
[all...]
H A Dinit_constraints.pl22 my $db = DBI->connect("dbi:SQLite:$db_file", "", "",);
23 $db->do('attach "smatch_db.sqlite" as old_db');
24 $db->do('insert into constraints select * from old_db.constraints');
25 $db->disconnect();
28 my $db;
34 $db = DBI->connect("dbi:SQLite:$name", "", "", {AutoCommit => 0});
36 $db->do("PRAGMA cache_size = 800000");
37 $db->do("PRAGMA journal_mode = OFF");
38 $db->do("PRAGMA count_changes = OFF");
39 $db
[all...]
H A Dremove_mixed_up_pointer_params.pl10 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});
12 $db->do("PRAGMA cache_size = 800000");
13 $db->do("PRAGMA journal_mode = OFF");
14 $db->do("PRAGMA count_changes = OFF");
15 $db->do("PRAGMA temp_store = MEMORY");
16 $db->do("PRAGMA locking = EXCLUSIVE");
20 $remove = $db->prepare_cached('DELETE FROM caller_info WHERE file = ? AND caller = ? AND function = ? AND parameter = ? AND type != 1014');
21 $select = $db->prepare('SELECT file, caller, function, parameter, value FROM caller_info WHERE function LIKE "% param %" AND type = 1014 AND value LIKE "p %"');
22 $select_type = $db->prepare_cached('SELECT value from function_type WHERE file = ? AND function = ? AND parameter = ? limit 1');
49 $db
[all...]
H A Dmark_function_ptrs_searchable.pl10 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});
12 $db->do("PRAGMA cache_size = 800000");
13 $db->do("PRAGMA journal_mode = OFF");
14 $db->do("PRAGMA count_changes = OFF");
15 $db->do("PRAGMA temp_store = MEMORY");
16 $db->do("PRAGMA locking = EXCLUSIVE");
20 $update = $db->prepare_cached('UPDATE function_ptr set searchable = 1 where ptr = ?');
21 $sth = $db->prepare('select distinct(ptr) from function_ptr;');
25 $count = $db->selectrow_array("select count(*) from return_states join function_ptr where return_states.function == function_ptr.function and ptr = '$fn_ptr';");
38 $db
[all...]
H A Dfill_db_sql.pl15 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});
16 $db->do("PRAGMA cache_size = 800000");
17 $db->do("PRAGMA journal_mode = OFF");
18 $db->do("PRAGMA count_changes = OFF");
19 $db->do("PRAGMA temp_store = MEMORY");
20 $db->do("PRAGMA locking = EXCLUSIVE");
32 $db->do($sql);
44 $db->do($sql);
48 $db->commit();
49 $db
[all...]
H A Dinit_constraints_required.pl15 my $db;
21 $db = DBI->connect("dbi:SQLite:$name", "", "", {AutoCommit => 0});
23 $db->do("PRAGMA cache_size = 800000");
24 $db->do("PRAGMA journal_mode = OFF");
25 $db->do("PRAGMA count_changes = OFF");
26 $db->do("PRAGMA temp_store = MEMORY");
27 $db->do("PRAGMA locking = EXCLUSIVE");
47 $db->do("insert into constraints_required values (?, ?, ?);", undef, $data, $op, $limit);
51 $db->commit();
57 $db
[all...]
H A Dcopy_function_pointers.pl8 print "usage: copy_function_pointers.pl <db file>\n";
12 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});
16 $select = $db->prepare('SELECT DISTINCT function, ptr FROM function_ptr WHERE function LIKE "% %";');
36 my $select = $db->prepare('SELECT distinct file, function FROM function_ptr WHERE ptr = ?;');
37 my $insert = $db->prepare('INSERT OR IGNORE INTO function_ptr VALUES (?, ?, ?, 1);');
54 $db->commit();
55 $db->disconnect();
H A Dinsert_manual_states.pl17 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});
18 $db->do("PRAGMA cache_size = 800000");
19 $db->do("PRAGMA journal_mode = OFF");
20 $db->do("PRAGMA count_changes = OFF");
21 $db->do("PRAGMA temp_store = MEMORY");
22 $db->do("PRAGMA locking = EXCLUSIVE");
40 $sth = $db->prepare("select file, return_id, static from return_states where file = ? and function = ? and return = ? and type = 0;");
43 $sth = $db->prepare("select file, return_id, static from return_states where function = ? and return = ? and type = 0;");
47 my $insert = $db->prepare("insert into return_states values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);");
92 $db
[all...]
H A Dfill_db_caller_info.pl55 my $db = DBI->connect("dbi:SQLite:$db_file", "", "", {AutoCommit => 0});
56 $db->do("PRAGMA cache_size = 800000");
57 $db->do("PRAGMA journal_mode = OFF");
58 $db->do("PRAGMA count_changes = OFF");
59 $db->do("PRAGMA temp_store = MEMORY");
60 $db->do("PRAGMA locking = EXCLUSIVE");
63 $db->do("insert into common_caller_info values ('unknown', 'too common', '$func', 0, 0, 0, -1, '', '');");
88 $sql =~ s/%call_marker%//; # don't need this taking space in the db.
93 $db->do($sql);
95 $db
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c54 static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
175 dmu_buf_impl_t *db = vdb; local
176 bzero(db, sizeof (dmu_buf_impl_t));
178 mutex_init(&db->db_mtx, NULL, MUTEX_DEFAULT, NULL);
179 cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL);
180 multilist_link_init(&db->db_cache_link);
181 zfs_refcount_create(&db->db_holds);
190 dmu_buf_impl_t *db = vdb; local
191 mutex_destroy(&db->db_mtx);
192 cv_destroy(&db
226 dmu_buf_impl_t *db; local
247 dmu_buf_impl_t *db = NULL; local
268 dbuf_hash_insert(dmu_buf_impl_t *db) argument
304 dbuf_hash_remove(dmu_buf_impl_t *db) argument
338 dbuf_verify_user(dmu_buf_impl_t *db, dbvu_verify_type_t verify_type) argument
375 dbuf_evict_user(dmu_buf_impl_t *db) argument
414 dbuf_is_metadata(dmu_buf_impl_t *db) argument
435 dbuf_include_in_metadata_cache(dmu_buf_impl_t *db) argument
475 dmu_buf_impl_t *db = obj; local
526 dmu_buf_impl_t *db = multilist_sublist_tail(mls); local
717 dbuf_verify(dmu_buf_impl_t *db) argument
861 dbuf_clear_data(dmu_buf_impl_t *db) argument
872 dbuf_set_data(dmu_buf_impl_t *db, arc_buf_t *buf) argument
886 dbuf_loan_arcbuf(dmu_buf_impl_t *db) argument
949 dmu_buf_impl_t *db = vdb; local
1002 dbuf_read_verify_dnode_crypt(dmu_buf_impl_t *db, uint32_t flags) argument
1046 dbuf_read_impl(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags) argument
1191 dbuf_fix_old_data(dmu_buf_impl_t *db, uint64_t txg) argument
1255 dbuf_read(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags) argument
1374 dbuf_noread(dmu_buf_impl_t *db) argument
1400 dmu_buf_impl_t *db = dr->dr_dbuf; local
1448 dmu_buf_impl_t *db, *db_next; local
1540 dbuf_new_size(dmu_buf_impl_t *db, int size, dmu_tx_t *tx) argument
1593 dbuf_release_bp(dmu_buf_impl_t *db) argument
1612 dmu_buf_impl_t *db = dr->dr_dbuf; local
1632 dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
1934 dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
2023 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2070 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2080 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2105 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2135 dbuf_fill_done(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
2160 dmu_buf_impl_t *db = (dmu_buf_impl_t *)dbuf; local
2196 dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx) argument
2263 dbuf_destroy(dmu_buf_impl_t *db) argument
2465 dmu_buf_impl_t *db, *odb; local
2627 dmu_buf_impl_t *db = dbuf_hold_level(dpa->dpa_dnode, local
2725 dmu_buf_impl_t *db; local
2810 dbuf_hold_copy(dnode_t *dn, dmu_buf_impl_t *db, dbuf_dirty_record_t *dr) argument
2847 dmu_buf_impl_t *db, *parent = NULL; local
2943 dmu_buf_impl_t *db; local
2960 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
2988 dbuf_add_ref(dmu_buf_impl_t *db, void *tag) argument
2999 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
3026 dbuf_rele(dmu_buf_impl_t *db, void *tag) argument
3033 dmu_buf_rele(dmu_buf_t *db, void *tag) argument
3052 dbuf_rele_and_unlock(dmu_buf_impl_t *db, void *tag, boolean_t evicting) argument
3172 dbuf_refcount(dmu_buf_impl_t *db) argument
3181 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
3195 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
3218 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
3233 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
3246 dmu_buf_get_blkptr(dmu_buf_t *db) argument
3253 dmu_buf_get_objset(dmu_buf_t *db) argument
3260 dmu_buf_dnode_enter(dmu_buf_t *db) argument
3268 dmu_buf_dnode_exit(dmu_buf_t *db) argument
3275 dbuf_check_blkptr(dnode_t *dn, dmu_buf_impl_t *db) argument
3332 dmu_buf_impl_t *db = dr->dr_dbuf; local
3366 dmu_buf_impl_t *db = dr->dr_dbuf; local
3414 dmu_buf_impl_t *db = dr->dr_dbuf; local
3609 dmu_buf_impl_t *db = vdb; local
3707 dmu_buf_impl_t *db = vdb; local
3754 dmu_buf_impl_t *db = arg; local
3777 dmu_buf_impl_t *db = vdb; local
3875 dmu_buf_impl_t *db = dr->dr_dbuf; local
3884 dmu_buf_impl_t *db = dr->dr_dbuf; local
3956 dbuf_can_remap(const dmu_buf_impl_t *db) argument
4009 dbuf_remap(dnode_t *dn, dmu_buf_impl_t *db, dmu_tx_t *tx) argument
4039 dmu_buf_impl_t *db = dr->dr_dbuf; local
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c34 #include <db.h>
47 DB *db; local
58 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo);
59 if (db == NULL)
61 if (db->close(db) < 0)
64 /* only create the lock file if we successfully created the db */
134 osa_adb_db_t db; local
142 db = (osa_adb_princ_t) malloc(sizeof(osa_adb_db_ent));
143 if (db
246 osa_adb_fini_db(osa_adb_db_t db, int magic) argument
277 osa_adb_get_lock(osa_adb_db_t db, int mode) argument
363 osa_adb_release_lock(osa_adb_db_t db) argument
387 osa_adb_open_and_lock(osa_adb_princ_t db, int locktype) argument
420 osa_adb_close_and_unlock(osa_adb_princ_t db) argument
[all...]
H A Dadb_policy.c40 #define OPENLOCK(db, mode) \
43 if (db == NULL) \
45 else if (db->magic != OSA_ADB_POLICY_DB_MAGIC) \
47 else if ((olret = osa_adb_open_and_lock(db, mode)) != OSA_ADB_OK) \
51 #define CLOSELOCK(db) \
54 if ((cl_ret = osa_adb_close_and_unlock(db)) != OSA_ADB_OK) \
62 * Purpose: create a policy entry in the policy db.
72 * creates the entry in the db
75 * the policy db.
79 osa_adb_create_policy(osa_adb_policy_t db, osa_policy_ent_ argument
154 osa_adb_destroy_policy(osa_adb_policy_t db, char *name) argument
207 osa_adb_get_policy(osa_adb_policy_t db, char *name, osa_policy_ent_t *entry, int *cnt) argument
282 osa_adb_put_policy(osa_adb_policy_t db, osa_policy_ent_t entry) argument
349 osa_adb_iter_policy(osa_adb_policy_t db, osa_adb_iter_policy_func func, void *data) argument
[all...]
H A Dpolicy_db.h23 configure script doesn't detect it, it causes db-config.h to have a
24 #define for u_int32_t, so including db.h and then netinet/in.h
31 A better fix might be for db.h to include netinet/in.h if that's
41 #include <db.h>
63 DB *db; member in struct:_osa_adb_db_ent_t
87 krb5_error_code osa_adb_fini_db(osa_adb_db_t db, int magic);
88 krb5_error_code osa_adb_get_lock(osa_adb_db_t db, int mode);
89 krb5_error_code osa_adb_release_lock(osa_adb_db_t db);
90 krb5_error_code osa_adb_open_and_lock(osa_adb_princ_t db, int locktype);
91 krb5_error_code osa_adb_close_and_unlock(osa_adb_princ_t db);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c61 #define dbm_dirty(db) ((db)->dbm_flags & _DBM_DIRTY)
62 #define dbm_dirdirty(db) ((db)->dbm_flags & _DBM_DIRDIRTY)
63 #define dbm_defwrite(db) ((db)->dbm_flags & _DBM_DEFWRITE)
64 #define dbm_setdirty(db) (db)->dbm_flags |= _DBM_DIRTY
65 #define dbm_clrdirty(db) (db)
90 dbm_setdefwrite(DBM *db) argument
98 dbm_error(DBM *db) argument
106 dbm_clearerr(DBM *db) argument
112 dbm_flush(DBM *db) argument
123 dbm_flushpag(DBM *db) argument
141 dbm_flushdir(DBM *db) argument
163 DBM *db; local
214 dbm_close(DBM *db) argument
221 dbm_close_status(DBM *db) argument
237 dbm_forder(DBM *db, datum key) argument
252 dbm_fetch(DBM *db, datum key) argument
272 dbm_delete(DBM *db, datum key) argument
304 dbm_store(DBM *db, datum key, datum dat, int replace) argument
403 dbm_hashinc(DBM *db, unsigned long hash) argument
424 dbm_firsthash(DBM *db, unsigned long hash) argument
455 dbm_firstkey(DBM *db) argument
476 dbm_nextkey(DBM *db) argument
493 dbm_slow_nextkey(DBM *db) argument
542 dbm_do_nextkey(DBM *db, datum inkey) argument
718 dbm_access(DBM *db, unsigned long hash) argument
783 getbit(DBM *db) argument
808 setbit(DBM *db) argument
[all...]
H A Dgtxt.c110 struct db_info *db; local
133 if ((db = libc_realloc(db_info,
138 db_info = db;
142 db = &db_info[i];
143 db->flag = 0;
144 (void) strcpy(db->db_name, catname);
145 db->saved_locale = libc_strdup(curloc);
146 if (db->saved_locale == NULL) {
150 db->flag = DB_OPEN;
153 db
178 unload_db(struct db_info *db) argument
199 lookup_cache(struct db_info *db, const char *curloc, const char *catname) argument
224 valid_msg(struct db_info *db, int id) argument
238 msg(struct db_info *db, int id) argument
259 struct db_info *db; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c179 bsd_clear(db)
180 struct bsd_db *db;
182 db->clear_count++;
183 db->max_ent = FIRST-1;
184 db->n_bits = BSD_INIT_BITS;
185 db->ratio = 0;
186 db->bytes_out = 0;
187 db->in_count = 0;
188 db->checkpoint = CHECK_GAP;
205 bsd_check(db)
250 struct bsd_db *db = (struct bsd_db *) state; local
276 struct bsd_db *db = (struct bsd_db *) state; local
293 struct bsd_db *db; local
358 struct bsd_db *db = (struct bsd_db *) state; local
434 struct bsd_db *db = (struct bsd_db *) state; local
554 struct bsd_db *db = (struct bsd_db *) state; local
[all...]
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dthreadtest2.c31 #define DB_FILE "test.db"
59 int integrity_check(sqlite *db){ argument
63 rc = sqlite_exec(db, "pragma integrity_check", check_callback, 0, 0);
68 sqlite_exec(db, "pragma integrity_check", check_callback, 0, 0);
77 sqlite *db; local
82 while( (db = sqlite_open(DB_FILE, 0, 0))==0 ) sched_yield();
83 sqlite_exec(db, "PRAGMA synchronous=OFF", 0, 0, 0);
84 integrity_check(db);
85 if( all_stop ){ sqlite_close(db); break; }
87 rc = sqlite_exec(db, "INSER
98 sqlite *db; local
[all...]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dmain.c31 sqlite *db; /* The database being initialized */ member in struct:__anon4289
73 sqlite *db = pData->db; local
80 ** But because db->init.busy is set to 1, no VDBE code is generated
85 assert( db->init.busy );
86 db->init.iDb = atoi(argv[4]);
87 assert( db->init.iDb>=0 && db->init.iDb<db->nDb );
88 db
190 sqliteInitOne(sqlite *db, int iDb, char **pzErrMsg) argument
382 sqliteInit(sqlite *db, char **pzErrMsg) argument
479 sqlite *db; local
547 sqlite_last_insert_rowid(sqlite *db) argument
554 sqlite_changes(sqlite *db) argument
564 sqlite_last_statement_changes(sqlite *db) argument
571 sqlite_close(sqlite *db) argument
604 sqliteRollbackAll(sqlite *db) argument
626 sqlite_exec( sqlite *db, const char *zSql, sqlite_callback xCallback, void *pArg, char **pzErrMsg ) argument
694 sqlite_compile( sqlite *db, const char *zSql, const char **pzTail, sqlite_vm **ppVm, char **pzErrMsg ) argument
909 sqlite_busy_handler( sqlite *db, int (*xBusy)(void*,const char*,int), void *pArg ) argument
924 sqlite_progress_handler( sqlite *db, int nOps, int (*xProgress)(void*), void *pArg ) argument
947 sqlite_busy_timeout(sqlite *db, int ms) argument
958 sqlite_interrupt(sqlite *db) argument
996 sqlite_create_function( sqlite *db, const char *zName, int nArg, void (*xFunc)(sqlite_func*,int,const char**), void *pUserData ) argument
1017 sqlite_create_aggregate( sqlite *db, const char *zName, int nArg, void (*xStep)(sqlite_func*,int,const char**), void (*xFinalize)(sqlite_func*), void *pUserData ) argument
1045 sqlite_function_type(sqlite *db, const char *zName, int dataType) argument
1062 sqlite_trace(sqlite *db, void (*xTrace)(void*,const char*), void *pArg) argument
1075 sqlite_commit_hook( sqlite *db, int (*xCallback)(void*), void *pArg ) argument
1112 sqliteBtreeFactory( const sqlite *db, const char *zFilename, int omitJournal, int nCache, Btree **ppBtree) argument
[all...]
H A Dattach.c33 sqlite *db; local
39 db = pParse->db;
40 if( db->file_format<4 ){
46 if( db->nDb>=MAX_ATTACHED+2 ){
68 for(i=0; i<db->nDb; i++){
69 if( db->aDb[i].zName && sqliteStrICmp(db->aDb[i].zName, zName)==0 ){
77 if( db->aDb==db
141 sqlite *db; local
195 sqlite *db; local
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c145 /* db->flags values */
218 bsd_clear(struct bsd_db *db) argument
220 db->clear_count++;
221 db->max_ent = FIRST-1;
222 db->n_bits = BSD_INIT_BITS;
223 db->ratio = 0;
224 db->bytes_out = 0;
225 db->in_count = 0;
226 db->checkpoint = CHECK_GAP;
245 bsd_check(struct bsd_db *db) argument
298 struct bsd_db *db = (struct bsd_db *)state; local
330 struct bsd_db *db = (struct bsd_db *)state; local
355 struct bsd_db *db; local
443 struct bsd_db *db = (struct bsd_db *)state; local
477 bsd_init(struct bsd_db *db, uchar_t *options, int opt_len, int unit, int hdrlen, int mru, int debug, int decomp) argument
557 struct bsd_db *db = (struct bsd_db *)state; local
902 struct bsd_db *db = (struct bsd_db *)state; local
1097 struct bsd_db *db = (struct bsd_db *)state; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_hooks.h53 extern void shim_dbm_close(DBM *db);
54 extern int shim_dbm_delete(DBM *db, datum key);
55 extern datum shim_dbm_fetch(DBM *db, datum key);
56 extern datum shim_dbm_fetch_noupdate(DBM *db, datum key);
57 extern datum shim_dbm_firstkey(DBM *db);
58 extern datum shim_dbm_nextkey(DBM *db);
59 extern datum shim_dbm_do_nextkey(DBM *db, datum inkey);
62 extern int shim_dbm_store(DBM *db, datum key, datum content,
/illumos-gate/usr/src/cmd/svc/seed/
H A DMakefile42 # global.db -- for a standalone Solaris (global zone)
43 # nonglobal.db -- for a Solaris Zone
44 # miniroot.db -- for the install miniroot
120 all: global.db nonglobal.db miniroot.db
131 common.db: $(COMMON_DESCRIPTIONS) $(CONFIGD) $(SVCCFG)
132 $(RM) -f common.db common.db-journal
136 SVCCFG_REPOSITORY=$(SRC)/cmd/svc/seed/common.db \
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c47 #include "db-int.h"
56 #include "db-ndbm.h"
193 kdb2_dbm_close(db)
194 DBM *db;
196 (void)(db->close)(db);
205 kdb2_dbm_fetch(db, key)
206 DBM *db;
217 status = (db->get)(db,
[all...]
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx.c56 longjmp(db->cpp_jmp, 1); \
61 #define TOP_L(db) (&(name_top(&(db)->cpp_name)->strp_l))
63 #define NAMT(db, n) (nlen(db) - n)
171 cpp_db_t db; local
173 if (!db_init(&db, ops))
175 if (setjmp(db.cpp_jmp) != 0)
179 demangle(src, src + srclen, &db);
181 if (errno == 0 && db
229 demangle(const char *first, const char *last, cpp_db_t *db) argument
277 parse_dot_suffix(const char *first, const char *last, cpp_db_t *db) argument
299 parse_block_invoke(const char *first, const char *last, cpp_db_t *db) argument
340 parse_encoding(const char *first, const char *last, cpp_db_t *db) argument
469 parse_special_name(const char *first, const char *last, cpp_db_t *db) argument
629 parse_name(const char *first, const char *last, boolean_t *ends_with_template_args, cpp_db_t *db) argument
692 parse_local_name(const char *first, const char *last, boolean_t *ends_with_template_args, cpp_db_t *db) argument
760 parse_nested_name(const char *first, const char *last, boolean_t *ends_with_template_args, cpp_db_t *db) argument
935 parse_template_arg(const char *first, const char *last, cpp_db_t *db) argument
1135 parse_expression(const char *first, const char *last, cpp_db_t *db) argument
1178 parse_binary_expr(const char *first, const char *last, const char *op, cpp_db_t *db) argument
1211 parse_prefix_expr(const char *first, const char *last, const char *op, cpp_db_t *db) argument
1233 parse_gs(const char *first, const char *last, cpp_db_t *db) argument
1266 parse_new_expr(const char *first, const char *last, cpp_db_t *db) argument
1333 parse_del_expr(const char *first, const char *last, cpp_db_t *db) argument
1353 parse_idx_expr(const char *first, const char *last, cpp_db_t *db) argument
1373 parse_ppmm_expr(const char *first, const char *last, const char *fmt, cpp_db_t *db) argument
1400 parse_mm_expr(const char *first, const char *last, cpp_db_t *db) argument
1410 parse_pp_expr(const char *first, const char *last, cpp_db_t *db) argument
1421 parse_trinary_expr(const char *first, const char *last, cpp_db_t *db) argument
1449 parse_noexcept_expr(const char *first, const char *last, cpp_db_t *db) argument
1472 parse_cast_expr(const char *first, const char *last, cpp_db_t *db) argument
1515 parse_arrow_expr(const char *first, const char *last, cpp_db_t *db) argument
1580 parse_type(const char *first, const char *last, cpp_db_t *db) argument
1845 parse_qual_type(const char *first, const char *last, cpp_db_t *db) argument
1920 parse_alignof(const char *first, const char *last, cpp_db_t *db) argument
1945 parse_sizeof(const char *first, const char *last, cpp_db_t *db) argument
1983 parse_function_param(const char *first, const char *last, cpp_db_t *db) argument
2023 parse_sizeof_param_pack_expr(const char *first, const char *last, cpp_db_t *db) argument
2057 parse_typeid_expr(const char *first, const char *last, cpp_db_t *db) argument
2087 parse_throw_expr(const char *first, const char *last, cpp_db_t *db) argument
2113 parse_dot_star_expr(const char *first, const char *last, cpp_db_t *db) argument
2138 parse_dot_expr(const char *first, const char *last, cpp_db_t *db) argument
2162 parse_call_expr(const char *first, const char *last, cpp_db_t *db) argument
2201 parse_conv_expr(const char *first, const char *last, cpp_db_t *db) argument
2258 parse_simple_id(const char *first, const char *last, cpp_db_t *db) argument
2280 parse_unresolved_type(const char *first, const char *last, cpp_db_t *db) argument
2330 parse_pack_expansion(const char *first, const char *last, cpp_db_t *db) argument
2353 parse_unscoped_name(const char *first, const char *last, cpp_db_t *db) argument
2389 parse_unqualified_name(const char *first, const char *last, cpp_db_t *db) argument
2428 parse_unnamed_type_name(const char *first, const char *last, cpp_db_t *db) argument
2533 basename(cpp_db_t *db) argument
2609 parse_ctor_dtor_name(const char *first, const char *last, cpp_db_t *db) argument
2651 parse_integer_literal(const char *first, const char *last, const char *fmt, cpp_db_t *db) argument
2685 parse_floating_literal(const char *first, const char *last, cpp_db_t *db) argument
2835 parse_expr_primary(const char *first, const char *last, cpp_db_t *db) argument
3022 parse_operator_name(const char *first, const char *last, cpp_db_t *db) argument
3120 parse_builtin_type(const char *first, const char *last, cpp_db_t *db) argument
3188 parse_substitution(const char *first, const char *last, cpp_db_t *db) argument
3233 parse_source_name(const char *first, const char *last, cpp_db_t *db) argument
3277 parse_vector_type(const char *first, const char *last, cpp_db_t *db) argument
3338 parse_decltype(const char *first, const char *last, cpp_db_t *db) argument
3366 parse_array_type(const char *first, const char *last, cpp_db_t *db) argument
3419 parse_pointer_to_member_type(const char *first, const char *last, cpp_db_t *db) argument
3468 parse_unresolved_name(const char *first, const char *last, cpp_db_t *db) argument
3587 parse_unresolved_qualifier_level(const char *first, const char *last, cpp_db_t *db) argument
3606 parse_base_unresolved_name(const char *first, const char *last, cpp_db_t *db) argument
3655 parse_destructor_name(const char *first, const char *last, cpp_db_t *db) argument
3681 parse_function_type(const char *first, const char *last, cpp_db_t *db) argument
3757 parse_template_param(const char *first, const char *last, cpp_db_t *db) argument
3811 parse_template_args(const char *first, const char *last, cpp_db_t *db) argument
3975 nempty(cpp_db_t *db) argument
3981 nlen(cpp_db_t *db) argument
3987 nadd_l(cpp_db_t *db, const char *s, size_t len) argument
3993 njoin(cpp_db_t *db, size_t amt, const char *sep) argument
4001 nfmt(cpp_db_t *db, const char *fmt_l, const char *fmt_r) argument
4007 save_top(cpp_db_t *db, size_t amt) argument
4013 sub(cpp_db_t *db, size_t n) argument
4019 tempty(const cpp_db_t *db) argument
4025 ttlen(const cpp_db_t *db) argument
4031 tsub(cpp_db_t *db, size_t n) argument
4037 tpush(cpp_db_t *db) argument
4043 tpop(cpp_db_t *db) argument
4049 tsave(cpp_db_t *db, size_t amt) argument
4055 db_init(cpp_db_t *db, sysdem_ops_t *ops) argument
4070 db_fini(cpp_db_t *db) argument
4212 dump(cpp_db_t *db, FILE *out) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_c.x51 struct db {
66 %class db {
74 % STRUCTRWLOCK(db);
106 % db( char * );
110 % ~db();
152 %/* Execute log entry 'j' on this db. 'j' is executed if its version is
188 % return (WLOCK(db));
193 % return (TRYWLOCK(db));
198 % return (WULOCK(db));
203 % return (RLOCK(db));
[all...]

Completed in 70 milliseconds

123456789