HomeSort by relevance Sort by last modified time
    Searched refs:db (Results 1 - 25 of 302) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /netvirt/usr/src/cmd/perl/5.8.4/distrib/ext/NDBM_File/
NDBM_File.xs 43 ndbm_DESTROY(db)
44 NDBM_File db
46 dbm_close(db->dbp);
47 safefree(db);
49 #define ndbm_FETCH(db,key) dbm_fetch(db->dbp,key)
51 ndbm_FETCH(db, key)
52 NDBM_File db
55 #define ndbm_STORE(db,key,value,flags) dbm_store(db->dbp,key,value,flags
    [all...]
  /netvirt/usr/src/cmd/perl/5.6.1/distrib/ext/SDBM_File/sdbm/
sdbm.c 59 #define ioerr(db) ((db)->flags |= DBM_IOERR)
78 register DBM *db; local
99 db = sdbm_prep(dirname, pagname, flags, mode);
101 return db;
107 register DBM *db; local
110 if ((db = (DBM *) malloc(sizeof(DBM))) == NULL)
113 db->flags = 0;
114 db->hmask = 0;
115 db->blkptr = 0
    [all...]
  /netvirt/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
sdbm.c 60 #define ioerr(db) ((db)->flags |= DBM_IOERR)
79 register DBM *db; local
100 db = sdbm_prep(dirname, pagname, flags, mode);
102 return db;
108 register DBM *db; local
111 if ((db = (DBM *) malloc(sizeof(DBM))) == NULL)
114 db->flags = 0;
115 db->hmask = 0;
116 db->blkptr = 0
    [all...]
  /netvirt/usr/src/uts/common/fs/zfs/
dbuf.c 40 static void dbuf_destroy(dmu_buf_impl_t *db);
41 static int dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
58 dmu_buf_impl_t *db = vdb; local
59 bzero(db, sizeof (dmu_buf_impl_t));
61 mutex_init(&db->db_mtx, NULL, MUTEX_DEFAULT, NULL);
62 cv_init(&db->db_changed, NULL, CV_DEFAULT, NULL);
63 refcount_create(&db->db_holds);
71 dmu_buf_impl_t *db = vdb; local
72 mutex_destroy(&db->db_mtx);
73 cv_destroy(&db->db_changed)
119 dmu_buf_impl_t *db; local
424 dmu_buf_impl_t *db = vdb; local
679 dmu_buf_impl_t *db = dr->dr_dbuf; local
711 dmu_buf_impl_t *db, *db_next; local
1220 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
1377 dmu_buf_impl_t *db, *odb; local
1453 dmu_buf_impl_t *db = buf->b_private; local
1510 dmu_buf_impl_t *db = NULL; local
1563 dmu_buf_impl_t *db, *parent = NULL; local
1650 dmu_buf_impl_t *db; local
1658 dmu_buf_impl_t *db; local
1750 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
1761 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
1785 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; local
1834 dmu_buf_impl_t *db = dr->dr_dbuf; local
1882 dmu_buf_impl_t *db = dr->dr_dbuf; local
2074 dmu_buf_impl_t *db = dr->dr_dbuf; local
2121 dmu_buf_impl_t *db = vdb; local
2197 dmu_buf_impl_t *db = vdb; local
    [all...]
  /netvirt/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/
SDBM_File.xs 21 #define sdbm_FETCH(db,key) sdbm_fetch(db->dbp,key)
22 #define sdbm_STORE(db,key,value,flags) sdbm_store(db->dbp,key,value,flags)
23 #define sdbm_DELETE(db,key) sdbm_delete(db->dbp,key)
24 #define sdbm_EXISTS(db,key) sdbm_exists(db->dbp,key)
25 #define sdbm_FIRSTKEY(db) sdbm_firstkey(db->dbp
    [all...]
  /netvirt/usr/src/cmd/perl/5.6.1/distrib/ext/NDBM_File/
NDBM_File.xs 25 if (db->type) { \
28 if (db->filtering) \
30 db->filtering = TRUE ; \
34 (void) perl_call_sv(db->type, G_DISCARD|G_NOARGS); \
38 db->filtering = FALSE ; \
67 ndbm_DESTROY(db)
68 NDBM_File db
70 dbm_close(db->dbp);
71 safefree(db);
73 #define ndbm_FETCH(db,key) dbm_fetch(db->dbp,key
    [all...]
  /netvirt/usr/src/lib/krb5/plugins/kdb/db2/
adb_openclose.c 41 #include <db.h>
54 DB *db; local
65 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo);
66 if (db == NULL)
68 if (db->close(db) < 0)
71 /* only create the lock file if we successfully created the db */
141 osa_adb_db_t db; local
149 db = (osa_adb_princ_t) malloc(sizeof(osa_adb_db_ent))
    [all...]
adb_policy.c 41 #define OPENLOCK(db, mode) \
44 if (db == NULL) \
46 else if (db->magic != OSA_ADB_POLICY_DB_MAGIC) \
48 else if ((olret = osa_adb_open_and_lock(db, mode)) != OSA_ADB_OK) \
52 #define CLOSELOCK(db) \
55 if ((cl_ret = osa_adb_close_and_unlock(db)) != OSA_ADB_OK) \
63 * Purpose: create a policy entry in the policy db.
73 * creates the entry in the db
76 * the policy db.
80 osa_adb_create_policy(osa_adb_policy_t db, osa_policy_ent_t entry
    [all...]
policy_db.h 23 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)
    [all...]
  /netvirt/usr/src/cmd/perl/5.6.1/distrib/ext/SDBM_File/
SDBM_File.xs 21 if (db->type) { \
24 if (db->filtering) \
26 db->filtering = TRUE ; \
30 (void) perl_call_sv(db->type, G_DISCARD|G_NOARGS); \
34 db->filtering = FALSE ; \
39 #define sdbm_FETCH(db,key) sdbm_fetch(db->dbp,key)
40 #define sdbm_STORE(db,key,value,flags) sdbm_store(db->dbp,key,value,flags)
41 #define sdbm_DELETE(db,key) sdbm_delete(db->dbp,key
    [all...]
  /netvirt/usr/src/lib/libc/port/gen/
ndbm.c 59 #define dbm_dirty(db) ((db)->dbm_flags & _DBM_DIRTY)
60 #define dbm_dirdirty(db) ((db)->dbm_flags & _DBM_DIRDIRTY)
61 #define dbm_defwrite(db) ((db)->dbm_flags & _DBM_DEFWRITE)
62 #define dbm_setdirty(db) (db)->dbm_flags |= _DBM_DIRTY
63 #define dbm_clrdirty(db) (db)->dbm_flags &= ~_DBM_DIRT
161 DBM *db; local
    [all...]
gtxt.c 112 struct db_info *db; local
135 if ((db = libc_realloc(db_info,
140 db_info = db;
144 db = &db_info[i];
145 db->flag = 0;
146 (void) strcpy(db->db_name, catname);
147 db->saved_locale = libc_strdup(curloc);
148 if (db->saved_locale == NULL) {
152 db->flag = DB_OPEN;
155 db->saved_locale, db->db_name) >= sizeof (pathname))
261 struct db_info *db; local
    [all...]
  /netvirt/usr/src/lib/libbc/libc/gen/common/
ndbm.c 31 #define dbm_dirty(db) ((db)->dbm_flags & _DBM_DIRTY)
32 #define dbm_dirdirty(db) ((db)->dbm_flags & _DBM_DIRDIRTY)
33 #define dbm_defwrite(db) ((db)->dbm_flags & _DBM_DEFWRITE)
34 #define dbm_setdirty(db) (db)->dbm_flags |= _DBM_DIRTY
35 #define dbm_clrdirty(db) (db)->dbm_flags &= ~_DBM_DIRT
101 DBM *db; local
    [all...]
  /netvirt/usr/src/lib/libbc/inc/include/
ndbm.h 38 #define dbm_rdonly(db) ((db)->dbm_flags & _DBM_RDONLY)
40 #define dbm_error(db) ((db)->dbm_flags & _DBM_IOERR)
42 #define dbm_clearerr(db) ((db)->dbm_flags &= ~_DBM_IOERR)
45 #define dbm_dirfno(db) ((db)->dbm_dirf)
46 #define dbm_pagfno(db) ((db)->dbm_pagf
    [all...]
  /netvirt/usr/src/cmd/cmd-inet/usr.bin/pppdump/
bsd-comp.c 179 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...]
  /netvirt/usr/src/lib/libsqlite/test/
threadtest2.c 31 #define DB_FILE "test.db"
59 int integrity_check(sqlite *db){
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, "INSERT INTO t1 VALUES('bogus data')", 0, 0, 0)
98 sqlite *db; local
    [all...]
  /netvirt/usr/src/cmd/perl/5.8.4/distrib/ext/ODBM_File/
ODBM_File.xs 54 #define odbm_FETCH(db,key) fetch(key)
55 #define odbm_STORE(db,key,value,flags) store(key,value)
56 #define odbm_DELETE(db,key) delete(key)
57 #define odbm_FIRSTKEY(db) firstkey()
58 #define odbm_NEXTKEY(db,key) nextkey(key)
118 DESTROY(db)
119 ODBM_File db
125 safefree(db);
128 odbm_FETCH(db, key)
129 ODBM_File db
    [all...]
  /netvirt/usr/src/cmd/perl/5.6.1/distrib/ext/GDBM_File/
GDBM_File.xs 22 if (db->type) { \
25 if (db->filtering) \
27 db->filtering = TRUE ; \
31 (void) perl_call_sv(db->type, G_DISCARD|G_NOARGS); \
35 db->filtering = FALSE ; \
74 #define gdbm_exists(db,key) not_here("gdbm_exists")
75 #define gdbm_sync(db) (void) not_here("gdbm_sync")
76 #define gdbm_setopt(db,optflag,optval,optlen) not_here("gdbm_setopt")
236 #define gdbm_close(db) gdbm_close(db->dbp
    [all...]
  /netvirt/usr/src/lib/libsqlite/src/
main.c 31 sqlite *db; /* The database being initialized */ member in struct:__anon3565
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->init.newTnum = atoi(argv[2])
479 sqlite *db; local
    [all...]
  /netvirt/usr/src/uts/common/io/ppp/spppcomp/
bsd-comp.c 145 /* db->flags values */
218 bsd_clear(struct bsd_db *db)
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)
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
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...]
  /netvirt/usr/src/lib/libnisdb/yptol/
shim_hooks.h 53 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,
  /netvirt/usr/src/common/openssl/crypto/txt_db/
txt_db.c 195 char **TXT_DB_get_by_index(TXT_DB *db, int idx, char **value)
200 if (idx >= db->num_fields)
202 db->error=DB_ERROR_INDEX_OUT_OF_RANGE;
205 lh=db->index[idx];
208 db->error=DB_ERROR_NO_INDEX;
212 db->error=DB_ERROR_OK;
216 int TXT_DB_create_index(TXT_DB *db, int field, int (*qual)(char **),
223 if (field >= db->num_fields)
225 db->error=DB_ERROR_INDEX_OUT_OF_RANGE;
230 db->error=DB_ERROR_MALLOC
    [all...]
  /netvirt/usr/src/cmd/svc/seed/
Makefile 40 # global.db -- for a standalone Solaris (global zone)
41 # nonglobal.db -- for a Solaris Zone
42 # miniroot.db -- for the install miniroot
118 all: global.db nonglobal.db miniroot.db
129 common.db: $(COMMON_DESCRIPTIONS) $(CONFIGD) $(SVCCFG)
130 $(RM) -f common.db common.db-journal
134 SVCCFG_REPOSITORY=$(SRC)/cmd/svc/seed/common.db \
    [all...]
  /netvirt/usr/src/cmd/perl/5.6.1/distrib/ext/ODBM_File/
ODBM_File.xs 60 if (db->type) { \
63 if (db->filtering) \
65 db->filtering = TRUE ; \
69 (void) perl_call_sv(db->type, G_DISCARD|G_NOARGS); \
73 db->filtering = FALSE ; \
78 #define odbm_FETCH(db,key) fetch(key)
79 #define odbm_STORE(db,key,value,flags) store(key,value)
80 #define odbm_DELETE(db,key) delete(key)
81 #define odbm_FIRSTKEY(db) firstkey()
82 #define odbm_NEXTKEY(db,key) nextkey(key
    [all...]
  /netvirt/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
dbm.c 48 #include "db-int.h"
56 #include "db-ndbm.h"
69 * This package provides dbm and ndbm compatible interfaces to DB.
71 * the NDBM routines, which call the DB routines.
190 kdb2_dbm_close(db)
191 DBM *db;
193 (void)(db->close)(db);
202 kdb2_dbm_fetch(db, key)
203 DBM *db;
    [all...]

Completed in 540 milliseconds

1 2 3 4 5 6 7 8 91011>>