Lines Matching refs:dptr
43 #define DBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
104 if(gval.dptr) { in DBA_FETCH_FUNC()
106 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
119 if(gval.dptr) { in DBA_UPDATE_FUNC()
124 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
136 if(gval.dptr) { in DBA_EXISTS_FUNC()
155 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
157 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC()
160 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC()
170 if(!dba->nextkey.dptr) return NULL; in DBA_NEXTKEY_FUNC()
173 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
175 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
178 dba->nextkey.dptr = NULL; in DBA_NEXTKEY_FUNC()