Searched refs:di_dbm (Results 1 – 2 of 2) sorted by relevance
54 DBM *di_dbm; member60 if ((v)->di_dbm == NULL) { \77 if ( (dp->di_dbm = dbm_open((char *)file, flags, mode)) == 0 ) { in newdbmobject()97 if (dp->di_dbm) { in dbm_dealloc()98 dbm_close(dp->di_dbm); in dbm_dealloc()110 if (dp->di_dbm == NULL) { in dbm_length()119 for ( key=dbm_firstkey(dp->di_dbm); key.dptr; in dbm_length()120 key = dbm_nextkey(dp->di_dbm)) in dbm_length()140 drec = dbm_fetch(dp->di_dbm, krec); in dbm_subscript()145 if ( dbm_error(dp->di_dbm) ) { in dbm_subscript()[all …]
53 GDBM_FILE di_dbm; member59 if ((v)->di_dbm == NULL) { \85 if ((dp->di_dbm = gdbm_open((char *)file, 0, flags, mode, NULL)) == 0) { in newgdbmobject()110 if (dp->di_dbm) { in gdbm_dealloc()111 gdbm_close(dp->di_dbm); in gdbm_dealloc()122 if (dp->di_dbm == NULL) { in gdbm_length()130 if (gdbm_count(dp->di_dbm, &count) == -1) { in gdbm_length()150 for (key = gdbm_firstkey(dp->di_dbm); key.dptr; in gdbm_length()151 key = gdbm_nextkey(dp->di_dbm,okey)) { in gdbm_length()195 if (dp->di_dbm == NULL) { in gdbm_subscript()[all …]