Lines Matching refs:dptr
31 #define GDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
72 if(dba->nextkey.dptr) free(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
85 if(gval.dptr) { in DBA_FETCH_FUNC()
87 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
88 free(gval.dptr); in DBA_FETCH_FUNC()
99 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
138 if(dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
139 free(dba->nextkey.dptr); in DBA_FIRSTKEY_FUNC()
143 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
144 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC()
148 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC()
159 if(!dba->nextkey.dptr) return NULL; in DBA_NEXTKEY_FUNC()
162 free(dba->nextkey.dptr); in DBA_NEXTKEY_FUNC()
163 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
164 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
168 dba->nextkey.dptr = NULL; in DBA_NEXTKEY_FUNC()