Searched defs:db (Results 1 - 7 of 7) sorted by relevance

/ast/src/lib/libcoshell/
H A Dcolib.h84 char* db; /* state/db path */ member in struct:Coservice_s
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c339 DBM *db; local
386 if (!error_info.errors && !(db=dbm_open(dbfile, oflags, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)))
388 error(ERROR_SYSTEM|3, "%s: cannot open db",dbfile);
397 ap->dbm = db;
/ast/src/cmd/cs/
H A Ddbm.c89 Db_t* db; /* open dbm info */ member in struct:__anon75
133 cp->db = 0;
170 if (!cp->db) goto notopen;
171 if (!--cp->db->ref) dbm_close(cp->db->dbm);
172 cp->db = 0;
176 if (!cp->db) goto notopen;
177 val = dbm_fetch(cp->db->dbm, key);
179 else if (dbm_error(cp->db->dbm))
181 dbm_clearerr(cp->db
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmdebug.c221 reg Dbfile_t *last, *db; local
227 db = NIL(Dbfile_t*);
229 { for(last = NIL(Dbfile_t*), db = Dbfile; db; last = db, db = db->next)
230 if(strcmp(db->file,file) == 0)
232 if(!db)
233 { db
[all...]
/ast/src/cmd/paxlib/calib/
H A Dcalib.c283 register Cadir_t* db; local
308 db = dp = de = 0;
329 m = dp - db + CHUNK;
330 if (!(db = newof(db, Cadir_t, m, 0)))
336 dp = db + m - CHUNK;
337 de = db + m - 1;
348 ar->dirs = ar->dir = db;
/ast/src/lib/libvcodex/
H A Dvcsfxsort.c58 { char *db = getenv("VCDEBUG"); local
59 Dblev = !db ? 0 : db[0] - '0';
/ast/src/cmd/coshell/
H A Devent.c205 int major; /* db major version */
206 int minor; /* db major version */
213 char* path; /* event db path */
445 log(state, con, 'W', "%s not in db", key.dptr);
510 log(state, con, 'W', "%s not in db", key.dptr);
999 * open and verify event db
1003 db(register State_t* state) function
1018 error(3, "%s: invalid db -- data size %d, expected %d", state->path, val.dsize, sizeof(data));
1021 error(3, "%s: %s: invalid db -- ident mismatch, expected %s", state->path, ident_key, ident_name);
1030 error(3, "%s: %s: invalid db
[all...]

Completed in 38 milliseconds