Lines Matching refs:dptr
36 #define FLATFILE_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
52 if (dba->nextkey.dptr) { in DBA_CLOSE_FUNC()
53 efree(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
67 if (gval.dptr) { in DBA_FETCH_FUNC()
71 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
72 efree(gval.dptr); in DBA_FETCH_FUNC()
83 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
107 if (gval.dptr) { in DBA_EXISTS_FUNC()
108 efree(gval.dptr); in DBA_EXISTS_FUNC()
125 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
126 efree(dba->nextkey.dptr); in DBA_FIRSTKEY_FUNC()
129 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
133 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_FIRSTKEY_FUNC()
142 if (!dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
146 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
147 efree(dba->nextkey.dptr); in DBA_NEXTKEY_FUNC()
150 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
154 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_NEXTKEY_FUNC()