| /onnv/onnv-gate/usr/src/lib/libsqlite/src/ |
| 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 ){
|
| 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->pAuthArg, SQLITE_READ, pTab->zName, zCol, zDBase, 177 sqlite *db = pParse->db; local [all...] |
| attach.c | 30 Db *aNew; 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->aDbStatic ) 141 sqlite *db; local 195 sqlite *db; local [all...] |
| 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->flags & SQLITE_CountRows ) [all...] |
| tokenize.c | 407 sqlite *db = pParse->db; local 412 db->flags &= ~SQLITE_Interrupt; 431 if( (db->flags & SQLITE_Interrupt)!=0 ){ 485 sqliteDeleteTable(pParse->db, pParse->pNewTable);
|
| /onnv/onnv-gate/usr/src/lib/libsqlite/test/ |
| 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", 0, &zErr) 72 sqlite *db; local [all...] |
| 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...] |
| /onnv/onnv-gate/usr/src/lib/libsqlite/tool/ |
| 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);
|
| 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, &u, sizeof(u)) [all...] |
| /onnv/onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
| kdb_db2.h | 28 * KDC Database backend definitions for Berkely DB. 38 DB * db; /* DB handle */ member in struct:_krb5_db2_context
|
| 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...] |
| 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...] |
| /onnv/onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
| rec_put.c | 47 #include "db-int.h" 65 const DB *dbp; 205 char *dest, db[NOVFLSIZE]; local 216 tdata.data = db; 218 *(db_pgno_t *)db = pg; 219 *(u_int32_t *)(db + sizeof(db_pgno_t)) = data->size;
|
| /onnv/onnv-gate/usr/src/cmd/sgs/rtld/common/ |
| cache_a.out.h | 65 struct db { /* directory cache database */ struct 83 struct db *dbd_db; /* data base described by this */ 88 struct db *dd_db; /* data base described by this */ 95 char *ask_db(); /* ask db for highest minor number */ 96 struct db *lo_cache(); /* obtain cache for directory name */
|
| /onnv/onnv-gate/usr/src/cmd/ypcmd/ |
| ypxfrd_client.c | 48 static DBM *db; variable 104 lseek(db->dbm_pagf, 110 if (write(db->dbm_pagf, 145 lseek(db->dbm_dirf, 151 if (write(db->dbm_dirf, 281 db = dbm_open(tempmap, O_RDWR + O_CREAT + O_TRUNC, 0777); 282 if (db == NULL) {
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/rsa/ |
| rsa_oaep.c | 39 unsigned char *db, *seed; local 64 db = to + SHA_DIGEST_LENGTH + 1; 66 EVP_Digest((void *)param, plen, db, NULL, EVP_sha1(), NULL); 67 memset(db + SHA_DIGEST_LENGTH, 0, 69 db[emlen - flen - SHA_DIGEST_LENGTH - 1] = 0x01; 70 memcpy(db + emlen - flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen); 81 db[i] ^= dbmask[i]; 83 MGF1(seedmask, SHA_DIGEST_LENGTH, db, emlen - SHA_DIGEST_LENGTH); 98 unsigned char *db = NULL, seed[SHA_DIGEST_LENGTH], phash[SHA_DIGEST_LENGTH]; local 122 db = OPENSSL_malloc(dblen) [all...] |
| /onnv/onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
| bt_put.c | 50 #include "db-int.h" 70 const DB *dbp; 83 char *dest, db[NOVFLSIZE], kb[NOVFLSIZE]; local 147 tdata.data = db; 149 memmove(db, &pg, sizeof(db_pgno_t)); 152 memmove(db + sizeof(db_pgno_t),
|
| /onnv/onnv-gate/usr/src/uts/sparc/fpu/ |
| pack.c | 490 } db; local 492 packdouble(pfpsd, pu, &db.x[0], &db.y[1]); 497 pfpsd->fp_current_write_dreg(&db.ll, DOUBLE(n),
|
| /onnv/onnv-gate/usr/src/lib/libnisdb/ |
| 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: cannot allocate space", DB_MEMORY_LIMIT) 512 db_mindex * db = (db_mindex *) dbchar; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mms/mm/common/ |
| mm_mmp_cp.c | 66 mm_db_t *db = &mm_wka->mm_data->mm_db; local 153 if (mm_sql_from_where(cmd, db)) { 156 "db error creating helper functions"); 164 if (mm_db_exec(HERE, db, cmd->cmd_buf) != MM_DB_DATA) { 167 rows = PQntuples(db->mm_db_results); 169 mm_clear_db(&db->mm_db_results); 180 mm_clear_db(&db->mm_db_results); 190 dev_results = db->mm_db_results; 202 rc = mm_db_exec(HERE, db, "update \"DM\" " 208 rc = mm_db_exec(HERE, db, "update \"LM\" 342 mm_db_t *db = &mm_wka->mm_data->mm_db; local 635 mm_db_t *db = &mm_wka->mm_data->mm_db; local 934 mm_db_t *db = &mm_wka->mm_data->mm_db; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/nscd/ |
| nscd_cfgfile.c | 228 char *db, *dbe; local 298 db = c1; 338 rc = _nscd_cfg_get_handle(pname, db, &h, errorp);
|
| nscd_dbimpl.c | 78 nscd_db_t *db; /* the database */ member in struct:cookie 162 const nscd_db_t *db, 171 if (db == NULL || str == NULL) 175 idx_p = db->hash_tbl_p[hash % db->array_size]; 191 nscd_db_t *db, 204 i = hash % db->array_size; 205 idx_p = db->hash_tbl_p[i]; 265 db->hash_tbl_p[i] = hash_entry; 287 nscd_db_t *db, 489 nscd_db_t *db; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/libsmdb/ |
| 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; 182 ** Only supports some DB hash options right now 263 ** db_name -- The name of the db. 414 ** SMDB_SETUP_FILE -- Gets db file ready for use.
|
| /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| fsys_ufs.c | 172 grub_daddr32_t *db = INODE->ic_db; local 176 return db[bn];
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| 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...] |