Lines Matching defs:db
222 reg Dbfile_t *last, *db;
228 db = NIL(Dbfile_t*);
230 { for(last = NIL(Dbfile_t*), db = Dbfile; db; last = db, db = db->next)
231 if(strcmp(db->file,file) == 0)
233 if(!db)
234 { db = (Dbfile_t*)vmalloc(Vmheap,sizeof(Dbfile_t)+strlen(file));
235 if(db)
236 { (*_Vmstrcpy)(db->file,file,0);
237 db->next = Dbfile;
238 Dbfile = db->next;
242 { last->next = db->next;
243 db->next = Dbfile;
244 Dbfile = db->next;
248 DBSETFL(data,(db ? db->file : NIL(char*)),line);