/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | copy.c | 45 sqlite *db = pParse->db; local 54 assert( pTab->iDb<db->nDb ); 55 zDb = db->aDb[pTab->iDb].zName; 66 if( db->flags & SQLITE_CountRows ){ 95 if( (db->flags & SQLITE_CountRows)!=0 ){ 102 if( db->flags & SQLITE_CountRows ){
|
H A D | attach.c | 33 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...] |
H A D | auth.c | 77 sqlite *db, 81 db->xAuth = xAuth; 82 db->pAuthArg = pArg; 111 sqlite *db = pParse->db; local 118 if( db->xAuth==0 ) return; 145 assert( pExpr->iDb<db->nDb ); 146 zDBase = db->aDb[pExpr->iDb].zName; 147 rc = db->xAuth(db 76 sqlite_set_authorizer( sqlite *db, int (*xAuth)(void*,int,const char*,const char*,const char*,const char*), void *pArg ) argument 177 sqlite *db = pParse->db; local [all...] |
H A D | table.c | 129 sqlite *db, /* The database on which the SQL executes */ 154 rc = sqlite_exec(db, zSql, sqlite_get_table_cb, &res, pzErrMsg); 128 sqlite_get_table( sqlite *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrMsg ) argument
|
H A D | delete.c | 72 sqlite *db; /* Main database structure */ local 86 db = pParse->db; 105 assert( pTab->iDb<db->nDb ); 106 zDb = db->aDb[pTab->iDb].zName; 162 if( db->flags & SQLITE_CountRows ){ 171 if( db->flags & SQLITE_CountRows ){ 206 if( db->flags & SQLITE_CountRows ){ 268 sqliteGenerateRowDelete(db, v, pTab, iCur, pParse->trigStack==0); 306 if( db 339 sqliteGenerateRowDelete( sqlite *db, Vdbe *v, Table *pTab, int iCur, int count ) argument 370 sqliteGenerateRowIndexDelete( sqlite *db, Vdbe *v, Table *pTab, int iCur, char *aIdxUsed ) argument [all...] |
H A D | update.c | 46 sqlite *db; /* The database structure */ local 68 db = pParse->db; 149 pTab->aCol[j].zName, db->aDb[pTab->iDb].zName); 244 if( db->flags & SQLITE_CountRows && !pParse->trigStack ){ 385 sqliteGenerateRowIndexDelete(db, v, pTab, iCur, aIdxUsed); 400 if( db->flags & SQLITE_CountRows && !pParse->trigStack){ 449 if( db->flags & SQLITE_CountRows && !pParse->trigStack ){
|
/osnet-11/usr/src/lib/libsqlite/test/ |
H A D | crashtest1.c | 33 sqlite *db; local 39 if( access("./test.db-journal",0)==0 ){ 40 /*printf("pid %d: journal exists. rollback will be required\n",getpid());*/ unlink("test.db-saved"); 41 system("cp test.db test.db-saved"); 42 unlink("test.db-journal-saved"); 43 system("cp test.db-journal test.db-journal-saved"); 45 db = sqlite_open("./test.db", 72 sqlite *db; local [all...] |
H A D | threadtest2.c | 31 #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...] |
/osnet-11/usr/src/lib/libsqlite/tool/ |
H A D | showdb.c | 17 static int db = -1; variable 30 lseek(db, (iPg-1)*pagesize, SEEK_SET); 31 read(db, aData, pagesize); 52 db = open(argv[1], O_RDONLY); 53 if( db<0 ){ 57 fstat(db, &sbuf); 87 close(db);
|
H A D | showjournal.c | 17 static int db = -1; variable 30 read(db, aData, pagesize); 55 db = open(argv[1], O_RDONLY); 56 if( db<0 ){ 60 read(db, zBuf, 8); 62 read(db, &u, sizeof(u)); 64 read(db, &u, sizeof(u)); 67 read(db, zBuf2, sizeof(zBuf2)); 70 while( read(db, zBuf2, sizeof(zBuf2))==sizeof(zBuf2) ){ 74 read(db, [all...] |
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | yptol_utils.c | 165 update_timestamp(DBM *db) argument 175 if (SUCCESS != addpair(db, yp_last_modified, time_string))
|
H A D | shim.c | 88 shim_dbm_close(DBM *db) argument 93 map = get_map_ctrl(db); 113 shim_dbm_delete(DBM *db, datum key) argument 119 map = get_map_ctrl(db); 149 shim_dbm_fetch(DBM *db, datum key) argument 155 map = get_map_ctrl(db); 188 shim_dbm_fetch_noupdate(DBM *db, datum key) argument 194 map = get_map_ctrl(db); 217 shim_dbm_firstkey(DBM *db) argument 226 map = get_map_ctrl(db); 307 shim_dbm_nextkey(DBM *db) argument 348 shim_dbm_do_nextkey(DBM *db, datum inkey) argument 451 shim_dbm_store(DBM *db, datum key, datum content, int store_mode) argument [all...] |
H A D | map_ctrl.c | 270 get_map_ctrl(DBM *db) argument 273 if (((map_ctrl *)db)->magic != MAP_MAGIC) { 280 return ((map_ctrl *)db); 400 get_map_name(DBM *db) argument 402 map_ctrl *map = (map_ctrl *)db;
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.h | 38 DB * db; /* DB handle */ member in struct:_krb5_db2_context
|
H A D | adb_policy.c | 36 #define OPENLOCK(db, mode) \ 39 if (db == NULL) \ 41 else if (db->magic != OSA_ADB_POLICY_DB_MAGIC) \ 43 else if ((olret = osa_adb_open_and_lock(db, mode)) != OSA_ADB_OK) \ 47 #define CLOSELOCK(db) \ 50 if ((cl_ret = osa_adb_close_and_unlock(db)) != OSA_ADB_OK) \ 58 * Purpose: create a policy entry in the policy db. 68 * creates the entry in the db 71 * the policy db. 75 osa_adb_create_policy(osa_adb_policy_t db, osa_policy_ent_ argument 150 osa_adb_destroy_policy(osa_adb_policy_t db, char *name) argument 203 osa_adb_get_policy(osa_adb_policy_t db, char *name, osa_policy_ent_t *entry, int *cnt) argument 278 osa_adb_put_policy(osa_adb_policy_t db, osa_policy_ent_t entry) argument 345 osa_adb_iter_policy(osa_adb_policy_t db, osa_adb_iter_policy_func func, void *data) argument [all...] |
H A D | policy_db.h | 21 configure script doesn't detect it, it causes db-config.h to have a 22 #define for u_int32_t, so including db.h and then netinet/in.h 29 A better fix might be for db.h to include netinet/in.h if that's 41 #include <db.h> 64 DB *db; member in struct:_osa_adb_db_ent_t 88 krb5_error_code osa_adb_fini_db(osa_adb_db_t db, int magic); 89 krb5_error_code osa_adb_get_lock(osa_adb_db_t db, int mode); 90 krb5_error_code osa_adb_release_lock(osa_adb_db_t db); 91 krb5_error_code osa_adb_open_and_lock(osa_adb_princ_t db, int locktype); 92 krb5_error_code osa_adb_close_and_unlock(osa_adb_princ_t db); [all...] |
H A D | adb_openclose.c | 39 #include <db.h> 52 DB *db; local 63 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo); 64 if (db == NULL) 66 if (db->close(db) < 0) 69 /* only create the lock file if we successfully created the db */ 140 osa_adb_db_t db; local 148 db = (osa_adb_princ_t) malloc(sizeof(osa_adb_db_ent)); 149 if (db 256 osa_adb_fini_db(osa_adb_db_t db, int magic) argument 288 osa_adb_get_lock(osa_adb_db_t db, int mode) argument 374 osa_adb_release_lock(osa_adb_db_t db) argument 403 osa_adb_open_and_lock(osa_adb_princ_t db, int locktype) argument 436 osa_adb_close_and_unlock(osa_adb_princ_t db) argument [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_put.c | 45 #include "db-int.h" 203 char *dest, db[NOVFLSIZE]; local 214 tdata.data = db; 216 *(db_pgno_t *)db = pg; 217 *(u_int32_t *)(db + sizeof(db_pgno_t)) = data->size;
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_put.c | 48 #include "db-int.h" 81 char *dest, db[NOVFLSIZE], kb[NOVFLSIZE]; local 145 tdata.data = db; 147 memmove(db, &pg, sizeof(db_pgno_t)); 150 memmove(db + sizeof(db_pgno_t),
|
/osnet-11/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb.c | 39 SMDB_DATABASE *db; local 41 db = (SMDB_DATABASE *) malloc(sizeof(SMDB_DATABASE)); 43 if (db != NULL) 44 (void) memset(db, '\0', sizeof(SMDB_DATABASE)); 46 return db; 263 ** db_name -- The name of the db. 414 ** SMDB_SETUP_FILE -- Gets db file ready for use.
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | gtxt.c | 109 struct db_info *db; local 132 if ((db = libc_realloc(db_info, 137 db_info = db; 141 db = &db_info[i]; 142 db->flag = 0; 143 (void) strcpy(db->db_name, catname); 144 db->saved_locale = libc_strdup(curloc); 145 if (db->saved_locale == NULL) { 149 db->flag = DB_OPEN; 152 db 177 unload_db(struct db_info *db) argument 198 lookup_cache(struct db_info *db, const char *curloc, const char *catname) argument 223 valid_msg(struct db_info *db, int id) argument 237 msg(struct db_info *db, int id) argument 258 struct db_info *db; local [all...] |
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nsswitch.py | 102 db = {} variable in class:Nsswitch 117 db[k] = dval # Force default 121 db[k] = pval # Set Specific 122 self.traceit('db[k]= ', db[k]) 124 for k in self.DBORDER: # Could use db.keys() 127 data += "%s:\t%s\n" % (self.PWD_COMPAT, db[k]) 130 data += "%s:\t%s\n" % (self.GRP_COMPAT, db[k]) 132 data += "%s:\t%s\n" % (k, db[k]) 151 db variable in class:Nsswitch [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db.cc | 23 * db.cc 41 #include "db.h" 44 extern int add_to_standby_list(db*); 45 extern int remove_from_standby_list(db*); 63 db::db(char* dbname) function in class:db 68 FATAL("db::db: cannot allocate space", DB_MEMORY_LIMIT); 72 FATAL("db::db 512 db_mindex * db = (db_mindex *) dbchar; local [all...] |
/osnet-11/usr/src/lib/libnsl/key/ |
H A D | xcrypt.c | 611 weak_DES_key(des_block db) argument 616 if (weakDESkeys[i].h1 == db.key.high && 617 weakDESkeys[i].h2 == db.key.low)
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ufs.c | 172 grub_daddr32_t *db = INODE->ic_db; local 176 return db[bn];
|